Users Guide
获得兼容性任务状态
命令:GET https://{VC IP/FQDN}/rest/cis/tasks/{task ID}
说明:返回有关任务的信息。
HTTP 响应代码:200。有关所有响应代码的列表,请参阅响应代码 页面上的 154。
示例响应:以下示例仅包含非合规固件。
"result": 
[
{
 "value": 
[
{
"value": 
{
"hardware_modules": 
[
{
 "value": 
 {
 "current": 
 {
 "version": "25.5.6.0009"
 },
 "details": 
 {
 "component_class": "PCI_DEVICE",
 "description": "PERC H730 Mini"
 } "notifications": 
 {
 "info": 
 [
 {
 "id": "Different versions.",
 "time": "2020-02-04T10:47:54.422Z",
 "message": 
 {
 "args": [],
 "default_message": "Different versions.",
 "id": "Different versions."
 }
 }
 ]
 },
 "status": "NON_COMPLIANT",
 "target": {
 "version": "25.5.5.0005"
 }
 }
 "key": ""
 }
 ],
 "notifications": 
 {
 "info": 
 [
 {
 "id": "[vCenter:<vCenter IP/FQDN>][Cluster: <Cluster name>][Host: <host IP/
FQDN>] The host is non-compliant",
 "time": "2020-02-04T10:47:54.423Z",
 "message": 
 {
 "args": [],
 "default_message": “[vCenter:<vCenter IP/FQDN>][Cluster: <Cluster name>][Host: <host IP/
FQDN>] The host is non-compliant",
 "id": "[vCenter:<vCenter IP/FQDN>][Cluster: <Cluster name>][Host: <host IP/FQDN>] The host 
is non-compliant"
 }
 }]
主机管理
125










