otcextensions.sdk.swr.v2.domain¶
The Domain Class¶
The domain
class inherits from
Resource
.
- class otcextensions.sdk.swr.v2.domain.Domain(_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 = 'manage/namespaces/%(namespace)s/repositories/%(repository)s/access-domains'¶
The base part of the URI for this resource.
- allow_create = True¶
Allow create operation for this resource.
- allow_delete = True¶
Allow delete operation for this resource.
- allow_list = True¶
Allow list operation for this resource.
- allow_commit = True¶
Allow update operation for this resource.
- allow_fetch = True¶
Allow get operation for this resource.
- commit_method = 'PATCH'¶
Method for committing a resource (PUT, PATCH, POST)
- namespace¶
Organization namespace Type:str
- repository¶
Image repository name Type:str
- access_domain¶
Name of the account used for image sharing Type:str
- permit¶
Currently, only the read permission is supported Type:str
- deadline¶
Valid until (UTC). If the sharing is permanent, the value is forever. Otherwise, the sharing is valid until 00:00:00 of the next day Type:str
- description¶
Description Type:str
- creator_id¶
Creator ID Type:str
- creator_name¶
Name of the creator Type:str
- created_at¶
Time when an image is created. It is the UTC standard time Type:str
- updated_at¶
Time when an image is updated. It is the UTC standard time Type:int
- status¶
Status Type:bool
- exist¶
Whether account exist Type:bool