otcextensions.sdk.natv3.v3.gateway¶
The Private NAT Gateway Class¶
The PrivateNatGateway class inherits from
Resource.
- class otcextensions.sdk.natv3.v3.gateway.PrivateNatGateway¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()andexisting().connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connectionin Resource code should protect itself with a check for None.
- resources_key: str | None = 'gateways'¶
Plural form of key for resource.
- resource_key: str | None = 'gateway'¶
Singular form of key for resource.
- base_path: str = '/private-nat/gateways'¶
The base part of the URI for this resource.
- allow_list = True¶
Allow list operation for this resource.
- allow_fetch = True¶
Allow get operation for this resource.
- allow_create = True¶
Allow create operation for this resource.
- allow_delete = True¶
Allow delete operation for this resource.
- allow_commit = True¶
Allow update operation for this resource.
- created_at¶
Specifies the time when the private NAT gateway was created. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.
- description¶
Provides supplementary information about the private NAT gateway. The description can contain up to 255 characters. Cannot contain angle brackets (<>).
- downlink_vpcs¶
Specifies the VPC where the private NAT gateway works. Each item contains: * vpc_id: Specifies the ID of the VPC. * virsubnet_id: Specifies the ID of the subnet. * ngport_ip_address: Specifies the private IP address of the gateway.
- enterprise_project_id¶
Specifies the ID of the enterprise project that is associated with the private NAT gateway when the private NAT gateway is created.
- id: str¶
Specifies the private NAT gateway ID.
- name: str¶
Specifies the private NAT gateway name.
- project_id¶
Specifies the project ID.
- rule_max¶
Specifies the maximum number of rules. Value range: 0–65535.
- spec¶
Specifies the private NAT gateway specifications. Enumeration values: * Small (default) * Medium * Large * Extra-large
- status¶
Specifies the private NAT gateway status. Enumeration values: * ACTIVE: The private NAT gateway is running properly. * FROZEN: The private NAT gateway is frozen.
- tags¶
Specifies the list of tags. Each tag contains: * key: Specifies the tag key. Up to 128 Unicode characters. * value: Specifies the tag value. Up to 255 Unicode characters.
- transit_ip_pool_size_max¶
Specifies the maximum number of transit IP addresses in a transit IP address pool. Value range: 1–100.
- updated_at¶
Specifies the time when the private NAT gateway was updated. It is a UTC time in yyyy-mm-ddThh:mm:ssZ format.