ListAccessConfigurationProvisionings

Updated at:
Copy as MD

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cloudsso:ListAccessConfigurationProvisionings

list

AccessConfiguration

acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/{#AccessConfigurationId}

AccessConfiguration

acs:cloudsso:{#regionId}:{#accountId}:directory/{#DirectoryId}/access-configuration/*

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:

  • RD-Account: The target is an account in a resource directory.

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: The provisioning succeeded.

  • ReprovisionRequired: Reprovisioning is required.

  • DeprovisionFailed: The provisioning failed.

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: The provisioning succeeded.

  • ReprovisionRequired: Reprovisioning is required.

  • DeprovisionFailed: The provisioning failed.

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: The target is an account in a resource directory.

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:

  • true: The results are truncated.

  • false: The results are not truncated.

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.