GET /nodes/{uuid}/systemGuardSetting
Use this method to return the System Guard settings for a specific managed servers with XCC2 only.
Note
This REST API requires Lenovo XClarity Administrator v4.0.0 or later.
Authentication
Authentication with username and password is required.
Request URL
PUT https://<management_server_IP>/nodes/{uuid}/systemGuardSetting
where {uuid} is the UUID of the server. To obtain the server UUIDs, use GET /nodes.
Query parameters
None
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response header
The URI and ID of the root job are returned in the Location field, for example:
Location: /tasks/34
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
lockDownPolicy | String | Indicates the behavior when System Guard is enabled. This can be one of the following values.
| ||
osBootPreventing | Boolean | Indicates whether to prevent booting the OS when processor or memory deviations are detected between the snapshot and the current inventory (when the status is noncompliant). This can be one of the following values.
| ||
status | String | Compliance status. This can be one of the following values.
| ||
systemGuardEnabled | Boolean | Indicates whether System Guard is enabled. This can be one of the following values.
|
The following example is returned if the request is successful.
{
"lockDownPolicy": "PreventOSBooting",
"osBootPreventing" : true,
"status" : "Noncompliant",
"systemGuardEnabled": true
}
Give documentation feedback