Compartilhar via


ArmNetworkModelFactory.VpnGatewayData Método

Definição

Inicializa uma nova instância de VpnGatewayData.

public static Azure.ResourceManager.Network.VpnGatewayData VpnGatewayData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier virtualHubId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnConnectionData> connections = default, Azure.ResourceManager.Network.Models.BgpSettings bgpSettings = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, int? vpnGatewayScaleUnit = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnGatewayIPConfiguration> ipConfigurations = default, bool? enableBgpRouteTranslationForNat = default, bool? isRoutingPreferenceInternet = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnGatewayNatRuleData> natRules = default);
static member VpnGatewayData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.VpnConnectionData> * Azure.ResourceManager.Network.Models.BgpSettings * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<int> * seq<Azure.ResourceManager.Network.Models.VpnGatewayIPConfiguration> * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.Network.VpnGatewayNatRuleData> -> Azure.ResourceManager.Network.VpnGatewayData
Public Shared Function VpnGatewayData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional virtualHubId As ResourceIdentifier = Nothing, Optional connections As IEnumerable(Of VpnConnectionData) = Nothing, Optional bgpSettings As BgpSettings = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional vpnGatewayScaleUnit As Nullable(Of Integer) = Nothing, Optional ipConfigurations As IEnumerable(Of VpnGatewayIPConfiguration) = Nothing, Optional enableBgpRouteTranslationForNat As Nullable(Of Boolean) = Nothing, Optional isRoutingPreferenceInternet As Nullable(Of Boolean) = Nothing, Optional natRules As IEnumerable(Of VpnGatewayNatRuleData) = Nothing) As VpnGatewayData

Parâmetros

id
ResourceIdentifier

ID do recurso.

name
String

Nome do recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

location
Nullable<AzureLocation>

Local do recurso.

tags
IDictionary<String,String>

Marcas de recurso.

etag
Nullable<ETag>

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

virtualHubId
ResourceIdentifier

O VirtualHub ao qual o gateway pertence.

connections
IEnumerable<VpnConnectionData>

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

bgpSettings
BgpSettings

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

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de gateway de VPN.

vpnGatewayScaleUnit
Nullable<Int32>

A unidade de escala para esse gateway de vpn.

ipConfigurations
IEnumerable<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
IEnumerable<VpnGatewayNatRuleData>

Lista de todas as regras nat associadas ao gateway.

Retornos

Uma nova VpnGatewayData instância para zombar.

Aplica-se a