ListAccessConfigurationProvisionings
Queries access configuration provisionings.
Operation description
This topic provides an example of querying the deployment list of the access configuration ac-00ccule7tadaijxc****. The response shows that the access configuration is deployed in two accounts, each being an account in a 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 directory ID. |
d-00fc2p61**** |
| AccessConfigurationId |
string |
No |
The access configuration ID used as a filter condition for the query. |
ac-00ccule7tadaijxc**** |
| TargetType |
string |
No |
The target type used as a filter condition for the query. Valid values:
Note
You must specify both TargetId and TargetType for them to take effect as filter conditions. |
RD-Account |
| TargetId |
string |
No |
The target ID used as a filter condition for the query. Note
You must specify both TargetId and TargetType for them to take effect as filter conditions. |
114240524784**** |
| ProvisioningStatus |
string |
No |
The provisioning status used as a filter condition for the query. Valid values:
|
Provisioned |
| NextToken |
string |
No |
The token used to return the next page of query results. You do not need to specify NextToken when you call this operation for the first time. When you call this operation for the first time, if the total number of returned entries exceeds the value of MaxResults, the returned results are truncated. Only the number of entries specified by MaxResults is returned, the IsTruncated parameter is set to true, and a NextToken is returned. You can use the returned NextToken to call this operation again to query the truncated entries while keeping other request parameters unchanged. You can repeat this process until IsTruncated is set to false, which indicates that all entries are returned. |
K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4**** |
| MaxResults |
integer |
No |
The maximum number of entries to return on each page. Valid values: 1 to 20. Default value: 10. |
10 |
| OriginTargetId |
string |
No |
The Alibaba Cloud account ID of the provisioning target. |
114240524784**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| NextToken |
string |
The token used to return the next page of query results. Note
This parameter is returned only when IsTruncated is set to true. |
K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4**** |
| RequestId |
string |
The request ID. |
6BA1BDF1-D845-5D2C-B742-74BE2970E4C1 |
| AccessConfigurationProvisionings |
array<object> |
The list of access configuration provisionings. |
|
|
object |
The list of access configuration provisionings. |
||
| Status |
string |
The provisioning status. Valid values:
|
Provisioned |
| SAMLProviderName |
string |
The name of the SAML IdP created in the account in a resource directory. |
AliyunReservedSSO-d-00fc2p61**** |
| TargetPath |
string |
The path ID of the target in the resource directory. |
rd-3G****/r-Wm****/fd-pjM8oy****/101522521960**** |
| CreateTime |
string |
The time when the first provisioning succeeded. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format. |
2021-07-26T08:54:14Z |
| TargetName |
string |
The name of the target. |
SharedServices_5009**** |
| TargetId |
string |
The target ID. If the target type is RD-Account, this parameter indicates the UID of the account in a resource directory. |
101522521960**** |
| RAMRoleName |
string |
The name of the RAM role created in the account in a resource directory. |
AliyunReservedSSO-VPC-Admin |
| AccessConfigurationName |
string |
The name of the access configuration. |
VPC-Admin |
| TargetPathName |
string |
The path name of the target in the resource directory. |
rd-3G****/root/Core/SharedServices_5009**** |
| TargetType |
string |
The target type. Valid values:
|
RD-Account |
| UpdateTime |
string |
The time when the latest provisioning succeeded. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format. |
2021-07-26T08:54:18Z |
| RAMPolicyNames |
array |
The Policy Name of the custom policy created in the account in a resource directory. |
|
|
string |
The Policy Name of the custom policy created in the account in a resource directory. Note
This parameter is returned only when the access configuration has a built-in policy. |
AliyunReservedSSO-VPC-Admin-InlinePolicy |
|
| AccessConfigurationId |
string |
The access configuration ID. |
ac-00ccule7tadaijxc**** |
| OriginTargetId |
string |
The Alibaba Cloud account ID of the provisioning target. |
114240524784**** |
| MaxResults |
integer |
The maximum number of entries returned on each page. |
10 |
| IsTruncated |
boolean |
Indicates whether the returned results are truncated. Valid values:
|
false |
| TotalCounts |
integer |
The total number of entries that meet the filter conditions specified in the request parameters. |
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****",
"OriginTargetId": "114240524784****"
}
],
"MaxResults": 10,
"IsTruncated": false,
"TotalCounts": 2
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.