public static class DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
commandContent
The command content.
|
String |
commandDescription
The command description.
|
String |
commandId
The command ID.
|
String |
commandName
The command name.
|
String |
commandType
The command type.
|
String |
containerId
The container ID.
|
String |
containerName
The container name.
|
String |
creationTime
The time when the command task was created.
|
String |
frequency
The schedule on which the command is run.
|
String |
invocationStatus
The overall execution status of the command task.
|
String |
invokeId
The command task ID.
|
DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances |
invokeInstances
The instances on which the command was run.
|
String |
invokeStatus
The overall execution status of the command task.
|
String |
launcher
The launcher for script execution.
|
String |
parameters
The custom parameters in the command.
|
String |
repeatMode
The execution mode of the command.
|
DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationTags |
tags
The tags of the command task.
|
String |
terminationMode
Indicates how the command task is stopped when a command execution is manually stopped or times out.
|
Boolean |
timed
Indicates whether the command is to be automatically run.
|
Long |
timeout
The maximum timeout period for the command execution.
|
String |
username
The username used to run the command on the instances.
|
String |
workingDir
The execution path of the command.
|
构造器和说明 |
---|
DescribeInvocationsResponseBodyInvocationsInvocation() |
@NameInMap(value="CommandContent") public String commandContent
The command content.
cnBtIC1xYSB8IGdyZXAgdnNm****
@NameInMap(value="CommandDescription") public String commandDescription
The command description.
example:testDescription
@NameInMap(value="CommandId") public String commandId
The command ID.
example:c-hz0jdfwcsr****
@NameInMap(value="CommandName") public String commandName
The command name.
example:CommandTestName
@NameInMap(value="CommandType") public String commandType
The command type.
example:RunShellScript
@NameInMap(value="ContainerId") public String containerId
The container ID.
example:ab141ddfbacfe02d9dbc25966ed971536124527097398d419a6746873fea****
@NameInMap(value="ContainerName") public String containerName
The container name.
example:test-container
@NameInMap(value="CreationTime") public String creationTime
The time when the command task was created.
example:2020-01-19T09:15:46Z
@NameInMap(value="Frequency") public String frequency
The schedule on which the command is run.
@NameInMap(value="InvocationStatus") public String invocationStatus
The overall execution status of the command task. The value of this parameter depends on the execution status of the command task on all the involved instances. Valid values:
Pending: The command is being verified or sent. When the execution state on at least one instance is Pending, the overall execution state is Pending.
Scheduled: The command that is set to run on a schedule was sent and waiting to be run. When the execution state on at least one instance is Scheduled, the overall execution state is Scheduled.
Running: The command is being run on the instances. When the execution state on at least one instance is Running, the overall execution state is Running.
Success: When the execution state on at least one instance is Success and the execution state on the other instances is Stopped or Success, the overall execution state is Success.
Failed: When the execution state on all instances is Stopped or Failed, the overall execution state is Failed. When the execution state on an instance is one of the following values, Failed is returned as the overall execution state:
Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.
Stopped: The task was stopped. When the execution state on all instances is Stopped, the overall execution state is Stopped. When the execution state on an instance is one of the following values, Stopped is returned as the overall execution state:
PartialFailed: The execution was complete on some instances and failed on other instances. When the execution state is Success on some instances and is Failed or Stopped on the other instances, the overall execution state is PartialFailed.
example:
InvokeStatus
in the response functions similarly to this parameter. We recommend that you check the value of this parameter.
Running
@NameInMap(value="InvokeId") public String invokeId
The command task ID.
example:t-hz0jdfwd9f****
@NameInMap(value="InvokeInstances") public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances invokeInstances
The instances on which the command was run.
@NameInMap(value="InvokeStatus") public String invokeStatus
The overall execution status of the command task.
example:We recommend that you ignore this parameter and check the value of
InvocationStatus
in the response to obtain the execution status.
Finished
@NameInMap(value="Launcher") public String launcher
The launcher for script execution. The value cannot exceed 1 KB in length.
example:python3 -u {{ACS::ScriptFileName|Ext(".py")}}
@NameInMap(value="Parameters") public String parameters
The custom parameters in the command.
example:{}
@NameInMap(value="RepeatMode") public String repeatMode
The execution mode of the command. Valid values:
Once
@NameInMap(value="Tags") public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationTags tags
The tags of the command task.
@NameInMap(value="TerminationMode") public String terminationMode
Indicates how the command task is stopped when a command execution is manually stopped or times out. Valid values:
ProcessTree
@NameInMap(value="Timed") public Boolean timed
Indicates whether the command is to be automatically run.
example:false
@NameInMap(value="Timeout") public Long timeout
The maximum timeout period for the command execution. Unit: seconds.
When a command cannot be run, the command execution times out. When a command execution times out, Cloud Assistant Agent forcefully terminates the command process by canceling the process ID (PID) of the command.
example:60
@NameInMap(value="Username") public String username
The username used to run the command on the instances.
example:root
@NameInMap(value="WorkingDir") public String workingDir
The execution path of the command.
example:/home/
public DescribeInvocationsResponseBodyInvocationsInvocation()
public static DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation build(Map<String,?> map) throws Exception
Exception
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setCommandContent(String commandContent)
public String getCommandContent()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setCommandDescription(String commandDescription)
public String getCommandDescription()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setCommandId(String commandId)
public String getCommandId()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setCommandName(String commandName)
public String getCommandName()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setCommandType(String commandType)
public String getCommandType()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setContainerId(String containerId)
public String getContainerId()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setContainerName(String containerName)
public String getContainerName()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setCreationTime(String creationTime)
public String getCreationTime()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setFrequency(String frequency)
public String getFrequency()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setInvocationStatus(String invocationStatus)
public String getInvocationStatus()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setInvokeId(String invokeId)
public String getInvokeId()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setInvokeInstances(DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances invokeInstances)
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances getInvokeInstances()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setInvokeStatus(String invokeStatus)
public String getInvokeStatus()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setLauncher(String launcher)
public String getLauncher()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setParameters(String parameters)
public String getParameters()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setRepeatMode(String repeatMode)
public String getRepeatMode()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setTags(DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationTags tags)
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationTags getTags()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setTerminationMode(String terminationMode)
public String getTerminationMode()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setTimed(Boolean timed)
public Boolean getTimed()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setTimeout(Long timeout)
public Long getTimeout()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setUsername(String username)
public String getUsername()
public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation setWorkingDir(String workingDir)
public String getWorkingDir()
Copyright © 2024. All rights reserved.