public class DescribeCommandsRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and 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` 。
|
Long |
getLimit()
Get 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
Long |
getOffset()
Get 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
void |
setCommandIds(String[] CommandIds)
Set 命令ID列表,每次请求的上限为100。参数不支持同时指定 `CommandIds` 和 `Filters` 。
|
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` 。
|
void |
setLimit(Long Limit)
Set 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
void |
setOffset(Long Offset)
Set 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DescribeCommandsRequest()
public DescribeCommandsRequest(DescribeCommandsRequest source)
public String[] getCommandIds()
public void setCommandIds(String[] CommandIds)
CommandIds
- 命令ID列表,每次请求的上限为100。参数不支持同时指定 `CommandIds` 和 `Filters` 。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- 过滤条件。
public Long getLimit()
public void setLimit(Long Limit)
Limit
- 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。public Long getOffset()
public void setOffset(Long Offset)
Offset
- 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。Copyright © 2022. All rights reserved.