virtualnetworkgateways

package
v0.20240412.1150433 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-04-01/virtualnetworkgateways Documentation

The virtualnetworkgateways SDK allows for interaction with the Azure Resource Manager Service network (API Version 2023-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-04-01/virtualnetworkgateways"

Client Initialization

client := virtualnetworkgateways.NewVirtualNetworkGatewaysClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualNetworkGatewaysClient.CreateOrUpdate

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

payload := virtualnetworkgateways.VirtualNetworkGateway{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.Delete

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.DisconnectVirtualNetworkGatewayVpnConnections

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

payload := virtualnetworkgateways.P2SVpnConnectionRequest{
	// ...
}


if err := client.DisconnectVirtualNetworkGatewayVpnConnectionsThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.GenerateVpnProfile

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

payload := virtualnetworkgateways.VpnClientParameters{
	// ...
}


if err := client.GenerateVpnProfileThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.Generatevpnclientpackage

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

payload := virtualnetworkgateways.VpnClientParameters{
	// ...
}


if err := client.GeneratevpnclientpackageThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.Get

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualNetworkGatewaysClient.GetAdvertisedRoutes

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

if err := client.GetAdvertisedRoutesThenPoll(ctx, id, virtualnetworkgateways.DefaultGetAdvertisedRoutesOperationOptions()); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.GetBgpPeerStatus

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

if err := client.GetBgpPeerStatusThenPoll(ctx, id, virtualnetworkgateways.DefaultGetBgpPeerStatusOperationOptions()); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.GetLearnedRoutes

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

if err := client.GetLearnedRoutesThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.GetVpnProfilePackageUrl

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

if err := client.GetVpnProfilePackageUrlThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.GetVpnclientConnectionHealth

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

if err := client.GetVpnclientConnectionHealthThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.GetVpnclientIPsecParameters

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

if err := client.GetVpnclientIPsecParametersThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.List

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: VirtualNetworkGatewaysClient.ListConnections

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

// alternatively `client.ListConnections(ctx, id)` can be used to do batched pagination
items, err := client.ListConnectionsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: VirtualNetworkGatewaysClient.Reset

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

if err := client.ResetThenPoll(ctx, id, virtualnetworkgateways.DefaultResetOperationOptions()); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.ResetVpnClientSharedKey

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

if err := client.ResetVpnClientSharedKeyThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.SetVpnclientIPsecParameters

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

payload := virtualnetworkgateways.VpnClientIPsecParameters{
	// ...
}


if err := client.SetVpnclientIPsecParametersThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.StartPacketCapture

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

payload := virtualnetworkgateways.VpnPacketCaptureStartParameters{
	// ...
}


if err := client.StartPacketCaptureThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.StopPacketCapture

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

payload := virtualnetworkgateways.VpnPacketCaptureStopParameters{
	// ...
}


if err := client.StopPacketCaptureThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.SupportedVpnDevices

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

read, err := client.SupportedVpnDevices(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualNetworkGatewaysClient.UpdateTags

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

payload := virtualnetworkgateways.TagsObject{
	// ...
}


if err := client.UpdateTagsThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesCreateOrUpdate

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue", "natRuleValue")

payload := virtualnetworkgateways.VirtualNetworkGatewayNatRule{
	// ...
}


if err := client.VirtualNetworkGatewayNatRulesCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesDelete

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue", "natRuleValue")

if err := client.VirtualNetworkGatewayNatRulesDeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesGet

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayNatRuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue", "natRuleValue")

read, err := client.VirtualNetworkGatewayNatRulesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: VirtualNetworkGatewaysClient.VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway

ctx := context.TODO()
id := virtualnetworkgateways.NewVirtualNetworkGatewayID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualNetworkGatewayValue")

// alternatively `client.VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway(ctx, id)` can be used to do batched pagination
items, err := client.VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: VirtualNetworkGatewaysClient.VpnDeviceConfigurationScript

ctx := context.TODO()
id := virtualnetworkgateways.NewConnectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "connectionValue")

payload := virtualnetworkgateways.VpnDeviceScriptParameters{
	// ...
}


read, err := client.VpnDeviceConfigurationScript(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAdminState

func PossibleValuesForAdminState() []string

func PossibleValuesForAuthenticationMethod

func PossibleValuesForAuthenticationMethod() []string

func PossibleValuesForBgpPeerState

func PossibleValuesForBgpPeerState() []string

func PossibleValuesForDhGroup

func PossibleValuesForDhGroup() []string

func PossibleValuesForIPAllocationMethod

func PossibleValuesForIPAllocationMethod() []string

func PossibleValuesForIPsecEncryption

func PossibleValuesForIPsecEncryption() []string

func PossibleValuesForIPsecIntegrity

func PossibleValuesForIPsecIntegrity() []string

func PossibleValuesForIkeEncryption

func PossibleValuesForIkeEncryption() []string

func PossibleValuesForIkeIntegrity

func PossibleValuesForIkeIntegrity() []string

func PossibleValuesForPfsGroup

func PossibleValuesForPfsGroup() []string

func PossibleValuesForProcessorArchitecture

func PossibleValuesForProcessorArchitecture() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForVirtualNetworkGatewayConnectionMode

func PossibleValuesForVirtualNetworkGatewayConnectionMode() []string

func PossibleValuesForVirtualNetworkGatewayConnectionProtocol

func PossibleValuesForVirtualNetworkGatewayConnectionProtocol() []string

func PossibleValuesForVirtualNetworkGatewayConnectionStatus

func PossibleValuesForVirtualNetworkGatewayConnectionStatus() []string

func PossibleValuesForVirtualNetworkGatewayConnectionType

func PossibleValuesForVirtualNetworkGatewayConnectionType() []string

func PossibleValuesForVirtualNetworkGatewaySkuName

func PossibleValuesForVirtualNetworkGatewaySkuName() []string

func PossibleValuesForVirtualNetworkGatewaySkuTier

func PossibleValuesForVirtualNetworkGatewaySkuTier() []string

func PossibleValuesForVirtualNetworkGatewayType

func PossibleValuesForVirtualNetworkGatewayType() []string

func PossibleValuesForVpnAuthenticationType

func PossibleValuesForVpnAuthenticationType() []string

func PossibleValuesForVpnClientProtocol

func PossibleValuesForVpnClientProtocol() []string

func PossibleValuesForVpnGatewayGeneration

func PossibleValuesForVpnGatewayGeneration() []string

func PossibleValuesForVpnNatRuleMode

func PossibleValuesForVpnNatRuleMode() []string

func PossibleValuesForVpnNatRuleType

func PossibleValuesForVpnNatRuleType() []string

func PossibleValuesForVpnPolicyMemberAttributeType

func PossibleValuesForVpnPolicyMemberAttributeType() []string

func PossibleValuesForVpnType

func PossibleValuesForVpnType() []string

func ValidateConnectionID

func ValidateConnectionID(input interface{}, key string) (warnings []string, errors []error)

ValidateConnectionID checks that 'input' can be parsed as a Connection ID

func ValidateVirtualNetworkGatewayID

func ValidateVirtualNetworkGatewayID(input interface{}, key string) (warnings []string, errors []error)

ValidateVirtualNetworkGatewayID checks that 'input' can be parsed as a Virtual Network Gateway ID

func ValidateVirtualNetworkGatewayNatRuleID

func ValidateVirtualNetworkGatewayNatRuleID(input interface{}, key string) (warnings []string, errors []error)

ValidateVirtualNetworkGatewayNatRuleID checks that 'input' can be parsed as a Virtual Network Gateway Nat Rule ID

Types

type AddressSpace

type AddressSpace struct {
	AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
}

type AdminState

type AdminState string
const (
	AdminStateDisabled AdminState = "Disabled"
	AdminStateEnabled  AdminState = "Enabled"
)

func (*AdminState) UnmarshalJSON

func (s *AdminState) UnmarshalJSON(bytes []byte) error

type AuthenticationMethod

type AuthenticationMethod string
const (
	AuthenticationMethodEAPMSCHAPvTwo AuthenticationMethod = "EAPMSCHAPv2"
	AuthenticationMethodEAPTLS        AuthenticationMethod = "EAPTLS"
)

func (*AuthenticationMethod) UnmarshalJSON

func (s *AuthenticationMethod) UnmarshalJSON(bytes []byte) error

type BgpPeerState

type BgpPeerState string
const (
	BgpPeerStateConnected  BgpPeerState = "Connected"
	BgpPeerStateConnecting BgpPeerState = "Connecting"
	BgpPeerStateIdle       BgpPeerState = "Idle"
	BgpPeerStateStopped    BgpPeerState = "Stopped"
	BgpPeerStateUnknown    BgpPeerState = "Unknown"
)

func (*BgpPeerState) UnmarshalJSON

func (s *BgpPeerState) UnmarshalJSON(bytes []byte) error

type BgpPeerStatus

type BgpPeerStatus struct {
	Asn               *int64        `json:"asn,omitempty"`
	ConnectedDuration *string       `json:"connectedDuration,omitempty"`
	LocalAddress      *string       `json:"localAddress,omitempty"`
	MessagesReceived  *int64        `json:"messagesReceived,omitempty"`
	MessagesSent      *int64        `json:"messagesSent,omitempty"`
	Neighbor          *string       `json:"neighbor,omitempty"`
	RoutesReceived    *int64        `json:"routesReceived,omitempty"`
	State             *BgpPeerState `json:"state,omitempty"`
}

type BgpPeerStatusListResult

type BgpPeerStatusListResult struct {
	Value *[]BgpPeerStatus `json:"value,omitempty"`
}

type BgpSettings

type BgpSettings struct {
	Asn                 *int64                              `json:"asn,omitempty"`
	BgpPeeringAddress   *string                             `json:"bgpPeeringAddress,omitempty"`
	BgpPeeringAddresses *[]IPConfigurationBgpPeeringAddress `json:"bgpPeeringAddresses,omitempty"`
	PeerWeight          *int64                              `json:"peerWeight,omitempty"`
}

type ConnectionId

type ConnectionId struct {
	SubscriptionId    string
	ResourceGroupName string
	ConnectionName    string
}

ConnectionId is a struct representing the Resource ID for a Connection

func NewConnectionID

func NewConnectionID(subscriptionId string, resourceGroupName string, connectionName string) ConnectionId

NewConnectionID returns a new ConnectionId struct

func ParseConnectionID

func ParseConnectionID(input string) (*ConnectionId, error)

ParseConnectionID parses 'input' into a ConnectionId

func ParseConnectionIDInsensitively

func ParseConnectionIDInsensitively(input string) (*ConnectionId, error)

ParseConnectionIDInsensitively parses 'input' case-insensitively into a ConnectionId note: this method should only be used for API response data and not user input

func (*ConnectionId) FromParseResult

func (id *ConnectionId) FromParseResult(input resourceids.ParseResult) error

func (ConnectionId) ID

func (id ConnectionId) ID() string

ID returns the formatted Connection ID

func (ConnectionId) Segments

func (id ConnectionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Connection ID

func (ConnectionId) String

func (id ConnectionId) String() string

String returns a human-readable description of this Connection ID

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualNetworkGateway
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DhGroup

type DhGroup string
const (
	DhGroupDHGroupOne              DhGroup = "DHGroup1"
	DhGroupDHGroupOneFour          DhGroup = "DHGroup14"
	DhGroupDHGroupTwo              DhGroup = "DHGroup2"
	DhGroupDHGroupTwoFour          DhGroup = "DHGroup24"
	DhGroupDHGroupTwoZeroFourEight DhGroup = "DHGroup2048"
	DhGroupECPThreeEightFour       DhGroup = "ECP384"
	DhGroupECPTwoFiveSix           DhGroup = "ECP256"
	DhGroupNone                    DhGroup = "None"
)

func (*DhGroup) UnmarshalJSON

func (s *DhGroup) UnmarshalJSON(bytes []byte) error

type DisconnectVirtualNetworkGatewayVpnConnectionsOperationResponse

type DisconnectVirtualNetworkGatewayVpnConnectionsOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type GatewayCustomBgpIPAddressIPConfiguration

type GatewayCustomBgpIPAddressIPConfiguration struct {
	CustomBgpIPAddress string `json:"customBgpIpAddress"`
	IPConfigurationId  string `json:"ipConfigurationId"`
}

type GatewayRoute

type GatewayRoute struct {
	AsPath       *string `json:"asPath,omitempty"`
	LocalAddress *string `json:"localAddress,omitempty"`
	Network      *string `json:"network,omitempty"`
	NextHop      *string `json:"nextHop,omitempty"`
	Origin       *string `json:"origin,omitempty"`
	SourcePeer   *string `json:"sourcePeer,omitempty"`
	Weight       *int64  `json:"weight,omitempty"`
}

type GatewayRouteListResult

type GatewayRouteListResult struct {
	Value *[]GatewayRoute `json:"value,omitempty"`
}

type GenerateVpnProfileOperationResponse

type GenerateVpnProfileOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *string
}

type GeneratevpnclientpackageOperationResponse

type GeneratevpnclientpackageOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *string
}

type GetAdvertisedRoutesOperationOptions

type GetAdvertisedRoutesOperationOptions struct {
	Peer *string
}

func DefaultGetAdvertisedRoutesOperationOptions

func DefaultGetAdvertisedRoutesOperationOptions() GetAdvertisedRoutesOperationOptions

func (GetAdvertisedRoutesOperationOptions) ToHeaders

func (GetAdvertisedRoutesOperationOptions) ToOData

func (GetAdvertisedRoutesOperationOptions) ToQuery

type GetAdvertisedRoutesOperationResponse

type GetAdvertisedRoutesOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *GatewayRouteListResult
}

type GetBgpPeerStatusOperationOptions

type GetBgpPeerStatusOperationOptions struct {
	Peer *string
}

func DefaultGetBgpPeerStatusOperationOptions

func DefaultGetBgpPeerStatusOperationOptions() GetBgpPeerStatusOperationOptions

func (GetBgpPeerStatusOperationOptions) ToHeaders

func (GetBgpPeerStatusOperationOptions) ToOData

func (GetBgpPeerStatusOperationOptions) ToQuery

type GetBgpPeerStatusOperationResponse

type GetBgpPeerStatusOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BgpPeerStatusListResult
}

