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
System.String

Resource ID.

name
System.String

Resource name.

type
System.String

Resource type.

location
System.String

Resource location.

tags
System.Collections.Generic.IDictionary<System.String,System.String>

Resource tags.

sku
NatGatewaySku

The nat gateway SKU.

idleTimeoutInMinutes
System.Nullable<System.Int32>

The idle timeout of the nat gateway.

publicIpAddresses
System.Collections.Generic.IList<SubResource>

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

publicIpPrefixes
System.Collections.Generic.IList<SubResource>

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

subnets
System.Collections.Generic.IList<SubResource>

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

resourceGuid
System.String

The resource GUID property of the NAT gateway resource.

provisioningState
System.String

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

zones
System.Collections.Generic.IList<System.String>

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

etag
System.String

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

Applies to