GET – 许可证集合
使用 GET 方法检索 Redfish 服务的许可证集合资源中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/LicenseService/Licenses
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Description | 字符串 | “A collection of Licenses resource instances.” | |||
Name | 字符串 | LicenseCollection | |||
Members | 数组 | 此集合的成员。 | |||
Members[N] | 链接 | 实例编号的引用许可证架构。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@odata.context": "/redfish/v1/$metadata#LicenseCollection.LicenseCollection",
"@odata.etag": "\"283523E0\"",
"@odata.id": "/redfish/v1/LicenseService/Licenses",
"@odata.type": "#LicenseCollection.LicenseCollection",
"Description": "A collection of Licenses resource instances.",
"Members": [],
"Members@odata.count": 0,
"Name": "LicenseCollection"
}
提供反馈