Share via


NatGateway Class

Nat Gateway resource.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

NatGateway(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, sku: _models.NatGatewaySku | None = None, zones: List[str] | None = None, idle_timeout_in_minutes: int | None = None, public_ip_addresses: List[_models.SubResource] | None = None, public_ip_prefixes: List[_models.SubResource] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

Default value: None
location
str

Resource location.

Default value: None
tags

Resource tags.

Default value: None
sku

The nat gateway SKU.

Default value: None
zones

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

Default value: None
idle_timeout_in_minutes
int

The idle timeout of the nat gateway.

Default value: None
public_ip_addresses

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

Default value: None
public_ip_prefixes

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

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

Resource tags.

sku

The nat gateway SKU.

zones

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

etag
str

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

idle_timeout_in_minutes
int

The idle timeout of the nat gateway.

public_ip_addresses

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

public_ip_prefixes

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

subnets

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

resource_guid
str

The resource GUID property of the NAT gateway resource.

provisioning_state

The provisioning state of the NAT gateway resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".