Querying a Dump Task List
Initialize a DIS SDK client instance as instructed in Initializing a DIS SDK Client Instance.
Configure the following parameter:
1
|
streamname = "XXX" #Name of an existing stream. |
Run the list_dump_task_sample.py file to call list_dump_task_test. If response code 200 is returned, the dump list is displayed.
The following is an example response:
1 2 |
200 {'total_number': 1, 'tasks': [{'last_transfer_timestamp': 1538018769241, 'state': 'RUNNING', 'create_time': 1537949648144, 'destination_type': 'OBS', 'task_name': 'task_test1'}]} |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot