vpngateways

package
v0.20240424.1114424 Latest Latest
Warning

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

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

README

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

The vpngateways 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-sdk/resource-manager/network/2023-11-01/vpngateways"

Client Initialization

client := vpngateways.NewVpnGatewaysClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VpnGatewaysClient.Reset

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

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

Example Usage: VpnGatewaysClient.StartPacketCapture

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

payload := vpngateways.VpnGatewayPacketCaptureStartParameters{
	// ...
}


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

Example Usage: VpnGatewaysClient.StopPacketCapture

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

payload := vpngateways.VpnGatewayPacketCaptureStopParameters{
	// ...
}


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

Example Usage: VpnGatewaysClient.UpdateTags

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

payload := vpngateways.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 PossibleValuesForDhGroup

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

func PossibleValuesForVirtualNetworkGatewayConnectionProtocol() []string

func PossibleValuesForVnetLocalRouteOverrideCriteria

func PossibleValuesForVnetLocalRouteOverrideCriteria() []string

func PossibleValuesForVpnConnectionStatus

func PossibleValuesForVpnConnectionStatus() []string

func PossibleValuesForVpnLinkConnectionMode

func PossibleValuesForVpnLinkConnectionMode() []string

func PossibleValuesForVpnNatRuleMode

func PossibleValuesForVpnNatRuleMode() []string

func PossibleValuesForVpnNatRuleType

func PossibleValuesForVpnNatRuleType() []string

func ValidateVpnGatewayID

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

ValidateVpnGatewayID checks that 'input' can be parsed as a Vpn Gateway ID

Types

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

type PropagatedRouteTable struct {
	Ids    *[]SubResource `json:"ids,omitempty"`
	Labels *[]string      `json:"labels,omitempty"`
}

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 ResetOperationOptions

type ResetOperationOptions struct {
	IPConfigurationId *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        *VpnGateway
}

type RoutingConfiguration

type RoutingConfiguration struct {
	AssociatedRouteTable  *SubResource          `json:"associatedRouteTable,omitempty"`
	InboundRouteMap       *SubResource          `json:"inboundRouteMap,omitempty"`
	OutboundRouteMap      *SubResource          `json:"outboundRouteMap,omitempty"`
	PropagatedRouteTables *PropagatedRouteTable `json:"propagatedRouteTables,omitempty"`
	VnetRoutes            *VnetRoute            `json:"vnetRoutes,omitempty"`
}

type StartPacketCaptureOperationResponse

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

type StaticRoute

type StaticRoute struct {
	AddressPrefixes  *[]string `json:"addressPrefixes,omitempty"`
	Name             *string   `json:"name,omitempty"`
	NextHopIPAddress *string   `json:"nextHopIpAddress,omitempty"`
}

type StaticRoutesConfig

type StaticRoutesConfig struct {
	PropagateStaticRoutes          *bool                           `json:"propagateStaticRoutes,omitempty"`
	VnetLocalRouteOverrideCriteria *VnetLocalRouteOverrideCriteria `json:"vnetLocalRouteOverrideCriteria,omitempty"`
}

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 UpdateTagsOperationResponse

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

type VirtualNetworkGatewayConnectionProtocol

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

func (*VirtualNetworkGatewayConnectionProtocol) UnmarshalJSON

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

type VnetLocalRouteOverrideCriteria

type VnetLocalRouteOverrideCriteria string
const (
	VnetLocalRouteOverrideCriteriaContains VnetLocalRouteOverrideCriteria = "Contains"
	VnetLocalRouteOverrideCriteriaEqual    VnetLocalRouteOverrideCriteria = "Equal"
)

func (*VnetLocalRouteOverrideCriteria) UnmarshalJSON

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

type VnetRoute

type VnetRoute struct {
	BgpConnections     *[]SubResource      `json:"bgpConnections,omitempty"`
	StaticRoutes       *[]StaticRoute      `json:"staticRoutes,omitempty"`
	StaticRoutesConfig *StaticRoutesConfig `json:"staticRoutesConfig,omitempty"`
}

type VpnConnection

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

type VpnConnectionProperties