type GetLearnedRoutesOperationResponse

type GetLearnedRoutesOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *GatewayRouteListResult
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualNetworkGateway
}

type GetVpnProfilePackageUrlOperationResponse

type GetVpnProfilePackageUrlOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *string
}

type GetVpnclientConnectionHealthOperationResponse

type GetVpnclientConnectionHealthOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VpnClientConnectionHealthDetailListResult
}

type GetVpnclientIPsecParametersOperationResponse

type GetVpnclientIPsecParametersOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VpnClientIPsecParameters
}

type IPAllocationMethod

type IPAllocationMethod string
const (
	IPAllocationMethodDynamic IPAllocationMethod = "Dynamic"
	IPAllocationMethodStatic  IPAllocationMethod = "Static"
)

func (*IPAllocationMethod) UnmarshalJSON

func (s *IPAllocationMethod) UnmarshalJSON(bytes []byte) error

type IPConfigurationBgpPeeringAddress

type IPConfigurationBgpPeeringAddress struct {
	CustomBgpIPAddresses  *[]string `json:"customBgpIpAddresses,omitempty"`
	DefaultBgpIPAddresses *[]string `json:"defaultBgpIpAddresses,omitempty"`
	IPconfigurationId     *string   `json:"ipconfigurationId,omitempty"`
	TunnelIPAddresses     *[]string `json:"tunnelIpAddresses,omitempty"`
}

type IPsecEncryption

type IPsecEncryption string
const (
	IPsecEncryptionAESOneNineTwo     IPsecEncryption = "AES192"
	IPsecEncryptionAESOneTwoEight    IPsecEncryption = "AES128"
	IPsecEncryptionAESTwoFiveSix     IPsecEncryption = "AES256"
	IPsecEncryptionDES               IPsecEncryption = "DES"
	IPsecEncryptionDESThree          IPsecEncryption = "DES3"
	IPsecEncryptionGCMAESOneNineTwo  IPsecEncryption = "GCMAES192"
	IPsecEncryptionGCMAESOneTwoEight IPsecEncryption = "GCMAES128"
	IPsecEncryptionGCMAESTwoFiveSix  IPsecEncryption = "GCMAES256"
	IPsecEncryptionNone              IPsecEncryption = "None"
)

