下载
中文
注册

查询安全服务资源信息

命令功能

查询安全服务资源信息。

命令格式

操作类型:GET

URLhttps://device_ip/redfish/v1/Systems/SecurityService

请求头:

X-Auth-Token: auth_value

请求消息体:无

使用指南

使用实例

请求样例:

GET https://10.10.10.10/redfish/v1/Systems/SecurityService

请求头:

X-Auth-Token: auth_value

请求消息体:无

响应样例:

{
    "@odata.context": "/redfish/v1/$metadata#Systems/SecurityService",
    "@odata.id": "/redfish/v1/Systems/SecurityService",
    "@odata.type": "#MindXEdgeSecurityService.v1_0_0.MindXEdgeSecurityService",
    "Id": "Security Service",
    "Name": "Security Service",
    "HttpsCert": {
        "@odata.id": "/redfish/v1/Systems/SecurityService/HttpsCert"
    },
    "DownloadCSRFile": {
        "@odata.id": "/redfish/v1/Systems/SecurityService/downloadCSRFile"
    },
    "HttpsCertAlarmTime": {
        "@odata.id": "/redfish/v1/Systems/SecurityService/HttpsCertAlarmTime"
    },
    "SecurityLoad": {
         "@odata.id": "/redfish/v1/Systems/SecurityService/SecurityLoad"
    },
    "Actions": {
        "#SecurityService.PunyDictImport": {
            "target": "/redfish/v1/Systems/SecurityService/Actions/SecurityService.PunyDictImport"
        },
        "#SecurityService.PunyDictExport": {
            "target": "/redfish/v1/Systems/SecurityService/Actions/SecurityService.PunyDictExport"
        },
        "#SecurityService.PunyDictDelete": {
            "target": "/redfish/v1/Systems/SecurityService/Actions/SecurityService.PunyDictDelete"
        }
    }
}

响应码:200

输出说明

表1 操作输出说明

字段

类型

说明

@odata.context

字符串

安全服务资源模型的OData描述信息。

@odata.id

字符串

安全服务资源节点的访问路径。

@odata.type

字符串

安全服务资源类型。

Id

字符串

安全服务资源的ID。

Name

字符串

安全服务资源的名称。

HttpsCert

对象

服务器证书资源的访问路径。

DownloadCSRFile

对象

下载证书签名请求的访问路径。

HttpsCertAlarmTime

对象

证书有效期提醒时间资源的访问路径。

SecurityLoad

对象

登录规则资源的访问路径。

Actions

对象

可执行的操作。

#SecurityService.PunyDictImport

对象

导入弱字典资源。

#SecurityService.PunyDictImport.target

字符串

导入弱字典资源的访问路径。

#SecurityService.PunyDictExport

对象

导出弱字典资源。

#SecurityService.PunyDictExport.target

字符串

导出弱字典资源的访问路径。

#SecurityService.PunyDictDelete

对象

删除弱字典资源。

#SecurityService.PunyDictDelete.target

字符串

删除弱字典资源的访问路径。