Memigrasikan instans ke zona ketersediaan target. Operasi ini hanya mendukung instans yang di-deploy di tiga zona ketersediaan. Instans diluncurkan di zona ketersediaan target tanpa memigrasikan penyimpanannya. Proses ini memakan waktu sekitar 5 menit.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
PATCH /api/v1/instances/{instanceId}/migrateInstanceZone HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
ID instans. |
hgprecn-cn-i7m2v08uxxxx |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Badan permintaan. |
|
| zoneId |
string |
No |
The ID of the target availability zone. Call the |
cn-hangzhou-h |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The request ID. |
819A7F0F-2951-540F-BD94-6A41ECF0281F |
| data |
boolean |
Specifies whether the operation was successful. |
true |
Contoh
Respons sukses
JSONformat
{
"requestId": "819A7F0F-2951-540F-BD94-6A41ECF0281F",
"data": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.