otcextensions.sdk.dcaas.v2.endpoint_group¶
The Endpoint Group Class¶
The DirectConnectEndpointGroup
class inherits from
Resource
.
- class otcextensions.sdk.dcaas.v2.endpoint_group.DirectConnectEndpointGroup(_synchronized=False, connection=None, **attrs)¶
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._connection
in Resource code should protect itself with a check for None.
- base_path: str = '/dcaas/dc-endpoint-groups'¶
The base part of the URI for this resource.
- resource_key: ty.Optional[str] = 'dc_endpoint_group'¶
Singular form of key for resource.
- resources_key: ty.Optional[str] = 'dc_endpoint_groups'¶
Plural form of key for 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_commit = True¶
Allow update operation for this resource.
- allow_delete = True¶
Allow delete operation for this resource.
- id¶
The ID of the Direct Connect Endpoint Group.
- name: ty.Union[Body, URI]¶
The name of the Direct Connect Endpoint Group.
- endpoints¶
The list of the endpoints in a Direct Connect Endpoint Group
- type¶
The type of the Direct Connect Endpoints. The value can only be cidr.
- project_id¶
The project ID.