NatGateway Class

Nat Gateway resource.

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

Inheritance
azure.mgmt.network.v2020_04_01.models._models_py3.Resource
NatGateway

Constructor

NatGateway(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, sku: typing.Union[_ForwardRef('NatGatewaySku'), NoneType] = None, zones: typing.Union[typing.List[str], NoneType] = None, idle_timeout_in_minutes: typing.Union[int, NoneType] = None, public_ip_addresses: typing.Union[typing.List[_ForwardRef('SubResource')], NoneType] = None, public_ip_prefixes: typing.Union[typing.List[_ForwardRef('SubResource')], NoneType] = None, **kwargs)

Parameters

id
str

Resource ID.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

sku
NatGatewaySku

The nat gateway SKU.

zones
list[str]

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

idle_timeout_in_minutes
int

The idle timeout of the nat gateway.

public_ip_addresses
list[SubResource]

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

public_ip_prefixes
list[SubResource]

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

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

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

subnets
list[SubResource]

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
str or ProvisioningState

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