public static class DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocation
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
commandContent
The Base64-encoded command content.
|
String |
commandDescription
The description of the command.
|
String |
commandId
The ID of the command.
|
String |
commandName
The name of the command.
|
String |
commandType
The type of the command.
|
String |
containerId
The ID of the container.
|
String |
containerName
The name of the container.
|
String |
creationTime
The time when the command task was created.
|
String |
frequency
The schedule on which to run the command.
|
String |
invocationStatus
The overall execution state of the command.
|
String |
invokeId
The ID of the command task.
|
DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances |
invokeInstances
Details about the instances on which the command is run.
|
String |
invokeStatus
The overall execution state of the command.
|
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.
|
Boolean |
timed
Indicates whether the command is to be automatically run.
|
Long |
timeout
The maximum timeout period for the command execution on the instance.
|
String |
username
The username that was used to run the command on the instance.
|
String |
workingDir
The execution path of the command.
|
构造器和说明 |
---|
DescribeInvocationsResponseBodyInvocationsInvocation() |
@NameInMap(value="CommandContent") public String commandContent
The Base64-encoded command content.
@NameInMap(value="CommandDescription") public String commandDescription
The description of the command.
@NameInMap(value="CommandId") public String commandId
The ID of the command.
@NameInMap(value="CommandName") public String commandName
The name of the command.
@NameInMap(value="CommandType") public String commandType
The type of the command.
@NameInMap(value="ContainerId") public String containerId
The ID of the container.
@NameInMap(value="ContainerName") public String containerName
The name of the container.
@NameInMap(value="CreationTime") public String creationTime
The time when the command task was created.
@NameInMap(value="Frequency") public String frequency
The schedule on which to run the command. For information about the value specifications, see [Cron expression](~~64769~~).
@NameInMap(value="InvocationStatus") public String invocationStatus
The overall execution state of the command. The value of this parameter depends on the execution states 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 scheduled to run is sent and pending execution. 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 other instances is Stopped or Success, the overall execution state is Success.
* Command that is set to run only once: The execution is complete, and the exit code is 0.
* Command that is set to run on a schedule: The last execution is complete, the exit code is 0, and the specified cycle ends.
* 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:
* Invalid: The command is invalid.
* Aborted: The command failed to be sent.
* Failed: The command execution is complete, but the exit code is not 0.
* Timeout: The execution timed out.
* Error: An error occurred while the command was being run on the instance.
* 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 command task is 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:
* Cancelled: The command task is canceled.
* Terminated: The command task is terminated.
* PartialFailed: The execution is complete on some instances and fails on other instances. When the execution state is Success on some instances and is Failed or Stopped on other instances, the overall execution state is PartialFailed.
> The `InvokeStatus` response parameter functions similarly to this parameter. We recommend that you ignore InvokeStatus and check the value of InvocationStatus.
@NameInMap(value="InvokeId") public String invokeId
The ID of the command task.
@NameInMap(value="InvokeInstances") public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances invokeInstances
Details about the instances on which the command is run.
@NameInMap(value="InvokeStatus") public String invokeStatus
The overall execution state of the command.
> We recommend that you ignore this parameter and check the value of the `InvocationStatus` response parameter for the overall execution state.
@NameInMap(value="Parameters") public String parameters
The custom parameters in the command.
@NameInMap(value="RepeatMode") public String repeatMode
The execution mode of the command. Valid values:
* Once: The command is immediately run.
* Period: The command is run on a schedule.
* NextRebootOnly: The command is automatically run the next time the instance starts.
* EveryReboot: The command is automatically run every time the instance starts.
@NameInMap(value="Tags") public DescribeInvocationsResponseBody.DescribeInvocationsResponseBodyInvocationsInvocationTags tags
The tags of the command task.
@NameInMap(value="Timed") public Boolean timed
Indicates whether the command is to be automatically run.
@NameInMap(value="Timeout") public Long timeout
The maximum timeout period for the command execution on the instance. Unit: seconds.
When a command cannot be run, the command execution times out. When a command execution times out, the Cloud Assistant client forcefully terminates the command process by canceling the PID of the command.
@NameInMap(value="Username") public String username
The username that was used to run the command on the instance.
@NameInMap(value="WorkingDir") public String workingDir
The execution path of the command.
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 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 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 © 2023. All rights reserved.