Membuka kunci Snapshot yang terkunci dalam mode kepatuhan tetapi masih dalam periode cool-off. Jika Snapshot terkunci dalam mode kepatuhan dan periode cool-off telah berakhir, Snapshot tidak dapat dibuka kuncinya.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:UnlockSnapshot |
update |
*Snapshot
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah Alibaba Cloud terbaru. |
cn-hangzhou |
| SnapshotId |
string |
Yes |
ID snapshot. |
s-9dp2qojdpdfmgfmf**** |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run saja, tanpa menjalankan permintaan aktual. Nilai valid:
|
false |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilai ini, tetapi Anda harus memastikan nilainya unik di antara permintaan yang berbeda. Nilai ClientToken hanya dapat berisi karakter ASCII dan tidak boleh melebihi 64 karakter. Untuk informasi lebih lanjut, lihat Cara memastikan idempotensi. |
5EC38E7D-389F-1925-ABE2-D7925A8F**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| 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 |
|---|---|---|---|
| 403 | InvalidOperation.CoolOffPeriodExpired | The snapshot is locked in compliance mode, and the cool-off period has expired. The current operation is not supported. | |
| 404 | InvalidSnapshotId.NotFound | The specified snapshot is not found | |
| 404 | InvalidSnapshotLock.NotFound | The specified snapshot(s) %s is(are) not locked. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.