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

NatGatewayInner 构造函数

定义

重载

NatGatewayInner()

初始化 NatGatewayInner 类的新实例。

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

初始化 NatGatewayInner 类的新实例。

NatGatewayInner()

初始化 NatGatewayInner 类的新实例。

public NatGatewayInner ();
Public Sub New ()

适用于

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

初始化 NatGatewayInner 类的新实例。

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

参数

location
String
id
String
name
String
type
String
sku
NatGatewaySku

nat 网关 SKU。

idleTimeoutInMinutes
Nullable<Int32>

nat 网关的空闲超时。

publicIpAddresses
IList<SubResource>

与 nat 网关资源关联的公共 IP 地址数组。

publicIpPrefixes
IList<SubResource>

与 nat 网关资源关联的公共 IP 前缀数组。

subnets
IList<SubResource>

使用此 nat 网关资源的子网引用数组。

resourceGuid
String

NAT 网关资源的资源 GUID 属性。

provisioningState
ProvisioningState

NAT 网关资源的预配状态。 可能的值包括:“Succeeded”、“Updating”、“Deleting”、“Failed”

zones
IList<String>

指示应在其中部署 Nat 网关的区域的可用性区域列表。

etag
String

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

适用于