다음을 통해 공유


NatGateway Constructors

Definition

Overloads

NatGateway()

Initializes a new instance of the NatGateway class.

NatGateway(String, String, String, String, IDictionary<String, String>, NatGatewaySku, Nullable<Int32>, IList<SubResource>, IList<SubResource>, IList<SubResource>, String, String, IList<String>, String)

Initializes a new instance of the NatGateway class.

NatGateway()

Initializes a new instance of the NatGateway class.

public NatGateway ();
Public Sub New ()

Applies to

NatGateway(String, String, String, String, IDictionary<String, String>, NatGatewaySku, Nullable<Int32>, IList<SubResource>, IList<SubResource>, IList<SubResource>, String, String, IList<String>, String)

Initializes a new instance of the NatGateway class.

public NatGateway (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.NatGatewaySku sku = default, int? idleTimeoutInMinutes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> publicIpAddresses = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> publicIpPrefixes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> subnets = default, string resourceGuid = default, string provisioningState = default, System.Collections.Generic.IList<string> zones = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.NatGateway : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.NatGatewaySku * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * string * string * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Network.Models.NatGateway
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As NatGatewaySku = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional publicIpAddresses As IList(Of SubResource) = Nothing, Optional publicIpPrefixes As IList(Of SubResource) = Nothing, Optional subnets As IList(Of SubResource) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional zones As IList(Of String) = Nothing, Optional etag As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

sku
NatGatewaySku

The nat gateway SKU.

idleTimeoutInMinutes
Nullable<Int32>

The idle timeout of the nat gateway.

publicIpAddresses
IList<SubResource>

An array of public ip addresses associated with the nat gateway resource.

publicIpPrefixes
IList<SubResource>

An array of public ip prefixes associated with the nat gateway resource.

subnets
IList<SubResource>

An array of references to the subnets using this nat gateway resource.

resourceGuid
String

The resource GUID property of the NAT gateway resource.

provisioningState
String

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

zones
IList<String>

A list of availability zones denoting the zone in which Nat Gateway should be deployed.

etag
String

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

Applies to