All Products
Search
Document Center

Service Catalog:GetProductAsAdmin

Last Updated:Apr 07, 2024

Queries the information about a product as the administrator.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ProductIdstringYes

The ID of the product.

prod-bp18r7q127****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

0FEEF92D-4052-5202-87D0-3D8EC16F81BF
ProductDetailobject

The information about the product.

ProductArnstring

The Alibaba Cloud Resource Name (ARN) of the product.

acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****
Descriptionstring

The description of the product.

This is a product description.
CreateTimestring

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
ProductIdstring

The ID of the product.

prod-bp18r7q127****
ProductNamestring

The name of the product.

DEMO-Create an ECS instance
ProviderNamestring

The provider of the product.

IT team
ProductTypestring

The type of the product.

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

Ros
TemplateTypestring

The type of the product template. Valid values:

  • RosTerraformTemplate: the Terraform template that is supported by Resource Orchestration Service (ROS).
  • RosStandardTemplate: the standard ROS template.
RosTerraformTemplate
TagOptionsobject []

The tag options associated with the product.

Activeboolean

Indicates whether the tag option is enabled. Valid values:

  • true (default)
  • false
true
TagOptionIdstring

The ID of the tag option.

tag-bp1q65xd3j****
Keystring

The key of the tag option.

k1
Valuestring

The value of the tag option.

v1
Ownerstring

The ID of the owner of the tag option.

133413081827****

Examples

Sample success responses

JSONformat

{
  "RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
  "ProductDetail": {
    "ProductArn": "acs:servicecatalog:cn-hangzhou:146611588617****:product/prod-bp18r7q127****",
    "Description": "This is a product description.\n",
    "CreateTime": "2022-04-12T06:10:37Z",
    "ProductId": "prod-bp18r7q127****",
    "ProductName": "DEMO-Create an ECS instance\n",
    "ProviderName": "IT team\n",
    "ProductType": "Ros",
    "TemplateType": "RosTerraformTemplate"
  },
  "TagOptions": [
    {
      "Active": true,
      "TagOptionId": "tag-bp1q65xd3j****",
      "Key": "k1",
      "Value": "v1",
      "Owner": "133413081827****\n"
    }
  ]
}

Error codes

HTTP status codeError codeError message
500InternalErrorA system error occurred.

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

Change history

Change timeSummary of changesOperation
2024-02-27The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2023-03-24The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.