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.



1347
1348
1349
1350
# File 'lib/v20180525/models.rb', line 1347

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

Instance Attribute Details

#EnabledObject

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

Parameters:

  • Enabled:

    是否开启内网访问LB

  • SubnetId:

    内网访问LB关联的子网Id



1345
1346
1347
# File 'lib/v20180525/models.rb', line 1345

def Enabled
  @Enabled
end

#SubnetIdObject

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

Parameters:

  • Enabled:

    是否开启内网访问LB

  • SubnetId:

    内网访问LB关联的子网Id



1345
1346
1347
# File 'lib/v20180525/models.rb', line 1345

def SubnetId
  @SubnetId
end

Instance Method Details

#deserialize(params) ⇒ Object



1352
1353
1354
1355
# File 'lib/v20180525/models.rb', line 1352

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