Class: TencentCloud::Cwp::V20180228::ExportAssetMachineListRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

ExportAssetMachineList请求参数结构体

Instance Attribute Summary collapse

  • #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

    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

    #ByObject

  • 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%
  • Parameters:

    • Filters:

      过滤条件。

    • Order:

      排序方式,asc升序 或 desc降序

    • By:

      可选排序[FirstTime|PartitionCount]

    
    
    25766
    25767
    25768
    # File 'lib/v20180228/models.rb', line 25766
    
    def By
      @By
    end

    #FiltersObject

  • 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%
  • Parameters:

    • Filters:

      过滤条件。

    • Order:

      排序方式,asc升序 或 desc降序

    • By:

      可选排序[FirstTime|PartitionCount]

    
    
    25766
    25767
    25768
    # File 'lib/v20180228/models.rb', line 25766
    
    def Filters
      @Filters
    end

    #OrderObject

  • 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%
  • Parameters:

    • Filters:

      过滤条件。

    • Order:

      排序方式,asc升序 或 desc降序

    • By:

      可选排序[FirstTime|PartitionCount]

    
    
    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