Mengubah konfigurasi boot. Operasi ini hanya mendukung instans heterogen (PCFarm bare metal).
Deskripsi operasi
-
Anda tidak dapat mereset kata sandi instans saat status instans adalah Starting.
-
Anda tidak dapat mengubah kata sandi instans saat status instans adalah Running.
-
Setelah mereset kata sandi, restart instans di Konsol atau panggil operasi RebootInstance agar perubahan berlaku. Merestart instans dari dalam sistem operasi tidak akan berlaku.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ModifyInstanceBootConfiguration |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans yang akan diubah. Hanya satu instans yang didukung. |
i-instance**** |
| BootType |
string |
Yes |
Tipe boot. |
pxe |
| BootSet |
string |
No |
Mode boot. |
legacy |
| DiskSet |
string |
No |
Apakah proses boot bergantung pada disk. |
on |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
6666C5A5-75ED-422E-A022-7121FA18C968 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6666C5A5-75ED-422E-A022-7121FA18C968"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InstanceNotFound | Instance not found, please check the InstanceId. | |
| 400 | Parameter.Invalid | The parameter is invalid. Please check your parameters and try it again. | |
| 400 | IncorrectInstanceStatus | The current status of the instance does not support this operation. | |
| 400 | InvalidInstanceType.NotSupported | The specified InstanceType is not Supported. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.