Class: TencentCloud::Clb::V20180317::ExclusiveCluster
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ExclusiveCluster
- Defined in:
- lib/v20180317/models.rb
Overview
独占集群
Instance Attribute Summary collapse
-
#ClassicalCluster ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#L4Clusters ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#L7Clusters ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(l4clusters = nil, l7clusters = nil, classicalcluster = nil) ⇒ ExclusiveCluster
constructor
A new instance of ExclusiveCluster.
Constructor Details
#initialize(l4clusters = nil, l7clusters = nil, classicalcluster = nil) ⇒ ExclusiveCluster
Returns a new instance of ExclusiveCluster.
4427 4428 4429 4430 4431 |
# File 'lib/v20180317/models.rb', line 4427 def initialize(l4clusters=nil, l7clusters=nil, classicalcluster=nil) @L4Clusters = l4clusters @L7Clusters = l7clusters @ClassicalCluster = classicalcluster end |
Instance Attribute Details
#ClassicalCluster ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4425 4426 4427 |
# File 'lib/v20180317/models.rb', line 4425 def ClassicalCluster @ClassicalCluster end |
#L4Clusters ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4425 4426 4427 |
# File 'lib/v20180317/models.rb', line 4425 def L4Clusters @L4Clusters end |
#L7Clusters ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
4425 4426 4427 |
# File 'lib/v20180317/models.rb', line 4425 def L7Clusters @L7Clusters end |
Instance Method Details
#deserialize(params) ⇒ Object
4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 |
# File 'lib/v20180317/models.rb', line 4433 def deserialize(params) unless params['L4Clusters'].nil? @L4Clusters = [] params['L4Clusters'].each do |i| clusteritem_tmp = ClusterItem.new clusteritem_tmp.deserialize(i) @L4Clusters << clusteritem_tmp end end unless params['L7Clusters'].nil? @L7Clusters = [] params['L7Clusters'].each do |i| clusteritem_tmp = ClusterItem.new clusteritem_tmp.deserialize(i) @L7Clusters << clusteritem_tmp end end unless params['ClassicalCluster'].nil? @ClassicalCluster = ClusterItem.new @ClassicalCluster.deserialize(params['ClassicalCluster']) end end |