Membatalkan atau menyelesaikan tugas migrasi yang melakukan upgrade kluster RDS ke kluster PolarDB.
Deskripsi operasi
Anda dapat memanggil operasi ini untuk membatalkan tugas migrasi sebelum migrasi data.
Anda dapat memanggil operasi ini untuk menyelesaikan tugas migrasi setelah migrasi data.
Sebelum memanggil operasi ini, pastikan tugas upgrade satu-klik telah dibuat untuk kluster tersebut. Anda dapat memanggil operasi CreateDBCluster untuk membuat tugas upgrade. Atur parameter CreationOption ke MigrationFromRDS. Untuk informasi selengkapnya, lihat Buat kluster PolarDB for MySQL dengan metode Migration from RDS.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CloseDBClusterMigration |
update |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-************** |
| ContinueEnableBinlog |
boolean |
No |
Menentukan apakah binary logging tetap diaktifkan. Nilai yang valid:
Nilai default: true. Catatan
Jika binary logging dinonaktifkan, kluster PolarDB Anda akan direstart. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
3AA69096-757C-4647-B36C-29EBC2****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "3AA69096-757C-4647-B36C-29EBC2******"
}
Respons error
JSONformat
{ "RequestId": "3AA69096-757C-4647-B36C-29EBC27A8763"}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EngineMigrationStatus.NotSurpport | Specified engine migration status does not support. | |
| 400 | EngineMigration.NotExist | Specified engine migration does not exist. | |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.