public class DescribeDeviceListRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeDeviceListRequest() |
DescribeDeviceListRequest(DescribeDeviceListRequest 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 |
getDeviceType()
Get 设备类型 server 服务器,netDevice 网络设备,otherDevice 其他设备
|
String |
getDstService()
Get 传入目标服务,返回允许进行此服务的设备列表;可以和Filters一起使用。允许的值:('rackOn', 'powerOn', 'powerOff', 'rackOff', 'quit', 'moving','netDeviceCommon', 'serverCommon')
|
Filter[] |
getFilters()
Get
rack-id
按照【机架ID】进行过滤。例如:15082。 |
Long |
getLimit()
Get 返回数量,默认为20,最大值为1000
|
Long |
getOffset()
Get 偏移量,默认为0
|
void |
setDeviceType(String DeviceType)
Set 设备类型 server 服务器,netDevice 网络设备,otherDevice 其他设备
|
void |
setDstService(String DstService)
Set 传入目标服务,返回允许进行此服务的设备列表;可以和Filters一起使用。允许的值:('rackOn', 'powerOn', 'powerOff', 'rackOff', 'quit', 'moving','netDeviceCommon', 'serverCommon')
|
void |
setFilters(Filter[] Filters)
Set
rack-id
按照【机架ID】进行过滤。例如:15082。 |
void |
setLimit(Long Limit)
Set 返回数量,默认为20,最大值为1000
|
void |
setOffset(Long Offset)
Set 偏移量,默认为0
|
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, toJsonString
public DescribeDeviceListRequest()
public DescribeDeviceListRequest(DescribeDeviceListRequest source)
public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType
- 设备类型 server 服务器,netDevice 网络设备,otherDevice 其他设备public Filter[] getFilters()
按照【机架ID】进行过滤。例如:15082。
类型:String
必选:否
按照【设备 SN 码】进行过滤,设备 SN 例如:TEN948P004。
类型:String
必选:否
按照【机房ID】进行过滤,机房ID例如:159。
类型:String
必选:否
按照【机房管理单元ID】进行过滤,机房管理ID例如:568。
类型:String
必选:否
按照【机器子类型】进行过滤,只包含以下几种:1:服务器, 2:Twins主机, 3:Twins子机,5:虚拟机, 6:2U4S主机, 7:2U4S子机,8 Rack主机,9 Rack子机,例如: 1。
类型:String
必选:否
按照【设备状态】进行过滤,操作状态只包含:POWER_ON 设备开电,POWER_OFF 设备关电,RACK_OFF 未上架,MOVING 搬迁中 。例如: POWER_OFF。
类型:String
必选:否
按照【是否】进行过滤,支持 0:自有,1 租用。例如: 1。
类型:String
必选:否
按照【机架ID】进行过滤。例如:15082。
类型:String
必选:否
按照【设备 SN 码】进行过滤,设备 SN 例如:TEN948P004。
类型:String
必选:否
按照【机房ID】进行过滤,机房ID例如:159。
类型:String
必选:否
按照【机房管理单元ID】进行过滤,机房管理ID例如:568。
类型:String
必选:否
按照【机器子类型】进行过滤,只包含以下几种:1:服务器, 2:Twins主机, 3:Twins子机,5:虚拟机, 6:2U4S主机, 7:2U4S子机,8 Rack主机,9 Rack子机,例如: 1。
类型:String
必选:否
按照【设备状态】进行过滤,操作状态只包含:POWER_ON 设备开电,POWER_OFF 设备关电,RACK_OFF 未上架,MOVING 搬迁中 。例如: POWER_OFF。
类型:String
必选:否
按照【是否】进行过滤,支持 0:自有,1 租用。例如: 1。
类型:String
必选:否
public void setFilters(Filter[] Filters)
按照【机架ID】进行过滤。例如:15082。
类型:String
必选:否
按照【设备 SN 码】进行过滤,设备 SN 例如:TEN948P004。
类型:String
必选:否
按照【机房ID】进行过滤,机房ID例如:159。
类型:String
必选:否
按照【机房管理单元ID】进行过滤,机房管理ID例如:568。
类型:String
必选:否
按照【机器子类型】进行过滤,只包含以下几种:1:服务器, 2:Twins主机, 3:Twins子机,5:虚拟机, 6:2U4S主机, 7:2U4S子机,8 Rack主机,9 Rack子机,例如: 1。
类型:String
必选:否
按照【设备状态】进行过滤,操作状态只包含:POWER_ON 设备开电,POWER_OFF 设备关电,RACK_OFF 未上架,MOVING 搬迁中 。例如: POWER_OFF。
类型:String
必选:否
按照【是否】进行过滤,支持 0:自有,1 租用。例如: 1。
类型:String
必选:否
Filters
- 按照【机架ID】进行过滤。例如:15082。
类型:String
必选:否
按照【设备 SN 码】进行过滤,设备 SN 例如:TEN948P004。
类型:String
必选:否
按照【机房ID】进行过滤,机房ID例如:159。
类型:String
必选:否
按照【机房管理单元ID】进行过滤,机房管理ID例如:568。
类型:String
必选:否
按照【机器子类型】进行过滤,只包含以下几种:1:服务器, 2:Twins主机, 3:Twins子机,5:虚拟机, 6:2U4S主机, 7:2U4S子机,8 Rack主机,9 Rack子机,例如: 1。
类型:String
必选:否
按照【设备状态】进行过滤,操作状态只包含:POWER_ON 设备开电,POWER_OFF 设备关电,RACK_OFF 未上架,MOVING 搬迁中 。例如: POWER_OFF。
类型:String
必选:否
按照【是否】进行过滤,支持 0:自有,1 租用。例如: 1。
类型:String
必选:否
public Long getOffset()
public void setOffset(Long Offset)
Offset
- 偏移量,默认为0public Long getLimit()
public void setLimit(Long Limit)
Limit
- 返回数量,默认为20,最大值为1000public String getDstService()
public void setDstService(String DstService)
DstService
- 传入目标服务,返回允许进行此服务的设备列表;可以和Filters一起使用。允许的值:('rackOn', 'powerOn', 'powerOff', 'rackOff', 'quit', 'moving','netDeviceCommon', 'serverCommon')Copyright © 2025. All rights reserved.