Era.Common.DataDefinition.Task.ServerTaskConfiguration

Description

Server task configuration. Provide only one configuration corresponding to the picked [taskType].

Properties

Name JsonSchemaType Description
deleteNotConnectingComputers reference to Era.Common.DataDefinition.Task.Server.DeleteNotConnectingComputers Configuration for [taskType]=DELETE_NOT_CONNECTING_COMPUTERS.
generateReport reference to Era.Common.DataDefinition.Task.Server.GenerateReport Configuration for [taskType]=GENERATE_REPORT.
remoteInstallation reference to Era.Common.DataDefinition.Task.Server.RemoteInstall Configuration for [taskType]=REMOTE_INSTALLATION.
renameComputers reference to Era.Common.DataDefinition.Task.Server.RenameComputers Configuration for [taskType]=RENAME_COMPUTERS.
replication reference to Era.Common.DataDefinition.Task.Replication Do not use.
sendNotification reference to Era.Common.DataDefinition.Task.Server.SendNotification Configuration for [taskType]=SEND_NOTIFICATION.
staffThirdPartyResourceSynchronization reference to Era.Common.DataDefinition.Task.Server.StaffThirdPartyResourceSynchronization Configuration for [taskType]=STAFF_SYNCHRONIZATION.
staticGroupThirdPartyResourceSynchronization reference to Era.Common.DataDefinition.Task.Server.StaticGroupThirdPartyResourceSynchronization Configuration for [taskType]=STATIC_GROUP_THIRD_PARTY_RESOURCE_SYNCHRONIZATION.
taskType enum of Era.Common.DataDefinition.Task.ServerTaskConfiguration_Type Type of the task. For details refer to the enum documentation.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateServerTaskRequest
Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcGetServerTaskResponse
Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcModifyServerTaskRequest

JsonSchema

{
    "title": "Era.Common.DataDefinition.Task.ServerTaskConfiguration",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Task.ServerTaskConfiguration"
    ],
    "properties": {
        "Era.Common.DataDefinition.Task.ServerTaskConfiguration": {
            "$ref": "#/definitions/ServerTaskConfiguration"
        }
    },
    "definitions": {
        "ServerTaskConfiguration": {
            "additionalProperties": false,
            "required": [
                "taskType"
            ],
            "type": "object",
            "properties": {
                "deleteNotConnectingComputers": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.DeleteNotConnectingComputers#/definitions/DeleteNotConnectingComputers"
                },
                "generateReport": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.GenerateReport#/definitions/GenerateReport"
                },
                "remoteInstallation": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.RemoteInstall#/definitions/RemoteInstall"
                },
                "renameComputers": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.RenameComputers#/definitions/RenameComputers"
                },
                "replication": {
                    "$ref": "Era.Common.DataDefinition.Task.Replication#/definitions/Replication"
                },
                "sendNotification": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.SendNotification#/definitions/SendNotification"
                },
                "staffThirdPartyResourceSynchronization": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.StaffThirdPartyResourceSynchronization#/definitions/StaffThirdPartyResourceSynchronization"
                },
                "staticGroupThirdPartyResourceSynchronization": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.StaticGroupThirdPartyResourceSynchronization#/definitions/StaticGroupThirdPartyResourceSynchronization"
                },
                "taskType": {
                    "enum": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13
                    ]
                }
            }
        }
    }
}