Class: TencentCloud::Tdmq::V20200217::InstanceNodeDistribution

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

Overview

实例节点分布信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(zonename = nil, zoneid = nil, nodecount = nil, nodepermwipeflag = nil) ⇒ InstanceNodeDistribution

Returns a new instance of InstanceNodeDistribution.



8309
8310
8311
8312
8313
8314
# File 'lib/v20200217/models.rb', line 8309

def initialize(zonename=nil, zoneid=nil, nodecount=nil, nodepermwipeflag=nil)
  @ZoneName = zonename
  @ZoneId = zoneid
  @NodeCount = nodecount
  @NodePermWipeFlag = nodepermwipeflag
end

Instance Attribute Details

#NodeCountObject

Parameters:

  • ZoneName:

    可用区

  • ZoneId:

    可用区id

  • NodeCount:

    节点数

  • NodePermWipeFlag:

    有调度任务且没有切回的可用区,此标识为true



8307
8308
8309
# File 'lib/v20200217/models.rb', line 8307

def NodeCount
  @NodeCount
end

#NodePermWipeFlagObject

Parameters:

  • ZoneName:

    可用区

  • ZoneId:

    可用区id

  • NodeCount:

    节点数

  • NodePermWipeFlag:

    有调度任务且没有切回的可用区,此标识为true



8307
8308
8309
# File 'lib/v20200217/models.rb', line 8307

def NodePermWipeFlag
  @NodePermWipeFlag
end

#ZoneIdObject

Parameters:

  • ZoneName:

    可用区

  • ZoneId:

    可用区id

  • NodeCount:

    节点数

  • NodePermWipeFlag:

    有调度任务且没有切回的可用区,此标识为true



8307
8308
8309
# File 'lib/v20200217/models.rb', line 8307

def ZoneId
  @ZoneId
end

#ZoneNameObject

Parameters:

  • ZoneName:

    可用区

  • ZoneId:

    可用区id

  • NodeCount:

    节点数

  • NodePermWipeFlag:

    有调度任务且没有切回的可用区,此标识为true



8307
8308
8309
# File 'lib/v20200217/models.rb', line 8307

def ZoneName
  @ZoneName
end

Instance Method Details

#deserialize(params) ⇒ Object



8316
8317
8318
8319
8320
8321
# File 'lib/v20200217/models.rb', line 8316

def deserialize(params)
  @ZoneName = params['ZoneName']
  @ZoneId = params['ZoneId']
  @NodeCount = params['NodeCount']
  @NodePermWipeFlag = params['NodePermWipeFlag']
end