public class DescribeMachinesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeMachinesRequest() | 
| DescribeMachinesRequest(DescribeMachinesRequest 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 | 
|---|---|
| Filter[] | getFilters()Get 过滤条件。
Ips - String - 是否必填:否 - 通过ip查询 
Names - String - 是否必填:否 - 通过实例名查询 
InstanceIds - String - 是否必填:否 - 通过实例id查询 
Version - String  是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship : 旗舰版 | ProtectedMachines: 专业版+旗舰版)
Risk - String 是否必填: 否 - 风险主机( yes ) 
Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 )
每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
Quuid - String - 是否必填: 否 - 云服务器uuid  最大100条.
AddedOnTheFifteen- String 是否必填: 否 - 是否只查询15天内新增的主机( 1:是) 
 TagId- String 是否必填: 否 - 查询指定标签关联的主机列表 
 AgentStatus- String 是否必填: 否 - ALL 全部; ONLINE 防护中; OFFLINE 已离线;UNINSTALLED 未安装
 MachineStatus- String 是否必填: 否 - ALL 全部; RUNNING 运行中; STOPPED 已关机; EXPIRED 待回收 | 
| Long | getLimit()Get 返回数量,默认为10,最大值为100。 | 
| String | getMachineRegion()Get 机器所属地域。如:ap-guangzhou,ap-shanghai | 
| String | getMachineType()Get 机器所属专区类型 
CVM 云服务器
BM 黑石
ECM 边缘计算
LH 轻量应用服务器
Other 混合云专区 | 
| Long | getOffset()Get 偏移量,默认为0。 | 
| Long[] | getProjectIds()Get 机器所属业务ID列表 | 
| void | setFilters(Filter[] Filters)Set 过滤条件。
Ips - String - 是否必填:否 - 通过ip查询 
Names - String - 是否必填:否 - 通过实例名查询 
InstanceIds - String - 是否必填:否 - 通过实例id查询 
Version - String  是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship : 旗舰版 | ProtectedMachines: 专业版+旗舰版)
Risk - String 是否必填: 否 - 风险主机( yes ) 
Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 )
每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
Quuid - String - 是否必填: 否 - 云服务器uuid  最大100条.
AddedOnTheFifteen- String 是否必填: 否 - 是否只查询15天内新增的主机( 1:是) 
 TagId- String 是否必填: 否 - 查询指定标签关联的主机列表 
 AgentStatus- String 是否必填: 否 - ALL 全部; ONLINE 防护中; OFFLINE 已离线;UNINSTALLED 未安装
 MachineStatus- String 是否必填: 否 - ALL 全部; RUNNING 运行中; STOPPED 已关机; EXPIRED 待回收 | 
| void | setLimit(Long Limit)Set 返回数量,默认为10,最大值为100。 | 
| void | setMachineRegion(String MachineRegion)Set 机器所属地域。如:ap-guangzhou,ap-shanghai | 
| void | setMachineType(String MachineType)Set 机器所属专区类型 
CVM 云服务器
BM 黑石
ECM 边缘计算
LH 轻量应用服务器
Other 混合云专区 | 
| void | setOffset(Long Offset)Set 偏移量,默认为0。 | 
| void | setProjectIds(Long[] ProjectIds)Set 机器所属业务ID列表 | 
| 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 DescribeMachinesRequest()
public DescribeMachinesRequest(DescribeMachinesRequest source)
public String getMachineType()
public void setMachineType(String MachineType)
MachineType - 机器所属专区类型 
CVM 云服务器
BM 黑石
ECM 边缘计算
LH 轻量应用服务器
Other 混合云专区public String getMachineRegion()
public void setMachineRegion(String MachineRegion)
MachineRegion - 机器所属地域。如:ap-guangzhou,ap-shanghaipublic Long getLimit()
public void setLimit(Long Limit)
Limit - 返回数量,默认为10,最大值为100。public Long getOffset()
public void setOffset(Long Offset)
Offset - 偏移量,默认为0。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters - 过滤条件。
public Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds - 机器所属业务ID列表Copyright © 2025. All rights reserved.