otcextensions.sdk.vpecp.v1.endpoint

The VPCEP Endpoint Class

The Endpoint class inherits from Resource.

class otcextensions.sdk.vpcep.v1.endpoint.Endpoint(_synchronized=False, connection=None, **attrs)

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.

base_path: str = '/vpc-endpoints'

The base part of the URI for this resource.

resources_key: ty.Optional[str] = 'endpoints'

Plural form of key for resource.

resource_key: ty.Optional[str] = None

Singular form of key for resource.

allow_create = True

Allow create operation for this resource.

allow_fetch = True

Allow get operation for this resource.

allow_delete = True

Allow delete operation for this resource.

allow_list = True

Allow list operation for this resource.

active_status

Domain status.

created_at

Creation time of the VPC endpoint.

description

Description of the VPC endpoint.

dns_names

Domain name for accessing the associated VPC endpoint service.

endpoint_pool_id

ID of the cluster associated with the VPC endpoint.

endpoint_service_id

ID of the VPC endpoint service.

endpoint_service_name

Name of the VPC endpoint service.

id

VPC endpoint ID.

ip

IP address for accessing the associated VPC endpoint service.

is_dns_enabled

Whether to create a private domain name.

is_enabled

Whether the VPC endpoint is enabled.

is_whitelist_enabled

Whether access control is enabled.

marker_id

Packet ID of the VPC endpoint.

network_id

Specifies the ID of the network in the VPC/Router.

project_id

Project ID.

route_tables

IDs of route tables.

router_id

ID of the VPC/Router where the VPC endpoint is to be created.

service_type

Type of the VPC endpoint service that is associated with the VPC endpoint.

specification_name

Specifies the name of the VPC endpoint specifications.

status

Specifies the connection status of the VPC endpoint.

tags

Lists the resource tags.

updated_at

Update time of the VPC endpoint.

whitelist

Whitelist for controlling access to the VPC endpoint.

classmethod existing(connection=None, **kwargs)

Create an instance of an existing remote resource.

When creating the instance set the _synchronized parameter of Resource to True to indicate that it represents the state of an existing server-side resource. As such, all attributes passed in **kwargs are considered “clean”, such that an immediate update() call would not generate a body of attributes to be modified on the server.

Parameters:

kwargs (dict) – Each of the named arguments will be set as attributes on the resulting Resource object.