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
integer As int64 As int64
version
Optional
version
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
string As uuid As uuid
id
Optional
id
string
state
Optional
state
Possible values are : SUBMITTED, IN_PROGRESS, SUCCEEDED, FAILED,