VirtualNetworkGatewayConnectionInner Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
VirtualNetworkGatewayConnectionInner() |
Initializes a new instance of the VirtualNetworkGatewayConnectionInner class. |
VirtualNetworkGatewayConnectionInner(SubResource, VirtualNetworkGatewayConnectionType, String, String, String, String, IDictionary<String,String>, String, SubResource, SubResource, VirtualNetworkGatewayConnectionProtocol, Nullable<Int32>, String, VirtualNetworkGatewayConnectionStatus, IList<TunnelConnectionHealth>, Nullable<Int64>, Nullable<Int64>, SubResource, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, String, ProvisioningState, Nullable<Boolean>, String) |
Initializes a new instance of the VirtualNetworkGatewayConnectionInner class. |
VirtualNetworkGatewayConnectionInner()
Initializes a new instance of the VirtualNetworkGatewayConnectionInner class.
public VirtualNetworkGatewayConnectionInner ();
Public Sub New ()
Applies to
VirtualNetworkGatewayConnectionInner(SubResource, VirtualNetworkGatewayConnectionType, String, String, String, String, IDictionary<String,String>, String, SubResource, SubResource, VirtualNetworkGatewayConnectionProtocol, Nullable<Int32>, String, VirtualNetworkGatewayConnectionStatus, IList<TunnelConnectionHealth>, Nullable<Int64>, Nullable<Int64>, SubResource, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, String, ProvisioningState, Nullable<Boolean>, String)
Initializes a new instance of the VirtualNetworkGatewayConnectionInner class.
public VirtualNetworkGatewayConnectionInner (Microsoft.Azure.Management.ResourceManager.Fluent.SubResource virtualNetworkGateway1, Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionType connectionType, string location = default, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string authorizationKey = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource virtualNetworkGateway2 = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource localNetworkGateway2 = default, Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionProtocol connectionProtocol = default, int? routingWeight = default, string sharedKey = default, Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionStatus connectionStatus = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.TunnelConnectionHealth> tunnelConnectionStatus = default, long? egressBytesTransferred = default, long? ingressBytesTransferred = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource peer = default, bool? enableBgp = default, bool? usePolicyBasedTrafficSelectors = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IpsecPolicy> ipsecPolicies = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.TrafficSelectorPolicy> trafficSelectorPolicies = default, string resourceGuid = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, bool? expressRouteGatewayBypass = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionInner : Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionType * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionProtocol * Nullable<int> * string * Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionStatus * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.TunnelConnectionHealth> * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IpsecPolicy> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.TrafficSelectorPolicy> * string * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * Nullable<bool> * string -> Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionInner
Public Sub New (virtualNetworkGateway1 As SubResource, connectionType As VirtualNetworkGatewayConnectionType, Optional location As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional authorizationKey As String = Nothing, Optional virtualNetworkGateway2 As SubResource = Nothing, Optional localNetworkGateway2 As SubResource = Nothing, Optional connectionProtocol As VirtualNetworkGatewayConnectionProtocol = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional sharedKey As String = Nothing, Optional connectionStatus As VirtualNetworkGatewayConnectionStatus = Nothing, Optional tunnelConnectionStatus As IList(Of TunnelConnectionHealth) = Nothing, Optional egressBytesTransferred As Nullable(Of Long) = Nothing, Optional ingressBytesTransferred As Nullable(Of Long) = Nothing, Optional peer As SubResource = Nothing, Optional enableBgp As Nullable(Of Boolean) = Nothing, Optional usePolicyBasedTrafficSelectors As Nullable(Of Boolean) = Nothing, Optional ipsecPolicies As IList(Of IpsecPolicy) = Nothing, Optional trafficSelectorPolicies As IList(Of TrafficSelectorPolicy) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional expressRouteGatewayBypass As Nullable(Of Boolean) = Nothing, Optional etag As String = Nothing)
Parameters
- virtualNetworkGateway1
- SubResource
The reference to virtual network gateway resource.
- connectionType
- VirtualNetworkGatewayConnectionType
Gateway connection type. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'
- location
- String
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- authorizationKey
- String
The authorizationKey.
- virtualNetworkGateway2
- SubResource
The reference to virtual network gateway resource.
- localNetworkGateway2
- SubResource
The reference to local network gateway resource.
- connectionProtocol
- VirtualNetworkGatewayConnectionProtocol
Connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
- sharedKey
- String
The IPSec shared key.
- connectionStatus
- VirtualNetworkGatewayConnectionStatus
Virtual Network Gateway connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'
- tunnelConnectionStatus
- IList<TunnelConnectionHealth>
Collection of all tunnels' connection health status.
- peer
- SubResource
The reference to peerings resource.
- ipsecPolicies
- IList<IpsecPolicy>
The IPSec Policies to be considered by this connection.
- trafficSelectorPolicies
- IList<TrafficSelectorPolicy>
The Traffic Selector Policies to be considered by this connection.
- resourceGuid
- String
The resource GUID property of the virtual network gateway connection resource.
- provisioningState
- ProvisioningState
The provisioning state of the virtual network gateway connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
- etag
- String
A unique read-only string that changes whenever the resource is updated.
Applies to
Azure SDK for .NET