共用方式為


VpnGatewayNatRule Constructors

Definition

Overloads

VpnGatewayNatRule()

Initializes a new instance of the VpnGatewayNatRule class.

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

Initializes a new instance of the VpnGatewayNatRule class.

VpnGatewayNatRule()

Initializes a new instance of the VpnGatewayNatRule class.

public VpnGatewayNatRule ();
Public Sub New ()

Applies to

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

Initializes a new instance of the VpnGatewayNatRule class.

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)

Parameters

id
String

Resource ID.

provisioningState
String

The provisioning state of the NAT Rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

vpnGatewayNatRulePropertiesType
String

The type of NAT rule for VPN NAT. Possible values include: 'Static', 'Dynamic'

mode
String

The Source NAT direction of a VPN NAT. Possible values include: 'EgressSnat', 'IngressSnat'

internalMappings
IList<VpnNatRuleMapping>

The private IP address internal mapping for NAT.

externalMappings
IList<VpnNatRuleMapping>

The private IP address external mapping for NAT.

ipConfigurationId
String

The IP Configuration ID this NAT rule applies to.

egressVpnSiteLinkConnections
IList<SubResource>

List of egress VpnSiteLinkConnections.

ingressVpnSiteLinkConnections
IList<SubResource>

List of ingress VpnSiteLinkConnections.

name
String

The name of the resource that is unique within a resource group. This name can be used to access the resource.

etag
String

A unique read-only string that changes whenever the resource is updated.

type
String

Resource type.

Applies to