func (*IPsecEncryption) UnmarshalJSON

func (s *IPsecEncryption) UnmarshalJSON(bytes []byte) error

type IPsecIntegrity

type IPsecIntegrity string
const (
	IPsecIntegrityGCMAESOneNineTwo  IPsecIntegrity = "GCMAES192"
	IPsecIntegrityGCMAESOneTwoEight IPsecIntegrity = "GCMAES128"
	IPsecIntegrityGCMAESTwoFiveSix  IPsecIntegrity = "GCMAES256"
	IPsecIntegrityMDFive            IPsecIntegrity = "MD5"
	IPsecIntegritySHAOne            IPsecIntegrity = "SHA1"
	IPsecIntegritySHATwoFiveSix     IPsecIntegrity = "SHA256"
)

func (*IPsecIntegrity) UnmarshalJSON

func (s *IPsecIntegrity) UnmarshalJSON(bytes []byte) error

type IPsecPolicy

type IPsecPolicy struct {
	DhGroup             DhGroup         `json:"dhGroup"`
	IPsecEncryption     IPsecEncryption `json:"ipsecEncryption"`
	IPsecIntegrity      IPsecIntegrity  `json:"ipsecIntegrity"`
	IkeEncryption       IkeEncryption   `json:"ikeEncryption"`
	IkeIntegrity        IkeIntegrity    `json:"ikeIntegrity"`
	PfsGroup            PfsGroup        `json:"pfsGroup"`
	SaDataSizeKilobytes int64           `json:"saDataSizeKilobytes"`
	SaLifeTimeSeconds   int64           `json:"saLifeTimeSeconds"`
}

type IkeEncryption

type IkeEncryption string
const (
	IkeEncryptionAESOneNineTwo     IkeEncryption = "AES192"
	IkeEncryptionAESOneTwoEight    IkeEncryption = "AES128"
	IkeEncryptionAESTwoFiveSix     IkeEncryption = "AES256"
	IkeEncryptionDES               IkeEncryption = "DES"
	IkeEncryptionDESThree          IkeEncryption = "DES3"
	IkeEncryptionGCMAESOneTwoEight IkeEncryption = "GCMAES128"
	IkeEncryptionGCMAESTwoFiveSix  IkeEncryption = "GCMAES256"
)

func (*IkeEncryption) UnmarshalJSON

func (s *IkeEncryption) UnmarshalJSON(bytes []byte) error

type IkeIntegrity

type IkeIntegrity string
const (
	IkeIntegrityGCMAESOneTwoEight IkeIntegrity = "GCMAES128"
	IkeIntegrityGCMAESTwoFiveSix  IkeIntegrity = "GCMAES256"
	IkeIntegrityMDFive            IkeIntegrity = "MD5"
	IkeIntegritySHAOne            IkeIntegrity = "SHA1"
	IkeIntegritySHAThreeEightFour IkeIntegrity = "SHA384"
	IkeIntegritySHATwoFiveSix     IkeIntegrity = "SHA256"
)

func (*IkeIntegrity) UnmarshalJSON

func (s *IkeIntegrity) UnmarshalJSON(bytes []byte) error

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualNetworkGateway
}

type ListConnectionsCompleteResult

type ListConnectionsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualNetworkGatewayConnectionListEntity
}

type ListConnectionsOperationResponse

type ListConnectionsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualNetworkGatewayConnectionListEntity
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualNetworkGateway
}

type P2SVpnConnectionRequest

type P2SVpnConnectionRequest struct {
	VpnConnectionIds *[]string `json:"vpnConnectionIds,omitempty"`
}

type PfsGroup

type PfsGroup string
const (
	PfsGroupECPThreeEightFour   PfsGroup = "ECP384"
	PfsGroupECPTwoFiveSix       PfsGroup = "ECP256"
	PfsGroupNone                PfsGroup = "None"
	PfsGroupPFSMM               PfsGroup = "PFSMM"
	PfsGroupPFSOne              PfsGroup = "PFS1"
	PfsGroupPFSOneFour          PfsGroup = "PFS14"
	PfsGroupPFSTwo              PfsGroup = "PFS2"
	PfsGroupPFSTwoFour          PfsGroup = "PFS24"
	PfsGroupPFSTwoZeroFourEight PfsGroup = "PFS2048"
)

func (*PfsGroup) UnmarshalJSON

func (s *PfsGroup) UnmarshalJSON(bytes []byte) error

type ProcessorArchitecture

type ProcessorArchitecture string
const (
	ProcessorArchitectureAmdSixFour ProcessorArchitecture = "Amd64"
	ProcessorArchitectureXEightSix  ProcessorArchitecture = "X86"
)

func (*ProcessorArchitecture) UnmarshalJSON

func (s *ProcessorArchitecture) UnmarshalJSON(bytes []byte) error

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type RadiusServer

type RadiusServer struct {
	RadiusServerAddress string  `json:"radiusServerAddress"`
	RadiusServerScore   *int64  `json:"radiusServerScore,omitempty"`
	RadiusServerSecret  *string `json:"radiusServerSecret,omitempty"`
}

type ResetOperationOptions

type ResetOperationOptions struct {
	GatewayVip *string
}

func DefaultResetOperationOptions

func DefaultResetOperationOptions() ResetOperationOptions

func (ResetOperationOptions) ToHeaders

func (o ResetOperationOptions) ToHeaders() *client.Headers

func (ResetOperationOptions) ToOData

func (o ResetOperationOptions) ToOData() *odata.Query

func (ResetOperationOptions) ToQuery

type ResetOperationResponse

type ResetOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualNetworkGateway
}

type ResetVpnClientSharedKeyOperationResponse

type ResetVpnClientSharedKeyOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type SetVpnclientIPsecParametersOperationResponse

type SetVpnclientIPsecParametersOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VpnClientIPsecParameters
}

type StartPacketCaptureOperationResponse

type StartPacketCaptureOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *string
}

type StopPacketCaptureOperationResponse

type StopPacketCaptureOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *string
}

type SubResource

type SubResource struct {
	Id *string `json:"id,omitempty"`
}

type SupportedVpnDevicesOperationResponse

type SupportedVpnDevicesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *string
}

type TagsObject

type TagsObject struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type TrafficSelectorPolicy

type TrafficSelectorPolicy struct {
	LocalAddressRanges  []string `json:"localAddressRanges"`
	RemoteAddressRanges []string `json:"remoteAddressRanges"`
}

type TunnelConnectionHealth

type TunnelConnectionHealth struct {
	ConnectionStatus                 *VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"`
	EgressBytesTransferred           *int64                                 `json:"egressBytesTransferred,omitempty"`
	IngressBytesTransferred          *int64                                 `json:"ingressBytesTransferred,omitempty"`
	LastConnectionEstablishedUtcTime *string                                `json:"lastConnectionEstablishedUtcTime,omitempty"`
	Tunnel                           *string                                `json:"tunnel,omitempty"`
}

type UpdateTagsOperationResponse

type UpdateTagsOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualNetworkGateway
}

type VirtualNetworkConnectionGatewayReference

type VirtualNetworkConnectionGatewayReference struct {
	Id string `json:"id"`
}

type VirtualNetworkGateway

type VirtualNetworkGateway struct {
	Etag             *string                               `json:"etag,omitempty"`
	ExtendedLocation *edgezones.Model                      `json:"extendedLocation,omitempty"`
	Id               *string                               `json:"id,omitempty"`
	Location         *string                               `json:"location,omitempty"`
	Name             *string                               `json:"name,omitempty"`
	Properties       VirtualNetworkGatewayPropertiesFormat `json:"properties"`
	Tags             *map[string]string                    `json:"tags,omitempty"`
	Type             *string                               `json:"type,omitempty"`
}

type VirtualNetworkGatewayConnectionListEntity

