Class: TencentCloud::Clb::V20180317::ExclusiveCluster

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(l4clusters = nil, l7clusters = nil, classicalcluster = nil) ⇒ ExclusiveCluster

Returns a new instance of ExclusiveCluster.



4363
4364
4365
4366
4367
# File 'lib/v20180317/models.rb', line 4363

def initialize(l4clusters=nil, l7clusters=nil, classicalcluster=nil)
  @L4Clusters = l4clusters
  @L7Clusters = l7clusters
  @ClassicalCluster = classicalcluster
end

Instance Attribute Details

#ClassicalClusterObject

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

Parameters:

  • L4Clusters:

    4层独占集群列表

  • L7Clusters:

    7层独占集群列表

  • ClassicalCluster:

    vpcgw集群



4361
4362
4363
# File 'lib/v20180317/models.rb', line 4361

def ClassicalCluster
  @ClassicalCluster
end

#L4ClustersObject

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

Parameters:

  • L4Clusters:

    4层独占集群列表

  • L7Clusters:

    7层独占集群列表

  • ClassicalCluster:

    vpcgw集群



4361
4362
4363
# File 'lib/v20180317/models.rb', line 4361

def L4Clusters
  @L4Clusters
end

#L7ClustersObject

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

Parameters:

  • L4Clusters:

    4层独占集群列表

  • L7Clusters:

    7层独占集群列表

  • ClassicalCluster:

    vpcgw集群



4361
4362
4363
# File 'lib/v20180317/models.rb', line 4361

def L7Clusters
  @L7Clusters
end

Instance Method Details

#deserialize(params) ⇒ Object



4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
# File 'lib/v20180317/models.rb', line 4369

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