TaskRequest

TaskRequest
TaskRequest
JSON Example
{
    "logDescription": "string",
    "log": "string",
    "taskDescriptorRef": {
        "lastUpdated": "string",
        "createdDate": "string",
        "name": "string",
        "description": "string",
        "id": "string",
        "version": 0
    },
    "version": 0,
    "script": {
        "scriptContent": "string",
        "isRebootAfter": false,
        "scriptTypeId": {
            "name": "string",
            "supportedOsDetails": [
                {
                    "execCommand": "string",
                    "osFamily": "string",
                    "execScript": "string",
                    "supportsOutputProps": false,
                    "fileExtension": "string",
                    "execScriptExtension": "string"
                }
            ]
        }
    },
    "lastUpdated": "string",
    "createdDate": "string",
    "stateName": "string",
    "dateStarted": "string",
    "dateCompleted": "string",
    "nodeRef": {
        "agentId": "string",
        "proxyConfig": {
            "entries": [
                {
                    "key": "string"
                }
            ]
        },
        "osFamily": "string",
        "machineResourceId": "string",
        "version": 0,
        "lastUpdated": "string",
        "subTenantId": "string",
        "createdDate": "string",
        "name": "string",
        "tenantId": "string",
        "agentVersion": "string",
        "lastAgentPingDate": "string",
        "id": "string",
        "registrationState": "string",
        "subscriptionEndpoint": "string"
    },
    "id": "string",
    "state": "string"
}
string
logDescription
Optional

logDescription

string
log
Optional

log

taskDescriptorRef
Required

taskDescriptorRef

integer As int64 As int64
version
Optional

version

script
Optional

script

string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
createdDate
Optional

createdDate

string
stateName
Optional

stateName

string As date-time As date-time
dateStarted
Optional

dateStarted

string As date-time As date-time
dateCompleted
Optional

dateCompleted

nodeRef
Optional

nodeRef

string As uuid As uuid
id
Optional

id

string
state
Optional

state

Possible values are : SUBMITTED, IN_PROGRESS, SUCCEEDED, FAILED,