Launches a product.
Debugging
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 Resourcesis 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.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| servicecatalog:LaunchProduct | *ProvisionedProduct acs:servicecatalog:{#regionId}:{#accountId}:provisionedproduct/* |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| ProvisionedProductName | string | Yes | The name of the product instance. The value must be 1 to 128 characters in length. | DEMO-ECS instance |
| PortfolioId | string | No | The ID of the product portfolio. Note
If the PortfolioId parameter is not required, you do not need to specify the PortfolioId parameter. If the PortfolioId parameter is required, you must specify the PortfolioId parameter. For more information about how to obtain the value of the PortfolioId parameter, see ListLaunchOptions .
| port-bp1yt7582g**** |
| ProductId | string | Yes | The ID of the product. | prod-bp18r7q127**** |
| ProductVersionId | string | Yes | The ID of the product version. | pv-bp15e79d26**** |
| Parameters | array<object> | No | The input parameters of the template. You can specify up to 200 parameters. Note
This parameter is optional. If you specify the Parameters parameter, you must specify the ParameterKey and ParameterValue parameters.
| |
| object | No | The input parameters of the template. | ||
| ParameterKey | string | No | The name of the input parameter for the template. | instance_type |
| ParameterValue | string | No | The value of the input parameter for the template. | ecs.s6-c1m1.small |
| StackRegionId | string | Yes | The ID of the region to which the Resource Orchestration Service (ROS) stack belongs. For more information about how to obtain the regions that are supported by ROS, see DescribeRegions . | cn-hangzhou |
| Tags | array<object> | No | The custom tags that are specified by the end user. Maximum value of N: 20. Note
| |
| object | No | The custom tags that are specified by the end user. | ||
| Key | string | No | The tag key of the custom tag. The tag key must be 1 to 128 characters in length and cannot contain | k1 |
| Value | string | No | The tag value of the custom tag. The tag value can be up to 128 characters in length and cannot start with | v1 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"ProvisionedProductId": "pp-bp1ddg1n2a****"
}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.
Change history
| Change time | Summary of changes | Operation |
|---|
