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 Filter criteria
Ips - String - required: no - query by IP
Names - String - required: no - query by instance name
InstanceIds - String - required: no - instance ID for query
Status - String - required: no - client online status (OFFLINE: offline/shut down | ONLINE: online | UNINSTALLED: not installed | AGENT_OFFLINE: agent offline | AGENT_SHUTDOWN: agent shut down)
Version - String required: no - current edition ( PRO_VERSION: Pro Edition | BASIC_VERSION: Basic Edition | Flagship: Ultimate Edition | ProtectedMachines: Pro + Ultimate Editions)
Risk - String - required: no - risky host (yes)
Os - String - required: no - operating system (value of DescribeMachineOsList)
Each filter criterion supports only one value.
|
Long |
getLimit()
Get Number of returns.
|
String |
getMachineRegion()
Get Machine region.
|
String |
getMachineType()
Get Type of the machine's zone
CVM: Cloud Virtual Machine
BM: BMECM: Edge Computing Machine
LH: Lighthouse
Other: Hybrid Cloud Zone
|
Long |
getOffset()
Get Offset.
|
Long[] |
getProjectIds()
Get ID List of Businesses to which machines belong
|
void |
setFilters(Filter[] Filters)
Set Filter criteria
Ips - String - required: no - query by IP
Names - String - required: no - query by instance name
InstanceIds - String - required: no - instance ID for query
Status - String - required: no - client online status (OFFLINE: offline/shut down | ONLINE: online | UNINSTALLED: not installed | AGENT_OFFLINE: agent offline | AGENT_SHUTDOWN: agent shut down)
Version - String required: no - current edition ( PRO_VERSION: Pro Edition | BASIC_VERSION: Basic Edition | Flagship: Ultimate Edition | ProtectedMachines: Pro + Ultimate Editions)
Risk - String - required: no - risky host (yes)
Os - String - required: no - operating system (value of DescribeMachineOsList)
Each filter criterion supports only one value.
|
void |
setLimit(Long Limit)
Set Number of returns.
|
void |
setMachineRegion(String MachineRegion)
Set Machine region.
|
void |
setMachineType(String MachineType)
Set Type of the machine's zone
CVM: Cloud Virtual Machine
BM: BMECM: Edge Computing Machine
LH: Lighthouse
Other: Hybrid Cloud Zone
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
setProjectIds(Long[] ProjectIds)
Set ID List of Businesses to which machines belong
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeMachinesRequest()
public DescribeMachinesRequest(DescribeMachinesRequest source)
public String getMachineType()
public void setMachineType(String MachineType)
MachineType
- Type of the machine's zone
CVM: Cloud Virtual Machine
BM: BMECM: Edge Computing Machine
LH: Lighthouse
Other: Hybrid Cloud Zonepublic String getMachineRegion()
public void setMachineRegion(String MachineRegion)
MachineRegion
- Machine region. For example, ap-guangzhou and ap-shanghai.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returns. It is 10 by default, and the maximum value is 100.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: 0.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- Filter criteria
public Long[] getProjectIds()
public void setProjectIds(Long[] ProjectIds)
ProjectIds
- ID List of Businesses to which machines belongCopyright © 2024. All rights reserved.