你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VpnGatewayNatRule 构造函数

定义

重载

VpnGatewayNatRule()

初始化 VpnGatewayNatRule 类的新实例。

VpnGatewayNatRule(String, String, String, String, IList<VpnNatRuleMapping>, IList<VpnNatRuleMapping>, String, IList<SubResource>, IList<SubResource>, String, String, String)

初始化 VpnGatewayNatRule 类的新实例。

VpnGatewayNatRule()

初始化 VpnGatewayNatRule 类的新实例。

public VpnGatewayNatRule ();
Public Sub New ()

适用于

VpnGatewayNatRule(String, String, String, String, IList<VpnNatRuleMapping>, IList<VpnNatRuleMapping>, String, IList<SubResource>, IList<SubResource>, String, String, String)

初始化 VpnGatewayNatRule 类的新实例。

public VpnGatewayNatRule (string id = default, string provisioningState = default, string vpnGatewayNatRulePropertiesType = default, string mode = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnNatRuleMapping> internalMappings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnNatRuleMapping> externalMappings = default, string ipConfigurationId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> egressVpnSiteLinkConnections = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> ingressVpnSiteLinkConnections = default, string name = default, string etag = default, string type = default);
new Microsoft.Azure.Management.Network.Models.VpnGatewayNatRule : string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnNatRuleMapping> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnNatRuleMapping> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * string * string * string -> Microsoft.Azure.Management.Network.Models.VpnGatewayNatRule
Public Sub New (Optional id As String = Nothing, Optional provisioningState As String = Nothing, Optional vpnGatewayNatRulePropertiesType As String = Nothing, Optional mode As String = Nothing, Optional internalMappings As IList(Of VpnNatRuleMapping) = Nothing, Optional externalMappings As IList(Of VpnNatRuleMapping) = Nothing, Optional ipConfigurationId As String = Nothing, Optional egressVpnSiteLinkConnections As IList(Of SubResource) = Nothing, Optional ingressVpnSiteLinkConnections As IList(Of SubResource) = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing, Optional type As String = Nothing)

参数

id
String

资源 ID。

provisioningState
String

NAT 规则资源的预配状态。 可能的值包括:“Succeeded”、“Updateing”、“删除”、“Failed”

vpnGatewayNatRulePropertiesType
String

VPN NAT 的 NAT 规则的类型。 可能的值包括:“Static”、“Dynamic”

mode
String

VPN NAT 的源 NAT 方向。 可能的值包括:“EgressSnat”、“IngressSnat”

internalMappings
IList<VpnNatRuleMapping>

NAT 的专用 IP 地址内部映射。

externalMappings
IList<VpnNatRuleMapping>

NAT 的专用 IP 地址外部映射。

ipConfigurationId
String

此 NAT 规则适用的 IP 配置 ID。

egressVpnSiteLinkConnections
IList<SubResource>

出口 VpnSiteLinkConnections 的列表。

ingressVpnSiteLinkConnections
IList<SubResource>

入口 VpnSiteLinkConnections 的列表。

name
String

资源组中唯一的资源的名称。 此名称可用于访问资源。

etag
String

一个唯一的只读字符串,每当资源更新时都会更改。

type
String

资源类型。

适用于