Era.Common.DataDefinition.Common.AllowedActions

Description

Structure to transfer allowed action for device users when a power action like restart or shutdown will happpen

Properties

Name JsonSchemaType Description
cancelAction boolean true if user will be able to cancel the action or false if not
postpone enum of Era.Common.DataDefinition.Common.AllowedActions_PostponeOptions [default = Cannot] in this case computer will be restarted or shutdown with just a 30sec notification without ability to postpone

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Task.ESS.OnDemandScan
Era.Common.DataDefinition.Task.OS.ShutdownComputer
Era.Common.DataDefinition.Task.OS.SoftwareInstallation
Era.Common.DataDefinition.Task.OS.SoftwareUninstallation
Era.Common.DataDefinition.Task.OS.SystemUpdate
Era.Common.DataDefinition.Task.OS.UpgradeInfrastructure

JsonSchema

{
    "title": "Era.Common.DataDefinition.Common.AllowedActions",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Common.AllowedActions"
    ],
    "properties": {
        "Era.Common.DataDefinition.Common.AllowedActions": {
            "$ref": "#/definitions/AllowedActions"
        }
    },
    "definitions": {
        "AllowedActions": {
            "additionalProperties": false,
            "type": "object",
            "properties": {
                "cancelAction": {
                    "type": "boolean"
                },
                "postpone": {
                    "enum": [
                        0,
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9
                    ]
                }
            }
        }
    }
}