Melakukan migrasi failover untuk host khusus.
Deskripsi operasi
Ketika DDH berada dalam status peringatan (UnderAssessment), yang menunjukkan periode kesalahan laten, panggil operasi ini untuk melakukan migrasi failover bagi DDH guna mencegah kegagalan permanen. Anda dapat memanggil DescribeDedicatedHosts untuk mengkueri status host spesifikasi khusus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:RedeployDedicatedHost |
update |
*spesifikasi khusus.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah host khusus. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| DedicatedHostId |
string |
Yes |
ID host khusus. |
dh-bp165p6xk2tlw61e**** |
| MigrationType |
string |
No |
Apakah akan menghentikan Instans ECS sebelum memigrasikannya ke host spesifikasi khusus tujuan. Nilai valid:
Nilai default: Reboot. Valid values:
|
Reboot |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
FCED4B7A-53D5-4C04-ABE3-26D4F3890D57 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "FCED4B7A-53D5-4C04-ABE3-26D4F3890D57"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidDedicatedHostStatus.Malformed | The specified DedicatedHost is in inValid status to execute redeployment. | |
| 400 | InvalidInstanceStatus.Unstopped | There is unstopped instances on DedicatedHost. | |
| 403 | InvalidUser.Unauthorized | The user is not authorized. | |
| 404 | InvalidDedicatedHostId.NotFound | The specified DedicatedHostId does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.