SPCfgCollection
更新时间: 2026/07/01
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Managers/manager_id/SPService/SPCfg
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | 配置信息集合资源模型的OData描述信息 | |
| @odata.id | string | true | 配置信息集合资源的访问路径 | |
| @odata.type | string | true | 配置信息集合资源的类型 | |
| Name | string | true | 配置信息集合资源的名称 | |
| Members@odata.count | number | false | 配置信息资源数量 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询 SP 服务的配置信息集合资源
命令格式
URL: https://device_ip/redfish/v1/Managers/manager_id/SPService/SPCfg
请求头:
X-Auth-Token: auth_value请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| auth_value | 请求消息的鉴权参数 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
使用指南
响应结果以最新SP版本的实际返回结果为准。 GA140C机型不支持 SP版本和机型兼容性列表详见Smart Provisioning用户指南
使用实例
请求样例: GET https://device_ip/redfish/v1/Managers/manager_id/SPService/SPCfg
X-Auth-Token: auth_value 请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#Managers/Members/1/SPService/SPCfg/$entity",
"@odata.id": "/redfish/v1/Managers/1/SPService/SPCfg",
"@odata.type": "#HwSPCfgCollection.HwSPCfgCollection",
"Name": "SP Config Collection",
"Members@odata.count": 1,
"Members": [
{
"@odata.id": "/redfish/v1/Managers/1/SPService/SPCfg/1"
}
]
}响应码:200