Memanggil ModifyDedicatedHostAutoReleaseTime untuk mengatur waktu pelepasan otomatis bagi host khusus bayar-sesuai-pakai, atau untuk membatalkan pelepasan otomatis dari host khusus bayar-sesuai-pakai.
Deskripsi operasi
Deskripsi
Ketika waktu pelepasan otomatis yang dikonfigurasi tercapai, host khusus bayar-sesuai-pakai akan dilepaskan secara otomatis. Pastikan bahwa Anda tidak lagi menggunakan host khusus tersebut dan bahwa Anda telah mencadangkan data aplikasi sesuai kebutuhan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:ModifyDedicatedHostAutoReleaseTime |
update |
*DedicatedHost
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah dari host khusus. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah Alibaba Cloud terbaru. |
cn-hangzhou |
| DedicatedHostId |
string |
Yes |
ID dari host khusus yang ingin Anda lepaskan secara otomatis. |
dh-bp165p6xk2tlw61e**** |
| AutoReleaseTime |
string |
No |
Waktu pelepasan otomatis dari host khusus. Tentukan waktu dalam standar ISO 8601 dengan format yyyy-MM-ddTHH:mm:ssZ. Waktu harus dalam UTC.
|
2019-06-04T13:35:00Z |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
04F0F334-1335-436C-A1D7-6C044FE7**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | DedicatedHostId should not be null. | |
| 400 | UnsupportedParameter | The parameters is unsupported. | |
| 400 | InvalidAutoReleaseTime.Malformed | The specified parameter AutoReleaseTime is not valid. | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 403 | ChargeTypeViolation | The operation is not permitted due to charge type of the dedicated host. | |
| 404 | NoSuchResource | The specified resource is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.