共用方式為


NatGatewayData Class

Definition

A class representing the NatGateway data model. Nat Gateway resource.

public class NatGatewayData : Azure.ResourceManager.Network.Models.NetworkTrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.NatGatewayData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.NatGatewayData>
type NatGatewayData = class
    inherit NetworkTrackedResourceData
    interface IJsonModel<NatGatewayData>
    interface IPersistableModel<NatGatewayData>
Public Class NatGatewayData
Inherits NetworkTrackedResourceData
Implements IJsonModel(Of NatGatewayData), IPersistableModel(Of NatGatewayData)
Inheritance
Implements

Constructors

NatGatewayData()

Initializes a new instance of NatGatewayData.

Properties

ETag

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

Id

Resource ID.

(Inherited from NetworkTrackedResourceData)
IdleTimeoutInMinutes

The idle timeout of the nat gateway.

Location

Resource location.

(Inherited from NetworkTrackedResourceData)
Name

Resource name.

(Inherited from NetworkTrackedResourceData)
ProvisioningState

The provisioning state of the NAT gateway resource.

PublicIPAddresses

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

PublicIPPrefixes

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

ResourceGuid

The resource GUID property of the NAT gateway resource.

ResourceType

Resource type.

(Inherited from NetworkTrackedResourceData)
SkuName

Name of Nat Gateway SKU.

Subnets

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

Tags

Resource tags.

(Inherited from NetworkTrackedResourceData)
Zones

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from NetworkTrackedResourceData)

Explicit Interface Implementations

IJsonModel<NatGatewayData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NatGatewayData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<NetworkTrackedResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NetworkTrackedResourceData)
IJsonModel<NetworkTrackedResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NatGatewayData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NatGatewayData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NatGatewayData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<NetworkTrackedResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkTrackedResourceData)

Applies to