Queries the information about a product as a user.
Operation description
Make sure that you are granted the permissions to manage relevant products as a user by an administrator. For more information, see Manage access permissions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:GetProductAsEndUser |
get |
*Product
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductId |
string |
Yes |
The ID of the product. |
prod-bp18r7q127**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
0FEEF92D-4052-5202-87D0-3D8EC16F81BF |
| ProductSummary |
object |
The information about the product. |
|
| Description |
string |
The description of the product. |
这是一个产品描述 |
| CreateTime |
string |
The time when the product was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2022-04-12T06:10:37Z |
| ProductId |
string |
The ID of the product. |
prod-bp18r7q127**** |
| ProductArn |
string |
The Alibaba Cloud Resource Name (ARN) of the product. |
acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127**** |
| ProductName |
string |
The name of the product. |
DEMO-创建ECS |
| ProviderName |
string |
The provider of the product. |
IT团队 |
| ProductType |
string |
The type of the product. The value is fixed as Ros, which indicates Resource Orchestration Service (ROS). |
Ros |
| HasDefaultLaunchOption |
boolean |
Indicates whether the default launch option exists. Valid values:
Note
If the product is added to only one product portfolio, the default launch option exists. If the product is added to multiple product portfolios, multiple launch options exist at the same time. However, no default launch options exist. |
true |
| TemplateType |
string |
The type of the product template. Valid values:
|
RosTerraformTemplate |
Examples
Success response
JSON format
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"ProductSummary": {
"Description": "这是一个产品描述",
"CreateTime": "2022-04-12T06:10:37Z",
"ProductId": "prod-bp18r7q127****",
"ProductArn": "acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****",
"ProductName": "DEMO-创建ECS",
"ProviderName": "IT团队",
"ProductType": "Ros",
"HasDefaultLaunchOption": true,
"TemplateType": "RosTerraformTemplate"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | A system error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.