Memberikan izin ke peran.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:AddEncryptionDBRolePrivilege |
create |
*DBCluster
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-****************** |
| RolePrivilegeName |
string |
No |
Nama izin berbasis peran. |
test |
| RolePrivilegeConfig |
string |
No |
Kebijakan akses untuk peran. |
{"notEncryption":["alton"],"encryption":["alton01"]} |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
6A2EE5B4-CC9F-46E1-A747-E43BC9****** |
| DBClusterId |
string |
The cluster ID. Catatan
You can call the DescribeDBClusters operation to query information about all clusters in a destination region, including cluster IDs. |
pc-bp10gr51qasnl**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6A2EE5B4-CC9F-46E1-A747-E43BC9******",
"DBClusterId": "pc-bp10gr51qasnl****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.