Creates a plan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:CreateProvisionedProductPlan |
create |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PlanName |
string |
Yes |
The plan name. The length is 1 to 128 characters. |
DEMO-ECS-Instance |
| PlanType |
string |
Yes |
The plan type. Valid value: Ros, which indicates Resource Orchestration Service (ROS). |
Ros |
| ProvisionedProductName |
string |
Yes |
The instance name. The length is 1 to 128 characters. |
DEMO-ECS-Instance |
| PortfolioId |
string |
No |
The product portfolio ID. Note
If a default launch option exists, you do not need to specify PortfolioId. If no default launch option exists, you must specify PortfolioId. For the method to obtain the PortfolioId, see ListLaunchOptions. |
port-bp1yt7582g**** |
| ProductId |
string |
Yes |
The product ID. |
prod-bp18r7q127**** |
| ProductVersionId |
string |
Yes |
The edition ID. |
pv-bp15e79d26**** |
| Parameters |
array<object> |
No |
The template parameters entered by the user. Maximum value of N: 200. Note
Parameters is optional. If you specify Parameters, you must specify both Parameters.N.ParameterKey and Parameters.N.ParameterValue. |
|
|
object |
No |
|||
| ParameterKey |
string |
No |
The name of the parameter defined in the template. |
instance_type |
| ParameterValue |
string |
No |
The template parameter value entered by the user. |
ecs.s6-c1m1.small |
| StackRegionId |
string |
Yes |
The region ID of the Resource Orchestration Service (ROS) stack. For more information about how to obtain the list of regions supported by ROS, see DescribeRegions. |
cn-hangzhou |
| Tags |
array<object> |
No |
The custom tags entered by the user. Maximum value of N: 20. Note
|
|
|
object |
No |
|||
| Key |
string |
No |
The custom tag key entered by the user. The key can be up to 128 characters in length, and cannot start with |
k1 |
| Value |
string |
No |
The custom tag value entered by the user. The value can be up to 128 characters in length, and cannot start with |
v1 |
| OperationType |
string |
No |
The plan operation type. Valid values:
|
LaunchProduct |
| Description |
string |
No |
The plan description. The length is 1 to 128 characters. |
Create ECS |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
0FEEF92D-4052-5202-87D0-3D8EC16F81BF |
| PlanId |
string |
The plan ID. |
plan-bp1jvmdk2k**** |
| ProvisionedProductId |
string |
The instance ID. |
pp-bp1ddg1n2a**** |
Examples
Success response
JSON format
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"PlanId": "plan-bp1jvmdk2k****",
"ProvisionedProductId": "pp-bp1ddg1n2a****"
}
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.