All Products
Search
Document Center

Service Catalog:ListProvisionedProductPlans

Last Updated:Jul 25, 2025

Queries a list of plans. You can query plans from the end user dimension or from the review dimension.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
servicecatalog:ListProvisionedProductPlanslist
*All Resources
*
  • servicecatalog:UserLevel
  • servicecatalog:ApprovalActor
none

Request parameters

ParameterTypeRequiredDescriptionExample
Filtersarray<object>No

An array that consists of filter conditions.

objectNo
KeystringNo

The name of the filter condition. Valid values:

  • ProvisionedProductPlanName: performs exact matches by plan name. Plan names are not case-sensitive.
  • ProvisionedProductPlanApprover: performs exact matches by reviewer. You must specify a reviewer in the RamUser/RamRole:<Name of the reviewer> format. You can specify multiple reviewers.
  • ProvisionedProductPlanApproverName: performs matches by reviewer name. You must specify the Resource Access Management (RAM) entity name of the reviewer. You can specify multiple reviewer names.
  • ProvisionedProductPlanStatus: performs matches by plan status. You must specify the state of the plan. You can specify multiple states.
  • ProvisionedProductPlanOwnerUid: performs exact matches by ID of Alibaba Cloud account to which a plan belongs.
  • FullTextSearch: performs fuzzy full-text searches by plan name.
FullTextSearch
ValuestringNo

The value of the filter condition.

ECS
SortBystringNo

The information based on which you want to sort the query results.

Set the value to CreateTime, which specifies the creation time of plans.

CreateTime
SortOrderstringNo

The order in which you want to sort the query results. Valid values:

  • Asc: the ascending order
  • Desc (default): the descending order.
Desc
PageNumberintegerNo

The number of the page to return.

Pages start from page 1. Default value: 1.

1
PageSizeintegerNo

The number of entries to return on each page.

Valid values: 1 to 100. Minimum value: 1. Default value: 10.

10
AccessLevelFilterstringNo

The access filter. Valid values:

  • User (default): queries the plans that are created by the current requester.
  • Account: queries the plans that belong to the current Alibaba Cloud account.
  • ResourceDirectory: queries the plans that belong to the current resource directory.
User
ApprovalFilterstringNo

The access filter of the review dimension. Valid values:

  • ReceivedRequests: queries plans that are pending for review.
  • ApprovalHistory: queries review history.
  • AccountRequests: queries all plans that belong to the current Alibaba Cloud account.
  • AccountRequests: queries all plans that belong to the current Alibaba Cloud account.
ReceivedRequests
ProvisionedProductIdstringNo

The ID of the product instance.

pp-bp1ddg1n2a****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

0FEEF92D-4052-5202-87D0-3D8EC16F****
PlanDetailsarray<object>

An array that consists of plans.

PlanDetailobject
PlanIdstring

The ID of the plan.

plan-bp18mmdh2u****
PlanNamestring

The name of the plan.

DEMO-Create an ECS instance-637\*\*\*\*
PlanTypestring

The type of the plan.

The value is fixed as Ros, which indicates Resource Orchestration Service (ROS).

Ros
PortfolioIdstring

The ID of the product portfolio.

port-bp1438kf2j****
ProductIdstring

The ID of the product.

prod-bp1rtrnh2c****
ProductVersionIdstring

The ID of the product version.

pv-bp19udk22v****
ProvisionedProductIdstring

The ID of the product instance.

pp-bp1c35162d****
Parametersarray<object>

An array that consists of the parameters in the template.

Parameterobject
ParameterKeystring

The name of the parameter in the template.

role_name
ParameterValuestring

The value of the parameter in the template.

Test-8
ProvisionedProductNamestring

The name of the product instance.

rds-MYSQL-875****
StackIdstring

The ID of the ROS stack.

2599090a-309e-4306-b989-17ba66a9****
StackRegionIdstring

The ID of the region to which the ROS stack belongs.

cn-hangzhou
Statusstring

