Menonaktifkan aturan otorisasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:DisableRule |
update |
*Semua sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans bastion host. Catatan
Anda dapat memanggil operasi DescribeInstances untuk mengkueri ID instans. |
bastionhost-cn-78v1gh**** |
| RegionId |
string |
No |
ID wilayah bastion host. Catatan
Untuk informasi mengenai pemetaan antara ID wilayah dan nama wilayah, lihat Wilayah dan zona. |
cn-hangzhou |
| RuleId |
string |
Yes |
ID aturan otorisasi yang ingin Anda nonaktifkan. Catatan
Anda dapat memanggil operasi ListRules untuk mengkueri ID aturan. |
1 |
| ProjectId |
integer |
No |
ID proyek. |
3 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan yang dihasilkan oleh Alibaba Cloud untuk permintaan tersebut. |
98DBE5C2-7D7A-5393-9E5A-71074336D33B |
Contoh
Respons sukses
JSONformat
{
"RequestId": "98DBE5C2-7D7A-5393-9E5A-71074336D33B"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The argument is invalid. | |
| 500 | InternalError | An unknown error occurred. | |
| 404 | RuleNotFound | The rule is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.