Kueri konfigurasi boot. Hanya instance heterogen (PCFarm bare metal) yang didukung.
Deskripsi operasi
Kueri konfigurasi boot. Hanya instance heterogen (PCFarm bare metal) yang didukung.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeInstanceBootConfiguration |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instance. |
i-**** |
| BootType |
string |
No |
Tipe boot. |
pxe |
| BootSet |
string |
No |
Mode boot. |
legacy |
| DiskSet |
string |
No |
Apakah boot bergantung pada disk. |
on |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
F3B261DD-3858-4D3C-877D-303ADF374600 |
| Instances |
object |
Schema of Response |
|
| BootType |
string |
Tipe boot. |
disk |
| DiskSet |
string |
Apakah boot bergantung pada disk. |
off |
| BootSet |
string |
Mode boot. |
legacy |
| InstanceId |
string |
ID instance. |
i-**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F3B261DD-3858-4D3C-877D-303ADF374600",
"Instances": {
"BootType": "disk",
"DiskSet": "off",
"BootSet": "legacy",
"InstanceId": "i-****"
}
}
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.