Class DescribeCommandsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tat.v20201028.models.DescribeCommandsRequest
-
public class DescribeCommandsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeCommandsRequest()DescribeCommandsRequest(DescribeCommandsRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getCommandIds()Get 命令ID列表,每次请求的上限为100。参数不支持同时指定 `CommandIds` 和 `Filters` 。Filter[]getFilters()Get 过滤条件。 command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。 command-name - String - 是否必填:否 -(过滤条件)按照命令名称过滤。 command-type - String - 是否必填:否 -(过滤条件)按照命令类型过滤,取值为 SHELL 或 POWERSHELL。 created-by - String - 是否必填:否 -(过滤条件)按照命令创建者过滤,取值为 TAT 或 USER,TAT 代表公共命令,USER 代表由用户创建的命令。 tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。 tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。 tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例4 每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `CommandIds` 和 `Filters` 。LonggetLimit()Get 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。LonggetOffset()Get 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。voidsetCommandIds(String[] CommandIds)Set 命令ID列表,每次请求的上限为100。参数不支持同时指定 `CommandIds` 和 `Filters` 。voidsetFilters(Filter[] Filters)Set 过滤条件。 command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。 command-name - String - 是否必填:否 -(过滤条件)按照命令名称过滤。 command-type - String - 是否必填:否 -(过滤条件)按照命令类型过滤,取值为 SHELL 或 POWERSHELL。 created-by - String - 是否必填:否 -(过滤条件)按照命令创建者过滤,取值为 TAT 或 USER,TAT 代表公共命令,USER 代表由用户创建的命令。 tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。 tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。 tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例4 每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `CommandIds` 和 `Filters` 。voidsetLimit(Long Limit)Set 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。voidsetOffset(Long Offset)Set 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeCommandsRequest
public DescribeCommandsRequest()
-
DescribeCommandsRequest
public DescribeCommandsRequest(DescribeCommandsRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getCommandIds
public String[] getCommandIds()
Get 命令ID列表,每次请求的上限为100。参数不支持同时指定 `CommandIds` 和 `Filters` 。- Returns:
- CommandIds 命令ID列表,每次请求的上限为100。参数不支持同时指定 `CommandIds` 和 `Filters` 。
-
setCommandIds
public void setCommandIds(String[] CommandIds)
Set 命令ID列表,每次请求的上限为100。参数不支持同时指定 `CommandIds` 和 `Filters` 。- Parameters:
CommandIds- 命令ID列表,每次请求的上限为100。参数不支持同时指定 `CommandIds` 和 `Filters` 。
-
getFilters
public Filter[] getFilters()
Get 过滤条件。- command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。
- command-name - String - 是否必填:否 -(过滤条件)按照命令名称过滤。
- command-type - String - 是否必填:否 -(过滤条件)按照命令类型过滤,取值为 SHELL 或 POWERSHELL。
- created-by - String - 是否必填:否 -(过滤条件)按照命令创建者过滤,取值为 TAT 或 USER,TAT 代表公共命令,USER 代表由用户创建的命令。
- tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
- tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。
- tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例4
每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `CommandIds` 和 `Filters` 。- Returns:
- Filters 过滤条件。
- command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。
- command-name - String - 是否必填:否 -(过滤条件)按照命令名称过滤。
- command-type - String - 是否必填:否 -(过滤条件)按照命令类型过滤,取值为 SHELL 或 POWERSHELL。
- created-by - String - 是否必填:否 -(过滤条件)按照命令创建者过滤,取值为 TAT 或 USER,TAT 代表公共命令,USER 代表由用户创建的命令。
- tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
- tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。
- tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例4
每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `CommandIds` 和 `Filters` 。
-
setFilters
public void setFilters(Filter[] Filters)
Set 过滤条件。- command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。
- command-name - String - 是否必填:否 -(过滤条件)按照命令名称过滤。
- command-type - String - 是否必填:否 -(过滤条件)按照命令类型过滤,取值为 SHELL 或 POWERSHELL。
- created-by - String - 是否必填:否 -(过滤条件)按照命令创建者过滤,取值为 TAT 或 USER,TAT 代表公共命令,USER 代表由用户创建的命令。
- tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
- tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。
- tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例4
每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `CommandIds` 和 `Filters` 。- Parameters:
Filters- 过滤条件。- command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。
- command-name - String - 是否必填:否 -(过滤条件)按照命令名称过滤。
- command-type - String - 是否必填:否 -(过滤条件)按照命令类型过滤,取值为 SHELL 或 POWERSHELL。
- created-by - String - 是否必填:否 -(过滤条件)按照命令创建者过滤,取值为 TAT 或 USER,TAT 代表公共命令,USER 代表由用户创建的命令。
- tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
- tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。
- tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例4
每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `CommandIds` 和 `Filters` 。
-
getLimit
public Long getLimit()
Get 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。- Returns:
- Limit 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
-
setLimit
public void setLimit(Long Limit)
Set 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。- Parameters:
Limit- 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
-
getOffset
public Long getOffset()
Get 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。- Returns:
- Offset 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
-
setOffset
public void setOffset(Long Offset)
Set 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。- Parameters:
Offset- 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
-
-