VirtualNetworkGatewayConnection Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
VirtualNetworkGatewayConnection()
Inicializa uma nova instância da classe VirtualNetworkGatewayConnection.
public VirtualNetworkGatewayConnection ();
Public Sub New ()
Aplica-se a
VirtualNetworkGatewayConnection(VirtualNetworkGateway, String, String, String, String, String, IDictionary<String,String>, String, VirtualNetworkGateway, LocalNetworkGateway, IList<SubResource>, IList<SubResource>, String, Nullable<Int32>, Nullable<Int32>, String, String, String, IList<TunnelConnectionHealth>, Nullable<Int64>, Nullable<Int64>, SubResource, Nullable<Boolean>, IList<GatewayCustomBgpIpAddressIpConfiguration>, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, String, String, Nullable<Boolean>, Nullable<Boolean>, String)
Inicializa uma nova instância da classe VirtualNetworkGatewayConnection.
public VirtualNetworkGatewayConnection (Microsoft.Azure.Management.Network.Models.VirtualNetworkGateway virtualNetworkGateway1, string connectionType, string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string authorizationKey = default, Microsoft.Azure.Management.Network.Models.VirtualNetworkGateway virtualNetworkGateway2 = default, Microsoft.Azure.Management.Network.Models.LocalNetworkGateway localNetworkGateway2 = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> ingressNatRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> egressNatRules = default, string connectionProtocol = default, int? routingWeight = default, int? dpdTimeoutSeconds = default, string connectionMode = default, string sharedKey = default, string connectionStatus = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.TunnelConnectionHealth> tunnelConnectionStatus = default, long? egressBytesTransferred = default, long? ingressBytesTransferred = default, Microsoft.Azure.Management.Network.Models.SubResource peer = default, bool? enableBgp = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses = default, bool? useLocalAzureIpAddress = default, bool? usePolicyBasedTrafficSelectors = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.IpsecPolicy> ipsecPolicies = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.TrafficSelectorPolicy> trafficSelectorPolicies = default, string resourceGuid = default, string provisioningState = default, bool? expressRouteGatewayBypass = default, bool? enablePrivateLinkFastPath = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayConnection : Microsoft.Azure.Management.Network.Models.VirtualNetworkGateway * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Network.Models.VirtualNetworkGateway * Microsoft.Azure.Management.Network.Models.LocalNetworkGateway * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * string * Nullable<int> * Nullable<int> * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.TunnelConnectionHealth> * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Management.Network.Models.SubResource * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.GatewayCustomBgpIpAddressIpConfiguration> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.IpsecPolicy> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.TrafficSelectorPolicy> * string * string * Nullable<bool> * Nullable<bool> * string -> Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayConnection
Public Sub New (virtualNetworkGateway1 As VirtualNetworkGateway, connectionType As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional authorizationKey As String = Nothing, Optional virtualNetworkGateway2 As VirtualNetworkGateway = Nothing, Optional localNetworkGateway2 As LocalNetworkGateway = Nothing, Optional ingressNatRules As IList(Of SubResource) = Nothing, Optional egressNatRules As IList(Of SubResource) = Nothing, Optional connectionProtocol As String = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional dpdTimeoutSeconds As Nullable(Of Integer) = Nothing, Optional connectionMode As String = Nothing, Optional sharedKey As String = Nothing, Optional connectionStatus As String = 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 gatewayCustomBgpIpAddresses As IList(Of GatewayCustomBgpIpAddressIpConfiguration) = Nothing, Optional useLocalAzureIpAddress 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 String = Nothing, Optional expressRouteGatewayBypass As Nullable(Of Boolean) = Nothing, Optional enablePrivateLinkFastPath As Nullable(Of Boolean) = Nothing, Optional etag As String = Nothing)
Parâmetros
- virtualNetworkGateway1
- VirtualNetworkGateway
A referência ao recurso de gateway de rede virtual.
- connectionType
- String
Tipo de conexão de gateway. Os valores possíveis incluem: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'
- id
- String
ID do recurso.
- name
- String
Nome do recurso.
- type
- String
Tipo de recurso.
- location
- String
Local do recurso.
- tags
- IDictionary<String,String>
Marcas de recurso.
- authorizationKey
- String
A authorizationKey.
- virtualNetworkGateway2
- VirtualNetworkGateway
A referência ao recurso de gateway de rede virtual.
- localNetworkGateway2
- LocalNetworkGateway
A referência ao recurso de gateway de rede local.
- ingressNatRules
- IList<SubResource>
Lista de NatRules de entrada.
- egressNatRules
- IList<SubResource>
Lista de NatRules de saída.
- connectionProtocol
- String
Protocolo de conexão usado para essa conexão. Os valores possíveis incluem: 'IKEv2', 'IKEv1'
O tempo limite de detecção de par morto dessa conexão em segundos.
- connectionMode
- String
O modo de conexão para essa conexão. Os valores possíveis incluem: 'Default', 'ResponderOnly', 'InitiatorOnly'
- sharedKey
- String
A chave compartilhada IPSec.
- connectionStatus
- String
Rede Virtual status de conexão do Gateway. Os valores possíveis incluem: 'Unknown', 'Connecting', 'Connected', 'NotConnected'
- tunnelConnectionStatus
- IList<TunnelConnectionHealth>
Coleção de status de integridade de conexão de todos os túneis.
- peer
- SubResource
A referência ao recurso de emparelhamentos.
- gatewayCustomBgpIpAddresses
- IList<GatewayCustomBgpIpAddressIpConfiguration>
GatewayCustomBgpIpAddresses a ser usado para conexão de gateway de rede virtual.
Habilitar seletores de tráfego baseados em política.
- ipsecPolicies
- IList<IpsecPolicy>
As Políticas IPSec a serem consideradas por essa conexão.
- trafficSelectorPolicies
- IList<TrafficSelectorPolicy>
As Políticas do Seletor de Tráfego a serem consideradas por essa conexão.
- resourceGuid
- String
A propriedade GUID de recurso do recurso de conexão de gateway de rede virtual.
- provisioningState
- String
O estado de provisionamento do recurso de conexão de gateway de rede virtual. Os valores possíveis incluem: 'Êxito', 'Atualizando', 'Excluindo', 'Falha'
Ignorar o Gateway do ExpressRoute para encaminhamento de dados.
Ignore o gateway do ExpressRoute ao acessar links privados. O ExpressRoute FastPath (expressRouteGatewayBypass) deve estar habilitado.
- etag
- String
Uma cadeia de caracteres somente leitura exclusiva que é alterada sempre que o recurso é atualizado.
Aplica-se a
Azure SDK for .NET