Share via


VirtualNetworkGatewayNatRule Constructors

Definition

Overloads

VirtualNetworkGatewayNatRule()

Initializes a new instance of the VirtualNetworkGatewayNatRule class.

VirtualNetworkGatewayNatRule(String, String, String, String, IList<VpnNatRuleMapping>, IList<VpnNatRuleMapping>, String, String, String, String)

Initializes a new instance of the VirtualNetworkGatewayNatRule class.

VirtualNetworkGatewayNatRule()

Initializes a new instance of the VirtualNetworkGatewayNatRule class.

public VirtualNetworkGatewayNatRule ();
Public Sub New ()

Applies to

VirtualNetworkGatewayNatRule(String, String, String, String, IList<VpnNatRuleMapping>, IList<VpnNatRuleMapping>, String, String, String, String)

Initializes a new instance of the VirtualNetworkGatewayNatRule class.

public VirtualNetworkGatewayNatRule (string id = default, string provisioningState = default, string virtualNetworkGatewayNatRulePropertiesType = 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, string name = default, string etag = default, string type = default);
new Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayNatRule : 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 * string * string * string -> Microsoft.Azure.Management.Network.Models.VirtualNetworkGatewayNatRule
Public Sub New (Optional id As String = Nothing, Optional provisioningState As String = Nothing, Optional virtualNetworkGatewayNatRulePropertiesType 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 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'

virtualNetworkGatewayNatRulePropertiesType
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.

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