Class: TencentCloud::Cdwch::V20200915::ClusterInfo

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

Overview

clickhouse vcluster信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clustername = nil, nodeips = nil) ⇒ ClusterInfo

Returns a new instance of ClusterInfo.



225
226
227
228
# File 'lib/v20200915/models.rb', line 225

def initialize(clustername=nil, nodeips=nil)
  @ClusterName = clustername
  @NodeIps = nodeips
end

Instance Attribute Details

#ClusterNameObject

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

Parameters:

  • ClusterName:

    vcluster名字

  • NodeIps:

    当前cluster的IP列表



223
224
225
# File 'lib/v20200915/models.rb', line 223

def ClusterName
  @ClusterName
end

#NodeIpsObject

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

Parameters:

  • ClusterName:

    vcluster名字

  • NodeIps:

    当前cluster的IP列表



223
224
225
# File 'lib/v20200915/models.rb', line 223

def NodeIps
  @NodeIps
end

Instance Method Details

#deserialize(params) ⇒ Object



230
231
232
233
# File 'lib/v20200915/models.rb', line 230

def deserialize(params)
  @ClusterName = params['ClusterName']
  @NodeIps = params['NodeIps']
end