Menyediakan konfigurasi akses untuk akun di direktori sumber daya Anda.
Deskripsi operasi
When you call this operation, an asynchronous task is automatically created. You can call the GetTask operation to query the progress of the task based on the value of the TaskId response parameter.
This topic provides an example on how to provision the access configuration ac-00jhtfl8thteu6uj**** for the account 114240524784**** in your resource directory.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:ProvisionAccessConfiguration |
update |
*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**** |
| TargetType |
string |
Yes |
Tipe objek tugas. Tetapkan nilai ke RD-Account, yang menentukan akun di direktori sumber daya. |
RD-Account |
| TargetId |
string |
Yes |
ID objek tugas. |
114240524784**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned results. |
||
| Tasks |
array<object> |
The task information. |
|
|
object |
|||
| Status |
string |
The task status. Valid values:
|
InProgress |
| TaskId |
string |
The task ID. |
t-shqlhd8uvt280rtm**** |
| TargetPath |
string |
The path ID of the task object in the resource directory. |
rd-3G****/r-Wm****/114240524784**** |
| TargetName |
string |
The name of the task object. |
dev-test |
| TargetId |
string |
The ID of the task object. |
114240524784**** |
| AccessConfigurationName |
string |
The name of the access configuration. |
ECS-Admin |
| TargetPathName |
string |
The path name of the task object in the resource directory. |
rd-3G****/root/dev-test |
| TaskType |
string |
The task type. The value is fixed as ProvisionAccessConfiguration, which indicates that an access configuration is provisioned. |
ProvisionAccessConfiguration |
| TargetType |
string |
The type of the task object. The value is fixed as RD-Account, which indicates the accounts in the resource directory. |
RD-Account |
| AccessConfigurationId |
string |
The ID of the access configuration. |
ac-00jhtfl8thteu6uj**** |
| RequestId |
string |
The request ID. |
DFDC16B2-4509-5FA6-9FA5-3CD35E4292FB |
Contoh
Respons sukses
JSONformat
{
"Tasks": [
{
"Status": "InProgress",
"TaskId": "t-shqlhd8uvt280rtm****",
"TargetPath": "rd-3G****/r-Wm****/114240524784****",
"TargetName": "dev-test",
"TargetId": "114240524784****",
"AccessConfigurationName": "ECS-Admin",
"TargetPathName": "rd-3G****/root/dev-test",
"TaskType": "ProvisionAccessConfiguration",
"TargetType": "RD-Account",
"AccessConfigurationId": "ac-00jhtfl8thteu6uj****"
}
],
"RequestId": "DFDC16B2-4509-5FA6-9FA5-3CD35E4292FB"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.