VpnConnectionInner Constructors

Definition

Overloads

VpnConnectionInner()

Initializes a new instance of the VpnConnectionInner class.

VpnConnectionInner(String, SubResource, Nullable<Int32>, VpnConnectionStatus, VirtualNetworkGatewayConnectionProtocol, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, ProvisioningState, IList<VpnSiteLinkConnectionInner>, String, String)

Initializes a new instance of the VpnConnectionInner class.

VpnConnectionInner()

Initializes a new instance of the VpnConnectionInner class.

public VpnConnectionInner ();
Public Sub New ()

Applies to

VpnConnectionInner(String, SubResource, Nullable<Int32>, VpnConnectionStatus, VirtualNetworkGatewayConnectionProtocol, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, ProvisioningState, IList<VpnSiteLinkConnectionInner>, String, String)

Initializes a new instance of the VpnConnectionInner class.

public VpnConnectionInner (string id = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource remoteVpnSite = default, int? routingWeight = default, Microsoft.Azure.Management.Network.Fluent.Models.VpnConnectionStatus connectionStatus = default, Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType = default, long? ingressBytesTransferred = default, long? egressBytesTransferred = default, int? connectionBandwidth = default, string sharedKey = default, bool? enableBgp = default, bool? usePolicyBasedTrafficSelectors = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IpsecPolicy> ipsecPolicies = default, bool? enableRateLimiting = default, bool? enableInternetSecurity = default, bool? useLocalAzureIpAddress = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.VpnSiteLinkConnectionInner> vpnLinkConnections = default, string name = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.VpnConnectionInner : string * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Nullable<int> * Microsoft.Azure.Management.Network.Fluent.Models.VpnConnectionStatus * Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionProtocol * Nullable<int64> * Nullable<int64> * Nullable<int> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IpsecPolicy> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.VpnSiteLinkConnectionInner> * string * string -> Microsoft.Azure.Management.Network.Fluent.Models.VpnConnectionInner
Public Sub New (Optional id As String = Nothing, Optional remoteVpnSite As SubResource = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional connectionStatus As VpnConnectionStatus = Nothing, Optional vpnConnectionProtocolType As VirtualNetworkGatewayConnectionProtocol = Nothing, Optional ingressBytesTransferred As Nullable(Of Long) = Nothing, Optional egressBytesTransferred As Nullable(Of Long) = Nothing, Optional connectionBandwidth As Nullable(Of Integer) = Nothing, Optional sharedKey As String = Nothing, Optional enableBgp As Nullable(Of Boolean) = Nothing, Optional usePolicyBasedTrafficSelectors As Nullable(Of Boolean) = Nothing, Optional ipsecPolicies As IList(Of IpsecPolicy) = Nothing, Optional enableRateLimiting As Nullable(Of Boolean) = Nothing, Optional enableInternetSecurity As Nullable(Of Boolean) = Nothing, Optional useLocalAzureIpAddress As Nullable(Of Boolean) = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional vpnLinkConnections As IList(Of VpnSiteLinkConnectionInner) = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing)

Parameters

id
String
remoteVpnSite
SubResource

Id of the connected vpn site.

routingWeight
Nullable<Int32>

Routing weight for vpn connection.

connectionStatus
VpnConnectionStatus

The connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'

vpnConnectionProtocolType
VirtualNetworkGatewayConnectionProtocol

Connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'

ingressBytesTransferred
Nullable<Int64>

Ingress bytes transferred.

egressBytesTransferred
Nullable<Int64>

Egress bytes transferred.

connectionBandwidth
Nullable<Int32>

Expected bandwidth in MBPS.

sharedKey
String

SharedKey for the vpn connection.

enableBgp
Nullable<Boolean>

EnableBgp flag.

usePolicyBasedTrafficSelectors
Nullable<Boolean>

Enable policy-based traffic selectors.

ipsecPolicies
IList<IpsecPolicy>

The IPSec Policies to be considered by this connection.

enableRateLimiting
Nullable<Boolean>

EnableBgp flag.

enableInternetSecurity
Nullable<Boolean>

Enable internet security.

useLocalAzureIpAddress
Nullable<Boolean>

Use local azure ip to initiate connection.

provisioningState
ProvisioningState

The provisioning state of the VPN connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

vpnLinkConnections
IList<VpnSiteLinkConnectionInner>

List of all vpn site link connections to the gateway.

name
String

The name of the resource that is unique within a resource group. This name can be used to access the resource.

etag
String

A unique read-only string that changes whenever the resource is updated.

Applies to