跳到主要内容

GET – 引导选项集合

使用 GET 方法检索服务器的引导选项的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/BootOptions/{Id}

响应正文

字段类型描述

Description

字符串

“This resource is used to represent a single boot option for a Redfish implementation.”

Id

字符串

引导选项的 ID。

Name

字符串

引导选项的名称。

BootOptionReference

字符串

唯一的引导选项。

DisplayName

字符串

在用户界面引导顺序列表中显示的引导选项的用户可读显示名称。

UefiDevicePath

字符串

用于访问此 UEFI 引导选项的 UEFI 设备路径。

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

返回以下示例 JSON 响应:

{
"@odata.id": "/redfish/v1/Systems/1/BootOptions/Boot0001",
"BootOptionReference": "Boot0001",
"Name": "CD_DVDRom",
"UefiDevicePath": "VenHw_B2AD3248_4F72_4950_A966_CFE5062DB83A_02000000",
"@odata.type": "#BootOption.v1_0_3.BootOption",
"Id": "Boot0001",
"@odata.etag": "\"2cb45a4be77927e33d6\"",
"DisplayName": "CD_DVDRom",
"Description": "This resource shall be used to represent a single boot option contained within a system."
}