iLO 4 REST API Data Model (LogEntry Resource Type) - shamimur/hp-proliant-sdk GitHub Wiki
/rest/v1/Managers/{item}/LogServices/IEL/Entries/{item}
/rest/v1/Systems/{item}/LogServices/IML/Entries/{item}
See Resource Map for more details.
Resources of type "LogEntry" are members of a log entry parent collection. For the Integrated Management Log (IML) a client may create a Maintenance Note log entry by performing a POST of a JSON object to the parent log entry collection with the following format: {"EntryCode": "Maintenance", "Message":"text message here"}
"LogEntry" defines the following properties:
This property is a member of LogEntry
The date and time when the log entry was created, for example, 2014-04-15T00:38:00Z.
JSON type:
String
The log entry type.
JSON type:
String containing one of the following supported values:
"Oem"
This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
GET | Rendered if supported by the implementation or omitted if not. |
The log entry details.
JSON type:
String
The number of duplicate log entries, with the possible exception of timestamps, that are not in the collection.
JSON type:
Integer
The IML event class.
JSON type:
Integer
The IML event code.
JSON type:
Integer
The repaired status of the IML event.
JSON type:
Boolean ('true' or 'false')
GET | Rendered if supported by the implementation or omitted if not. |
PATCH | This property may be PATCHed if the resource instance of this type supports PATCH in the HTTP Allow headers. |
HTTP PATCH to resource with request JSON:
{"Oem": {"Hp": {"Repaired": true}}}
The property "Oem/Hp/Repaired" on resource type LogEntry may not support PATCH of all values and may result in an HTTP 400 error with response of Type ExtendedError. Multiple properties may be included in a single HTTP PATCH operation as long as the request is properly formatted JSON. To address an array entry other than the first, insert nulls as placeholders on skipped array entries.
The date and time of the latest log entry update, for example, 2014-04-15T00:38:00Z.
JSON type:
String
The format of an OEM record.
JSON type:
String containing one of the following supported values:
"Hp-IML"
"Hp-iLOEventLog"
This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
GET | Rendered if supported by the implementation or omitted if not. |
The log entry ID.
JSON type:
Integer
greater than or equal to 0.
The log entry severity.