Membatalkan task data streaming.
Deskripsi operasi
Hanya didukung oleh CPFS Intelligent Computing Edition versi 2.6.0 atau lebih tinggi. Anda dapat melihat informasi versi pada halaman detail sistem file di konsol.
Hanya mendukung pembatalan task data flow streaming yang berstatus CREATED dan RUNNING.
Task data flow streaming dieksekusi secara asinkron. Anda dapat menggunakan DescribeDataFlowSubTasks untuk memeriksa status eksekusi task tersebut.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:CancelDataFlowSubTask |
update |
*DataFlow
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
ID sistem file. |
bmcpfs-370lx1ev9ss27o0**** |
| DataFlowId |
string |
Yes |
ID dataflow. |
df-194433a5be31**** |
| DataFlowTaskId |
string |
Yes |
ID task dataflow. |
task-38aa8e890f45**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Selama dry run, sistem memeriksa apakah parameter permintaan valid dan apakah sumber daya yang diminta tersedia. Selama dry run, tidak ada task data streaming yang dibuat dan tidak ada biaya yang dikenakan. Nilai yang valid:
|
false |
| ClientToken |
string |
No |
Token client yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan client untuk menghasilkan token, tetapi harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat How do I ensure the idempotence? Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan ID permintaan sebagai client token. ID permintaan mungkin berbeda untuk setiap permintaan. |
123e4567-e89b-12d3-a456-42665544**** |
| DataFlowSubTaskId |
string |
Yes |
ID task data streaming. |
subTaskId-370kyfmyknxcyzw**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalCharacters | The parameter contains illegal characters. | |
| 400 | MissingFileSystemId | FileSystemId is mandatory for this action. | |
| 400 | MissingDataFlowId | DataFlowId is mandatory for this action. | |
| 400 | MissingTaskId | TaskId is mandatory for this action. | |
| 403 | OperationDenied.ConflictOperation | The operation is denied due to a conflict with an ongoing operation. | |
| 403 | OperationDenied.DependencyViolation | The operation is denied due to dependancy violation. | |
| 403 | OperationDenied.DataFlowNotSupported | The operation is not supported. | |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | |
| 404 | InvalidDataFlow.NotFound | The specified data flow does not exist. | |
| 404 | InvalidTaskId.NotFound | The specified task ID does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.