otcextensions.sdk.natv3.v3.dnat

The Private DNAT Rule Class

The PrivateDnat class inherits from Resource.

class otcextensions.sdk.natv3.v3.dnat.PrivateDnat

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • 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._connection in Resource code should protect itself with a check for None.

resources_key: str | None = 'dnat_rules'

Plural form of key for resource.

resource_key: str | None = 'dnat_rule'

Singular form of key for resource.

base_path: str = '/private-nat/dnat-rules'

The base part of the URI for this resource.

allow_create = True

Allow create operation for this resource.

allow_commit = True

Allow update operation for this resource.

allow_delete = True

Allow delete operation for this resource.

allow_fetch = True

Allow get operation for this resource.

allow_list = True

Allow list operation for this resource.

id: str

Specifies the DNAT rule ID.

project_id

Specifies the project ID.

description

Provides supplementary information about the DNAT rule.

transit_ip_id

Specifies the ID of the transit IP address.

gateway_id

Specifies the private NAT gateway ID.

network_interface_id

Specifies the network interface ID.

type

Specifies the backend resource type of the DNAT rule. COMPUTE, VIP, ELB, ELBv3, CUSTOMIZE

protocol

Specifies the protocol type. tcp, udp, any

private_ip_address

Specifies the port IP address that the NAT gateway uses.

internal_service_port

Specifies the backend resource port number.

transit_service_port

Specifies the transit IP port number.

enterprise_project_id

Specifies the enterprise project ID associated with the DNAT rule.

status

Specifies the DNAT rule status. ACTIVE, FROZEN

created_at

Specifies when the DNAT rule was created.

updated_at

Specifies when the DNAT rule was updated.