Membatalkan tugas streaming aliran data.
Deskripsi operasi
Hanya CPFS for Lingjun versi 2.6.0 dan yang lebih baru yang mendukung operasi ini. Anda dapat melihat informasi versi pada halaman detail sistem file di Konsol.
Anda dapat membatalkan tugas streaming aliran data hanya ketika tugas berada dalam status CREATED atau RUNNING.
Tugas streaming aliran data dieksekusi secara asinkron. Anda dapat memanggil DescribeDataFlowSubTasks untuk mengkueri status eksekusi tugas streaming.
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 aliran data. |
df-194433a5be31**** |
| DataFlowTaskId |
string |
Yes |
ID tugas aliran data. |
task-38aa8e890f45**** |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run untuk permintaan ini. Dry run memeriksa validitas parameter dan ketersediaan resource tanpa benar-benar membuat instans atau membebankan biaya. Nilai valid:
|
false |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi pastikan token tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi lebih lanjut, lihat Cara memastikan idempotensi. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dapat berbeda untuk setiap permintaan API. |
123e4567-e89b-12d3-a456-42665544**** |
| DataFlowSubTaskId |
string |
Yes |
ID tugas streaming aliran data. |
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.