Compartilhar via


VpnConnection Construtores

Definição

Sobrecargas

VpnConnection()

Inicializa uma nova instância da classe VpnConnection.

VpnConnection(String, SubResource, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, IList<VpnSiteLinkConnection>, RoutingConfiguration, String, String)

Inicializa uma nova instância da classe VpnConnection.

VpnConnection()

Inicializa uma nova instância da classe VpnConnection.

public VpnConnection ();
Public Sub New ()

Aplica-se a

VpnConnection(String, SubResource, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, IList<VpnSiteLinkConnection>, RoutingConfiguration, String, String)

Inicializa uma nova instância da classe VpnConnection.

public VpnConnection (string id = default, Microsoft.Azure.Management.Network.Models.SubResource remoteVpnSite = default, int? routingWeight = default, int? dpdTimeoutSeconds = default, string connectionStatus = default, string 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.Models.IpsecPolicy> ipsecPolicies = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.TrafficSelectorPolicy> trafficSelectorPolicies = default, bool? enableRateLimiting = default, bool? enableInternetSecurity = default, bool? useLocalAzureIpAddress = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnSiteLinkConnection> vpnLinkConnections = default, Microsoft.Azure.Management.Network.Models.RoutingConfiguration routingConfiguration = default, string name = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.VpnConnection : string * Microsoft.Azure.Management.Network.Models.SubResource * Nullable<int> * Nullable<int> * string * string * Nullable<int64> * Nullable<int64> * Nullable<int> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.IpsecPolicy> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.TrafficSelectorPolicy> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnSiteLinkConnection> * Microsoft.Azure.Management.Network.Models.RoutingConfiguration * string * string -> Microsoft.Azure.Management.Network.Models.VpnConnection
Public Sub New (Optional id As String = Nothing, Optional remoteVpnSite As SubResource = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional dpdTimeoutSeconds As Nullable(Of Integer) = Nothing, Optional connectionStatus As String = Nothing, Optional vpnConnectionProtocolType As String = 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 trafficSelectorPolicies As IList(Of TrafficSelectorPolicy) = 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 String = Nothing, Optional vpnLinkConnections As IList(Of VpnSiteLinkConnection) = Nothing, Optional routingConfiguration As RoutingConfiguration = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing)

Parâmetros

id
String

ID do recurso.

remoteVpnSite
SubResource

ID do site vpn conectado.

routingWeight
Nullable<Int32>

Peso de roteamento para conexão VPN.

dpdTimeoutSeconds
Nullable<Int32>

Tempo limite de DPD em segundos para conexão vpn.

connectionStatus
String

A conexão status. Os valores possíveis incluem: 'Unknown', 'Connecting', 'Connected', 'NotConnected'

vpnConnectionProtocolType
String

Protocolo de conexão usado para essa conexão. Os valores possíveis incluem: 'IKEv2', 'IKEv1'

ingressBytesTransferred
Nullable<Int64>

Bytes de entrada transferidos.

egressBytesTransferred
Nullable<Int64>

Bytes de saída transferidos.

connectionBandwidth
Nullable<Int32>

Largura de banda esperada no MBPS.

sharedKey
String

SharedKey para a conexão vpn.

enableBgp
Nullable<Boolean>

Sinalizador EnableBgp.

usePolicyBasedTrafficSelectors
Nullable<Boolean>

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.

enableRateLimiting
Nullable<Boolean>

Sinalizador EnableBgp.

enableInternetSecurity
Nullable<Boolean>

Habilitar a segurança da Internet.

useLocalAzureIpAddress
Nullable<Boolean>

Use o ip do azure local para iniciar a conexão.

provisioningState
String

O estado de provisionamento do recurso de conexão VPN. Os valores possíveis incluem: 'Succeeded', 'Updating', 'Deleting', 'Failed'

vpnLinkConnections
IList<VpnSiteLinkConnection>

Lista de todas as conexões de link de site vpn para o gateway.

routingConfiguration
RoutingConfiguration

A Configuração de Roteamento que indica as tabelas de rotas associadas e propagadas nessa conexão.

name
String

O nome do recurso que é exclusivo em um grupo de recursos. Esse nome pode ser usado para acessar o recurso.

etag
String

Uma cadeia de caracteres exclusiva somente leitura que é alterada sempre que o recurso é atualizado.

Aplica-se a