1*f2a8e57eSGunnar Mills{ 2*f2a8e57eSGunnar Mills "$id": "http://redfish.dmtf.org/schemas/v1/TaskService.v1_2_1.json", 3*f2a8e57eSGunnar Mills "$ref": "#/definitions/TaskService", 4*f2a8e57eSGunnar Mills "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5*f2a8e57eSGunnar Mills "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 6*f2a8e57eSGunnar Mills "definitions": { 7*f2a8e57eSGunnar Mills "Actions": { 8*f2a8e57eSGunnar Mills "additionalProperties": false, 9*f2a8e57eSGunnar Mills "description": "The available actions for this resource.", 10*f2a8e57eSGunnar Mills "longDescription": "This type shall contain the available actions for this resource.", 11*f2a8e57eSGunnar Mills "patternProperties": { 12*f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 13*f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 14*f2a8e57eSGunnar Mills "type": [ 15*f2a8e57eSGunnar Mills "array", 16*f2a8e57eSGunnar Mills "boolean", 17*f2a8e57eSGunnar Mills "integer", 18*f2a8e57eSGunnar Mills "number", 19*f2a8e57eSGunnar Mills "null", 20*f2a8e57eSGunnar Mills "object", 21*f2a8e57eSGunnar Mills "string" 22*f2a8e57eSGunnar Mills ] 23*f2a8e57eSGunnar Mills } 24*f2a8e57eSGunnar Mills }, 25*f2a8e57eSGunnar Mills "properties": { 26*f2a8e57eSGunnar Mills "Oem": { 27*f2a8e57eSGunnar Mills "$ref": "#/definitions/OemActions", 28*f2a8e57eSGunnar Mills "description": "The available OEM-specific actions for this resource.", 29*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the available OEM-specific actions for this resource.", 30*f2a8e57eSGunnar Mills "versionAdded": "v1_1_0" 31*f2a8e57eSGunnar Mills } 32*f2a8e57eSGunnar Mills }, 33*f2a8e57eSGunnar Mills "type": "object" 34*f2a8e57eSGunnar Mills }, 35*f2a8e57eSGunnar Mills "OemActions": { 36*f2a8e57eSGunnar Mills "additionalProperties": true, 37*f2a8e57eSGunnar Mills "description": "The available OEM-specific actions for this resource.", 38*f2a8e57eSGunnar Mills "longDescription": "This type shall contain the available OEM-specific actions for this resource.", 39*f2a8e57eSGunnar Mills "patternProperties": { 40*f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 41*f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 42*f2a8e57eSGunnar Mills "type": [ 43*f2a8e57eSGunnar Mills "array", 44*f2a8e57eSGunnar Mills "boolean", 45*f2a8e57eSGunnar Mills "integer", 46*f2a8e57eSGunnar Mills "number", 47*f2a8e57eSGunnar Mills "null", 48*f2a8e57eSGunnar Mills "object", 49*f2a8e57eSGunnar Mills "string" 50*f2a8e57eSGunnar Mills ] 51*f2a8e57eSGunnar Mills } 52*f2a8e57eSGunnar Mills }, 53*f2a8e57eSGunnar Mills "properties": {}, 54*f2a8e57eSGunnar Mills "type": "object" 55*f2a8e57eSGunnar Mills }, 56*f2a8e57eSGunnar Mills "OverWritePolicy": { 57*f2a8e57eSGunnar Mills "enum": [ 58*f2a8e57eSGunnar Mills "Manual", 59*f2a8e57eSGunnar Mills "Oldest" 60*f2a8e57eSGunnar Mills ], 61*f2a8e57eSGunnar Mills "enumDescriptions": { 62*f2a8e57eSGunnar Mills "Manual": "Completed tasks are not automatically overwritten.", 63*f2a8e57eSGunnar Mills "Oldest": "Oldest completed tasks are overwritten." 64*f2a8e57eSGunnar Mills }, 65*f2a8e57eSGunnar Mills "type": "string" 66*f2a8e57eSGunnar Mills }, 67*f2a8e57eSGunnar Mills "TaskService": { 68*f2a8e57eSGunnar Mills "additionalProperties": false, 69*f2a8e57eSGunnar Mills "description": "The `TaskService` schema describes a task service that enables management of long-duration operations, includes the properties for the task service itself, and has links to the resource collection of tasks.", 70*f2a8e57eSGunnar Mills "longDescription": "This resource contains a task service for a Redfish implementation.", 71*f2a8e57eSGunnar Mills "patternProperties": { 72*f2a8e57eSGunnar Mills "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 73*f2a8e57eSGunnar Mills "description": "This property shall specify a valid odata or Redfish property.", 74*f2a8e57eSGunnar Mills "type": [ 75*f2a8e57eSGunnar Mills "array", 76*f2a8e57eSGunnar Mills "boolean", 77*f2a8e57eSGunnar Mills "integer", 78*f2a8e57eSGunnar Mills "number", 79*f2a8e57eSGunnar Mills "null", 80*f2a8e57eSGunnar Mills "object", 81*f2a8e57eSGunnar Mills "string" 82*f2a8e57eSGunnar Mills ] 83*f2a8e57eSGunnar Mills } 84*f2a8e57eSGunnar Mills }, 85*f2a8e57eSGunnar Mills "properties": { 86*f2a8e57eSGunnar Mills "@odata.context": { 87*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 88*f2a8e57eSGunnar Mills }, 89*f2a8e57eSGunnar Mills "@odata.etag": { 90*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 91*f2a8e57eSGunnar Mills }, 92*f2a8e57eSGunnar Mills "@odata.id": { 93*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 94*f2a8e57eSGunnar Mills }, 95*f2a8e57eSGunnar Mills "@odata.type": { 96*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 97*f2a8e57eSGunnar Mills }, 98*f2a8e57eSGunnar Mills "Actions": { 99*f2a8e57eSGunnar Mills "$ref": "#/definitions/Actions", 100*f2a8e57eSGunnar Mills "description": "The available actions for this resource.", 101*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the available actions for this resource.", 102*f2a8e57eSGunnar Mills "versionAdded": "v1_1_0" 103*f2a8e57eSGunnar Mills }, 104*f2a8e57eSGunnar Mills "CompletedTaskOverWritePolicy": { 105*f2a8e57eSGunnar Mills "$ref": "#/definitions/OverWritePolicy", 106*f2a8e57eSGunnar Mills "description": "The overwrite policy for completed tasks. This property indicates if the task service overwrites completed task information.", 107*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the overwrite policy for completed tasks. This property shall indicate if the task service overwrites completed task information.", 108*f2a8e57eSGunnar Mills "readonly": true 109*f2a8e57eSGunnar Mills }, 110*f2a8e57eSGunnar Mills "DateTime": { 111*f2a8e57eSGunnar Mills "description": "The current date and time, with UTC offset, setting that the task service uses.", 112*f2a8e57eSGunnar Mills "format": "date-time", 113*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the current date and time for the task service, with UTC offset.", 114*f2a8e57eSGunnar Mills "readonly": true, 115*f2a8e57eSGunnar Mills "type": [ 116*f2a8e57eSGunnar Mills "string", 117*f2a8e57eSGunnar Mills "null" 118*f2a8e57eSGunnar Mills ] 119*f2a8e57eSGunnar Mills }, 120*f2a8e57eSGunnar Mills "Description": { 121*f2a8e57eSGunnar Mills "anyOf": [ 122*f2a8e57eSGunnar Mills { 123*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" 124*f2a8e57eSGunnar Mills }, 125*f2a8e57eSGunnar Mills { 126*f2a8e57eSGunnar Mills "type": "null" 127*f2a8e57eSGunnar Mills } 128*f2a8e57eSGunnar Mills ], 129*f2a8e57eSGunnar Mills "readonly": true 130*f2a8e57eSGunnar Mills }, 131*f2a8e57eSGunnar Mills "Id": { 132*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", 133*f2a8e57eSGunnar Mills "readonly": true 134*f2a8e57eSGunnar Mills }, 135*f2a8e57eSGunnar Mills "LifeCycleEventOnTaskStateChange": { 136*f2a8e57eSGunnar Mills "description": "An indication of whether a task state change sends an event.", 137*f2a8e57eSGunnar Mills "longDescription": "This property shall indicate whether a task state change sends an event. Services should send an event containing a message defined in the Task Event Message Registry when the state of a task changes.", 138*f2a8e57eSGunnar Mills "readonly": true, 139*f2a8e57eSGunnar Mills "type": "boolean" 140*f2a8e57eSGunnar Mills }, 141*f2a8e57eSGunnar Mills "Name": { 142*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", 143*f2a8e57eSGunnar Mills "readonly": true 144*f2a8e57eSGunnar Mills }, 145*f2a8e57eSGunnar Mills "Oem": { 146*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 147*f2a8e57eSGunnar Mills "description": "The OEM extension property.", 148*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." 149*f2a8e57eSGunnar Mills }, 150*f2a8e57eSGunnar Mills "ServiceEnabled": { 151*f2a8e57eSGunnar Mills "description": "An indication of whether this service is enabled.", 152*f2a8e57eSGunnar Mills "longDescription": "This property shall indicate whether this service is enabled.", 153*f2a8e57eSGunnar Mills "readonly": false, 154*f2a8e57eSGunnar Mills "type": [ 155*f2a8e57eSGunnar Mills "boolean", 156*f2a8e57eSGunnar Mills "null" 157*f2a8e57eSGunnar Mills ] 158*f2a8e57eSGunnar Mills }, 159*f2a8e57eSGunnar Mills "Status": { 160*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", 161*f2a8e57eSGunnar Mills "description": "The status and health of the resource and its subordinate or dependent resources.", 162*f2a8e57eSGunnar Mills "longDescription": "This property shall contain any status or health properties of the resource." 163*f2a8e57eSGunnar Mills }, 164*f2a8e57eSGunnar Mills "TaskAutoDeleteTimeoutMinutes": { 165*f2a8e57eSGunnar Mills "description": "The number of minutes after which a completed task is deleted by the service.", 166*f2a8e57eSGunnar Mills "longDescription": "This property shall contain the number of minutes after which a completed task, where `TaskState` contains the value `Completed`, `Killed`, `Cancelled`, or `Exception`, is deleted by the service.", 167*f2a8e57eSGunnar Mills "minimum": 1, 168*f2a8e57eSGunnar Mills "readonly": false, 169*f2a8e57eSGunnar Mills "type": "integer", 170*f2a8e57eSGunnar Mills "versionAdded": "v1_2_0" 171*f2a8e57eSGunnar Mills }, 172*f2a8e57eSGunnar Mills "Tasks": { 173*f2a8e57eSGunnar Mills "$ref": "http://redfish.dmtf.org/schemas/v1/TaskCollection.json#/definitions/TaskCollection", 174*f2a8e57eSGunnar Mills "description": "The links to the collection of tasks.", 175*f2a8e57eSGunnar Mills "longDescription": "This property shall contain a link to a resource collection of type `TaskCollection`.", 176*f2a8e57eSGunnar Mills "readonly": true 177*f2a8e57eSGunnar Mills } 178*f2a8e57eSGunnar Mills }, 179*f2a8e57eSGunnar Mills "required": [ 180*f2a8e57eSGunnar Mills "@odata.id", 181*f2a8e57eSGunnar Mills "@odata.type", 182*f2a8e57eSGunnar Mills "Id", 183*f2a8e57eSGunnar Mills "Name" 184*f2a8e57eSGunnar Mills ], 185*f2a8e57eSGunnar Mills "type": "object" 186*f2a8e57eSGunnar Mills } 187*f2a8e57eSGunnar Mills }, 188*f2a8e57eSGunnar Mills "language": "en", 189*f2a8e57eSGunnar Mills "owningEntity": "DMTF", 190*f2a8e57eSGunnar Mills "release": "2021.1", 191*f2a8e57eSGunnar Mills "title": "#TaskService.v1_2_1.TaskService" 192*f2a8e57eSGunnar Mills}