Cancels or completes CloseDBClusterMigration migration.

You can call this operation to migrate data from an apsaradb RDS for MySQL instance to a PolarDB for MySQL instance.

Before you call this operation, ensure that a one-click upgrade task has been created for the cluster. You can call the CreateDBCluster operation to create a one-click upgrade task. Set the CreationOption parameter to MigrationFromRDS.


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 CloseDBClusterMigration

The parameter specified by the system. Value: CloseDBClusterMigration.

DBClusterId String Yes pc-bpxxxxxxx

The ID of the ApsaraDB for PolarDB cluster.

RegionId String No cn-hangzhou

The ID of the region, for example, cn-hangzhou.

ContinueEnableBinlog Boolean No true

Specifies whether to continue to enable binary logs. Valid values:

  • true: continues to enable binary logs.
  • false: disables binary logs.

Default value: true.

Note Disabling binlogging will restart the apsaradb for PolarDB cluster.

Response parameters

Parameter Type Example Description
RequestId String 3AA69096-757C-4647-B36C-29EBC27A8763

The ID of the request.


Sample request

http(s):// Action=CloseDBClusterMigration
&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "3AA69096-757C-4647-B36C-29EBC27A8763"

Error codes

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