Modifies the description of an Apsara PolarDB cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No ModifyDBDescription

The operation that you want to perform. Set the value to ModifyDBDescription.

DBClusterId String Yes pc-***************

The ID of the cluster.

DBDescription String Yes DBDesc

The description of the database. The description must meet the following requirements:

  • The description cannot start with http:// or https://.
  • The description must be 2 to 256 characters in length.
DBName String Yes testDB

The name of the database.

Response parameters

Parameter Type Example Description
RequestId String 5F295AAB-B599-4F0E-96D0-DBFAB3******

The ID of the request.

Examples

Sample request

http(s)://polardb.aliyuncs.com/? Action=ModifyDBDescription
&DBClusterId=pc-***************
&DBDescription=DBDesc
&DBName=testDB
&<Common request parameters>

Sample success responses

XML format

<ModifyDBDescriptionResponse>
  <RequestId>5F295AAB-B599-4F0E-96D0-DBFAB3******</RequestId>
</ModifyDBDescriptionResponse>

JSON format

{
	"RequestId": "5F295AAB-B599-4F0E-96D0-DBFAB3******"
}

Error codes

For a list of error codes, visit the API Error Center.