Membuat kebijakan Resource Access Management (RAM).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:GenerateRamPolicy |
none |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RequireBasePolicy |
boolean |
No |
Apakah akan membuat kebijakan berdasarkan aturan khusus instans yang sudah ada. Nilai valid:
|
true |
| ActionType |
string |
Yes |
Jenis kebijakan yang ingin Anda buat. Nilai valid:
|
system |
| VaultId |
string |
Yes |
ID penyimpanan cadangan. |
v-0007al3m******7ao |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-********************* |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. The status code 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. If the request was successful, "successful" is returned. If the request failed, an error message is returned. |
successful |
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| PolicyDocument |
string |
The content of the policy. |
{ "Version": "1", "Statement": [ { "Effect": "Deny", "Action": [ "hbr:CreateRestore", "hbr:CreateRestoreJob", "hbr:CreateHanaRestore", "hbr:CreateUniRestorePlan", "hbr:CreateSqlServerRestore" ], "Resource": [ "acs:hbr:*:1178******531:vault/v-000******blx06", "acs:hbr:*:1178******531:vault/v-000******blx06/client/*" ] } ] } |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "successful",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"PolicyDocument": "{ \"Version\": \"1\", \"Statement\": [ { \"Effect\": \"Deny\", \"Action\": [ \"hbr:CreateRestore\", \"hbr:CreateRestoreJob\", \"hbr:CreateHanaRestore\", \"hbr:CreateUniRestorePlan\", \"hbr:CreateSqlServerRestore\" ], \"Resource\": [ \"acs:hbr:*:1178******531:vault/v-000******blx06\", \"acs:hbr:*:1178******531:vault/v-000******blx06/client/*\" ] } ] }",
"Success": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.