All Products
Search
Document Center

Service Catalog:UpdateProvisionedProductPlan

Last Updated:Mar 03, 2024

Updates a plan.

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
PlanIdstringYes

The ID of the plan.

plan-bp1jvmdk2k****
PortfolioIdstringNo

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****
ProductIdstringYes

The ID of the product.

prod-bp18r7q127****
ProductVersionIdstringYes

The ID of the product version.

pv-bp15e79d26****
DescriptionstringNo

The description of the plan.

Create an ECS instance.
Parametersobject []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.
ParameterKeystringNo

The name of the parameter in the template.

instance_type
ParameterValuestringNo

The value of the parameter in the template.

ecs.s6-c1m1.small
Tagsobject []No

An array that consists of custom tags.

Maximum value of N: 20.

Note
  • If you specify Tags, you must specify Tags.N.Key and Tags.N.Value.
  • The tag of a stack is propagated to each resource that supports the tag feature in the stack.
KeystringNo

The key of the custom tag.

The key can be up to 128 characters in length, and cannot start with acs: or aliyun. The tag key cannot contain http:// or https://.

k1
ValuestringNo

The value of the custom tag.

The value can be up to 128 characters in length, and cannot start with acs:. The tag value cannot contain http:// or https://.

v1

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

0FEEF92D-4052-5202-87D0-3D8EC16F****
PlanIdstring

The ID of the plan.

plan-bp1jvmdk2k****
ProvisionedProductIdstring

The ID of the product instance.

pp-bp1ddg1n2a****

Examples

Sample success responses

JSONformat

{
  "RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F****\n",
  "PlanId": "plan-bp1jvmdk2k****\n",
  "ProvisionedProductId": "pp-bp1ddg1n2a****\n"
}

Error codes

HTTP status codeError codeError message
500InternalErrorA system error occurred.

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