Updates a plan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:UpdateProvisionedProductPlan |
update |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PlanId |
string |
Yes |
The ID of the plan. |
plan-bp1jvmdk2k**** |
| PortfolioId |
string |
No |
The ID of the product portfolio. Note
If the default launch option exists, you do not need to specify PortfolioId. If the default launch option does not exist, you must specify PortfolioId. For more information about how to obtain the value of PortfolioId, 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**** |
| Description |
string |
No |
The description of the plan. |
用于创建ECS |
| Parameters |
array<object> |
No |
An array that consists of the parameters in the template. Maximum value of N: 200. Note
If you specify Parameters, you must specify ParameterKey and ParameterValue. |
|
|
object |
No |
|||
| ParameterKey |
string |
No |
The name of the parameter in the template. |
instance_type |
| ParameterValue |
string |
No |
The value of the parameter in the template. |
ecs.s6-c1m1.small |
| Tags |
array<object> |
No |
An array that consists of custom tags. Maximum value of N: 20. Note
|
|
|
object |
No |
|||
| Key |
string |
No |
The key of the custom tag. The key can be up to 128 characters in length, and cannot start with |
k1 |
| Value |
string |
No |
The value of the custom tag. The value can be up to 128 characters in length, and cannot start with |
v1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
0FEEF92D-4052-5202-87D0-3D8EC16F**** |
| PlanId |
string |
The ID of the plan. |
plan-bp1jvmdk2k**** |
| ProvisionedProductId |
string |
The ID of the product instance. |
pp-bp1ddg1n2a**** |
Examples
Success response
JSON format
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F****\n",
"PlanId": "plan-bp1jvmdk2k****\n",
"ProvisionedProductId": "pp-bp1ddg1n2a****\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.