type VirtualNetworkGatewayConnectionListEntity struct {
	Etag       *string                                                   `json:"etag,omitempty"`
	Id         *string                                                   `json:"id,omitempty"`
	Location   *string                                                   `json:"location,omitempty"`
	Name       *string                                                   `json:"name,omitempty"`
	Properties VirtualNetworkGatewayConnectionListEntityPropertiesFormat `json:"properties"`
	Tags       *map[string]string                                        `json:"tags,omitempty"`
	Type       *string                                                   `json:"type,omitempty"`
}

type VirtualNetworkGatewayConnectionListEntityOperationPredicate

type VirtualNetworkGatewayConnectionListEntityOperationPredicate struct {
	Etag     *string
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (VirtualNetworkGatewayConnectionListEntityOperationPredicate) Matches

type VirtualNetworkGatewayConnectionListEntityPropertiesFormat

type VirtualNetworkGatewayConnectionListEntityPropertiesFormat struct {
	AuthorizationKey               *string                                     `json:"authorizationKey,omitempty"`
	ConnectionMode                 *VirtualNetworkGatewayConnectionMode        `json:"connectionMode,omitempty"`
	ConnectionProtocol             *VirtualNetworkGatewayConnectionProtocol    `json:"connectionProtocol,omitempty"`
	ConnectionStatus               *VirtualNetworkGatewayConnectionStatus      `json:"connectionStatus,omitempty"`
	ConnectionType                 VirtualNetworkGatewayConnectionType         `json:"connectionType"`
	EgressBytesTransferred         *int64                                      `json:"egressBytesTransferred,omitempty"`
	EnableBgp                      *bool                                       `json:"enableBgp,omitempty"`
	EnablePrivateLinkFastPath      *bool                                       `json:"enablePrivateLinkFastPath,omitempty"`
	ExpressRouteGatewayBypass      *bool                                       `json:"expressRouteGatewayBypass,omitempty"`
	GatewayCustomBgpIPAddresses    *[]GatewayCustomBgpIPAddressIPConfiguration `json:"gatewayCustomBgpIpAddresses,omitempty"`
	IPsecPolicies                  *[]IPsecPolicy                              `json:"ipsecPolicies,omitempty"`
	IngressBytesTransferred        *int64                                      `json:"ingressBytesTransferred,omitempty"`
	LocalNetworkGateway2           *VirtualNetworkConnectionGatewayReference   `json:"localNetworkGateway2,omitempty"`
	Peer                           *SubResource                                `json:"peer,omitempty"`
	ProvisioningState              *ProvisioningState                          `json:"provisioningState,omitempty"`
	ResourceGuid                   *string                                     `json:"resourceGuid,omitempty"`
	RoutingWeight                  *int64                                      `json:"routingWeight,omitempty"`
	SharedKey                      *string                                     `json:"sharedKey,omitempty"`
	TrafficSelectorPolicies        *[]TrafficSelectorPolicy                    `json:"trafficSelectorPolicies,omitempty"`
	TunnelConnectionStatus         *[]TunnelConnectionHealth                   `json:"tunnelConnectionStatus,omitempty"`
	UsePolicyBasedTrafficSelectors *bool                                       `json:"usePolicyBasedTrafficSelectors,omitempty"`
	VirtualNetworkGateway1         VirtualNetworkConnectionGatewayReference    `json:"virtualNetworkGateway1"`
	VirtualNetworkGateway2         *VirtualNetworkConnectionGatewayReference   `json:"virtualNetworkGateway2,omitempty"`
}

type VirtualNetworkGatewayConnectionMode

type VirtualNetworkGatewayConnectionMode string
const (
	VirtualNetworkGatewayConnectionModeDefault       VirtualNetworkGatewayConnectionMode = "Default"
	VirtualNetworkGatewayConnectionModeInitiatorOnly VirtualNetworkGatewayConnectionMode = "InitiatorOnly"
	VirtualNetworkGatewayConnectionModeResponderOnly VirtualNetworkGatewayConnectionMode = "ResponderOnly"
)

func (*VirtualNetworkGatewayConnectionMode) UnmarshalJSON

func (s *VirtualNetworkGatewayConnectionMode) UnmarshalJSON(bytes []byte) error

type VirtualNetworkGatewayConnectionProtocol

type VirtualNetworkGatewayConnectionProtocol string
const (
	VirtualNetworkGatewayConnectionProtocolIKEvOne VirtualNetworkGatewayConnectionProtocol = "IKEv1"
	VirtualNetworkGatewayConnectionProtocolIKEvTwo VirtualNetworkGatewayConnectionProtocol = "IKEv2"
)

func (*VirtualNetworkGatewayConnectionProtocol) UnmarshalJSON

func (s *VirtualNetworkGatewayConnectionProtocol) UnmarshalJSON(bytes []byte) error

type VirtualNetworkGatewayConnectionStatus

type VirtualNetworkGatewayConnectionStatus string
const (
	VirtualNetworkGatewayConnectionStatusConnected    VirtualNetworkGatewayConnectionStatus = "Connected"
	VirtualNetworkGatewayConnectionStatusConnecting   VirtualNetworkGatewayConnectionStatus = "Connecting"
	VirtualNetworkGatewayConnectionStatusNotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected"
	VirtualNetworkGatewayConnectionStatusUnknown      VirtualNetworkGatewayConnectionStatus = "Unknown"
)

func (*VirtualNetworkGatewayConnectionStatus) UnmarshalJSON

func (s *VirtualNetworkGatewayConnectionStatus) UnmarshalJSON(bytes []byte) error

type VirtualNetworkGatewayConnectionType

type VirtualNetworkGatewayConnectionType string
const (
	VirtualNetworkGatewayConnectionTypeExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute"
	VirtualNetworkGatewayConnectionTypeIPsec        VirtualNetworkGatewayConnectionType = "IPsec"
	VirtualNetworkGatewayConnectionTypeVPNClient    VirtualNetworkGatewayConnectionType = "VPNClient"
	VirtualNetworkGatewayConnectionTypeVnetTwoVnet  VirtualNetworkGatewayConnectionType = "Vnet2Vnet"
)

func (*VirtualNetworkGatewayConnectionType) UnmarshalJSON

func (s *VirtualNetworkGatewayConnectionType) UnmarshalJSON(bytes []byte) error

type VirtualNetworkGatewayIPConfiguration

type VirtualNetworkGatewayIPConfiguration struct {
	Etag       *string                                               `json:"etag,omitempty"`
	Id         *string                                               `json:"id,omitempty"`
	Name       *string                                               `json:"name,omitempty"`
	Properties *VirtualNetworkGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
}

type VirtualNetworkGatewayIPConfigurationPropertiesFormat

type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct {
	PrivateIPAddress          *string             `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod *IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	ProvisioningState         *ProvisioningState  `json:"provisioningState,omitempty"`
	PublicIPAddress           *SubResource        `json:"publicIPAddress,omitempty"`
	Subnet                    *SubResource        `json:"subnet,omitempty"`
}

type VirtualNetworkGatewayId

type VirtualNetworkGatewayId struct {
	SubscriptionId            string
	ResourceGroupName         string
	VirtualNetworkGatewayName string
}

VirtualNetworkGatewayId is a struct representing the Resource ID for a Virtual Network Gateway

func NewVirtualNetworkGatewayID

func NewVirtualNetworkGatewayID(subscriptionId string, resourceGroupName string, virtualNetworkGatewayName string) VirtualNetworkGatewayId

NewVirtualNetworkGatewayID returns a new VirtualNetworkGatewayId struct

func ParseVirtualNetworkGatewayID

func ParseVirtualNetworkGatewayID(input string) (*VirtualNetworkGatewayId, error)

ParseVirtualNetworkGatewayID parses 'input' into a VirtualNetworkGatewayId

func ParseVirtualNetworkGatewayIDInsensitively

func ParseVirtualNetworkGatewayIDInsensitively(input string) (*VirtualNetworkGatewayId, error)

ParseVirtualNetworkGatewayIDInsensitively parses 'input' case-insensitively into a VirtualNetworkGatewayId note: this method should only be used for API response data and not user input

func (*VirtualNetworkGatewayId) FromParseResult

func (id *VirtualNetworkGatewayId) FromParseResult(input resourceids.ParseResult) error

func (VirtualNetworkGatewayId) ID

ID returns the formatted Virtual Network Gateway ID

func (VirtualNetworkGatewayId) Segments

Segments returns a slice of Resource ID Segments which comprise this Virtual Network Gateway ID

func (VirtualNetworkGatewayId) String

func (id VirtualNetworkGatewayId) String() string

String returns a human-readable description of this Virtual Network Gateway ID

type VirtualNetworkGatewayNatRule

type VirtualNetworkGatewayNatRule struct {
	Etag       *string                                 `json:"etag,omitempty"`
	Id         *string                                 `json:"id,omitempty"`
	Name       *string                                 `json:"name,omitempty"`
	Properties *VirtualNetworkGatewayNatRuleProperties `json:"properties,omitempty"`
	Type       *string                                 `json:"type,omitempty"`
}

type VirtualNetworkGatewayNatRuleId

type VirtualNetworkGatewayNatRuleId struct {
	SubscriptionId            string
	ResourceGroupName         string
	VirtualNetworkGatewayName string
	NatRuleName               string
}

VirtualNetworkGatewayNatRuleId is a struct representing the Resource ID for a Virtual Network Gateway Nat Rule

func NewVirtualNetworkGatewayNatRuleID

func NewVirtualNetworkGatewayNatRuleID(subscriptionId string, resourceGroupName string, virtualNetworkGatewayName string, natRuleName string) VirtualNetworkGatewayNatRuleId

NewVirtualNetworkGatewayNatRuleID returns a new VirtualNetworkGatewayNatRuleId struct

func ParseVirtualNetworkGatewayNatRuleID

func ParseVirtualNetworkGatewayNatRuleID(input string) (*VirtualNetworkGatewayNatRuleId, error)

ParseVirtualNetworkGatewayNatRuleID parses 'input' into a VirtualNetworkGatewayNatRuleId

func ParseVirtualNetworkGatewayNatRuleIDInsensitively

func ParseVirtualNetworkGatewayNatRuleIDInsensitively(input string) (*VirtualNetworkGatewayNatRuleId, error)

ParseVirtualNetworkGatewayNatRuleIDInsensitively parses 'input' case-insensitively into a VirtualNetworkGatewayNatRuleId note: this method should only be used for API response data and not user input

func (*VirtualNetworkGatewayNatRuleId) FromParseResult

func (id *VirtualNetworkGatewayNatRuleId) FromParseResult(input resourceids.ParseResult) error

func (VirtualNetworkGatewayNatRuleId) ID

ID returns the formatted Virtual Network Gateway Nat Rule ID

func (VirtualNetworkGatewayNatRuleId) Segments

Segments returns a slice of Resource ID Segments which comprise this Virtual Network Gateway Nat Rule ID

func (VirtualNetworkGatewayNatRuleId) String

String returns a human-readable description of this Virtual Network Gateway Nat Rule ID

type VirtualNetworkGatewayNatRuleOperationPredicate

type VirtualNetworkGatewayNatRuleOperationPredicate struct {
	Etag *string
	Id   *string
	Name *string
	Type *string
}

func (VirtualNetworkGatewayNatRuleOperationPredicate) Matches

type VirtualNetworkGatewayNatRuleProperties

type VirtualNetworkGatewayNatRuleProperties struct {
	ExternalMappings  *[]VpnNatRuleMapping `json:"externalMappings,omitempty"`
	IPConfigurationId *string              `json:"ipConfigurationId,omitempty"`
	InternalMappings  *[]VpnNatRuleMapping `json:"internalMappings,omitempty"`
	Mode              *VpnNatRuleMode      `json:"mode,omitempty"`
	ProvisioningState *ProvisioningState   `json:"provisioningState,omitempty"`
	Type              *VpnNatRuleType      `json:"type,omitempty"`
}

type VirtualNetworkGatewayNatRulesCreateOrUpdateOperationResponse

type VirtualNetworkGatewayNatRulesCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualNetworkGatewayNatRule
}

type VirtualNetworkGatewayNatRulesDeleteOperationResponse

type VirtualNetworkGatewayNatRulesDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type VirtualNetworkGatewayNatRulesGetOperationResponse

type VirtualNetworkGatewayNatRulesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualNetworkGatewayNatRule
}

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayCompleteResult

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualNetworkGatewayNatRule
}

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayOperationResponse

type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualNetworkGatewayNatRule
}

type VirtualNetworkGatewayOperationPredicate

type VirtualNetworkGatewayOperationPredicate struct {
	Etag     *string
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (VirtualNetworkGatewayOperationPredicate) Matches

type VirtualNetworkGatewayPolicyGroup

type VirtualNetworkGatewayPolicyGroup struct {
	Etag       *string                                     `json:"etag,omitempty"`
	Id         *string                                     `json:"id,omitempty"`
	Name       *string                                     `json:"name,omitempty"`
	Properties *VirtualNetworkGatewayPolicyGroupProperties `json:"properties,omitempty"`
}

type VirtualNetworkGatewayPolicyGroupMember

type VirtualNetworkGatewayPolicyGroupMember struct {
	AttributeType  *VpnPolicyMemberAttributeType `json:"attributeType,omitempty"`
	AttributeValue *string                       `json:"attributeValue,omitempty"`
	Name           *string                       `json:"name,omitempty"`
}

type VirtualNetworkGatewayPolicyGroupProperties

type VirtualNetworkGatewayPolicyGroupProperties struct {
	IsDefault                         bool                                     `json:"isDefault"`
	PolicyMembers                     []VirtualNetworkGatewayPolicyGroupMember `json:"policyMembers"`
	Priority                          int64                                    `json:"priority"`
	ProvisioningState                 *ProvisioningState                       `json:"provisioningState,omitempty"`
	VngClientConnectionConfigurations *[]SubResource                           `json:"vngClientConnectionConfigurations,omitempty"`
}

type VirtualNetworkGatewayPropertiesFormat

type VirtualNetworkGatewayPropertiesFormat struct {
	ActiveActive                      *bool                                   `json:"activeActive,omitempty"`
	AdminState                        *AdminState                             `json:"adminState,omitempty"`
	AllowRemoteVnetTraffic            *bool                                   `json:"allowRemoteVnetTraffic,omitempty"`
	AllowVirtualWanTraffic            *bool                                   `json:"allowVirtualWanTraffic,omitempty"`
	BgpSettings                       *BgpSettings                            `json:"bgpSettings,omitempty"`
	CustomRoutes                      *AddressSpace                           `json:"customRoutes,omitempty"`
	DisableIPSecReplayProtection      *bool                                   `json:"disableIPSecReplayProtection,omitempty"`
	EnableBgp                         *bool                                   `json:"enableBgp,omitempty"`
	EnableBgpRouteTranslationForNat   *bool                                   `json:"enableBgpRouteTranslationForNat,omitempty"`
	EnableDnsForwarding               *bool                                   `json:"enableDnsForwarding,omitempty"`
	EnablePrivateIPAddress            *bool                                   `json:"enablePrivateIpAddress,omitempty"`
	GatewayDefaultSite                *SubResource                            `json:"gatewayDefaultSite,omitempty"`
	GatewayType                       *VirtualNetworkGatewayType              `json:"gatewayType,omitempty"`
	IPConfigurations                  *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"`
	InboundDnsForwardingEndpoint      *string                                 `json:"inboundDnsForwardingEndpoint,omitempty"`
	NatRules                          *[]VirtualNetworkGatewayNatRule         `json:"natRules,omitempty"`
	ProvisioningState                 *ProvisioningState                      `json:"provisioningState,omitempty"`
	ResourceGuid                      *string                                 `json:"resourceGuid,omitempty"`
	Sku                               *VirtualNetworkGatewaySku               `json:"sku,omitempty"`
	VNetExtendedLocationResourceId    *string                                 `json:"vNetExtendedLocationResourceId,omitempty"`
	VirtualNetworkGatewayPolicyGroups *[]VirtualNetworkGatewayPolicyGroup     `json:"virtualNetworkGatewayPolicyGroups,omitempty"`
	VpnClientConfiguration            *VpnClientConfiguration                 `json:"vpnClientConfiguration,omitempty"`
	VpnGatewayGeneration              *VpnGatewayGeneration                   `json:"vpnGatewayGeneration,omitempty"`
	VpnType                           *VpnType                                `json:"vpnType,omitempty"`
}

type VirtualNetworkGatewaySku

type VirtualNetworkGatewaySku struct {
	Capacity *int64                        `json:"capacity,omitempty"`
	Name     *VirtualNetworkGatewaySkuName `json:"name,omitempty"`
	Tier     *VirtualNetworkGatewaySkuTier `json:"tier,omitempty"`
}

type VirtualNetworkGatewaySkuName

type VirtualNetworkGatewaySkuName string
const (
	VirtualNetworkGatewaySkuNameBasic            VirtualNetworkGatewaySkuName = "Basic"
	VirtualNetworkGatewaySkuNameErGwOneAZ        VirtualNetworkGatewaySkuName = "ErGw1AZ"
	VirtualNetworkGatewaySkuNameErGwThreeAZ      VirtualNetworkGatewaySkuName = "ErGw3AZ"
	VirtualNetworkGatewaySkuNameErGwTwoAZ        VirtualNetworkGatewaySkuName = "ErGw2AZ"
	VirtualNetworkGatewaySkuNameHighPerformance  VirtualNetworkGatewaySkuName = "HighPerformance"
	VirtualNetworkGatewaySkuNameStandard         VirtualNetworkGatewaySkuName = "Standard"
	VirtualNetworkGatewaySkuNameUltraPerformance VirtualNetworkGatewaySkuName = "UltraPerformance"
	VirtualNetworkGatewaySkuNameVpnGwFive        VirtualNetworkGatewaySkuName = "VpnGw5"
	VirtualNetworkGatewaySkuNameVpnGwFiveAZ      VirtualNetworkGatewaySkuName = "VpnGw5AZ"
	VirtualNetworkGatewaySkuNameVpnGwFour        VirtualNetworkGatewaySkuName = "VpnGw4"
	VirtualNetworkGatewaySkuNameVpnGwFourAZ      VirtualNetworkGatewaySkuName = "VpnGw4AZ"
	VirtualNetworkGatewaySkuNameVpnGwOne         VirtualNetworkGatewaySkuName = "VpnGw1"
	VirtualNetworkGatewaySkuNameVpnGwOneAZ       VirtualNetworkGatewaySkuName = "VpnGw1AZ"
	VirtualNetworkGatewaySkuNameVpnGwThree       VirtualNetworkGatewaySkuName = "VpnGw3"
	VirtualNetworkGatewaySkuNameVpnGwThreeAZ     VirtualNetworkGatewaySkuName = "VpnGw3AZ"
	VirtualNetworkGatewaySkuNameVpnGwTwo         VirtualNetworkGatewaySkuName = "VpnGw2"
	VirtualNetworkGatewaySkuNameVpnGwTwoAZ       VirtualNetworkGatewaySkuName = "VpnGw2AZ"
)

func (*VirtualNetworkGatewaySkuName) UnmarshalJSON

func (s *VirtualNetworkGatewaySkuName) UnmarshalJSON(bytes []byte) error

type VirtualNetworkGatewaySkuTier

type VirtualNetworkGatewaySkuTier string
const (
	VirtualNetworkGatewaySkuTierBasic            VirtualNetworkGatewaySkuTier = "Basic"
	VirtualNetworkGatewaySkuTierErGwOneAZ        VirtualNetworkGatewaySkuTier = "ErGw1AZ"
	VirtualNetworkGatewaySkuTierErGwThreeAZ      VirtualNetworkGatewaySkuTier = "ErGw3AZ"
	VirtualNetworkGatewaySkuTierErGwTwoAZ        VirtualNetworkGatewaySkuTier = "ErGw2AZ"
	VirtualNetworkGatewaySkuTierHighPerformance  VirtualNetworkGatewaySkuTier = "HighPerformance"
	VirtualNetworkGatewaySkuTierStandard         VirtualNetworkGatewaySkuTier = "Standard"
	VirtualNetworkGatewaySkuTierUltraPerformance VirtualNetworkGatewaySkuTier = "UltraPerformance"
	VirtualNetworkGatewaySkuTierVpnGwFive        VirtualNetworkGatewaySkuTier = "VpnGw5"
	VirtualNetworkGatewaySkuTierVpnGwFiveAZ      VirtualNetworkGatewaySkuTier = "VpnGw5AZ"
	VirtualNetworkGatewaySkuTierVpnGwFour        VirtualNetworkGatewaySkuTier = "VpnGw4"
	VirtualNetworkGatewaySkuTierVpnGwFourAZ      VirtualNetworkGatewaySkuTier = "VpnGw4AZ"
	VirtualNetworkGatewaySkuTierVpnGwOne         VirtualNetworkGatewaySkuTier = "VpnGw1"
	VirtualNetworkGatewaySkuTierVpnGwOneAZ       VirtualNetworkGatewaySkuTier = "VpnGw1AZ"
	VirtualNetworkGatewaySkuTierVpnGwThree       VirtualNetworkGatewaySkuTier = "VpnGw3"
	VirtualNetworkGatewaySkuTierVpnGwThreeAZ     VirtualNetworkGatewaySkuTier = "VpnGw3AZ"
	VirtualNetworkGatewaySkuTierVpnGwTwo         VirtualNetworkGatewaySkuTier = "VpnGw2"
	VirtualNetworkGatewaySkuTierVpnGwTwoAZ       VirtualNetworkGatewaySkuTier = "VpnGw2AZ"
)

func (*VirtualNetworkGatewaySkuTier) UnmarshalJSON

func (s *VirtualNetworkGatewaySkuTier) UnmarshalJSON(bytes []byte) error

type VirtualNetworkGatewayType

type VirtualNetworkGatewayType string
const (
	VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute"
	VirtualNetworkGatewayTypeLocalGateway VirtualNetworkGatewayType = "LocalGateway"
	VirtualNetworkGatewayTypeVpn          VirtualNetworkGatewayType = "Vpn"
)

func (*VirtualNetworkGatewayType) UnmarshalJSON

func (s *VirtualNetworkGatewayType) UnmarshalJSON(bytes []byte) error

type VirtualNetworkGatewaysClient

type VirtualNetworkGatewaysClient struct {
	Client *resourcemanager.Client
}

func NewVirtualNetworkGatewaysClientWithBaseURI

func NewVirtualNetworkGatewaysClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualNetworkGatewaysClient, error)

