Class: TencentCloud::Emr::V20190103::GroupGlobalConfs

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

Overview

集群所有伸缩组全局参数信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupglobalconf = nil, currentnodes = nil, currentpostpaidnodes = nil, currentspotpaidnodes = nil) ⇒ GroupGlobalConfs

Returns a new instance of GroupGlobalConfs.



6978
6979
6980
6981
6982
6983
# File 'lib/v20190103/models.rb', line 6978

def initialize(groupglobalconf=nil, currentnodes=nil, currentpostpaidnodes=nil, currentspotpaidnodes=nil)
  @GroupGlobalConf = groupglobalconf
  @CurrentNodes = currentnodes
  @CurrentPostPaidNodes = currentpostpaidnodes
  @CurrentSpotPaidNodes = currentspotpaidnodes
end

Instance Attribute Details

#CurrentNodesObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • GroupGlobalConf:

    伸缩组信息

  • CurrentNodes:

    当前伸缩组扩容出来的节点数量。

  • CurrentPostPaidNodes:

    当前伸缩组扩容出来的后付费节点数量。

  • CurrentSpotPaidNodes:

    当前伸缩组扩容出来的竞价实例节点数量。



6976
6977
6978
# File 'lib/v20190103/models.rb', line 6976

def CurrentNodes
  @CurrentNodes
end

#CurrentPostPaidNodesObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • GroupGlobalConf:

    伸缩组信息

  • CurrentNodes:

    当前伸缩组扩容出来的节点数量。

  • CurrentPostPaidNodes:

    当前伸缩组扩容出来的后付费节点数量。

  • CurrentSpotPaidNodes:

    当前伸缩组扩容出来的竞价实例节点数量。



6976
6977
6978
# File 'lib/v20190103/models.rb', line 6976

def CurrentPostPaidNodes
  @CurrentPostPaidNodes
end

#CurrentSpotPaidNodesObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • GroupGlobalConf:

    伸缩组信息

  • CurrentNodes:

    当前伸缩组扩容出来的节点数量。

  • CurrentPostPaidNodes:

    当前伸缩组扩容出来的后付费节点数量。

  • CurrentSpotPaidNodes:

    当前伸缩组扩容出来的竞价实例节点数量。



6976
6977
6978
# File 'lib/v20190103/models.rb', line 6976

def CurrentSpotPaidNodes
  @CurrentSpotPaidNodes
end

#GroupGlobalConfObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • GroupGlobalConf:

    伸缩组信息

  • CurrentNodes:

    当前伸缩组扩容出来的节点数量。

  • CurrentPostPaidNodes:

    当前伸缩组扩容出来的后付费节点数量。

  • CurrentSpotPaidNodes:

    当前伸缩组扩容出来的竞价实例节点数量。



6976
6977
6978
# File 'lib/v20190103/models.rb', line 6976

def GroupGlobalConf
  @GroupGlobalConf
end

Instance Method Details

#deserialize(params) ⇒ Object



6985
6986
6987
6988
6989
6990
6991
6992
6993
# File 'lib/v20190103/models.rb', line 6985

def deserialize(params)
  unless params['GroupGlobalConf'].nil?
    @GroupGlobalConf = AutoScaleResourceConf.new
    @GroupGlobalConf.deserialize(params['GroupGlobalConf'])
  end
  @CurrentNodes = params['CurrentNodes']
  @CurrentPostPaidNodes = params['CurrentPostPaidNodes']
  @CurrentSpotPaidNodes = params['CurrentSpotPaidNodes']
end