The state of the plan. Valid values:

  • PreviewInProgress: The plan is being prechecked.
  • PreviewSuccess: The precheck is successful.
  • PreviewFailed: The precheck fails.
  • ApplicationInProgress: The plan is being reviewed.
  • ApplicationApproved: The plan is approved.
  • ApplicationRejected: The approval is rejected.
  • ExecuteInProgress: The plan is being run.
  • ExecuteSuccess: The plan is run.
  • ExecuteFailed: The plan fails to be run.
  • Canceled: The plan is canceled.
PreviewSuccess
StatusMessagestring

The message returned for the state.

Note This parameter is returned only when PreviewFailed or ExecuteFailed is returned for the Status parameter.
Create stack failed: Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...
CreateTimestring

The time when the plan was created.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2022-09-13T02:01:22Z
UpdateTimestring

The last time when the task was modified.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2022-07-18T06:02:35.075Z
Tagsarray<object>

An array that consists of custom tags.

Tagobject
Keystring

The key of the custom tag.

k1
Valuestring

The value of the custom tag.

v1
OperationTypestring

The purpose of the plan. Valid values:

  • LaunchProduct: launches the product. This is the default value.
  • UpdateProvisionedProduct: updates the information about the product instance.
  • TerminateProvisionedProduct: terminates the product instance.
LaunchProduct
AssignedApproversarray<object>

An array that consists of reviewers.

AssignedApproverobject
PrincipalTypestring

The type of the RAM entity of the reviewer. Valid values:

  • RamUser: a RAM user
  • RamRole: a RAM role
RamUser
PrincipalNamestring

The RAM entity name of the reviewer.

endUser
ProductNamestring

The name of the product.

Create an ECS instance
Descriptionstring

The description of the plan.

For development team.
OwnerPrincipalTypestring

The type of the RAM entity to which the plan belongs. Valid values:

  • RamUser: a RAM user
  • RamRole: a RAM role
RamUser
OwnerPrincipalIdstring

The ID of the RAM entity to which the plan belongs.

24477111603637****
OwnerPrincipalNamestring

The name of the RAM entity to which the plan belongs.

enduser
Uidstring

The ID of the Alibaba Cloud account to which the plan belongs.

146611588617****
TotalCountinteger

The total number of entries returned.

16
PageNumberinteger

The page number of the returned page.

Pages start from page 1. Default value: 1.

1
PageSizeinteger

The number of entries returned per page.

Valid values: 1 to 100. Minimum value: 1. Default value: 10.

10

Examples

Sample success responses

JSONformat

{
  "RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F****",
  "PlanDetails": [
    {
      "PlanId": "plan-bp18mmdh2u****",
      "PlanName": "DEMO-Create an ECS instance-637\\*\\*\\*\\*\n",
      "PlanType": "Ros",
      "PortfolioId": "port-bp1438kf2j****",
      "ProductId": "prod-bp1rtrnh2c****",
      "ProductVersionId": "pv-bp19udk22v****",
      "ProvisionedProductId": "pp-bp1c35162d****",
      "Parameters": [
        {
          "ParameterKey": "role_name",
          "ParameterValue": "Test-8"
        }
      ],
      "ProvisionedProductName": "rds-MYSQL-875****",
      "StackId": "2599090a-309e-4306-b989-17ba66a9****",
      "StackRegionId": "cn-hangzhou",
      "Status": "PreviewSuccess",
      "StatusMessage": "Create stack failed: Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...",
      "CreateTime": "2022-09-13T02:01:22Z",
      "UpdateTime": "2022-07-18T06:02:35.075Z",
      "Tags": [
        {
          "Key": "k1",
          "Value": "v1"
        }
      ],
      "OperationType": "LaunchProduct",
      "AssignedApprovers": [
        {
          "PrincipalType": "RamUser",
          "PrincipalName": "endUser"
        }
      ],
      "ProductName": "Create an ECS instance\n",
      "Description": "For development team.\n",
      "OwnerPrincipalType": "RamUser",
      "OwnerPrincipalId": "24477111603637****\n",
      "OwnerPrincipalName": "enduser",
      "Uid": "146611588617****"
    }
  ],
  "TotalCount": 16,
  "PageNumber": 1,
  "PageSize": 10
}

Error codes

HTTP status codeError codeError message
500InternalErrorA system error occurred.

For a list of error codes, visit the Service error codes.