Era.Common.DataDefinition.Task.OS.ShutdownComputer

Description

Execute computer shutdown/restart.

Properties

Name JsonSchemaType Description
actions reference to Era.Common.DataDefinition.Common.AllowedActions
restart boolean If true, computer is restarted, if false computer is shutdown.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Task.ClientTaskConfiguration

JsonSchema

{
    "title": "Era.Common.DataDefinition.Task.OS.ShutdownComputer",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Task.OS.ShutdownComputer"
    ],
    "properties": {
        "Era.Common.DataDefinition.Task.OS.ShutdownComputer": {
            "$ref": "#/definitions/ShutdownComputer"
        }
    },
    "definitions": {
        "ShutdownComputer": {
            "additionalProperties": false,
            "required": [
                "restart"
            ],
            "type": "object",
            "properties": {
                "actions": {
                    "$ref": "Era.Common.DataDefinition.Common.AllowedActions#/definitions/AllowedActions"
                },
                "restart": {
                    "type": "boolean"
                }
            }
        }
    }
}