Class: TencentCloud::Cwp::V20180228::DescribeTagsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeTagsRequest
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeTags请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
- CVM:表示云服务器
- BM: 表示黑石物理机
- ECM: 表示边缘计算服务器
- LH: 表示轻量应用服务器
- Other: 表示混合云服务器
- Keywords - String - 是否必填:否 - 查询关键字(机器名称/机器IP
- Status - String - 是否必填:否 - 客户端在线状态(OFFLINE: 离线 | ONLINE: 在线 | UNINSTALLED:未安装 | SHUTDOWN 已关机)
- Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版)
- Risk - String 是否必填: 否 - 风险主机( yes )
- Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 ) 每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
. -
#MachineRegion ⇒ Object
- CVM:表示云服务器
- BM: 表示黑石物理机
- ECM: 表示边缘计算服务器
- LH: 表示轻量应用服务器
- Other: 表示混合云服务器
- Keywords - String - 是否必填:否 - 查询关键字(机器名称/机器IP
- Status - String - 是否必填:否 - 客户端在线状态(OFFLINE: 离线 | ONLINE: 在线 | UNINSTALLED:未安装 | SHUTDOWN 已关机)
- Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版)
- Risk - String 是否必填: 否 - 风险主机( yes )
- Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 ) 每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
. -
#MachineType ⇒ Object
- CVM:表示云服务器
- BM: 表示黑石物理机
- ECM: 表示边缘计算服务器
- LH: 表示轻量应用服务器
- Other: 表示混合云服务器
- Keywords - String - 是否必填:否 - 查询关键字(机器名称/机器IP
- Status - String - 是否必填:否 - 客户端在线状态(OFFLINE: 离线 | ONLINE: 在线 | UNINSTALLED:未安装 | SHUTDOWN 已关机)
- Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版)
- Risk - String 是否必填: 否 - 风险主机( yes )
- Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 ) 每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(machinetype = nil, machineregion = nil, filters = nil) ⇒ DescribeTagsRequest
constructor
A new instance of DescribeTagsRequest.
Constructor Details
#initialize(machinetype = nil, machineregion = nil, filters = nil) ⇒ DescribeTagsRequest
Returns a new instance of DescribeTagsRequest.
22415 22416 22417 22418 22419 |
# File 'lib/v20180228/models.rb', line 22415 def initialize(machinetype=nil, machineregion=nil, filters=nil) @MachineType = machinetype @MachineRegion = machineregion @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
22413 22414 22415 |
# File 'lib/v20180228/models.rb', line 22413 def Filters @Filters end |
#MachineRegion ⇒ Object
22413 22414 22415 |
# File 'lib/v20180228/models.rb', line 22413 def MachineRegion @MachineRegion end |
#MachineType ⇒ Object
22413 22414 22415 |
# File 'lib/v20180228/models.rb', line 22413 def MachineType @MachineType end |
Instance Method Details
#deserialize(params) ⇒ Object
22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 |
# File 'lib/v20180228/models.rb', line 22421 def deserialize(params) @MachineType = params['MachineType'] @MachineRegion = params['MachineRegion'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filters_tmp = Filters.new filters_tmp.deserialize(i) @Filters << filters_tmp end end end |