otcextensions.sdk.dis.v2.dump_task¶
The DIS DumpTask Class¶
The DumpTask
class inherits from
Resource
.
- class otcextensions.sdk.dis.v2.dump_task.DumpTask(_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 = '/streams/%(uri_stream_name)s/transfer-tasks'¶
The base part of the URI for this resource.
- resources_key: ty.Optional[str] = 'tasks'¶
Plural form of key for resource.
- allow_create = True¶
Allow create operation for this resource.
- allow_list = True¶
Allow list 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_patch = True¶
Allow patch operation for this resource.
- uri_stream_name¶
Name of the stream to which the dump task belongs.
- created_at¶
Time when the dump task is created.
- destination_type¶
Dump destination. Possible values: nOBS: Data is dumped to OBS.
- exception_strategy¶
Exception Strategy
- last_transfer_timestamp¶
Latest dump time of the dump task.
- obs_destination_descriptor¶
Parameter list of OBS to which data in the DIS stream will be dumped.
- obs_destination_description¶
Parameter list of OBS to which data in the DIS stream will be dumped.
- partitions¶
List of partition dump details.
- status¶
Dump task status. Possible values: nERROR: An error occurs. nSTARTING: The dump task is being started. nPAUSED: The dump task has been stopped. nRUNNING: The dump task is running. nDELETE: The dump task has been deleted. nABNORMAL: The dump task is abnormal.
- stream_id¶
ID of the stream to which the dump task belongs.
- stream_name¶
Name of the stream to which the dump task belongs.
- task_id¶
ID of the dump task.
- task_name¶
Name of the dump task.