Mengubah pengaturan perlindungan penghapusan untuk sebuah stack.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ros:SetDeletionProtection |
update |
*stack
|
None | None |
Sintaks permintaan
POST /V2/SetDeletionProtection HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| StackId |
string |
Yes |
ID stack. Atribut perlindungan penghapusan tumpukan bersarang ditentukan oleh tumpukan akar dan tetap sama dengan tumpukan akar. |
4a6c9851-3b0f-4f5f-b4ca-a14bf691**** |
| DeletionProtection |
string |
Yes |
Apakah perlindungan penghapusan stack diaktifkan. Nilai valid:
Catatan
Penghapusan tumpukan bersarang sama dengan tumpukan akar. |
Enabled |
| RegionId |
string |
Yes |
ID Wilayah stack. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar Wilayah terbaru. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
B288A0BE-D927-4888-B0F7-B35EF84B6E6F |
Contoh
Respons sukses
JSONformat
{
"RequestId": "B288A0BE-D927-4888-B0F7-B35EF84B6E6F"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.