Merilis host khusus berbayar sesuai pemakaian atau host khusus langganan yang telah kedaluwarsa.
Deskripsi operasi
Sebelum Anda merilis host khusus berbayar sesuai pemakaian, pastikan tidak ada instans ECS pada host tersebut.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:ReleaseDedicatedHost |
delete |
*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-bp199lyny9b3**** |
| TerminateSubscription |
boolean |
No |
Apakah akan merilis host khusus langganan yang telah kedaluwarsa. Nilai valid:
Nilai default: false. |
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
A1B15AC8-E6F6-49A4-8985-8C07104B9199 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A1B15AC8-E6F6-49A4-8985-8C07104B9199"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ChargeTypeViolation | The operation is not permitted due to charge type of the dedicated host. | |
| 400 | IncorrectHostStatus.Initializing | The specified ddh status does not support this operation. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | InstanceExist | Instance exists on the dedicated host. | |
| 403 | OperationDenied.DedicatedHostShared | The specified ddh is shared to other users. Remove it from the resource share before releasing. | |
| 404 | InvalidDedicatedHostId.NotFound | The specified DedicatedHostId does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.