Documentation ¶
Index ¶
- func PossibleValuesForDhGroup() []string
- func PossibleValuesForIPsecEncryption() []string
- func PossibleValuesForIPsecIntegrity() []string
- func PossibleValuesForIkeEncryption() []string
- func PossibleValuesForIkeIntegrity() []string
- func PossibleValuesForPfsGroup() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForVnetLocalRouteOverrideCriteria() []string
- func PossibleValuesForVpnAuthenticationType() []string
- func PossibleValuesForVpnGatewayTunnelingProtocol() []string
- func PossibleValuesForVpnPolicyMemberAttributeType() []string
- func ValidateVpnServerConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type AadAuthenticationParameters
- type AddressSpace
- type DhGroup
- type IPamPoolPrefixAllocation
- type IPamPoolPrefixAllocationPool
- type IPsecEncryption
- type IPsecIntegrity
- type IPsecPolicy
- type IkeEncryption
- type IkeIntegrity
- type P2SConnectionConfiguration
- type P2SConnectionConfigurationProperties
- type P2SVpnGateway
- type P2SVpnGatewayProperties
- type PfsGroup
- type PropagatedRouteTable
- type ProvisioningState
- type RadiusServer
- type RoutingConfiguration
- type StaticRoute
- type StaticRoutesConfig
- type SubResource
- type TagsObject
- type UpdateTagsOperationResponse
- type VnetLocalRouteOverrideCriteria
- type VnetRoute
- type VpnAuthenticationType
- type VpnClientConnectionHealth
- type VpnGatewayTunnelingProtocol
- type VpnPolicyMemberAttributeType
- type VpnServerConfigRadiusClientRootCertificate
- type VpnServerConfigRadiusServerRootCertificate
- type VpnServerConfigVpnClientRevokedCertificate
- type VpnServerConfigVpnClientRootCertificate
- type VpnServerConfiguration
- type VpnServerConfigurationId
- type VpnServerConfigurationPolicyGroup
- type VpnServerConfigurationPolicyGroupMember
- type VpnServerConfigurationPolicyGroupProperties
- type VpnServerConfigurationProperties
- type VpnServerConfigurationsClient
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 PossibleValuesForVnetLocalRouteOverrideCriteria ¶
func PossibleValuesForVnetLocalRouteOverrideCriteria() []string
func PossibleValuesForVpnAuthenticationType ¶
func PossibleValuesForVpnAuthenticationType() []string
func PossibleValuesForVpnGatewayTunnelingProtocol ¶
func PossibleValuesForVpnGatewayTunnelingProtocol() []string
func PossibleValuesForVpnPolicyMemberAttributeType ¶
func PossibleValuesForVpnPolicyMemberAttributeType() []string
func ValidateVpnServerConfigurationID ¶
func ValidateVpnServerConfigurationID(input interface{}, key string) (warnings []string, errors []error)
ValidateVpnServerConfigurationID checks that 'input' can be parsed as a Vpn Server Configuration ID
Types ¶
type AddressSpace ¶
type AddressSpace struct { AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` IPamPoolPrefixAllocations *[]IPamPoolPrefixAllocation `json:"ipamPoolPrefixAllocations,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 ¶
type IPamPoolPrefixAllocation ¶
type IPamPoolPrefixAllocation struct { AllocatedAddressPrefixes *[]string `json:"allocatedAddressPrefixes,omitempty"` NumberOfIPAddresses *string `json:"numberOfIpAddresses,omitempty"` Pool *IPamPoolPrefixAllocationPool `json:"pool,omitempty"` }
type IPamPoolPrefixAllocationPool ¶
type IPamPoolPrefixAllocationPool struct {
Id *string `json:"id,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 P2SConnectionConfiguration ¶
type P2SConnectionConfiguration struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *P2SConnectionConfigurationProperties `json:"properties,omitempty"` }
type P2SConnectionConfigurationProperties ¶
type P2SConnectionConfigurationProperties struct { ConfigurationPolicyGroupAssociations *[]SubResource `json:"configurationPolicyGroupAssociations,omitempty"` EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"` PreviousConfigurationPolicyGroupAssociations *[]VpnServerConfigurationPolicyGroup `json:"previousConfigurationPolicyGroupAssociations,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"` VpnClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"` }
type P2SVpnGateway ¶
type P2SVpnGateway struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *P2SVpnGatewayProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type P2SVpnGatewayProperties ¶
type P2SVpnGatewayProperties struct { CustomDnsServers *[]string `json:"customDnsServers,omitempty"` IsRoutingPreferenceInternet *bool `json:"isRoutingPreferenceInternet,omitempty"` P2SConnectionConfigurations *[]P2SConnectionConfiguration `json:"p2SConnectionConfigurations,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` VirtualHub *SubResource `json:"virtualHub,omitempty"` VpnClientConnectionHealth *VpnClientConnectionHealth `json:"vpnClientConnectionHealth,omitempty"` VpnGatewayScaleUnit *int64 `json:"vpnGatewayScaleUnit,omitempty"` VpnServerConfiguration *SubResource `json:"vpnServerConfiguration,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 ¶
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 RadiusServer ¶
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 StaticRoute ¶
type StaticRoutesConfig ¶
type StaticRoutesConfig struct { PropagateStaticRoutes *bool `json:"propagateStaticRoutes,omitempty"` VnetLocalRouteOverrideCriteria *VnetLocalRouteOverrideCriteria `json:"vnetLocalRouteOverrideCriteria,omitempty"` }
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VpnServerConfiguration }
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 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 VpnClientConnectionHealth ¶
type VpnClientConnectionHealth struct { AllocatedIPAddresses *[]string `json:"allocatedIpAddresses,omitempty"` TotalEgressBytesTransferred *int64 `json:"totalEgressBytesTransferred,omitempty"` TotalIngressBytesTransferred *int64 `json:"totalIngressBytesTransferred,omitempty"` VpnClientConnectionsCount *int64 `json:"vpnClientConnectionsCount,omitempty"` }
type VpnGatewayTunnelingProtocol ¶
type VpnGatewayTunnelingProtocol string
const ( VpnGatewayTunnelingProtocolIkeVTwo VpnGatewayTunnelingProtocol = "IkeV2" VpnGatewayTunnelingProtocolOpenVPN VpnGatewayTunnelingProtocol = "OpenVPN" )
func (*VpnGatewayTunnelingProtocol) UnmarshalJSON ¶
func (s *VpnGatewayTunnelingProtocol) UnmarshalJSON(bytes []byte) error
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 VpnServerConfiguration ¶
type VpnServerConfiguration struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *VpnServerConfigurationProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VpnServerConfigurationId ¶
type VpnServerConfigurationId struct { SubscriptionId string ResourceGroupName string VpnServerConfigurationName string }
VpnServerConfigurationId is a struct representing the Resource ID for a Vpn Server Configuration
func NewVpnServerConfigurationID ¶
func NewVpnServerConfigurationID(subscriptionId string, resourceGroupName string, vpnServerConfigurationName string) VpnServerConfigurationId
NewVpnServerConfigurationID returns a new VpnServerConfigurationId struct
func ParseVpnServerConfigurationID ¶
func ParseVpnServerConfigurationID(input string) (*VpnServerConfigurationId, error)
ParseVpnServerConfigurationID parses 'input' into a VpnServerConfigurationId
func ParseVpnServerConfigurationIDInsensitively ¶
func ParseVpnServerConfigurationIDInsensitively(input string) (*VpnServerConfigurationId, error)
ParseVpnServerConfigurationIDInsensitively parses 'input' case-insensitively into a VpnServerConfigurationId note: this method should only be used for API response data and not user input
func (*VpnServerConfigurationId) FromParseResult ¶
func (id *VpnServerConfigurationId) FromParseResult(input resourceids.ParseResult) error
func (VpnServerConfigurationId) ID ¶
func (id VpnServerConfigurationId) ID() string
ID returns the formatted Vpn Server Configuration ID
func (VpnServerConfigurationId) Segments ¶
func (id VpnServerConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vpn Server Configuration ID
func (VpnServerConfigurationId) String ¶
func (id VpnServerConfigurationId) String() string
String returns a human-readable description of this Vpn Server Configuration ID
type VpnServerConfigurationPolicyGroup ¶
type VpnServerConfigurationPolicyGroup struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VpnServerConfigurationPolicyGroupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VpnServerConfigurationPolicyGroupMember ¶
type VpnServerConfigurationPolicyGroupMember struct { AttributeType *VpnPolicyMemberAttributeType `json:"attributeType,omitempty"` AttributeValue *string `json:"attributeValue,omitempty"` Name *string `json:"name,omitempty"` }
type VpnServerConfigurationPolicyGroupProperties ¶
type VpnServerConfigurationPolicyGroupProperties struct { IsDefault *bool `json:"isDefault,omitempty"` P2SConnectionConfigurations *[]SubResource `json:"p2SConnectionConfigurations,omitempty"` PolicyMembers *[]VpnServerConfigurationPolicyGroupMember `json:"policyMembers,omitempty"` Priority *int64 `json:"priority,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type VpnServerConfigurationProperties ¶
type VpnServerConfigurationProperties struct { AadAuthenticationParameters *AadAuthenticationParameters `json:"aadAuthenticationParameters,omitempty"` ConfigurationPolicyGroups *[]VpnServerConfigurationPolicyGroup `json:"configurationPolicyGroups,omitempty"` Etag *string `json:"etag,omitempty"` Name *string `json:"name,omitempty"` P2sVpnGateways *[]P2SVpnGateway `json:"p2SVpnGateways,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` RadiusClientRootCertificates *[]VpnServerConfigRadiusClientRootCertificate `json:"radiusClientRootCertificates,omitempty"` RadiusServerAddress *string `json:"radiusServerAddress,omitempty"` RadiusServerRootCertificates *[]VpnServerConfigRadiusServerRootCertificate `json:"radiusServerRootCertificates,omitempty"` RadiusServerSecret *string `json:"radiusServerSecret,omitempty"` RadiusServers *[]RadiusServer `json:"radiusServers,omitempty"` VpnAuthenticationTypes *[]VpnAuthenticationType `json:"vpnAuthenticationTypes,omitempty"` VpnClientIPsecPolicies *[]IPsecPolicy `json:"vpnClientIpsecPolicies,omitempty"` VpnClientRevokedCertificates *[]VpnServerConfigVpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"` VpnClientRootCertificates *[]VpnServerConfigVpnClientRootCertificate `json:"vpnClientRootCertificates,omitempty"` VpnProtocols *[]VpnGatewayTunnelingProtocol `json:"vpnProtocols,omitempty"` }
type VpnServerConfigurationsClient ¶
type VpnServerConfigurationsClient struct {
Client *resourcemanager.Client
}
func NewVpnServerConfigurationsClientWithBaseURI ¶
func NewVpnServerConfigurationsClientWithBaseURI(sdkApi sdkEnv.Api) (*VpnServerConfigurationsClient, error)
func (VpnServerConfigurationsClient) UpdateTags ¶
func (c VpnServerConfigurationsClient) UpdateTags(ctx context.Context, id VpnServerConfigurationId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
Source Files ¶
- client.go
- constants.go
- id_vpnserverconfiguration.go
- method_updatetags.go
- model_aadauthenticationparameters.go
- model_addressspace.go
- model_ipampoolprefixallocation.go
- model_ipampoolprefixallocationpool.go
- model_ipsecpolicy.go
- model_p2sconnectionconfiguration.go
- model_p2sconnectionconfigurationproperties.go
- model_p2svpngateway.go
- model_p2svpngatewayproperties.go
- model_propagatedroutetable.go
- model_radiusserver.go
- model_routingconfiguration.go
- model_staticroute.go
- model_staticroutesconfig.go
- model_subresource.go
- model_tagsobject.go
- model_vnetroute.go
- model_vpnclientconnectionhealth.go
- model_vpnserverconfigradiusclientrootcertificate.go
- model_vpnserverconfigradiusserverrootcertificate.go
- model_vpnserverconfiguration.go
- model_vpnserverconfigurationpolicygroup.go
- model_vpnserverconfigurationpolicygroupmember.go
- model_vpnserverconfigurationpolicygroupproperties.go
- model_vpnserverconfigurationproperties.go
- model_vpnserverconfigvpnclientrevokedcertificate.go
- model_vpnserverconfigvpnclientrootcertificate.go
- version.go