Class: TencentCloud::Tke::V20180525::ClusterInternalLB

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

Overview

弹性容器集群内网访问LB信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled = nil, subnetid = nil) ⇒ ClusterInternalLB

Returns a new instance of ClusterInternalLB.



1442
1443
1444
1445
# File 'lib/v20180525/models.rb', line 1442

def initialize(enabled=nil, subnetid=nil)
  @Enabled = enabled
  @SubnetId = subnetid
end

Instance Attribute Details

#EnabledObject

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

Parameters:

  • Enabled:

    是否开启内网访问LB

  • SubnetId:

    内网访问LB关联的子网Id



1440
1441
1442
# File 'lib/v20180525/models.rb', line 1440

def Enabled
  @Enabled
end

#SubnetIdObject

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

Parameters:

  • Enabled:

    是否开启内网访问LB

  • SubnetId:

    内网访问LB关联的子网Id



1440
1441
1442
# File 'lib/v20180525/models.rb', line 1440

def SubnetId
  @SubnetId
end

Instance Method Details

#deserialize(params) ⇒ Object



1447
1448
1449
1450
# File 'lib/v20180525/models.rb', line 1447

def deserialize(params)
  @Enabled = params['Enabled']
  @SubnetId = params['SubnetId']
end