Mengkueri daftar izin untuk peran database.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeEncryptionDBRolePrivilege |
get |
*DBCluster
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID Kluster. |
pc-wz9fb5nn44u1d**** |
| RolePrivilegeNameList |
string |
No |
Nama izin peran yang akan dikueri. Untuk mengkueri beberapa izin pada satu pengatur waktu, masukkan beberapa nama izin lalu pisahkan dengan koma (,). Catatan
|
test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
D0CEC6AC-7760-409A-A0D5-E6CD86****** |
| Message |
string |
The response message. Catatan
If the request is successful, `Successful` is returned. If the request fails, an error message, such as an error code, is returned. |
Successful |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
object |
The result set. |
|
| RolePrivilegeList |
array<object> |
A list of role access policies. |
|
|
object |
A role access policy. |
||
| RolePrivilegeName |
string |
The name of the role permission. |
test |
| Negation |
string |
Other users. |
test |
| Encryption |
string |
The regular users. |
[alton01] |
| NotEncryption |
string |
The privileged users. |
[alton] |
| DBClusterId |
string |
The cluster ID. |
pc-**************** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******",
"Message": "Successful",
"Success": true,
"Data": {
"RolePrivilegeList": [
{
"RolePrivilegeName": "test",
"Negation": "test",
"Encryption": "[alton01]",
"NotEncryption": "[alton]"
}
]
},
"DBClusterId": "pc-****************"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.