Compartilhar via


ArmNetworkModelFactory.VpnGatewayNatRuleData Método

Definição

Inicializa uma nova instância de VpnGatewayNatRuleData.

public static Azure.ResourceManager.Network.VpnGatewayNatRuleData VpnGatewayNatRuleData (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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> egressVpnSiteLinkConnections = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ingressVpnSiteLinkConnections = default);
static member VpnGatewayNatRuleData : 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 * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> -> Azure.ResourceManager.Network.VpnGatewayNatRuleData
Public Shared Function VpnGatewayNatRuleData (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, Optional egressVpnSiteLinkConnections As IEnumerable(Of WritableSubResource) = Nothing, Optional ingressVpnSiteLinkConnections As IEnumerable(Of WritableSubResource) = Nothing) As VpnGatewayNatRuleData

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 exclusiva somente leitura que é alterada sempre que o recurso é atualizado.

provisioningState
Nullable<NetworkProvisioningState>

O estado de provisionamento do recurso de 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 do endereço IP privado para NAT.

ipConfigurationId
String

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

egressVpnSiteLinkConnections
IEnumerable<WritableSubResource>

Lista de VpnSiteLinkConnections de saída.

ingressVpnSiteLinkConnections
IEnumerable<WritableSubResource>

Lista de VpnSiteLinkConnections de entrada.

Retornos

Uma nova VpnGatewayNatRuleData instância para simulação.

Aplica-se a