otcextensions.sdk.modelartsv2.v2.dataset_sync¶
The ModelArts DatasetSync Class¶
The Config
class inherits from
Resource
.
- class otcextensions.sdk.modelartsv2.v2.dataset_sync.DatasetSync(_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 = '/datasets/%(uri_dataset_id)s/sync-data'¶
The base part of the URI for this resource.
- allow_create = True¶
Allow create operation for this resource.
- allow_fetch = True¶
Allow get operation for this resource.
- add_sample_count¶
Number of added samples.
- create_time¶
Task creation time.
- uri_dataset_id¶
Resource URI Dataset ID.
- dataset_id¶
Dataset ID.
- deleted_sample_count¶
Number of deleted samples.
- duration_time¶
Task running time.
- error_code¶
Error code of a failed API call. For details, see Error Code. This parameter is not included when the API call succeeds.
- error_msg¶
Error message of a failed API call. This parameter is not included when the API call succeeds.
- status¶
Status of a data synchronization task. Possible values are as follows: nQUEUING nSTARTING nRUNNING nFAILED nCOMPLETED nNOT_EXIST
- task_id¶
Synchronization task ID.
- total_sample_count¶
Total number of samples.