Class: TencentCloud::Tke::V20220501::AutoscalingAdded

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

Overview

自动扩缩容的节点

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(joining = nil, initializing = nil, normal = nil, total = nil) ⇒ AutoscalingAdded

Returns a new instance of AutoscalingAdded.



80
81
82
83
84
85
# File 'lib/v20220501/models.rb', line 80

def initialize(joining=nil, initializing=nil, normal=nil, total=nil)
  @Joining = joining
  @Initializing = initializing
  @Normal = normal
  @Total = total
end

Instance Attribute Details

#InitializingObject

Parameters:

  • Joining:

    正在加入中的节点数量

  • Initializing:

    初始化中的节点数量

  • Normal:

    正常的节点数量

  • Total:

    节点总数



78
79
80
# File 'lib/v20220501/models.rb', line 78

def Initializing
  @Initializing
end

#JoiningObject

Parameters:

  • Joining:

    正在加入中的节点数量

  • Initializing:

    初始化中的节点数量

  • Normal:

    正常的节点数量

  • Total:

    节点总数



78
79
80
# File 'lib/v20220501/models.rb', line 78

def Joining
  @Joining
end

#NormalObject

Parameters:

  • Joining:

    正在加入中的节点数量

  • Initializing:

    初始化中的节点数量

  • Normal:

    正常的节点数量

  • Total:

    节点总数



78
79
80
# File 'lib/v20220501/models.rb', line 78

def Normal
  @Normal
end

#TotalObject

Parameters:

  • Joining:

    正在加入中的节点数量

  • Initializing:

    初始化中的节点数量

  • Normal:

    正常的节点数量

  • Total:

    节点总数



78
79
80
# File 'lib/v20220501/models.rb', line 78

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



87
88
89
90
91
92
# File 'lib/v20220501/models.rb', line 87

def deserialize(params)
  @Joining = params['Joining']
  @Initializing = params['Initializing']
  @Normal = params['Normal']
  @Total = params['Total']
end