alexandria/alexandria/model/redfish/1.0/TaskService.1.0.0.json

102 lines
5.5 KiB
JSON
Executable File

{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#TaskService.1.0.0.TaskService",
"$ref": "#/definitions/TaskService",
"definitions": {
"OverWritePolicy": {
"type": "string",
"enum": [
"Manual",
"Oldest"
],
"enumDescriptions": {
"Manual": "Completed tasks are not automatically overwritten",
"Oldest": "Oldest completed tasks are overwritten"
}
},
"TaskService": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/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": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"CompletedTaskOverWritePolicy": {
"$ref": "#/definitions/OverWritePolicy",
"readonly": true,
"description": "Overwrite policy of completed tasks",
"longDescription": "The value of this property shall indicate if completed tasks are overwritten should the task service need to track more tasks but the MaxNumberOfTasks has been reached. Never indicates that the service never overwrites entries by new entries thus causing attempts to spawn tasks to fail. Oldest indicates that the services overwrites the oldest completed task with a new task when the service has reached its maximum capacity."
},
"DateTime": {
"type": [
"string",
"null"
],
"format": "date-time",
"readonly": true,
"description": "The current DateTime (with offset) setting that the task service is using.",
"longDescription": "The value of this property shall represent the current DateTime value for the TaskService, with offset from UTC, in Redfish Timestamp format."
},
"LifeCycleEventOnTaskStateChange": {
"type": "boolean",
"readonly": true,
"description": "Send an Event upon Task State Change.",
"longDescription": "The value of this property, if set to true, shall indicate that the service shall send a LifeCycle event to ListenerDestinations registered for such events upon change of task state."
},
"ServiceEnabled": {
"type": [
"boolean",
"null"
],
"description": "This indicates whether this service is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this service is enabled."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Tasks": {
"$ref": "http://redfish.dmtf.org/schemas/v1/TaskCollection.json#/definitions/TaskCollection",
"readonly": true,
"description": "References to the Tasks collection.",
"longDescription": "The value of this property shall be a link to a resource of type TaskCollection."
}
},
"description": "This is the schema definition for the Task Service. It represents the properties for the service itself and has links to the actual list of tasks.",
"longDescription": "This resource shall be used to represent a task service for a Redfish implementation."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}