Compartilhar via


ArmNetworkModelFactory.VirtualNetworkGatewayNatRuleData Método

Definição

Inicializa uma nova instância de VirtualNetworkGatewayNatRuleData.

public static Azure.ResourceManager.Network.VirtualNetworkGatewayNatRuleData VirtualNetworkGatewayNatRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.VpnNatRuleType? vpnNatRuleType = default, Azure.ResourceManager.Network.Models.VpnNatRuleMode? mode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnNatRuleMapping> internalMappings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnNatRuleMapping> externalMappings = default, string ipConfigurationId = default);
static member VirtualNetworkGatewayNatRuleData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.VpnNatRuleType> * Nullable<Azure.ResourceManager.Network.Models.VpnNatRuleMode> * seq<Azure.ResourceManager.Network.Models.VpnNatRuleMapping> * seq<Azure.ResourceManager.Network.Models.VpnNatRuleMapping> * string -> Azure.ResourceManager.Network.VirtualNetworkGatewayNatRuleData
Public Shared Function VirtualNetworkGatewayNatRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional vpnNatRuleType As Nullable(Of VpnNatRuleType) = Nothing, Optional mode As Nullable(Of VpnNatRuleMode) = Nothing, Optional internalMappings As IEnumerable(Of VpnNatRuleMapping) = Nothing, Optional externalMappings As IEnumerable(Of VpnNatRuleMapping) = Nothing, Optional ipConfigurationId As String = Nothing) As VirtualNetworkGatewayNatRuleData

Parâmetros

id
ResourceIdentifier

ID do recurso.

name
String

Nome do recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

etag
Nullable<ETag>

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

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso regra NAT.

vpnNatRuleType
Nullable<VpnNatRuleType>

O tipo de regra NAT para VPN NAT.

mode
Nullable<VpnNatRuleMode>

A direção nat de origem de um NAT vpn.

internalMappings
IEnumerable<VpnNatRuleMapping>

O mapeamento interno do endereço IP privado para NAT.

externalMappings
IEnumerable<VpnNatRuleMapping>

O mapeamento externo de endereço IP privado para NAT.

ipConfigurationId
String

A ID de Configuração de IP à qual essa regra NAT se aplica.

Retornos

Uma nova VirtualNetworkGatewayNatRuleData instância para zombar.

Aplica-se a