Menambahkan kebijakan ke konfigurasi akses.
Deskripsi operasi
This topic provides an example on how to add the system policy AliyunECSFullAccess to the access configuration ac-00jhtfl8thteu6uj****.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:AddPermissionPolicyToAccessConfiguration |
create |
*AccessConfiguration
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
ID direktori. |
d-00fc2p61**** |
| AccessConfigurationId |
string |
Yes |
ID konfigurasi akses. |
ac-00jhtfl8thteu6uj**** |
| PermissionPolicyType |
string |
Yes |
Tipe kebijakan. Nilai valid:
|
System |
| PermissionPolicyName |
string |
Yes |
Nama kebijakan.
|
AliyunECSFullAccess |
| InlinePolicyDocument |
string |
No |
Konfigurasi kebijakan inline. Nilai dapat memiliki panjang hingga 4.096 karakter. Jika Anda menetapkan |
{"Statement": [{"Action": "*","Effect": "Allow","Resource": "*"}],"Version": "1"} |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
B7C6E839-FB65-59BE-B753-003AA8AF7DF7 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "B7C6E839-FB65-59BE-B753-003AA8AF7DF7"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.