Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Ed Tanous | ed76121 | 2022-09-23 15:03:29 -0700 | [diff] [blame^] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/Task.v1_6_0.json", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 3 | "$ref": "#/definitions/Task", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Ed Tanous | ed76121 | 2022-09-23 15:03:29 -0700 | [diff] [blame^] | 5 | "copyright": "Copyright 2014-2022 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 9 | "description": "The available actions for this Resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 11 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 17 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 27 | "$ref": "#/definitions/OemActions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 28 | "description": "The available OEM-specific actions for this Resource.", |
| 29 | "longDescription": "This property shall contain the available OEM-specific actions for this Resource.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 30 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 31 | } |
| 32 | }, |
| 33 | "type": "object" |
| 34 | }, |
| 35 | "OemActions": { |
| 36 | "additionalProperties": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 37 | "description": "The available OEM-specific actions for this Resource.", |
| 38 | "longDescription": "This type shall contain the available OEM-specific actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 39 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 40 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 41 | "description": "This property shall specify a valid odata or Redfish property.", |
| 42 | "type": [ |
| 43 | "array", |
| 44 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 45 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 46 | "number", |
| 47 | "null", |
| 48 | "object", |
| 49 | "string" |
| 50 | ] |
| 51 | } |
| 52 | }, |
| 53 | "properties": {}, |
| 54 | "type": "object" |
| 55 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 56 | "Payload": { |
| 57 | "additionalProperties": false, |
| 58 | "description": "The HTTP and JSON payload details for this Task.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 59 | "longDescription": "This type shall contain information detailing the HTTP and JSON payload information for executing this Task.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 60 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 61 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 62 | "description": "This property shall specify a valid odata or Redfish property.", |
| 63 | "type": [ |
| 64 | "array", |
| 65 | "boolean", |
| 66 | "integer", |
| 67 | "number", |
| 68 | "null", |
| 69 | "object", |
| 70 | "string" |
| 71 | ] |
| 72 | } |
| 73 | }, |
| 74 | "properties": { |
| 75 | "HttpHeaders": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 76 | "description": "An array of HTTP headers that this task includes.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 77 | "items": { |
| 78 | "type": "string" |
| 79 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 80 | "longDescription": "This property shall contain an array of HTTP headers that this task includes.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 81 | "readonly": true, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 82 | "type": "array", |
| 83 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 84 | }, |
| 85 | "HttpOperation": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 86 | "description": "The HTTP operation to perform to execute this task.", |
| 87 | "longDescription": "This property shall contain the HTTP operation to execute for this task.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 88 | "readonly": true, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 89 | "type": "string", |
| 90 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 91 | }, |
| 92 | "JsonBody": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 93 | "description": "The JSON payload to use in the execution of this task.", |
| 94 | "longDescription": "This property shall contain JSON formatted payload used for this task.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 95 | "readonly": true, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 96 | "type": "string", |
| 97 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 98 | }, |
| 99 | "TargetUri": { |
| 100 | "description": "The URI of the target for this task.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 101 | "format": "uri-reference", |
| 102 | "longDescription": "This property shall contain a link to the location to use as the target for an HTTP operation.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 103 | "readonly": true, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 104 | "type": "string", |
| 105 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 106 | } |
| 107 | }, |
| 108 | "type": "object" |
| 109 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 110 | "Task": { |
| 111 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 112 | "description": "The Task schema contains information about a task that the Redfish Task Service schedules or executes. Tasks represent operations that take more time than a client typically wants to wait.", |
| 113 | "longDescription": "This Resource contains a Task for a Redfish implementation.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 114 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 115 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 116 | "description": "This property shall specify a valid odata or Redfish property.", |
| 117 | "type": [ |
| 118 | "array", |
| 119 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 120 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 121 | "number", |
| 122 | "null", |
| 123 | "object", |
| 124 | "string" |
| 125 | ] |
| 126 | } |
| 127 | }, |
| 128 | "properties": { |
| 129 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 130 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 131 | }, |
| 132 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 133 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 134 | }, |
| 135 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 136 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 137 | }, |
| 138 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 139 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 140 | }, |
| 141 | "Actions": { |
| 142 | "$ref": "#/definitions/Actions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 143 | "description": "The available actions for this Resource.", |
| 144 | "longDescription": "This property shall contain the available actions for this Resource.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 145 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 146 | }, |
| 147 | "Description": { |
| 148 | "anyOf": [ |
| 149 | { |
| 150 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 151 | }, |
| 152 | { |
| 153 | "type": "null" |
| 154 | } |
| 155 | ], |
| 156 | "readonly": true |
| 157 | }, |
| 158 | "EndTime": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 159 | "description": "The date and time when the task was completed. This property will only appear when the task is complete.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 160 | "format": "date-time", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 161 | "longDescription": "This property shall indicate the date and time when the task was completed. This property shall not appear if the task is running or otherwise has not been completed. This property shall appear only if the TaskState is Completed, Killed, Cancelled, or Exception.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 162 | "readonly": true, |
| 163 | "type": "string" |
| 164 | }, |
Ed Tanous | ed76121 | 2022-09-23 15:03:29 -0700 | [diff] [blame^] | 165 | "EstimatedDuration": { |
| 166 | "description": "The estimated total time required to complete the task.", |
| 167 | "longDescription": "This property shall indicate the estimated total time needed to complete the task. The value is not expected to change while the task is in progress, but the service may update the value if it obtains new information that significantly changes the expected duration. Services should be conservative in the reported estimate and clients should treat this value as an estimate.", |
| 168 | "pattern": "-?P(\\d+D)?(T(\\d+H)?(\\d+M)?(\\d+(.\\d+)?S)?)?", |
| 169 | "readonly": true, |
| 170 | "type": [ |
| 171 | "string", |
| 172 | "null" |
| 173 | ], |
| 174 | "versionAdded": "v1_6_0" |
| 175 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 176 | "HidePayload": { |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 177 | "description": "An indication of whether the contents of the payload are hidden from view after the task has been created. If `true`, responses do not return the payload. If `false`, responses return the payload. If this property is not present when the task is created, the default is `false`.", |
| 178 | "longDescription": "This property shall indicate whether the contents of the payload should be hidden from view after the task has been created. If `true`, responses shall not return the Payload property. If `false`, responses shall return the Payload property. If this property is not present when the task is created, the default is `false`. This property shall be supported if the Payload property is supported.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 179 | "readonly": true, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 180 | "type": "boolean", |
| 181 | "versionAdded": "v1_3_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 182 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 183 | "Id": { |
| 184 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 185 | "readonly": true |
| 186 | }, |
| 187 | "Messages": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 188 | "description": "An array of messages associated with the task.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 189 | "items": { |
| 190 | "$ref": "http://redfish.dmtf.org/schemas/v1/Message.json#/definitions/Message" |
| 191 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 192 | "longDescription": "This property shall contain an array of messages associated with the task.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 193 | "type": "array" |
| 194 | }, |
| 195 | "Name": { |
| 196 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 197 | "readonly": true |
| 198 | }, |
| 199 | "Oem": { |
| 200 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 201 | "description": "The OEM extension property.", |
| 202 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 203 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 204 | "Payload": { |
| 205 | "$ref": "#/definitions/Payload", |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 206 | "description": "The HTTP and JSON payload details for this task, unless they are hidden from view by the service.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 207 | "longDescription": "This object shall contain information detailing the HTTP and JSON payload information for executing this task. This object shall not be included in the response if the HidePayload property is `true`.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 208 | "versionAdded": "v1_3_0" |
| 209 | }, |
| 210 | "PercentComplete": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 211 | "description": "The completion percentage of this task.", |
| 212 | "longDescription": "This property shall indicate the completion progress of the task, reported in percent of completion. If the task has not been started, the value shall be zero.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 213 | "readonly": true, |
| 214 | "type": [ |
| 215 | "integer", |
| 216 | "null" |
| 217 | ], |
| 218 | "units": "%", |
| 219 | "versionAdded": "v1_4_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 220 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 221 | "StartTime": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 222 | "description": "The date and time when the task was started.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 223 | "format": "date-time", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 224 | "longDescription": "This property shall indicate the date and time when the task was started.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 225 | "readonly": true, |
| 226 | "type": "string" |
| 227 | }, |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 228 | "SubTasks": { |
| 229 | "$ref": "http://redfish.dmtf.org/schemas/v1/TaskCollection.json#/definitions/TaskCollection", |
| 230 | "description": "The link to a collection of sub-tasks for this task.", |
| 231 | "longDescription": "This property shall contain a link to a resource collection of type TaskCollection. This property shall not be present if this resource represents a sub-task for a task.", |
| 232 | "readonly": true, |
| 233 | "versionAdded": "v1_5_0" |
| 234 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 235 | "TaskMonitor": { |
| 236 | "description": "The URI of the Task Monitor for this task.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 237 | "format": "uri-reference", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 238 | "longDescription": "This property shall contain a URI to Task Monitor as defined in the Redfish Specification.", |
| 239 | "readonly": true, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 240 | "type": "string", |
| 241 | "versionAdded": "v1_2_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 242 | }, |
| 243 | "TaskState": { |
| 244 | "$ref": "#/definitions/TaskState", |
| 245 | "description": "The state of the task.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 246 | "longDescription": "This property shall indicate the state of the task.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 247 | "readonly": true |
| 248 | }, |
| 249 | "TaskStatus": { |
| 250 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 251 | "description": "The completion status of the task.", |
| 252 | "longDescription": "This property shall contain the completion status of the task, as defined in the Status section of the Redfish Specification and shall not be set until the task completes.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 253 | "readonly": true |
| 254 | } |
| 255 | }, |
| 256 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 257 | "@odata.id", |
| 258 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 259 | "Id", |
| 260 | "Name" |
| 261 | ], |
| 262 | "type": "object" |
| 263 | }, |
| 264 | "TaskState": { |
| 265 | "enum": [ |
| 266 | "New", |
| 267 | "Starting", |
| 268 | "Running", |
| 269 | "Suspended", |
| 270 | "Interrupted", |
| 271 | "Pending", |
| 272 | "Stopping", |
| 273 | "Completed", |
| 274 | "Killed", |
| 275 | "Exception", |
| 276 | "Service", |
| 277 | "Cancelling", |
| 278 | "Cancelled" |
| 279 | ], |
| 280 | "enumDeprecated": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 281 | "Killed": "This value has been deprecated and is being replaced by the Cancelled value, which has more determinate semantics." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 282 | }, |
| 283 | "enumDescriptions": { |
| 284 | "Cancelled": "Task has been cancelled by an operator or internal process.", |
| 285 | "Cancelling": "Task is in the process of being cancelled.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 286 | "Completed": "Task was completed.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 287 | "Exception": "Task has stopped due to an exception condition.", |
| 288 | "Interrupted": "Task has been interrupted.", |
| 289 | "Killed": "Task was terminated.", |
| 290 | "New": "A new task.", |
| 291 | "Pending": "Task is pending and has not started.", |
| 292 | "Running": "Task is running normally.", |
| 293 | "Service": "Task is running as a service.", |
| 294 | "Starting": "Task is starting.", |
| 295 | "Stopping": "Task is in the process of stopping.", |
| 296 | "Suspended": "Task has been suspended." |
| 297 | }, |
| 298 | "enumLongDescriptions": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 299 | "Cancelled": "This value shall represent that either a DELETE operation on a Task Monitor or Task Resource or by an internal process cancelled the task.", |
| 300 | "Cancelling": "This value shall represent that the task is in the process of being cancelled.", |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame] | 301 | "Completed": "This value shall represent that the task completed successfully or with warnings.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 302 | "Exception": "This value shall represent that the task completed with errors.", |
| 303 | "Interrupted": "This value shall represent that the task has been interrupted but is expected to restart and is therefore not complete.", |
| 304 | "Killed": "This value shall represent that the task is complete because an operator killed it.", |
| 305 | "New": "This value shall represent that the task is newly created, but has not started.", |
| 306 | "Pending": "This value shall represent that the task is pending some condition and has not yet begun to execute.", |
| 307 | "Running": "This value shall represent that the task is executing.", |
| 308 | "Service": "This value shall represent that the task is now running as a service and expected to continue operation until stopped or killed.", |
| 309 | "Starting": "This value shall represent that the task is starting.", |
| 310 | "Stopping": "This value shall represent that the task is stopping but is not yet complete.", |
| 311 | "Suspended": "This value shall represent that the task has been suspended but is expected to restart and is therefore not complete." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 312 | }, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 313 | "enumVersionAdded": { |
| 314 | "Cancelled": "v1_2_0", |
| 315 | "Cancelling": "v1_2_0" |
| 316 | }, |
| 317 | "enumVersionDeprecated": { |
| 318 | "Killed": "v1_2_0" |
| 319 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 320 | "type": "string" |
| 321 | } |
| 322 | }, |
| 323 | "owningEntity": "DMTF", |
Ed Tanous | ed76121 | 2022-09-23 15:03:29 -0700 | [diff] [blame^] | 324 | "release": "2022.1", |
| 325 | "title": "#Task.v1_6_0.Task" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 326 | } |