public class DescribeInvocationsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeInvocationsRequest.DescribeInvocationsRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
commandId
The ID of the command.
|
String |
commandName
The name of the command.
|
String |
commandType
The type of the command.
|
String |
contentEncoding
The encoding mode of the `CommandContent` and `Output` response parameters.
|
Boolean |
includeOutput
Specifies whether to return the command outputs in the response.
|
String |
instanceId
The ID of the instance.
|
String |
invokeId
The ID of the command task.
|
String |
invokeStatus
The overall execution state of the command.
|
String |
ownerAccount |
Long |
ownerId |
Long |
pageNumber
The number of the page to return.
|
Long |
pageSize
The number of entries to return on each page.
|
String |
regionId
The region ID of the command.
|
String |
repeatMode
The execution mode of the command.
|
String |
resourceGroupId
The ID of the resource group.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<DescribeInvocationsRequest.DescribeInvocationsRequestTag> |
tag
The tags of the command.
|
Boolean |
timed
Specifies whether to query the commands that are to be automatically run.
|
构造器和说明 |
---|
DescribeInvocationsRequest() |
@NameInMap(value="CommandId") public String commandId
The ID of the command. You can call the [DescribeCommands](~~64843~~) operation to query all available command IDs.
@NameInMap(value="CommandName") public String commandName
The name of the command.
@NameInMap(value="CommandType") public String commandType
The type of the command. If this parameter and `InstanceId` are both specified, this parameter does not take effect.
@NameInMap(value="ContentEncoding") public String contentEncoding
The encoding mode of the `CommandContent` and `Output` response parameters. Valid values:
* PlainText: returns the original command content and command outputs.
* Base64: returns the Base64-encoded command content and command outputs.
Default value: Base64.
@NameInMap(value="IncludeOutput") public Boolean includeOutput
Specifies whether to return the command outputs in the response.
* true: The command outputs are returned. When this parameter is set to true, you must specify `InvokeId`, `InstanceId`, or both.
* false: The command outputs are not returned.
Default value: false.
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance. When you specify this parameter, the system queries all the execution records of all the commands that run on the instance.
@NameInMap(value="InvokeId") public String invokeId
The ID of the command task.
@NameInMap(value="InvokeStatus") public String invokeStatus
The overall execution state of the command. The value of this parameter depends on the execution states on all involved instances. Valid values:
* Running:
* Scheduled execution: Before you manually stop the execution of the command, the overall execution state is always Running.
* One-time execution: If the execution is in progress on one or more instances, the overall execution state is Running.
* Finished:
* Scheduled execution: The overall execution state can never be Finished.
* One-time execution: The execution is complete on all instances, or the execution is manually stopped on some instances and is complete on other instances.
* Failed:
* Scheduled execution: The overall execution state can never be Failed.
* One-time execution: The execution fails on all instances.
* PartialFailed:
* Scheduled execution: The overall execution state can never be PartialFailed.
* One-time execution: The execution fails on some instances.
* Stopped: The execution is stopped.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Long pageNumber
The number of the page to return.
Page start from page 1.
Default value: 1.
@NameInMap(value="PageSize") public Long pageSize
The number of entries to return on each page.
Maximum value: 50.
Default value: 10.
@NameInMap(value="RegionId") public String regionId
The region ID of the command. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@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.
This parameter is empty by default, which indicates that commands run in all modes are queried.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<DescribeInvocationsRequest.DescribeInvocationsRequestTag> tag
The tags of the command.
@NameInMap(value="Timed") public Boolean timed
Specifies whether to query the commands that are to be automatically run. Valid values:
* true: queries the commands that meet the following requirements: The commands are run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Period`, `NextRebootOnly`, or `EveryReboot`. The executions of the commands are not canceled and not complete or are not stopped and not complete.
* false: queries commands that meet the following requirements:
* The commands are run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Once`.
* The executions of the commands are canceled, stopped, or complete.
Default value: false.
public static DescribeInvocationsRequest build(Map<String,?> map) throws Exception
Exception
public DescribeInvocationsRequest setCommandId(String commandId)
public String getCommandId()
public DescribeInvocationsRequest setCommandName(String commandName)
public String getCommandName()
public DescribeInvocationsRequest setCommandType(String commandType)
public String getCommandType()
public DescribeInvocationsRequest setContentEncoding(String contentEncoding)
public String getContentEncoding()
public DescribeInvocationsRequest setIncludeOutput(Boolean includeOutput)
public Boolean getIncludeOutput()
public DescribeInvocationsRequest setInstanceId(String instanceId)
public String getInstanceId()
public DescribeInvocationsRequest setInvokeId(String invokeId)
public String getInvokeId()
public DescribeInvocationsRequest setInvokeStatus(String invokeStatus)
public String getInvokeStatus()
public DescribeInvocationsRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeInvocationsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeInvocationsRequest setPageNumber(Long pageNumber)
public Long getPageNumber()
public DescribeInvocationsRequest setPageSize(Long pageSize)
public Long getPageSize()
public DescribeInvocationsRequest setRegionId(String regionId)
public String getRegionId()
public DescribeInvocationsRequest setRepeatMode(String repeatMode)
public String getRepeatMode()
public DescribeInvocationsRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeInvocationsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeInvocationsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeInvocationsRequest setTag(List<DescribeInvocationsRequest.DescribeInvocationsRequestTag> tag)
public List<DescribeInvocationsRequest.DescribeInvocationsRequestTag> getTag()
public DescribeInvocationsRequest setTimed(Boolean timed)
public Boolean getTimed()
Copyright © 2023. All rights reserved.