All Products
Search
Document Center

OnsInstanceUpdate

Last Updated: Apr 01, 2019

OnsInstanceUpdate

You can call this operation to update the name and description of an instance.

Description

When calling this operation, pay attention to the following:

  • By default, only primary accounts can call this operation. RAM sub-accounts can call this operation only after being authorized.

  • A maximum of eight instances can be deployed in each region.

  • The name of an instance must be unique in the region where the instance is deployed.

Request parameters

Name Type Required Description
PreventCache Long Yes The parameter used for CSRF verification, which can be set to the current system time. Unit: ms
InstanceId String Yes The ID of the instance.
InstanceName String No The name of the instance, which contains 3 to 64 characters in Chinese or English. Do not modify the parameter if it is null.
Remark String No The remarks on the request. Do not modify the parameter if it is null.

Response parameters

Name Type Description
RequestId String A common parameter. Each request has a unique ID to facilitate troubleshooting and fault locating.
HelpUrl String A help link.

Examples

For more information about sample codes, see API sample code and endpoints.