Menghapus kelompok Snapshot konsisten.
Deskripsi operasi
Jika Snapshot disk dalam kelompok Snapshot konsisten telah digunakan untuk membuat image kustom, Snapshot disk terkait tidak dihapus saat kelompok Snapshot konsisten dihapus. Untuk menghapus Snapshot disk terkait, hapus terlebih dahulu image kustom (DeleteImage), lalu hapus Snapshot disk terkait (DeleteSnapshot).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DeleteSnapshotGroup |
delete |
*SnapshotGroup
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah kelompok Snapshot konsisten. Anda dapat memanggil DescribeRegions untuk mengkueri daftar Wilayah terbaru. |
cn-hangzhou |
| SnapshotGroupId |
string |
Yes |
ID kelompok Snapshot konsisten. Anda dapat memanggil DescribeSnapshotGroups untuk mengkueri ID kelompok Snapshot konsisten. |
ssg-j6c9lpuyxo2uxxny**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
6EDE885A-FDC1-4FAE-BC44-6EACAEA6CC6E |
| OperationProgressSet |
object |
||
| OperationProgress |
array<object> |
Kumpulan informasi status operasi saat kelompok Snapshot konsisten dihapus. |
|
|
array<object> |
|||
| ErrorMsg |
string |
Pesan kesalahan. Nilai kosong dikembalikan jika penghapusan berhasil. Untuk informasi tentang kode kesalahan dan pesan kesalahan, lihat Pusat kesalahan. |
testErrorMsg |
| ErrorCode |
string |
Kode kesalahan. Nilai kosong dikembalikan jika penghapusan berhasil. Untuk informasi tentang kode kesalahan dan pesan kesalahan, lihat Pusat kesalahan. |
400 |
| OperationStatus |
string |
Menunjukkan apakah operasi berhasil. Jika operasi berhasil, Success dikembalikan. Jika operasi gagal, ErrorCode dan ErrorMsg dikembalikan. |
Success |
| RelatedItemSet |
object |
||
| RelatedItem |
array<object> |
Informasi sumber daya. |
|
|
object |
|||
| Name |
string |
Nama sumber daya. |
SnapshotId |
| Value |
string |
ID sumber daya. |
s-j6c9lpuyxo2uxxnx**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6EDE885A-FDC1-4FAE-BC44-6EACAEA6CC6E",
"OperationProgressSet": {
"OperationProgress": [
{
"ErrorMsg": "testErrorMsg",
"ErrorCode": "400",
"OperationStatus": "Success",
"RelatedItemSet": {
"RelatedItem": [
{
"Name": "SnapshotId",
"Value": "s-j6c9lpuyxo2uxxnx****"
}
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to an internal error and you may retry later or contact support with the request ID. | |
| 403 | SnapshotCreatedImage | The snapshot has been used to create user defined image(s). | Snapshot tidak dapat dihapus karena telah digunakan untuk membuat gambar kustom. Hapus gambar kustom terlebih dahulu dengan memanggil operasi DeleteImage, lalu hapus snapshot. |
| 403 | Operation.Forbidden | The operation is not permitted. | Pengguna RAM saat ini tidak memiliki izin untuk melakukan operasi ini. |
| 403 | SnapshotCreatedDisk | The snapshot that you are trying to delete is in use by one or more Disks. | Snapshot yang Anda coba hapus telah digunakan untuk membuat satu atau beberapa disk. |
| 403 | InvalidOperation.ResourceManagedByCloudProduct | The current operation is not supported because the resource is managed by a cloud product. Please contact the relevant cloud product to confirm the reason. | Operasi ini tidak didukung karena resource dikelola oleh layanan cloud. Hubungi layanan cloud terkait untuk mengonfirmasi alasannya. |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | Informasi wilayah tidak valid. |
| 404 | InvalidSnapshotGroup.NotFound | The SnapshotGroupId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.