public class DescribeComputeEnvsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeComputeEnvsRequest() | 
| DescribeComputeEnvsRequest(DescribeComputeEnvsRequest 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[] | getEnvIds()Get 计算环境ID列表,与Filters参数不能同时指定。最大数量上限100。 | 
| Filter[] | getFilters()Get 过滤条件 zone - String - 是否必填:否 -(过滤条件)按照可用区过滤,可用区通过调用接口 [DescribeZones](https://cloud.tencent.com/document/api/213/15707)获取。 env-id - String - 是否必填:否 -(过滤条件)按照计算环境ID过滤。 env-name - String - 是否必填:否 -(过滤条件)按照计算环境名称过滤。 resource-type - String - 是否必填:否 -(过滤条件)按照计算资源类型过滤,取值CVM或者CPM(黑石)。 tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。与EnvIds参数不能同时指定。 | 
| Long | getLimit()Get 返回数量,默认值20,最大值100。 | 
| Long | getOffset()Get 偏移量 | 
| void | setEnvIds(String[] EnvIds)Set 计算环境ID列表,与Filters参数不能同时指定。最大数量上限100。 | 
| void | setFilters(Filter[] Filters)Set 过滤条件 zone - String - 是否必填:否 -(过滤条件)按照可用区过滤,可用区通过调用接口 [DescribeZones](https://cloud.tencent.com/document/api/213/15707)获取。 env-id - String - 是否必填:否 -(过滤条件)按照计算环境ID过滤。 env-name - String - 是否必填:否 -(过滤条件)按照计算环境名称过滤。 resource-type - String - 是否必填:否 -(过滤条件)按照计算资源类型过滤,取值CVM或者CPM(黑石)。 tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。与EnvIds参数不能同时指定。 | 
| void | setLimit(Long Limit)Set 返回数量,默认值20,最大值100。 | 
| void | setOffset(Long Offset)Set 偏移量 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeComputeEnvsRequest()
public DescribeComputeEnvsRequest(DescribeComputeEnvsRequest source)
public String[] getEnvIds()
public void setEnvIds(String[] EnvIds)
EnvIds - 计算环境ID列表,与Filters参数不能同时指定。最大数量上限100。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters - 过滤条件public Long getOffset()
public void setOffset(Long Offset)
Offset - 偏移量public Long getLimit()
public void setLimit(Long Limit)
Limit - 返回数量,默认值20,最大值100。Copyright © 2025. All rights reserved.