Menghapus kebijakan snapshot otomatis. Jika kebijakan snapshot otomatis target telah diterapkan ke disk, disk tidak akan lagi menjalankan kebijakan tersebut setelah kebijakan snapshot otomatis dihapus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DeleteAutoSnapshotPolicy |
delete |
*AutoSnapshotPolicy
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| regionId |
string |
Yes |
ID wilayah tempat snapshot otomatis berada. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah Alibaba Cloud terbaru. |
cn-hangzhou |
| autoSnapshotPolicyId |
string |
Yes |
ID kebijakan snapshot otomatis. Anda dapat memanggil DescribeAutoSnapshotPolicyEx untuk mengkueri kebijakan snapshot otomatis yang tersedia. |
sp-bp14yziiuvu3s6jn**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Respons error
JSONformat
{
"RequestId":"F3CD6886-D8D0-4FEE-B93E-1B73239673DE"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ParameterInvalid | The specified automatic snapshot policy does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.