Modifies a Global Database Network (GDN).

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 ModifyGlobalDatabaseNetwork

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

RegionId String No cn-hangzhou

The region ID of the cluster.

GDNId String Yes gdn-bp1fttxsrmv*****

The ID of the GDN.

GDNDescription String Yes GDN-fortest
The description of the GDN. The description must meet the following requirements:
  • It cannot start with http:// or https://.
  • It must start with a letter.
  • It can contain letters, digits, underscores (_), and hyphens (-).
  • It must be 2 to 126 characters in length.
ResourceGroupId String No rg-************

The ID of the resource group.

Response parameters

Parameter Type Example Description
RequestId String C61892A4-0850-4516-9E26-44D96C1782DE

The ID of the request.

Examples

Sample requests

http(s)://polardb.aliyuncs.com/?Action=ModifyGlobalDatabaseNetwork
&GDNId=gdn-bp1fttxsrmv*****
&GDNDescription=GDN-fortest
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ModifyGlobalDatabaseNetworkResponse>
    <RequestId>C61892A4-0850-4516-9E26-44D96C1782DE</RequestId>
</ModifyGlobalDatabaseNetworkResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "C61892A4-0850-4516-9E26-44D96C1782DE"
}

Error codes

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