type VpnConnectionProperties struct {
	ConnectionBandwidth            *int64                                   `json:"connectionBandwidth,omitempty"`
	ConnectionStatus               *VpnConnectionStatus                     `json:"connectionStatus,omitempty"`
	DpdTimeoutSeconds              *int64                                   `json:"dpdTimeoutSeconds,omitempty"`
	EgressBytesTransferred         *int64                                   `json:"egressBytesTransferred,omitempty"`
	EnableBgp                      *bool                                    `json:"enableBgp,omitempty"`
	EnableInternetSecurity         *bool                                    `json:"enableInternetSecurity,omitempty"`
	EnableRateLimiting             *bool                                    `json:"enableRateLimiting,omitempty"`
	IPsecPolicies                  *[]IPsecPolicy                           `json:"ipsecPolicies,omitempty"`
	IngressBytesTransferred        *int64                                   `json:"ingressBytesTransferred,omitempty"`
	ProvisioningState              *ProvisioningState                       `json:"provisioningState,omitempty"`
	RemoteVpnSite                  *SubResource                             `json:"remoteVpnSite,omitempty"`
	RoutingConfiguration           *RoutingConfiguration                    `json:"routingConfiguration,omitempty"`
	RoutingWeight                  *int64                                   `json:"routingWeight,omitempty"`
	SharedKey                      *string                                  `json:"sharedKey,omitempty"`
	TrafficSelectorPolicies        *[]TrafficSelectorPolicy                 `json:"trafficSelectorPolicies,omitempty"`
	UseLocalAzureIPAddress         *bool                                    `json:"useLocalAzureIpAddress,omitempty"`
	UsePolicyBasedTrafficSelectors *bool                                    `json:"usePolicyBasedTrafficSelectors,omitempty"`
	VpnConnectionProtocolType      *VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"`
	VpnLinkConnections             *[]VpnSiteLinkConnection                 `json:"vpnLinkConnections,omitempty"`
}

type VpnConnectionStatus

type VpnConnectionStatus string
const (
	VpnConnectionStatusConnected    VpnConnectionStatus = "Connected"
	VpnConnectionStatusConnecting   VpnConnectionStatus = "Connecting"
	VpnConnectionStatusNotConnected VpnConnectionStatus = "NotConnected"
	VpnConnectionStatusUnknown      VpnConnectionStatus = "Unknown"
)

func (*VpnConnectionStatus) UnmarshalJSON

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

type VpnGateway

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

type VpnGatewayIPConfiguration

type VpnGatewayIPConfiguration struct {
	Id               *string `json:"id,omitempty"`
	PrivateIPAddress *string `json:"privateIpAddress,omitempty"`
	PublicIPAddress  *string `json:"publicIpAddress,omitempty"`
}

type VpnGatewayId

type VpnGatewayId struct {
	SubscriptionId    string
	ResourceGroupName string
	VpnGatewayName    string
}

VpnGatewayId is a struct representing the Resource ID for a Vpn Gateway

func NewVpnGatewayID

func NewVpnGatewayID(subscriptionId string, resourceGroupName string, vpnGatewayName string) VpnGatewayId

NewVpnGatewayID returns a new VpnGatewayId struct

func ParseVpnGatewayID

func ParseVpnGatewayID(input string) (*VpnGatewayId, error)

ParseVpnGatewayID parses 'input' into a VpnGatewayId

func ParseVpnGatewayIDInsensitively

func ParseVpnGatewayIDInsensitively(input string) (*VpnGatewayId, error)

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

func (*VpnGatewayId) FromParseResult

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

func (VpnGatewayId) ID

func (id VpnGatewayId) ID() string

ID returns the formatted Vpn Gateway ID