func (VirtualNetworkGatewaysClient) CreateOrUpdate

CreateOrUpdate ...

func (VirtualNetworkGatewaysClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (VirtualNetworkGatewaysClient) Delete

Delete ...

func (VirtualNetworkGatewaysClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (VirtualNetworkGatewaysClient) DisconnectVirtualNetworkGatewayVpnConnections

DisconnectVirtualNetworkGatewayVpnConnections ...

func (VirtualNetworkGatewaysClient) DisconnectVirtualNetworkGatewayVpnConnectionsThenPoll

func (c VirtualNetworkGatewaysClient) DisconnectVirtualNetworkGatewayVpnConnectionsThenPoll(ctx context.Context, id VirtualNetworkGatewayId, input P2SVpnConnectionRequest) error

DisconnectVirtualNetworkGatewayVpnConnectionsThenPoll performs DisconnectVirtualNetworkGatewayVpnConnections then polls until it's completed

func (VirtualNetworkGatewaysClient) GenerateVpnProfile

GenerateVpnProfile ...

func (VirtualNetworkGatewaysClient) GenerateVpnProfileThenPoll

GenerateVpnProfileThenPoll performs GenerateVpnProfile then polls until it's completed

func (VirtualNetworkGatewaysClient) Generatevpnclientpackage

Generatevpnclientpackage ...

func (VirtualNetworkGatewaysClient) GeneratevpnclientpackageThenPoll

func (c VirtualNetworkGatewaysClient) GeneratevpnclientpackageThenPoll(ctx context.Context, id VirtualNetworkGatewayId, input VpnClientParameters) error

GeneratevpnclientpackageThenPoll performs Generatevpnclientpackage then polls until it's completed

func (VirtualNetworkGatewaysClient) Get

Get ...

func (VirtualNetworkGatewaysClient) GetAdvertisedRoutes

GetAdvertisedRoutes ...

func (VirtualNetworkGatewaysClient) GetAdvertisedRoutesThenPoll

GetAdvertisedRoutesThenPoll performs GetAdvertisedRoutes then polls until it's completed

func (VirtualNetworkGatewaysClient) GetBgpPeerStatus

GetBgpPeerStatus ...

func (VirtualNetworkGatewaysClient) GetBgpPeerStatusThenPoll

GetBgpPeerStatusThenPoll performs GetBgpPeerStatus then polls until it's completed

func (VirtualNetworkGatewaysClient) GetLearnedRoutes

GetLearnedRoutes ...

func (VirtualNetworkGatewaysClient) GetLearnedRoutesThenPoll

func (c VirtualNetworkGatewaysClient) GetLearnedRoutesThenPoll(ctx context.Context, id VirtualNetworkGatewayId) error

GetLearnedRoutesThenPoll performs GetLearnedRoutes then polls until it's completed

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageUrl

GetVpnProfilePackageUrl ...

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageUrlThenPoll

func (c VirtualNetworkGatewaysClient) GetVpnProfilePackageUrlThenPoll(ctx context.Context, id VirtualNetworkGatewayId) error

GetVpnProfilePackageUrlThenPoll performs GetVpnProfilePackageUrl then polls until it's completed

func (VirtualNetworkGatewaysClient) GetVpnclientConnectionHealth

GetVpnclientConnectionHealth ...

func (VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthThenPoll

func (c VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthThenPoll(ctx context.Context, id VirtualNetworkGatewayId) error

GetVpnclientConnectionHealthThenPoll performs GetVpnclientConnectionHealth then polls until it's completed

func (VirtualNetworkGatewaysClient) GetVpnclientIPsecParameters

GetVpnclientIPsecParameters ...

func (VirtualNetworkGatewaysClient) GetVpnclientIPsecParametersThenPoll

func (c VirtualNetworkGatewaysClient) GetVpnclientIPsecParametersThenPoll(ctx context.Context, id VirtualNetworkGatewayId) error

GetVpnclientIPsecParametersThenPoll performs GetVpnclientIPsecParameters then polls until it's completed

func (VirtualNetworkGatewaysClient) List

List ...

func (VirtualNetworkGatewaysClient) ListComplete

ListComplete retrieves all the results into a single object

func (VirtualNetworkGatewaysClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualNetworkGatewaysClient) ListConnections

ListConnections ...

func (VirtualNetworkGatewaysClient) ListConnectionsComplete

ListConnectionsComplete retrieves all the results into a single object

func (VirtualNetworkGatewaysClient) ListConnectionsCompleteMatchingPredicate

ListConnectionsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualNetworkGatewaysClient) Reset

Reset ...

func (VirtualNetworkGatewaysClient) ResetThenPoll

ResetThenPoll performs Reset then polls until it's completed

func (VirtualNetworkGatewaysClient) ResetVpnClientSharedKey

ResetVpnClientSharedKey ...

func (VirtualNetworkGatewaysClient) ResetVpnClientSharedKeyThenPoll

func (c VirtualNetworkGatewaysClient) ResetVpnClientSharedKeyThenPoll(ctx context.Context, id VirtualNetworkGatewayId) error

ResetVpnClientSharedKeyThenPoll performs ResetVpnClientSharedKey then polls until it's completed

func (VirtualNetworkGatewaysClient) SetVpnclientIPsecParameters

SetVpnclientIPsecParameters ...

func (VirtualNetworkGatewaysClient) SetVpnclientIPsecParametersThenPoll

func (c VirtualNetworkGatewaysClient) SetVpnclientIPsecParametersThenPoll(ctx context.Context, id VirtualNetworkGatewayId, input VpnClientIPsecParameters) error

SetVpnclientIPsecParametersThenPoll performs SetVpnclientIPsecParameters then polls until it's completed

func (VirtualNetworkGatewaysClient) StartPacketCapture

StartPacketCapture ...

func (VirtualNetworkGatewaysClient) StartPacketCaptureThenPoll

StartPacketCaptureThenPoll performs StartPacketCapture then polls until it's completed

func (VirtualNetworkGatewaysClient) StopPacketCapture

StopPacketCapture ...

func (VirtualNetworkGatewaysClient) StopPacketCaptureThenPoll

StopPacketCaptureThenPoll performs StopPacketCapture then polls until it's completed

func (VirtualNetworkGatewaysClient) SupportedVpnDevices

SupportedVpnDevices ...

func (VirtualNetworkGatewaysClient) UpdateTags

UpdateTags ...

func (VirtualNetworkGatewaysClient) UpdateTagsThenPoll

UpdateTagsThenPoll performs UpdateTags then polls until it's completed

func (VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesCreateOrUpdate

VirtualNetworkGatewayNatRulesCreateOrUpdate ...

func (VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesCreateOrUpdateThenPoll

func (c VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesCreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkGatewayNatRuleId, input VirtualNetworkGatewayNatRule) error

VirtualNetworkGatewayNatRulesCreateOrUpdateThenPoll performs VirtualNetworkGatewayNatRulesCreateOrUpdate then polls until it's completed

func (VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesDelete

VirtualNetworkGatewayNatRulesDelete ...

func (VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesDeleteThenPoll

func (c VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesDeleteThenPoll(ctx context.Context, id VirtualNetworkGatewayNatRuleId) error

VirtualNetworkGatewayNatRulesDeleteThenPoll performs VirtualNetworkGatewayNatRulesDelete then polls until it's completed

func (VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesGet

VirtualNetworkGatewayNatRulesGet ...

func (VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway

func (c VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway(ctx context.Context, id VirtualNetworkGatewayId) (result VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayOperationResponse, err error)

VirtualNetworkGatewayNatRulesListByVirtualNetworkGateway ...

func (VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayComplete

VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayComplete retrieves all the results into a single object

func (VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayCompleteMatchingPredicate

func (c VirtualNetworkGatewaysClient) VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayCompleteMatchingPredicate(ctx context.Context, id VirtualNetworkGatewayId, predicate VirtualNetworkGatewayNatRuleOperationPredicate) (result VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayCompleteResult, err error)

VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualNetworkGatewaysClient) VpnDeviceConfigurationScript

VpnDeviceConfigurationScript ...

type VngClientConnectionConfiguration

type VngClientConnectionConfiguration struct {
	Etag       *string                                     `json:"etag,omitempty"`
	Id         *string                                     `json:"id,omitempty"`
	Name       *string                                     `json:"name,omitempty"`
	Properties *VngClientConnectionConfigurationProperties `json:"properties,omitempty"`
}

type VngClientConnectionConfigurationProperties

type VngClientConnectionConfigurationProperties struct {
	ProvisioningState                 *ProvisioningState `json:"provisioningState,omitempty"`
	VirtualNetworkGatewayPolicyGroups []SubResource      `json:"virtualNetworkGatewayPolicyGroups"`
	VpnClientAddressPool              AddressSpace       `json:"vpnClientAddressPool"`
}

type VpnAuthenticationType

type VpnAuthenticationType string
const (
	VpnAuthenticationTypeAAD         VpnAuthenticationType = "AAD"
	VpnAuthenticationTypeCertificate VpnAuthenticationType = "Certificate"
	VpnAuthenticationTypeRadius      VpnAuthenticationType = "Radius"
)

func (*VpnAuthenticationType) UnmarshalJSON

func (s *VpnAuthenticationType) UnmarshalJSON(bytes []byte) error

type VpnClientConfiguration

type VpnClientConfiguration struct {
	AadAudience                       *string                             `json:"aadAudience,omitempty"`
	AadIssuer                         *string                             `json:"aadIssuer,omitempty"`
	AadTenant                         *string                             `json:"aadTenant,omitempty"`
	RadiusServerAddress               *string                             `json:"radiusServerAddress,omitempty"`
	RadiusServerSecret                *string                             `json:"radiusServerSecret,omitempty"`
	RadiusServers                     *[]RadiusServer                     `json:"radiusServers,omitempty"`
	VngClientConnectionConfigurations *[]VngClientConnectionConfiguration `json:"vngClientConnectionConfigurations,omitempty"`
	VpnAuthenticationTypes            *[]VpnAuthenticationType            `json:"vpnAuthenticationTypes,omitempty"`
	VpnClientAddressPool              *AddressSpace                       `json:"vpnClientAddressPool,omitempty"`
	VpnClientIPsecPolicies            *[]IPsecPolicy                      `json:"vpnClientIpsecPolicies,omitempty"`
	VpnClientProtocols                *[]VpnClientProtocol                `json:"vpnClientProtocols,omitempty"`
	VpnClientRevokedCertificates      *[]VpnClientRevokedCertificate      `json:"vpnClientRevokedCertificates,omitempty"`
	VpnClientRootCertificates         *[]VpnClientRootCertificate         `json:"vpnClientRootCertificates,omitempty"`
}

type VpnClientConnectionHealthDetail

type VpnClientConnectionHealthDetail struct {
	EgressBytesTransferred    *int64  `json:"egressBytesTransferred,omitempty"`
	EgressPacketsTransferred  *int64  `json:"egressPacketsTransferred,omitempty"`
	IngressBytesTransferred   *int64  `json:"ingressBytesTransferred,omitempty"`
	IngressPacketsTransferred *int64  `json:"ingressPacketsTransferred,omitempty"`
	MaxBandwidth              *int64  `json:"maxBandwidth,omitempty"`
	MaxPacketsPerSecond       *int64  `json:"maxPacketsPerSecond,omitempty"`
	PrivateIPAddress          *string `json:"privateIpAddress,omitempty"`
	PublicIPAddress           *string `json:"publicIpAddress,omitempty"`
	VpnConnectionDuration     *int64  `json:"vpnConnectionDuration,omitempty"`
	VpnConnectionId           *string `json:"vpnConnectionId,omitempty"`
	VpnConnectionTime         *string `json:"vpnConnectionTime,omitempty"`
	VpnUserName               *string `json:"vpnUserName,omitempty"`
}

type VpnClientConnectionHealthDetailListResult

type VpnClientConnectionHealthDetailListResult struct {
	Value *[]VpnClientConnectionHealthDetail `json:"value,omitempty"`
}

type VpnClientIPsecParameters

type VpnClientIPsecParameters struct {
	DhGroup             DhGroup         `json:"dhGroup"`
	IPsecEncryption     IPsecEncryption `json:"ipsecEncryption"`
	IPsecIntegrity      IPsecIntegrity  `json:"ipsecIntegrity"`
	IkeEncryption       IkeEncryption   `json:"ikeEncryption"`
	IkeIntegrity        IkeIntegrity    `json:"ikeIntegrity"`
	PfsGroup            PfsGroup        `json:"pfsGroup"`
	SaDataSizeKilobytes int64           `json:"saDataSizeKilobytes"`
	SaLifeTimeSeconds   int64           `json:"saLifeTimeSeconds"`
}

type VpnClientParameters

type VpnClientParameters struct {
	AuthenticationMethod        *AuthenticationMethod  `json:"authenticationMethod,omitempty"`
	ClientRootCertificates      *[]string              `json:"clientRootCertificates,omitempty"`
	ProcessorArchitecture       *ProcessorArchitecture `json:"processorArchitecture,omitempty"`
	RadiusServerAuthCertificate *string                `json:"radiusServerAuthCertificate,omitempty"`
}

type VpnClientProtocol

type VpnClientProtocol string
const (
	VpnClientProtocolIkeVTwo VpnClientProtocol = "IkeV2"
	VpnClientProtocolOpenVPN VpnClientProtocol = "OpenVPN"
	VpnClientProtocolSSTP    VpnClientProtocol = "SSTP"
)

func (*VpnClientProtocol) UnmarshalJSON

func (s *VpnClientProtocol) UnmarshalJSON(bytes []byte) error

type VpnClientRevokedCertificate

type VpnClientRevokedCertificate struct {
	Etag       *string                                      `json:"etag,omitempty"`
	Id         *string                                      `json:"id,omitempty"`
	Name       *string                                      `json:"name,omitempty"`
	Properties *VpnClientRevokedCertificatePropertiesFormat `json:"properties,omitempty"`
}

type VpnClientRevokedCertificatePropertiesFormat

type VpnClientRevokedCertificatePropertiesFormat struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	Thumbprint        *string            `json:"thumbprint,omitempty"`
}

type VpnClientRootCertificate

type VpnClientRootCertificate struct {
	Etag       *string                                  `json:"etag,omitempty"`
	Id         *string                                  `json:"id,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties VpnClientRootCertificatePropertiesFormat `json:"properties"`
}

type VpnClientRootCertificatePropertiesFormat

type VpnClientRootCertificatePropertiesFormat struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	PublicCertData    string             `json:"publicCertData"`
}

type VpnDeviceConfigurationScriptOperationResponse

type VpnDeviceConfigurationScriptOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *string
}

type VpnDeviceScriptParameters

type VpnDeviceScriptParameters struct {
	DeviceFamily    *string `json:"deviceFamily,omitempty"`
	FirmwareVersion *string `json:"firmwareVersion,omitempty"`
	Vendor          *string `json:"vendor,omitempty"`
}

type VpnGatewayGeneration

type VpnGatewayGeneration string
const (
	VpnGatewayGenerationGenerationOne VpnGatewayGeneration = "Generation1"
	VpnGatewayGenerationGenerationTwo VpnGatewayGeneration = "Generation2"
	VpnGatewayGenerationNone          VpnGatewayGeneration = "None"
)

func (*VpnGatewayGeneration) UnmarshalJSON

func (s *VpnGatewayGeneration) UnmarshalJSON(bytes []byte) error

type VpnNatRuleMapping

type VpnNatRuleMapping struct {
	AddressSpace *string `json:"addressSpace,omitempty"`
	PortRange    *string `json:"portRange,omitempty"`
}

type VpnNatRuleMode

type VpnNatRuleMode string
const (
	VpnNatRuleModeEgressSnat  VpnNatRuleMode = "EgressSnat"
	VpnNatRuleModeIngressSnat VpnNatRuleMode = "IngressSnat"
)

func (*VpnNatRuleMode) UnmarshalJSON

func (s *VpnNatRuleMode) UnmarshalJSON(bytes []byte) error

type VpnNatRuleType

type VpnNatRuleType string
const (
	VpnNatRuleTypeDynamic VpnNatRuleType = "Dynamic"
	VpnNatRuleTypeStatic  VpnNatRuleType = "Static"
)

func (*VpnNatRuleType) UnmarshalJSON

func (s *VpnNatRuleType) UnmarshalJSON(bytes []byte) error

type VpnPacketCaptureStartParameters

type VpnPacketCaptureStartParameters struct {
	FilterData *string `json:"filterData,omitempty"`
}

type VpnPacketCaptureStopParameters

type VpnPacketCaptureStopParameters struct {
	SasUrl *string `json:"sasUrl,omitempty"`
}

type VpnPolicyMemberAttributeType

type VpnPolicyMemberAttributeType string
const (
	VpnPolicyMemberAttributeTypeAADGroupId         VpnPolicyMemberAttributeType = "AADGroupId"
	VpnPolicyMemberAttributeTypeCertificateGroupId VpnPolicyMemberAttributeType = "CertificateGroupId"
	VpnPolicyMemberAttributeTypeRadiusAzureGroupId VpnPolicyMemberAttributeType = "RadiusAzureGroupId"
)

func (*VpnPolicyMemberAttributeType) UnmarshalJSON

func (s *VpnPolicyMemberAttributeType) UnmarshalJSON(bytes []byte) error

type VpnType

type VpnType string
const (
	VpnTypePolicyBased VpnType = "PolicyBased"
	VpnTypeRouteBased  VpnType = "RouteBased"
)

func (*VpnType) UnmarshalJSON

func (s *VpnType) UnmarshalJSON(bytes []byte) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL