Class: TencentCloud::Cwp::V20180228::ExportAssetMachineListRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::ExportAssetMachineListRequest
- Defined in:
- lib/v20180228/models.rb
Overview
ExportAssetMachineList请求参数结构体
Instance Attribute Summary collapse
-
#By ⇒ Object
- IP - String - 是否必填:否 - 主机ip
- MachineName - String - 是否必填:否 - 主机名称
- InstanceID - string - 是否必填:否 - 实例ID
- OsType - String - 是否必填:否 - windows或linux
- CpuLoad - Int - 是否必填:否 - 0: 0%或未知 1: 0%~20% 2: 20%~50% 3: 50%~80% 4: 80%~100%
- DiskLoad - Int - 是否必填:否 - 0: 0%或未知 1: 0%~20% 2: 20%~50% 3: 50%~80% 4: 80%~100%
- MemLoad - Int - 是否必填:否 - 0: 0%或未知 1: 0%~20% 2: 20%~50% 3: 50%~80% 4: 80%~100%
. -
#Filters ⇒ Object
- IP - String - 是否必填:否 - 主机ip
- MachineName - String - 是否必填:否 - 主机名称
- InstanceID - string - 是否必填:否 - 实例ID
- OsType - String - 是否必填:否 - windows或linux
- CpuLoad - Int - 是否必填:否 - 0: 0%或未知 1: 0%~20% 2: 20%~50% 3: 50%~80% 4: 80%~100%
- DiskLoad - Int - 是否必填:否 - 0: 0%或未知 1: 0%~20% 2: 20%~50% 3: 50%~80% 4: 80%~100%
- MemLoad - Int - 是否必填:否 - 0: 0%或未知 1: 0%~20% 2: 20%~50% 3: 50%~80% 4: 80%~100%
. -
#Order ⇒ Object
- IP - String - 是否必填:否 - 主机ip
- MachineName - String - 是否必填:否 - 主机名称
- InstanceID - string - 是否必填:否 - 实例ID
- OsType - String - 是否必填:否 - windows或linux
- CpuLoad - Int - 是否必填:否 - 0: 0%或未知 1: 0%~20% 2: 20%~50% 3: 50%~80% 4: 80%~100%
- DiskLoad - Int - 是否必填:否 - 0: 0%或未知 1: 0%~20% 2: 20%~50% 3: 50%~80% 4: 80%~100%
- MemLoad - Int - 是否必填:否 - 0: 0%或未知 1: 0%~20% 2: 20%~50% 3: 50%~80% 4: 80%~100%
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filters = nil, order = nil, by = nil) ⇒ ExportAssetMachineListRequest
constructor
A new instance of ExportAssetMachineListRequest.
Constructor Details
#initialize(filters = nil, order = nil, by = nil) ⇒ ExportAssetMachineListRequest
Returns a new instance of ExportAssetMachineListRequest.
25768 25769 25770 25771 25772 |
# File 'lib/v20180228/models.rb', line 25768 def initialize(filters=nil, order=nil, by=nil) @Filters = filters @Order = order @By = by end |
Instance Attribute Details
#By ⇒ Object
25766 25767 25768 |
# File 'lib/v20180228/models.rb', line 25766 def By @By end |
#Filters ⇒ Object
25766 25767 25768 |
# File 'lib/v20180228/models.rb', line 25766 def Filters @Filters end |
#Order ⇒ Object
25766 25767 25768 |
# File 'lib/v20180228/models.rb', line 25766 def Order @Order end |
Instance Method Details
#deserialize(params) ⇒ Object
25774 25775 25776 25777 25778 25779 25780 25781 25782 25783 25784 25785 |
# File 'lib/v20180228/models.rb', line 25774 def deserialize(params) unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Order = params['Order'] @By = params['By'] end |