Queries product instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Filters | object [] | No | The filter conditions. | |
Key | string | No | The name of the filter condition. Valid values:
| ProvisionedProductName |
Value | string | No | The value of the filter condition. | DEMO-ECS instance |
SortBy | string | No | The field that is used to sort the queried data. Set the value to CreateTime, which specifies the time when the product instance was created. | CreateTime |
SortOrder | string | No | The sorting method. Valid values:
| Desc |
PageNumber | integer | No | The number of the page to return. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Valid values: 1 to 100. Default value: 10. | 10 |
AccessLevelFilter | string | No | The access filter. Valid values:
| User |
Response parameters
Examples
Sample success responses
JSON
format
{
"ProvisionedProductDetails": [
{
"ProvisionedProductName": "DEMO-ECS instance\n",
"ProvisionedProductId": "pp-bp1ddg1n2a****",
"ProvisionedProductArn": "acs:servicecatalog:cn-hangzhou:146611588617****:provisionedproduct/pp-bp1ddg1n2a****",
"ProductId": "prod-bp18r7q127****",
"ProductName": "DEMO-Create an ECS instance\n",
"ProductVersionId": "pv-bp15e79d26****",
"ProductVersionName": "1.0",
"LastTaskId": "task-bp1dmg242c****",
"LastProvisioningTaskId": "task-bp1dmg242c****",
"LastSuccessfulProvisioningTaskId": "task-bp1dmg242c****",
"OwnerPrincipalType": "RamUser",
"OwnerPrincipalId": "24477111603637****",
"Status": "Available",
"StatusMessage": "Resource CREATE failed: terraform stack sc-146611588617****-pp-bp1ddg1n2a**** failure...",
"CreateTime": "2022-05-23T09:46:27Z",
"PortfolioId": "port-bp1yt7582g****",
"StackId": "137e31df-3754-40b4-be2f-c793ad84****",
"StackRegionId": "cn-hangzhou",
"ProvisionedProductType": "RosStack"
}
],
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"TotalCount": 2,
"PageNumber": 1,
"PageSize": 10
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
500 | InternalError | A system error occurred. |
For a list of error codes, visit the Service error codes.