Deleting a Dump Task
Initialize a DIS SDK client instance named dic. For details, see Initializing a DIS SDK Client Instance.
You can use the DIS SDK to delete a specified dump task.
1 2 3 4 5 6 7 |
DeleteTransferTaskRequest request = new DeleteTransferTaskRequest(); //Configure the name of the stream to which the dump task belongs. request.setStreamName(streamName); //Configure the name of the dump task to be deleted. request.setTransferTaskName(taskName); |
After configuring DeleteTransferTaskRequest, you can call the deleteTransferTask method to create the dump task.
1
|
dic.deleteTransferTask(request); |
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