Class: TencentCloud::Tke::V20180525::ClusterPublicLB
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ClusterPublicLB
- Defined in:
- lib/v20180525/models.rb
Overview
弹性容器集群公网访问负载均衡信息
Instance Attribute Summary collapse
- #AllowFromCidrs ⇒ Object
- #Enabled ⇒ Object
- #ExtraParam ⇒ Object
- #SecurityGroup ⇒ Object
- #SecurityPolicies ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enabled = nil, allowfromcidrs = nil, securitypolicies = nil, extraparam = nil, securitygroup = nil) ⇒ ClusterPublicLB
constructor
A new instance of ClusterPublicLB.
Constructor Details
#initialize(enabled = nil, allowfromcidrs = nil, securitypolicies = nil, extraparam = nil, securitygroup = nil) ⇒ ClusterPublicLB
Returns a new instance of ClusterPublicLB.
1664 1665 1666 1667 1668 1669 1670 |
# File 'lib/v20180525/models.rb', line 1664 def initialize(enabled=nil, allowfromcidrs=nil, securitypolicies=nil, extraparam=nil, securitygroup=nil) @Enabled = enabled @AllowFromCidrs = allowfromcidrs @SecurityPolicies = securitypolicies @ExtraParam = extraparam @SecurityGroup = securitygroup end |
Instance Attribute Details
#AllowFromCidrs ⇒ Object
1662 1663 1664 |
# File 'lib/v20180525/models.rb', line 1662 def AllowFromCidrs @AllowFromCidrs end |
#Enabled ⇒ Object
1662 1663 1664 |
# File 'lib/v20180525/models.rb', line 1662 def Enabled @Enabled end |
#ExtraParam ⇒ Object
1662 1663 1664 |
# File 'lib/v20180525/models.rb', line 1662 def ExtraParam @ExtraParam end |
#SecurityGroup ⇒ Object
1662 1663 1664 |
# File 'lib/v20180525/models.rb', line 1662 def SecurityGroup @SecurityGroup end |
#SecurityPolicies ⇒ Object
1662 1663 1664 |
# File 'lib/v20180525/models.rb', line 1662 def SecurityPolicies @SecurityPolicies end |
Instance Method Details
#deserialize(params) ⇒ Object
1672 1673 1674 1675 1676 1677 1678 |
# File 'lib/v20180525/models.rb', line 1672 def deserialize(params) @Enabled = params['Enabled'] @AllowFromCidrs = params['AllowFromCidrs'] @SecurityPolicies = params['SecurityPolicies'] @ExtraParam = params['ExtraParam'] @SecurityGroup = params['SecurityGroup'] end |