Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForDhGroup() []string + func PossibleValuesForIPsecEncryption() []string + func PossibleValuesForIPsecIntegrity() []string + func PossibleValuesForIkeEncryption() []string + func PossibleValuesForIkeIntegrity() []string + func PossibleValuesForPfsGroup() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForVirtualNetworkGatewayConnectionProtocol() []string + func PossibleValuesForVnetLocalRouteOverrideCriteria() []string + func PossibleValuesForVpnConnectionStatus() []string + func PossibleValuesForVpnLinkConnectionMode() []string + func PossibleValuesForVpnNatRuleMode() []string + func PossibleValuesForVpnNatRuleType() []string + func ValidateVpnGatewayID(input interface{}, key string) (warnings []string, errors []error) + type BgpSettings struct + Asn *int64 + BgpPeeringAddress *string + BgpPeeringAddresses *[]IPConfigurationBgpPeeringAddress + PeerWeight *int64 + type DhGroup string + const DhGroupDHGroupOne + const DhGroupDHGroupOneFour + const DhGroupDHGroupTwo + const DhGroupDHGroupTwoFour + const DhGroupDHGroupTwoZeroFourEight + const DhGroupECPThreeEightFour + const DhGroupECPTwoFiveSix + const DhGroupNone + func (s *DhGroup) UnmarshalJSON(bytes []byte) error + type GatewayCustomBgpIPAddressIPConfiguration struct + CustomBgpIPAddress string + IPConfigurationId string + type IPConfigurationBgpPeeringAddress struct + CustomBgpIPAddresses *[]string + DefaultBgpIPAddresses *[]string + IPconfigurationId *string + TunnelIPAddresses *[]string + type IPsecEncryption string + const IPsecEncryptionAESOneNineTwo + const IPsecEncryptionAESOneTwoEight + const IPsecEncryptionAESTwoFiveSix + const IPsecEncryptionDES + const IPsecEncryptionDESThree + const IPsecEncryptionGCMAESOneNineTwo + const IPsecEncryptionGCMAESOneTwoEight + const IPsecEncryptionGCMAESTwoFiveSix + const IPsecEncryptionNone + func (s *IPsecEncryption) UnmarshalJSON(bytes []byte) error + type IPsecIntegrity string + const IPsecIntegrityGCMAESOneNineTwo + const IPsecIntegrityGCMAESOneTwoEight + const IPsecIntegrityGCMAESTwoFiveSix + const IPsecIntegrityMDFive + const IPsecIntegritySHAOne + const IPsecIntegritySHATwoFiveSix + func (s *IPsecIntegrity) UnmarshalJSON(bytes []byte) error + type IPsecPolicy struct + DhGroup DhGroup + IPsecEncryption IPsecEncryption + IPsecIntegrity IPsecIntegrity + IkeEncryption IkeEncryption + IkeIntegrity IkeIntegrity + PfsGroup PfsGroup + SaDataSizeKilobytes int64 + SaLifeTimeSeconds int64 + type IkeEncryption string + const IkeEncryptionAESOneNineTwo + const IkeEncryptionAESOneTwoEight + const IkeEncryptionAESTwoFiveSix + const IkeEncryptionDES + const IkeEncryptionDESThree + const IkeEncryptionGCMAESOneTwoEight + const IkeEncryptionGCMAESTwoFiveSix + func (s *IkeEncryption) UnmarshalJSON(bytes []byte) error + type IkeIntegrity string + const IkeIntegrityGCMAESOneTwoEight + const IkeIntegrityGCMAESTwoFiveSix + const IkeIntegrityMDFive + const IkeIntegritySHAOne + const IkeIntegritySHAThreeEightFour + const IkeIntegritySHATwoFiveSix + func (s *IkeIntegrity) UnmarshalJSON(bytes []byte) error + type PfsGroup string + const PfsGroupECPThreeEightFour + const PfsGroupECPTwoFiveSix + const PfsGroupNone + const PfsGroupPFSMM + const PfsGroupPFSOne + const PfsGroupPFSOneFour + const PfsGroupPFSTwo + const PfsGroupPFSTwoFour + const PfsGroupPFSTwoZeroFourEight + func (s *PfsGroup) UnmarshalJSON(bytes []byte) error + type PropagatedRouteTable struct + Ids *[]SubResource + Labels *[]string + type ProvisioningState string + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type ResetOperationOptions struct + IPConfigurationId *string + func DefaultResetOperationOptions() ResetOperationOptions + func (o ResetOperationOptions) ToHeaders() *client.Headers + func (o ResetOperationOptions) ToOData() *odata.Query + func (o ResetOperationOptions) ToQuery() *client.QueryParams + type ResetOperationResponse struct + HttpResponse *http.Response + Model *VpnGateway + OData *odata.OData + Poller pollers.Poller + type RoutingConfiguration struct + AssociatedRouteTable *SubResource + InboundRouteMap *SubResource + OutboundRouteMap *SubResource + PropagatedRouteTables *PropagatedRouteTable + VnetRoutes *VnetRoute + type StartPacketCaptureOperationResponse struct + HttpResponse *http.Response + Model *string + OData *odata.OData + Poller pollers.Poller + type StaticRoute struct + AddressPrefixes *[]string + Name *string + NextHopIPAddress *string + type StaticRoutesConfig struct + PropagateStaticRoutes *bool + VnetLocalRouteOverrideCriteria *VnetLocalRouteOverrideCriteria + type StopPacketCaptureOperationResponse struct + HttpResponse *http.Response + Model *string + OData *odata.OData + Poller pollers.Poller + type SubResource struct + Id *string + type TagsObject struct + Tags *map[string]string + type TrafficSelectorPolicy struct + LocalAddressRanges []string + RemoteAddressRanges []string + type UpdateTagsOperationResponse struct + HttpResponse *http.Response + Model *VpnGateway + OData *odata.OData + Poller pollers.Poller + type VirtualNetworkGatewayConnectionProtocol string + const VirtualNetworkGatewayConnectionProtocolIKEvOne + const VirtualNetworkGatewayConnectionProtocolIKEvTwo + func (s *VirtualNetworkGatewayConnectionProtocol) UnmarshalJSON(bytes []byte) error + type VnetLocalRouteOverrideCriteria string + const VnetLocalRouteOverrideCriteriaContains + const VnetLocalRouteOverrideCriteriaEqual + func (s *VnetLocalRouteOverrideCriteria) UnmarshalJSON(bytes []byte) error + type VnetRoute struct + BgpConnections *[]SubResource + StaticRoutes *[]StaticRoute + StaticRoutesConfig *StaticRoutesConfig + type VpnConnection struct + Etag *string + Id *string + Name *string + Properties *VpnConnectionProperties + type VpnConnectionProperties struct + ConnectionBandwidth *int64 + ConnectionStatus *VpnConnectionStatus + DpdTimeoutSeconds *int64 + EgressBytesTransferred *int64 + EnableBgp *bool + EnableInternetSecurity *bool + EnableRateLimiting *bool + IPsecPolicies *[]IPsecPolicy + IngressBytesTransferred *int64 + ProvisioningState *ProvisioningState + RemoteVpnSite *SubResource + RoutingConfiguration *RoutingConfiguration + RoutingWeight *int64 + SharedKey *string + TrafficSelectorPolicies *[]TrafficSelectorPolicy + UseLocalAzureIPAddress *bool + UsePolicyBasedTrafficSelectors *bool + VpnConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol + VpnLinkConnections *[]VpnSiteLinkConnection + type VpnConnectionStatus string + const VpnConnectionStatusConnected + const VpnConnectionStatusConnecting + const VpnConnectionStatusNotConnected + const VpnConnectionStatusUnknown + func (s *VpnConnectionStatus) UnmarshalJSON(bytes []byte) error + type VpnGateway struct + Etag *string + Id *string + Location *string + Name *string + Properties *VpnGatewayProperties + Tags *map[string]string + Type *string + type VpnGatewayIPConfiguration struct + Id *string + PrivateIPAddress *string + PublicIPAddress *string + type VpnGatewayId struct + ResourceGroupName string + SubscriptionId string + VpnGatewayName string + func NewVpnGatewayID(subscriptionId string, resourceGroupName string, vpnGatewayName string) VpnGatewayId + func ParseVpnGatewayID(input string) (*VpnGatewayId, error) + func ParseVpnGatewayIDInsensitively(input string) (*VpnGatewayId, error) + func (id *VpnGatewayId) FromParseResult(input resourceids.ParseResult) error + func (id VpnGatewayId) ID() string + func (id VpnGatewayId) Segments() []resourceids.Segment + func (id VpnGatewayId) String() string + type VpnGatewayNatRule struct + Etag *string + Id *string + Name *string + Properties *VpnGatewayNatRuleProperties + Type *string + type VpnGatewayNatRuleProperties struct + EgressVpnSiteLinkConnections *[]SubResource + ExternalMappings *[]VpnNatRuleMapping + IPConfigurationId *string + IngressVpnSiteLinkConnections *[]SubResource + InternalMappings *[]VpnNatRuleMapping + Mode *VpnNatRuleMode + ProvisioningState *ProvisioningState + Type *VpnNatRuleType + type VpnGatewayPacketCaptureStartParameters struct + FilterData *string + type VpnGatewayPacketCaptureStopParameters struct + SasURL *string + type VpnGatewayProperties struct + BgpSettings *BgpSettings + Connections *[]VpnConnection + EnableBgpRouteTranslationForNat *bool + IPConfigurations *[]VpnGatewayIPConfiguration + IsRoutingPreferenceInternet *bool + NatRules *[]VpnGatewayNatRule + ProvisioningState *ProvisioningState + VirtualHub *SubResource + VpnGatewayScaleUnit *int64 + type VpnGatewaysClient struct + Client *resourcemanager.Client + func NewVpnGatewaysClientWithBaseURI(sdkApi sdkEnv.Api) (*VpnGatewaysClient, error) + func (c VpnGatewaysClient) Reset(ctx context.Context, id VpnGatewayId, options ResetOperationOptions) (result ResetOperationResponse, err error) + func (c VpnGatewaysClient) ResetThenPoll(ctx context.Context, id VpnGatewayId, options ResetOperationOptions) error + func (c VpnGatewaysClient) StartPacketCapture(ctx context.Context, id VpnGatewayId, ...) (result StartPacketCaptureOperationResponse, err error) + func (c VpnGatewaysClient) StartPacketCaptureThenPoll(ctx context.Context, id VpnGatewayId, ...) error + func (c VpnGatewaysClient) StopPacketCapture(ctx context.Context, id VpnGatewayId, ...) (result StopPacketCaptureOperationResponse, err error) + func (c VpnGatewaysClient) StopPacketCaptureThenPoll(ctx context.Context, id VpnGatewayId, ...) error + func (c VpnGatewaysClient) UpdateTags(ctx context.Context, id VpnGatewayId, input TagsObject) (result UpdateTagsOperationResponse, err error) + func (c VpnGatewaysClient) UpdateTagsThenPoll(ctx context.Context, id VpnGatewayId, input TagsObject) error + type VpnLinkConnectionMode string + const VpnLinkConnectionModeDefault + const VpnLinkConnectionModeInitiatorOnly + const VpnLinkConnectionModeResponderOnly + func (s *VpnLinkConnectionMode) UnmarshalJSON(bytes []byte) error + type VpnNatRuleMapping struct + AddressSpace *string + PortRange *string + type VpnNatRuleMode string + const VpnNatRuleModeEgressSnat + const VpnNatRuleModeIngressSnat + func (s *VpnNatRuleMode) UnmarshalJSON(bytes []byte) error + type VpnNatRuleType string + const VpnNatRuleTypeDynamic + const VpnNatRuleTypeStatic + func (s *VpnNatRuleType) UnmarshalJSON(bytes []byte) error + type VpnSiteLinkConnection struct + Etag *string + Id *string + Name *string + Properties *VpnSiteLinkConnectionProperties + Type *string + type VpnSiteLinkConnectionProperties struct + ConnectionBandwidth *int64 + ConnectionStatus *VpnConnectionStatus + DpdTimeoutSeconds *int64 + EgressBytesTransferred *int64 + EgressNatRules *[]SubResource + EnableBgp *bool + EnableRateLimiting *bool + IPsecPolicies *[]IPsecPolicy + IngressBytesTransferred *int64 + IngressNatRules *[]SubResource + ProvisioningState *ProvisioningState + RoutingWeight *int64 + SharedKey *string + UseLocalAzureIPAddress *bool + UsePolicyBasedTrafficSelectors *bool + VpnConnectionProtocolType *VirtualNetworkGatewayConnectionProtocol + VpnGatewayCustomBgpAddresses *[]GatewayCustomBgpIPAddressIPConfiguration + VpnLinkConnectionMode *VpnLinkConnectionMode + VpnSiteLink *SubResource