Queries the access configurations that are provisioned.
Operation description
This topic provides an example on how to query the accounts for which the access permission ac-00ccule7tadaijxc**** is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:ListAccessConfigurationProvisionings |
list |
AccessConfiguration
AccessConfiguration
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The ID of the directory. |
d-00fc2p61**** |
| AccessConfigurationId |
string |
No |
The ID of the access configuration. The ID can be used to filter access permissions. |
ac-00ccule7tadaijxc**** |
| TargetType |
string |
No |
The type of the task object. The type can be used to filter access permissions. Set the value to RD-Account, which specifies the accounts in the resource directory. Note
You can use the type to filter access permissions only if you specify both |
RD-Account |
| TargetId |
string |
No |
The ID of the task object. The ID can be used to filter access permissions. Note
You can use the type to filter access permissions only if you specify both |
114240524784**** |
| ProvisioningStatus |
string |
No |
The status of the access configuration. The value can be used to filter accounts. Valid values:
|
Provisioned |
| NextToken |
string |
No |
The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. If this is your first time to call this operation, you do not need to specify the When you call this operation for the first time, if the total number of entries to return exceeds the value of |
K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4**** |
| MaxResults |
integer |
No |
The maximum number of entries per page. Valid values: 1 to 20. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned results. |
||
| NextToken |
string |
The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. Note
This parameter is returned only when the value of |
K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4**** |
| RequestId |
string |
The request ID. |
6BA1BDF1-D845-5D2C-B742-74BE2970E4C1 |
| AccessConfigurationProvisionings |
array<object> |
The accounts for which the access configuration is provisioned. |
|
|
object |
|||
| Status |
string |
The status of the access configuration. Valid values:
|
Provisioned |
| SAMLProviderName |
string |
The name of the Security Assertion Markup Language (SAML) identity provider (IdP) that is created within an account in the resource directory. |
AliyunReservedSSO-d-00fc2p61**** |
| TargetPath |
string |
The path ID of the task object in the resource directory. |
rd-3G****/r-Wm****/fd-pjM8oy****/101522521960**** |
| CreateTime |
string |
The first time when the access configuration was provisioned. |
2021-07-26T08:54:14Z |
| TargetName |
string |
The name of the task object. |
SharedServices_5009**** |
| TargetId |
string |
The ID of the task object. If the value of TargetType is |
101522521960**** |
| RAMRoleName |
string |
The name of the RAM role that is created for an account in the resource directory. |
AliyunReservedSSO-VPC-Admin |
| AccessConfigurationName |
string |
The name of the access configuration. |
VPC-Admin |
| TargetPathName |
string |
The path name of the task object in the resource directory. |
rd-3G****/root/Core/SharedServices_5009**** |
| TargetType |
string |
The type of the task object. Set the value to RD-Account, which specifies the accounts in the resource directory. |
RD-Account |
| UpdateTime |
string |
The last time when the access configuration was provisioned. |
2021-07-26T08:54:18Z |
| RAMPolicyNames |
array |
The name of the custom policy that is created for an account in the resource directory. |
|
|
string |
The name of the custom policy that is created for an account in the resource directory. Note
This parameter is returned only if an inline policy is created for the access configuration. |
AliyunReservedSSO-VPC-Admin-InlinePolicy |
|
| AccessConfigurationId |
string |
The ID of the access configuration. |
ac-00ccule7tadaijxc**** |
| MaxResults |
integer |
The maximum number of entries returned per page. |
10 |
| IsTruncated |
boolean |
Indicates whether the queried entries are truncated. Valid values:
|
false |
| TotalCounts |
integer |
The total number of entries returned. |
2 |
Examples
Success response
JSON format
{
"NextToken": "K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****",
"RequestId": "6BA1BDF1-D845-5D2C-B742-74BE2970E4C1",
"AccessConfigurationProvisionings": [
{
"Status": "Provisioned",
"SAMLProviderName": "AliyunReservedSSO-d-00fc2p61****",
"TargetPath": "rd-3G****/r-Wm****/fd-pjM8oy****/101522521960****",
"CreateTime": "2021-07-26T08:54:14Z",
"TargetName": "SharedServices_5009****",
"TargetId": "101522521960****",
"RAMRoleName": "AliyunReservedSSO-VPC-Admin",
"AccessConfigurationName": "VPC-Admin",
"TargetPathName": "rd-3G****/root/Core/SharedServices_5009****",
"TargetType": "RD-Account",
"UpdateTime": "2021-07-26T08:54:18Z",
"RAMPolicyNames": [
"AliyunReservedSSO-VPC-Admin-InlinePolicy"
],
"AccessConfigurationId": "ac-00ccule7tadaijxc****"
}
],
"MaxResults": 10,
"IsTruncated": false,
"TotalCounts": 2
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.