Class: TencentCloud::Clb::V20180317::ClusterItem

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

Overview

独占集群信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, clustername = nil, zone = nil) ⇒ ClusterItem

Returns a new instance of ClusterItem.



1162
1163
1164
1165
1166
# File 'lib/v20180317/models.rb', line 1162

def initialize(clusterid=nil, clustername=nil, zone=nil)
  @ClusterId = clusterid
  @ClusterName = clustername
  @Zone = zone
end

Instance Attribute Details

#ClusterIdObject

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

Parameters:

  • ClusterId:

    集群唯一ID

  • ClusterName:

    集群名称

  • Zone:

    集群所在可用区,如ap-guangzhou-1



1160
1161
1162
# File 'lib/v20180317/models.rb', line 1160

def ClusterId
  @ClusterId
end

#ClusterNameObject

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

Parameters:

  • ClusterId:

    集群唯一ID

  • ClusterName:

    集群名称

  • Zone:

    集群所在可用区,如ap-guangzhou-1



1160
1161
1162
# File 'lib/v20180317/models.rb', line 1160

def ClusterName
  @ClusterName
end

#ZoneObject

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

Parameters:

  • ClusterId:

    集群唯一ID

  • ClusterName:

    集群名称

  • Zone:

    集群所在可用区,如ap-guangzhou-1



1160
1161
1162
# File 'lib/v20180317/models.rb', line 1160

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



1168
1169
1170
1171
1172
# File 'lib/v20180317/models.rb', line 1168

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