Queries the information about a product as the administrator.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:GetProductAsAdmin |
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 |
| ProductDetail |
object |
The information about the product. |
|
| ProductArn |
string |
The Alibaba Cloud Resource Name (ARN) of the product. |
acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127**** |
| Description |
string |
The description of the product. |
This is a product description |
| CreateTime |
string |
The creation time. 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**** |
| ProductName |
string |
The name of the product. |
DEMO-Create ECS |
| ProviderName |
string |
The provider of the product. |
IT team |
| ProductType |
string |
The type of the product. The value is fixed as Ros, which indicates Resource Orchestration Service (ROS). |
Ros |
| TemplateType |
string |
The type of the product template. Valid values:
|
RosTerraformTemplate |
| TagOptions |
array<object> |
The tag options associated with the product. |
|
|
object |
The tag options associated with the product. |
||
| Active |
boolean |
Indicates whether the tag option is enabled. Valid values:
|
true |
| TagOptionId |
string |
The ID of the tag option. |
tag-bp1q65xd3j**** |
| Key |
string |
The key of the tag option. |
k1 |
| Value |
string |
The value of the tag option. |
v1 |
| Owner |
string |
The ID of the owner of the tag option. |
133413081827**** |
Examples
Success response
JSON format
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"ProductDetail": {
"ProductArn": "acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****",
"Description": "This is a product description",
"CreateTime": "2022-04-12T06:10:37Z",
"ProductId": "prod-bp18r7q127****",
"ProductName": "DEMO-Create ECS",
"ProviderName": "IT team",
"ProductType": "Ros",
"TemplateType": "RosTerraformTemplate"
},
"TagOptions": [
{
"Active": true,
"TagOptionId": "tag-bp1q65xd3j****",
"Key": "k1",
"Value": "v1",
"Owner": "133413081827****\n"
}
]
}
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.