Melakukan migrasi failover untuk host khusus.
Deskripsi operasi
Ketika status host spesifikasi khusus adalah UnderAssessment (UnderAssessment), yang menunjukkan adanya kegagalan laten, panggil operasi ini untuk melakukan migrasi failover bagi host spesifikasi khusus 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 |
*DedicatedHost
|
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 Instance ECS sebelum memigrasikannya ke host spesifikasi khusus tujuan. Nilai valid:
Nilai default: Reboot. |
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.