Mengubah status tugas pengiriman log pengatur waktu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:UpdateSiteDeliveryTaskStatus |
none |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TaskName |
string |
Yes |
Nama tugas pengiriman. |
cdn-test-task |
| SiteId |
integer |
No |
ID situs web. |
123456**** |
| Method |
string |
Yes |
Apakah akan mengaktifkan tugas pengiriman. |
online |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
34DCBC8A-****-****-****-6DAA11D7DDBD |
| TaskName |
string |
The name of the delivery task. |
cdn-test-task |
| Status |
string |
The status of the delivery task. Valid values:
|
online |
Contoh
Respons sukses
JSONformat
{
"RequestId": "34DCBC8A-****-****-****-6DAA11D7DDBD",
"TaskName": "cdn-test-task",
"Status": "online"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.