func (VpnGatewayId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Vpn Gateway ID

func (VpnGatewayId) String

func (id VpnGatewayId) String() string

String returns a human-readable description of this Vpn Gateway ID

type VpnGatewayNatRule

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

type VpnGatewayNatRuleProperties

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

type VpnGatewayPacketCaptureStartParameters

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

type VpnGatewayPacketCaptureStopParameters

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

type VpnGatewayProperties

type VpnGatewayProperties struct {
	BgpSettings                     *BgpSettings                 `json:"bgpSettings,omitempty"`
	Connections                     *[]VpnConnection             `json:"connections,omitempty"`
	EnableBgpRouteTranslationForNat *bool                        `json:"enableBgpRouteTranslationForNat,omitempty"`
	IPConfigurations                *[]VpnGatewayIPConfiguration `json:"ipConfigurations,omitempty"`
	IsRoutingPreferenceInternet     *bool                        `json:"isRoutingPreferenceInternet,omitempty"`
	NatRules                        *[]VpnGatewayNatRule         `json:"natRules,omitempty"`
	ProvisioningState               *ProvisioningState           `json:"provisioningState,omitempty"`
	VirtualHub                      *SubResource                 `json:"virtualHub,omitempty"`
	VpnGatewayScaleUnit             *int64                       `json:"vpnGatewayScaleUnit,omitempty"`
}

type VpnGatewaysClient

type VpnGatewaysClient struct {
	Client *resourcemanager.Client
}

func NewVpnGatewaysClientWithBaseURI

func NewVpnGatewaysClientWithBaseURI(sdkApi sdkEnv.Api) (*VpnGatewaysClient, error)

func (VpnGatewaysClient) Reset

Reset ...

func (VpnGatewaysClient) ResetThenPoll

func (c VpnGatewaysClient) ResetThenPoll(ctx context.Context, id VpnGatewayId, options ResetOperationOptions) error

ResetThenPoll performs Reset then polls until it's completed

func (VpnGatewaysClient) StartPacketCapture

StartPacketCapture ...

func (VpnGatewaysClient) StartPacketCaptureThenPoll

func (c VpnGatewaysClient) StartPacketCaptureThenPoll(ctx context.Context, id VpnGatewayId, input VpnGatewayPacketCaptureStartParameters) error

StartPacketCaptureThenPoll performs StartPacketCapture then polls until it's completed

func (VpnGatewaysClient) StopPacketCapture

StopPacketCapture ...

func (VpnGatewaysClient) StopPacketCaptureThenPoll

func (c VpnGatewaysClient) StopPacketCaptureThenPoll(ctx context.Context, id VpnGatewayId, input VpnGatewayPacketCaptureStopParameters) error

StopPacketCaptureThenPoll performs StopPacketCapture then polls until it's completed

func (VpnGatewaysClient) UpdateTags

func (c VpnGatewaysClient) UpdateTags(ctx context.Context, id VpnGatewayId, input TagsObject) (result UpdateTagsOperationResponse, err error)

UpdateTags ...

func (VpnGatewaysClient) UpdateTagsThenPoll

func (c VpnGatewaysClient) UpdateTagsThenPoll(ctx context.Context, id VpnGatewayId, input TagsObject) error

UpdateTagsThenPoll performs UpdateTags then polls until it's completed

type VpnLinkConnectionMode

type VpnLinkConnectionMode string
const (
	VpnLinkConnectionModeDefault       VpnLinkConnectionMode = "Default"
	VpnLinkConnectionModeInitiatorOnly VpnLinkConnectionMode = "InitiatorOnly"
	VpnLinkConnectionModeResponderOnly VpnLinkConnectionMode = "ResponderOnly"
)

func (*VpnLinkConnectionMode) UnmarshalJSON

func (s *VpnLinkConnectionMode) 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 VpnSiteLinkConnection

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

type VpnSiteLinkConnectionProperties

type VpnSiteLinkConnectionProperties struct {
	ConnectionBandwidth            *int64                                      `json:"connectionBandwidth,omitempty"`
	ConnectionStatus               *VpnConnectionStatus                        `json:"connectionStatus,omitempty"`
	DpdTimeoutSeconds              *int64                                      `json:"dpdTimeoutSeconds,omitempty"`
	EgressBytesTransferred         *int64                                      `json:"egressBytesTransferred,omitempty"`
	EgressNatRules                 *[]SubResource                              `json:"egressNatRules,omitempty"`
	EnableBgp                      *bool                                       `json:"enableBgp,omitempty"`
	EnableRateLimiting             *bool                                       `json:"enableRateLimiting,omitempty"`
	IPsecPolicies                  *[]IPsecPolicy                              `json:"ipsecPolicies,omitempty"`
	IngressBytesTransferred        *int64                                      `json:"ingressBytesTransferred,omitempty"`
	IngressNatRules                *[]SubResource                              `json:"ingressNatRules,omitempty"`
	ProvisioningState              *ProvisioningState                          `json:"provisioningState,omitempty"`
	RoutingWeight                  *int64                                      `json:"routingWeight,omitempty"`
	SharedKey                      *string                                     `json:"sharedKey,omitempty"`
	UseLocalAzureIPAddress         *bool                                       `json:"useLocalAzureIpAddress,omitempty"`
	UsePolicyBasedTrafficSelectors *bool                                       `json:"usePolicyBasedTrafficSelectors,omitempty"`
	VpnConnectionProtocolType      *VirtualNetworkGatewayConnectionProtocol    `json:"vpnConnectionProtocolType,omitempty"`
	VpnGatewayCustomBgpAddresses   *[]GatewayCustomBgpIPAddressIPConfiguration `json:"vpnGatewayCustomBgpAddresses,omitempty"`
	VpnLinkConnectionMode          *VpnLinkConnectionMode                      `json:"vpnLinkConnectionMode,omitempty"`
	VpnSiteLink                    *SubResource                                `json:"vpnSiteLink,omitempty"`
}

Jump to

Keyboard shortcuts

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