Class: TencentCloud::Tke::V20180525::EdgeClusterPublicLB

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

Overview

边缘计算集群公网访问负载均衡信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled = nil, allowfromcidrs = nil) ⇒ EdgeClusterPublicLB

Returns a new instance of EdgeClusterPublicLB.



11148
11149
11150
11151
# File 'lib/v20180525/models.rb', line 11148

def initialize(enabled=nil, allowfromcidrs=nil)
  @Enabled = enabled
  @AllowFromCidrs = allowfromcidrs
end

Instance Attribute Details

#AllowFromCidrsObject

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

Parameters:

  • Enabled:

    是否开启公网访问LB

  • AllowFromCidrs:

    允许访问的公网cidr



11146
11147
11148
# File 'lib/v20180525/models.rb', line 11146

def AllowFromCidrs
  @AllowFromCidrs
end

#EnabledObject

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

Parameters:

  • Enabled:

    是否开启公网访问LB

  • AllowFromCidrs:

    允许访问的公网cidr



11146
11147
11148
# File 'lib/v20180525/models.rb', line 11146

def Enabled
  @Enabled
end

Instance Method Details

#deserialize(params) ⇒ Object



11153
11154
11155
11156
# File 'lib/v20180525/models.rb', line 11153

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