virtualnetworkgatewayconnections

package
v0.20240627.1143641 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/virtualnetworkgatewayconnections Documentation

The virtualnetworkgatewayconnections SDK allows for interaction with the Azure Resource Manager Service network (API Version 2023-11-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-11-01/virtualnetworkgatewayconnections"

Client Initialization

client := virtualnetworkgatewayconnections.NewVirtualNetworkGatewayConnectionsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualNetworkGatewayConnectionsClient.CreateOrUpdate

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

payload := virtualnetworkgatewayconnections.VirtualNetworkGatewayConnection{
	// ...
}


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

Example Usage: VirtualNetworkGatewayConnectionsClient.Delete

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

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

Example Usage: VirtualNetworkGatewayConnectionsClient.Get

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

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: VirtualNetworkGatewayConnectionsClient.GetIkeSas

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

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

Example Usage: VirtualNetworkGatewayConnectionsClient.GetSharedKey

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

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

Example Usage: VirtualNetworkGatewayConnectionsClient.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: VirtualNetworkGatewayConnectionsClient.ResetConnection

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

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

Example Usage: VirtualNetworkGatewayConnectionsClient.ResetSharedKey

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

payload := virtualnetworkgatewayconnections.ConnectionResetSharedKey{
	// ...
}


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

Example Usage: VirtualNetworkGatewayConnectionsClient.SetSharedKey

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

payload := virtualnetworkgatewayconnections.ConnectionSharedKey{
	// ...
}


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

Example Usage: VirtualNetworkGatewayConnectionsClient.StartPacketCapture

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

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


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

Example Usage: VirtualNetworkGatewayConnectionsClient.StopPacketCapture

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

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


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

Example Usage: VirtualNetworkGatewayConnectionsClient.UpdateTags

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

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


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAdminState

func PossibleValuesForAdminState() []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 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

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 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 ConnectionResetSharedKey

type ConnectionResetSharedKey struct {
	KeyLength int64 `json:"keyLength"`
}

type ConnectionSharedKey

type ConnectionSharedKey struct {
	Id    *string `json:"id,omitempty"`
	Value string  `json:"value"`
}

type CreateOrUpdateOperationResponse

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

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 GatewayCustomBgpIPAddressIPConfiguration

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

type GetIkeSasOperationResponse

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

type GetOperationResponse

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

type GetSharedKeyOperationResponse

type GetSharedKeyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ConnectionSharedKey
}

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              []VirtualNetworkGatewayConnection
}

type ListOperationResponse

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

type LocalNetworkGateway

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

type LocalNetworkGatewayPropertiesFormat

type LocalNetworkGatewayPropertiesFormat struct {
	BgpSettings              *BgpSettings       `json:"bgpSettings,omitempty"`
	Fqdn                     *string            `json:"fqdn,omitempty"`
	GatewayIPAddress         *string            `json:"gatewayIpAddress,omitempty"`
	LocalNetworkAddressSpace *AddressSpace      `json:"localNetworkAddressSpace,omitempty"`
	ProvisioningState        *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceGuid             *string            `json:"resourceGuid,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 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 ResetConnectionOperationResponse

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

type ResetSharedKeyOperationResponse

type ResetSharedKeyOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ConnectionResetSharedKey
}

type SetSharedKeyOperationResponse

type SetSharedKeyOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ConnectionSharedKey
}

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 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        *VirtualNetworkGatewayConnection
}

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 VirtualNetworkGatewayAutoScaleBounds

type VirtualNetworkGatewayAutoScaleBounds struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

type VirtualNetworkGatewayAutoScaleConfiguration

type VirtualNetworkGatewayAutoScaleConfiguration struct {
	Bounds *VirtualNetworkGatewayAutoScaleBounds `json:"bounds,omitempty"`
}

type VirtualNetworkGatewayConnection

type VirtualNetworkGatewayConnection struct {
	Etag       *string                                         `json:"etag,omitempty"`
	Id         *string                                         `json:"id,omitempty"`
	Location   *string                                         `json:"location,omitempty"`
	Name       *string                                         `json:"name,omitempty"`
	Properties VirtualNetworkGatewayConnectionPropertiesFormat `json:"properties"`
	Tags       *map[string]string                              `json:"tags,omitempty"`
	Type       *string                                         `json:"type,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 VirtualNetworkGatewayConnectionOperationPredicate

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

func (VirtualNetworkGatewayConnectionOperationPredicate) Matches

type VirtualNetworkGatewayConnectionPropertiesFormat

type VirtualNetworkGatewayConnectionPropertiesFormat 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"`
	DpdTimeoutSeconds              *int64                                      `json:"dpdTimeoutSeconds,omitempty"`
	EgressBytesTransferred         *int64                                      `json:"egressBytesTransferred,omitempty"`
	EgressNatRules                 *[]SubResource                              `json:"egressNatRules,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"`
	IngressNatRules                *[]SubResource                              `json:"ingressNatRules,omitempty"`
	LocalNetworkGateway2           *LocalNetworkGateway                        `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"`
	UseLocalAzureIPAddress         *bool                                       `json:"useLocalAzureIpAddress,omitempty"`
	UsePolicyBasedTrafficSelectors *bool                                       `json:"usePolicyBasedTrafficSelectors,omitempty"`
	VirtualNetworkGateway1         VirtualNetworkGateway                       `json:"virtualNetworkGateway1"`
	VirtualNetworkGateway2         *VirtualNetworkGateway                      `json:"virtualNetworkGateway2,omitempty"`
}

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 VirtualNetworkGatewayConnectionsClient

