Removes secondary clusters from a Global Database Network (GDN).
Note You cannot remove the primary cluster from a GDN.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | RemoveDBClusterFromGDN |
The operation that you want to perform. Set the value to RemoveDBClusterFromGDN. |
RegionId | String | No | cn-qingdao |
The region ID of the cluster. |
DBClusterId | String | Yes | pc-wz9fb5nn44u1d**** |
The ID of the cluster in the GDN. Note You can call the DescribeGlobalDatabaseNetwork operation to view the ID of the cluster in the GDN.
|
GDNId | String | Yes | gdn-bp1fttxsrmv***** |
The ID of the GDN. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 67F2E75F-AE67-4FB2-821F-A81237EACD15 |
The ID of the request. |
Examples
Sample requests
http(s)://polardb.aliyuncs.com/?Action=RemoveDBClusterFromGDN
&DBClusterId=pc-wz9fb5nn44u1d****
&GDNId=gdn-bp1fttxsrmv*****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<RemoveDBClusterFromGDNResponse>
<RequestId>67F2E75F-AE67-4FB2-821F-A81237EACD15</RequestId>
</RemoveDBClusterFromGDNResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "67F2E75F-AE67-4FB2-821F-A81237EACD15"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The error message returned because the specified DBClusterId does not exist in the current record. |
For a list of error codes, visit the API Error Center.