Compartilhar via


VpnGateway Construtores

Definição

Sobrecargas

VpnGateway()

Inicializa uma nova instância da classe VpnGateway.

VpnGateway(String, String, String, String, IDictionary<String, String>, SubResource, IList<VpnConnection>, BgpSettings, String, Nullable<Int32>, IList<VpnGatewayIpConfiguration>, Nullable<Boolean>, Nullable<Boolean>, IList<VpnGatewayNatRule>, String)

Inicializa uma nova instância da classe VpnGateway.

VpnGateway()

Inicializa uma nova instância da classe VpnGateway.

public VpnGateway ();
Public Sub New ()

Aplica-se a

VpnGateway(String, String, String, String, IDictionary<String, String>, SubResource, IList<VpnConnection>, BgpSettings, String, Nullable<Int32>, IList<VpnGatewayIpConfiguration>, Nullable<Boolean>, Nullable<Boolean>, IList<VpnGatewayNatRule>, String)

Inicializa uma nova instância da classe VpnGateway.

public VpnGateway (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.SubResource virtualHub = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnConnection> connections = default, Microsoft.Azure.Management.Network.Models.BgpSettings bgpSettings = default, string provisioningState = default, int? vpnGatewayScaleUnit = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnGatewayIpConfiguration> ipConfigurations = default, bool? enableBgpRouteTranslationForNat = default, bool? isRoutingPreferenceInternet = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnGatewayNatRule> natRules = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.VpnGateway : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.SubResource * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnConnection> * Microsoft.Azure.Management.Network.Models.BgpSettings * string * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnGatewayIpConfiguration> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnGatewayNatRule> * string -> Microsoft.Azure.Management.Network.Models.VpnGateway
Public Sub New (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 virtualHub As SubResource = Nothing, Optional connections As IList(Of VpnConnection) = Nothing, Optional bgpSettings As BgpSettings = Nothing, Optional provisioningState As String = Nothing, Optional vpnGatewayScaleUnit As Nullable(Of Integer) = Nothing, Optional ipConfigurations As IList(Of VpnGatewayIpConfiguration) = Nothing, Optional enableBgpRouteTranslationForNat As Nullable(Of Boolean) = Nothing, Optional isRoutingPreferenceInternet As Nullable(Of Boolean) = Nothing, Optional natRules As IList(Of VpnGatewayNatRule) = Nothing, Optional etag As String = Nothing)

Parâmetros

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.

virtualHub
SubResource

O VirtualHub ao qual o gateway pertence.

connections
IList<VpnConnection>

Lista de todas as conexões vpn com o gateway.

bgpSettings
BgpSettings

Configurações do alto-falante BGP do gateway de rede local.

provisioningState
String

O estado de provisionamento do recurso de gateway de VPN. Os valores possíveis incluem: 'Êxito', 'Atualizando', 'Excluindo', 'Falha'

vpnGatewayScaleUnit
Nullable<Int32>

A unidade de escala para esse gateway de vpn.

ipConfigurations
IList<VpnGatewayIpConfiguration>

Lista de todos os IPs configurados no gateway.

enableBgpRouteTranslationForNat
Nullable<Boolean>

Habilite a tradução de rotas BGP para NAT neste VpnGateway.

isRoutingPreferenceInternet
Nullable<Boolean>

Habilite a propriedade Preferência de Roteamento para a Interface ip pública do VpnGateway.

natRules
IList<VpnGatewayNatRule>

Lista de todas as regras nat associadas ao gateway.

etag
String

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

Aplica-se a