type VirtualNetworkGatewayConnectionsClient struct {
	Client *resourcemanager.Client
}

func NewVirtualNetworkGatewayConnectionsClientWithBaseURI

func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualNetworkGatewayConnectionsClient, error)

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdate

CreateOrUpdate ...

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (VirtualNetworkGatewayConnectionsClient) Delete

Delete ...

func (VirtualNetworkGatewayConnectionsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (VirtualNetworkGatewayConnectionsClient) Get

Get ...

func (VirtualNetworkGatewayConnectionsClient) GetIkeSas

GetIkeSas ...

func (VirtualNetworkGatewayConnectionsClient) GetIkeSasThenPoll

GetIkeSasThenPoll performs GetIkeSas then polls until it's completed

func (VirtualNetworkGatewayConnectionsClient) GetSharedKey

GetSharedKey ...

func (VirtualNetworkGatewayConnectionsClient) List

List ...

func (VirtualNetworkGatewayConnectionsClient) ListComplete

ListComplete retrieves all the results into a single object

func (VirtualNetworkGatewayConnectionsClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualNetworkGatewayConnectionsClient) ResetConnection

ResetConnection ...

func (VirtualNetworkGatewayConnectionsClient) ResetConnectionThenPoll

func (c VirtualNetworkGatewayConnectionsClient) ResetConnectionThenPoll(ctx context.Context, id ConnectionId) error

ResetConnectionThenPoll performs ResetConnection then polls until it's completed

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKey

ResetSharedKey ...

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeyThenPoll

ResetSharedKeyThenPoll performs ResetSharedKey then polls until it's completed

func (VirtualNetworkGatewayConnectionsClient) SetSharedKey

SetSharedKey ...

func (VirtualNetworkGatewayConnectionsClient) SetSharedKeyThenPoll

SetSharedKeyThenPoll performs SetSharedKey then polls until it's completed

func (VirtualNetworkGatewayConnectionsClient) StartPacketCapture

StartPacketCapture ...

func (VirtualNetworkGatewayConnectionsClient) StartPacketCaptureThenPoll

StartPacketCaptureThenPoll performs StartPacketCapture then polls until it's completed

func (VirtualNetworkGatewayConnectionsClient) StopPacketCapture

StopPacketCapture ...

func (VirtualNetworkGatewayConnectionsClient) StopPacketCaptureThenPoll

StopPacketCaptureThenPoll performs StopPacketCapture then polls until it's completed

func (VirtualNetworkGatewayConnectionsClient) UpdateTags

UpdateTags ...

func (VirtualNetworkGatewayConnectionsClient) UpdateTagsThenPoll

UpdateTagsThenPoll performs UpdateTags then polls until it's completed

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 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 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 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"`
	AutoScaleConfiguration            *VirtualNetworkGatewayAutoScaleConfiguration `json:"autoScaleConfiguration,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"
	VirtualNetworkGatewaySkuNameErGwScale        VirtualNetworkGatewaySkuName = "ErGwScale"
	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"
	VirtualNetworkGatewaySkuTierErGwScale        VirtualNetworkGatewaySkuTier = "ErGwScale"
	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 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 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 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