Share via


NatGateway Class

Definition

Nat Gateway resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.NatGatewayTypeConverter))]
public class NatGateway : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.INatGateway, Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.NatGatewayTypeConverter))>]
type NatGateway = class
    interface INatGateway
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class NatGateway
Implements INatGateway, IValidates
Inheritance
NatGateway
Attributes
Implements

Constructors

NatGateway()

Creates an new NatGateway instance.

Properties

Etag

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

Id

Resource ID.

IdleTimeoutInMinute

The idle timeout of the nat gateway.

Location

Resource location.

Name

Resource name.

ProvisioningState

The provisioning state of the NAT gateway resource.

PublicIPAddress

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

PublicIPPrefix

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

ResourceGuid

The resource GUID property of the NAT gateway resource.

SkuName

Name of Nat Gateway SKU.

Subnet

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

Tag

Resource tags.

Type

Resource type.

Zone

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NatGateway.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NatGateway.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.INatGateway.

FromJsonString(String)

Creates a new instance of NatGateway, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NatGateway into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to