LeakDetectorsCollection
更新时间: 2026/06/26
在Gitcode上查看源码

ResourceDefinition

uris

  • /redfish/v1/Chassis/chassis_id/LeakDetectors

properties

名称类型是否只读取值范围/枚举值说明
@odata.contextstringtrue-漏液检测器集合资源模型的OData描述信息
@odata.idstringtrue-漏液检测器集合资源节点的访问路径
@odata.typestringtrue-漏液检测器集合资源类型
Namestringtrue-漏液检测器集合资源的名称
Members@odata.countnumbertrue-当前漏液检测器资源数量
@odata.idstringtrue-单个漏液检测器资源节点的访问路径

supported_methods

  • GET

HTTP methods

GET

命令功能

查询漏液检测器集合

命令格式

URL: https://device_ip/redfish/v1/Chassis/chassis_id/LeakDetectors 原URL:https://device_ip/redfish/v1/Chassis/chassis_id/ThermalSubsystem/

请求头:


X-Auth-Token: 123456789***********************

请求消息体: 无

参数说明

参数参数说明取值
device_ip登录设备的IP地址IPv4或IPv6地址
chassis_id机箱资源的ID● 针对机架服务器,取值为1
● 针对高密服务器,取值为BladeN(N 表示节点槽位号),例如“Blade1”
● 针对刀片服务器,取值可以为BladeN (N表示计算节点槽位号)或SwiN (N表示交换模块槽位号),例如 “Swi1”
auth_value执行该GET请求时,必须在 “Headers”中携带“X- Auth-Token”值用于鉴权可通过/redfish/v1/SessionService/ Sessions创建会话时获得

使用指南

A9000 RCK A3机型不支持

使用实例

请求样例1:

http
GET https://device_ip/redfish/v1/Chassis/1/ThermalSubsystem/LeakDetection/LeakDetectors

请求头:


X-Auth-Token: 123456789***********************

请求消息体:无

响应样例:

json
{
  "@odata.context": "/redfish/v1/$metadata#LeakDetectorCollection.LeakDetectorCollection",
  "@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/LeakDetection/LeakDetectors",
  "@odata.type": "#LeakDetectorCollection.LeakDetectorCollection",
  "Name": "Leak Detector Collection",
  "Members@odata.count": 2,
  "Members": [
    {
      "@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/LeakDetection/LeakDetectors/1"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/ThermalSubsystem/LeakDetection/LeakDetectors/2"
    }
  ]
}

响应码:200 请求样例2:

http
GET https://device_ip/redfish/v1/Chassis/1/LeakDetectors

请求头:


X-Auth-Token: 123456789***********************

请求消息体:无

响应样例:

json
{
  "@odata.context": "/redfish/v1/$metadata#LeakDetectorCollection.LeakDetectorCollection",
  "@odata.id": "/redfish/v1/Chassis/1/LeakDetectors",
  "@odata.type": "#LeakDetectorCollection.LeakDetectorCollection",
  "Name": "Leak Detector Collection",
  "Members@odata.count": 2,
  "Members": [
    {
      "@odata.id": "/redfish/v1/Chassis/1/LeakDetectors/1"
    },
    {
      "@odata.id": "/redfish/v1/Chassis/1/LeakDetectors/2"
    }
  ]
}

响应码:200