Data Types
Command
Information on commands.
commandId
String
Command ID.
name
String
Command name.
description
String
Command note.
content
String
Script content.
createTime
String
Creation time of command.
latestInvocationTime
String
Latest execution time.
CommandInvocation
Information on execution of commands.
invocationId
String
Execution ID.
commandId
String
Command ID.
commandName
String
Command name.
content
String
Script content.
timeout
Integer
Execution timeout.
createTime
String
Execution creation time.
CommandType
Script language types.
SHELL
Shell script running on Linux instances.
POWERSHELL
PowerShell script running on Windows instances.
BAT
Bat script running on Windows instances.
InvocationInstance
Information on target instances for command execution.
instanceId
String
Execution ID.
instanceName
String
Instance name.
instanceExist
Boolean
Whether the specified instance exists.
exitCode
Integer
Exit code of command execution.
output
String
Standard output (stdout) of command execution.
outputError
String
Standard input (stderr) of command execution.
execStartTime
String
Start time of command execution.
execEndTime
String
End time of command execution.
InvocationStatus
Command execution state.
Pending
Command executions are pending.
All instance tasks are Pending.
Running
Command executions are running.
All instance tasks are Running.
PartialFailed
Command executions are partially failed.
All instance tasks completed with mixed results.
Failed
Command executions are failed.
All instance tasks completed and failed.
Success
Command executions are succeeded.
All instance tasks completed successfully.
InvocationTaskErrorCode
Information on error codes.
InstanceNotExists
Instance does not exist.
InstanceInstanceState
Instance is not running.
SystemError
System error. Execution pending.
CommandPlatformInvalid
Command type cannot be executed on this instance.
ExecutionTimeout
Script execution timed out.
ExecutionExitNoneZero
Script execution failed with non-zero exit code.
InvocationTaskStatus
Instance status of command execution.
Pending
Waiting for command execution.
Running
Command execution in progress.
Timeout
Command execution timed out.
Failed
Command execution failed with non-zero exit code.
Success
Command completed with exit code 0.
Error
Command execution failed due to system error or instance not running.
ResourceGroupInfo
Information on resource group, including resource group name and resource group ID.
resourceGroupId
String
Resource group ID.
resourceGroupName
String
Resource group name.
Tag
Information on a tag, including its key and value.
key
String
Yes
Tag key. Length limit: 1 to 64 characters.
value
String
No
Tag value. Length limit: 1 to 64 characters.
TagAssociation
Information on tags bound to resources, including their keys and values.
Tags
Information on tags, including their keys and values.
Last updated