All Products
Search
Document Center

OpenSearch:ModifyClusterDesc

Last Updated:Jul 16, 2024

Modifies the description of a specified cluster.

Operation description

Method

PUT

URI

/openapi/ha3/instances/{instanceId}/clusters/{clusterName}/desc

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 syntax

PUT /openapi/ha3/instances/{instanceId}/clusters/{clusterName}/desc

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

ha-cn-c4d2rq7nt04
clusterNamestringYes

The name of the cluster

sz_vpc_domain_1
bodyobjectNo

The request body.

{}
ParameterRequiredTypeDescription
descriptionYesStringThe description of the cluster

Sample requests

PUT /openapi/ha3/instances/ha3_instance_name/clusters/my_cluster_name/desc

{
  "description":"this is descrition"
}

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

requestIdstring

The ID of the request

D39EE0F1-D7EF-5F46-B781-6BF4185308B0
resultobject

The result.

{}

Sample responses

{
	"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
  "result": []
}

For more information, see Response structure.

Examples

Sample success responses

JSONformat

{
  "requestId": "D39EE0F1-D7EF-5F46-B781-6BF4185308B0",
  "result": {}
}

Error codes

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

Change history

Change timeSummary of changesOperation
2022-01-12Add OperationView Change Details