public class DescribeCommandsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
DescribeCommandsRequest.DescribeCommandsRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
commandId
The ID of the command.
|
String |
contentEncoding
The encoding mode of the
CommandContent and Output values in the response. |
String |
description
The description of the command.
|
Boolean |
latest
Specifies whether to query only the latest version of common commands when common commands are queried.
|
Integer |
maxResults
The maximum number of entries per page.
|
String |
name
The name of the command.
|
String |
nextToken
The pagination token that is used in the next request to retrieve a new page of results.
|
String |
ownerAccount |
Long |
ownerId |
Long |
pageNumber
The page number.
|
Long |
pageSize
The number of entries per page.
|
String |
provider
The provider of the common command.
|
String |
regionId
The region ID of the command.
|
String |
resourceGroupId
The ID of the resource group to which the command belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<DescribeCommandsRequest.DescribeCommandsRequestTag> |
tag
The list of tags.
|
String |
type
The type of the command.
|
构造器和说明 |
---|
DescribeCommandsRequest() |
@NameInMap(value="CommandId") public String commandId
The ID of the command.
example:c-hz01272yr52****
@NameInMap(value="ContentEncoding") public String contentEncoding
The encoding mode of the CommandContent
and Output
values in the response. Valid values:
Default value: Base64.
example:PlainText
@NameInMap(value="Description") public String description
The description of the command.
If you specify Provider
, fuzzy search is supported by default.
If you do not specify Provider
, prefix-based fuzzy search is supported. For example, if you specify test*
, all commands whose descriptions start with test
are queried.
testDescription
@NameInMap(value="Latest") public Boolean latest
Specifies whether to query only the latest version of common commands when common commands are queried. This parameter does not affect the query for private commands.
Default value: false.
example:true
@NameInMap(value="MaxResults") public Integer maxResults
The maximum number of entries per page.
Valid values: 1 to 50.
Default value: 10.
example:10
@NameInMap(value="Name") public String name
The name of the command.
If you specify Provider
, fuzzy search is supported by default.
If you do not specify Provider
, prefix-based fuzzy search is supported. For example, if you specify command*
, all commands whose names start with command
are queried.
testName
@NameInMap(value="NextToken") public String nextToken
The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
example:AAAAAdDWBF2
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Long pageNumber
The page number.
Pages start from page 1.
Default value: 1.
example:1
@NameInMap(value="PageSize") public Long pageSize
The number of entries per page.
Valid values: 1 to 50.
Default value: 10.
example:10
@NameInMap(value="Provider") public String provider
The provider of the common command. Take note of the following items:
If you do not specify this parameter, all the commands that you created are queried.
If you set this parameter to AlibabaCloud
, all the common commands provided by Alibaba Cloud are queried.
If you set this parameter to a specific provider, all the common commands provided by the provider are queried. Examples:
Provider
to AlibabaCloud.ECS.GuestOS, all the common commands provided by AlibabaCloud.ECS.GuestOS
are queried.Provider
to AlibabaCloud.ECS.GuestOSDiagnose, all the common commands provided by AlibabaCloud.ECS.GuestOSDiagnose
are queried.AlibabaCloud
@NameInMap(value="RegionId") public String regionId
The region ID of the command. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the command belongs.
example:rg-123******
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<DescribeCommandsRequest.DescribeCommandsRequestTag> tag
The list of tags.
@NameInMap(value="Type") public String type
The type of the command. Valid values:
RunShellScript
public static DescribeCommandsRequest build(Map<String,?> map) throws Exception
Exception
public DescribeCommandsRequest setCommandId(String commandId)
public String getCommandId()
public DescribeCommandsRequest setContentEncoding(String contentEncoding)
public String getContentEncoding()
public DescribeCommandsRequest setDescription(String description)
public String getDescription()
public DescribeCommandsRequest setLatest(Boolean latest)
public Boolean getLatest()
public DescribeCommandsRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public DescribeCommandsRequest setName(String name)
public String getName()
public DescribeCommandsRequest setNextToken(String nextToken)
public String getNextToken()
public DescribeCommandsRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeCommandsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeCommandsRequest setPageNumber(Long pageNumber)
public Long getPageNumber()
public DescribeCommandsRequest setPageSize(Long pageSize)
public Long getPageSize()
public DescribeCommandsRequest setProvider(String provider)
public String getProvider()
public DescribeCommandsRequest setRegionId(String regionId)
public String getRegionId()
public DescribeCommandsRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeCommandsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeCommandsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeCommandsRequest setTag(List<DescribeCommandsRequest.DescribeCommandsRequestTag> tag)
public List<DescribeCommandsRequest.DescribeCommandsRequestTag> getTag()
public DescribeCommandsRequest setType(String type)
public String getType()
Copyright © 2024. All rights reserved.