Menghentikan Tugas asinkron.
Deskripsi operasi
StatefulAsyncInvocation represents asynchronous tasks. Asynchronous tasks (StatefulAsyncInvocation) allow you to manage the states of asynchronous invocations. The asynchronous task feature is more suitable for task scenarios.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:StopStatefulAsyncInvocation |
update |
*All Resource
|
None | None |
Sintaks permintaan
PUT /2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations/{invocationId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| serviceName |
string |
Yes |
Nama layanan tempat Tugas asinkron berada. |
demo-service |
| functionName |
string |
Yes |
Nama fungsi tempat Tugas asinkron berada. |
demo-function |
| invocationId |
string |
Yes |
ID instans yang digunakan untuk menjalankan Tugas asinkron. |
demo-id |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| qualifier |
string |
No |
Versi atau alias layanan tempat Tugas asinkron berada. |
LATEST |
| X-Fc-Account-Id |
string |
No |
ID akun Alibaba Cloud Anda. |
188077086902**** |
| X-Fc-Date |
string |
No |
Pengatur waktu saat fungsi dipanggil. Nilai dalam format EEE,d MMM yyyy HH:mm:ss GMT. |
Sat, 14 Jul 2017 07:02:38 GMT |
| X-Fc-Trace-Id |
string |
No |
ID jejak permintaan untuk API Function Compute. |
asdf**** |
Elemen respons
|
Element |
Type |
Description |
Example |
Tidak ada yang didefinisikan.
Contoh
Respons sukses
JSONformat
{}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.