Creates a Global Database Network (GDN).

Note A cluster belongs to only one GDN.


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 CreateGlobalDatabaseNetwork

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

RegionId String No cn-hangzhou

The region ID of the cluster.

DBClusterId String Yes pc-bp1q76364ird*****

The ID of the primary cluster.

GDNDescription String No GDN-fortest

The description of the GDN.

Response parameters

Parameter Type Example Description
GDNId String gd-m5ex5wqfqbou*****

The ID of the GDN.

RequestId String C61892A4-0850-4516-9E26-44D96C1782DE

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "GDNId" : "gd-m5ex5wqfqbou*****",
  "RequestId" : "C61892A4-0850-4516-9E26-44D96C1782DE"

Error codes

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