alexandria/alexandria/model/redfish/Task.0.96.0.json

94 lines
5.1 KiB
JSON

{
"$schema": "http://schemas.dmtf.org/redfish/v1/redfish-schema.0.96.0",
"title": "Task.0.96.0",
"type": "object",
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "odata.4.0.0.json#context"
},
"@odata.id": {
"$ref": "odata.4.0.0.json#id"
},
"@odata.type": {
"$ref": "odata.4.0.0.json#type"
},
"Oem": {
"$ref": "Resource.0.96.0.json#Oem",
"description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
"longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
},
"Id": {
"$ref": "Resource.0.96.0.json#Id"
},
"Description": {
"$ref": "Resource.0.96.0.json#Description"
},
"Name": {
"$ref": "Resource.0.96.0.json#Name"
},
"TaskState": {
"type": "string",
"enum": [
"New",
"Starting",
"Running",
"Suspended",
"Interrupted",
"Pending",
"Stopping",
"Completed",
"Killed",
"Exception",
"Service"
],
"enumDescriptions": {
"New": "A new task",
"Starting": "Task is starting",
"Running": "Task is running normally",
"Suspended": "Task has been suspended",
"Interrupted": "Task has been interrupted",
"Pending": "Task is pending and has not started",
"Stopping": "Task is in the process of stopping",
"Completed": "Task has completed",
"Killed": "Task was terminated",
"Exception": "Task has stopped due to an exception condition",
"Service": "Task is running as a service"
},
"readonly": true,
"description": "The state of the task.",
"longDescription": "The value of this property shall indicate the state of the task. New shall be used to indicate that the task is a new task which has just been instantiated and is in the initial state and indicates it has never been started. Starting shall be used to indicate that the task is moving from the New, Suspended, or Service states into the Running state. Running shall be used to indicate that the Task is running. Suspended shall be used to indicate that the Task is stopped (e.g., by a user), but can be restarted in a seamless manner. Interrupted shall be used to indicate that the Task was interrupted (e.g., by a server crash) in the middle of processing, and the user should either re-run/restart the Task. Pending shall be used to indicate that the Task has been queued and will be scheduled for processing as soon as resources are available to handle the request. Stopping shall be used to indicate that the Task is in the process of moving to a Completed, Killed, or Exception state. Completed shall be used to indicate that the task has completed normally. Killed shall be used to indicate that the task has been stopped by a Kill state change request (non-graceful shutdown). Exception shall be used to indicate that the Task is in an abnormal state that might be indicative of an error condition. Service shall be used to indicate that the Task is in a state that supports problem discovery, or resolution, or both. This state is used when a corrective action is possible. "
},
"StartTime": {
"type": "string",
"readonly": true,
"description": "The date-time stamp that the task was last started.",
"longDescription": "The value of this property shall indicate the time the task was started."
},
"EndTime": {
"type": "string",
"readonly": true,
"description": "The date-time stamp that the task was last completed.",
"longDescription": "The value of this property shall indicate the time the task was completed."
},
"TaskStatus": {
"type": "string",
"enum": [
"OK",
"Warning",
"Critical"
],
"enumDescriptions": {
"OK": "Normal",
"Warning": "A condition exists that requires attention",
"Critical": "A critical condition exists that requires immediate attention"
},
"readonly": true,
"description": "This is the completion status of the task.",
"longDescription": "The value of this property shall be the completion status of the task, as defined in the Status section of the Redfish specification and shall not be set until the task has completed."
}
},
"description": "This is the schema definition for a Task resource.",
"longDescription": "This resource shall be used to represent a task for a Redfish implementation."
}