Class: TencentCloud::Omics::V20221128::ClusterOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Omics::V20221128::ClusterOption
- Defined in:
- lib/v20221128/models.rb
Overview
计算集群配置。
Instance Attribute Summary collapse
-
#AutoUpgradeClusterLevel ⇒ Object
-
KUBERNETES.
-
-
#LimitRange ⇒ Object
-
KUBERNETES.
-
-
#ResourceQuota ⇒ Object
-
KUBERNETES.
-
-
#ServiceCidr ⇒ Object
-
KUBERNETES.
-
-
#SystemNodeCount ⇒ Object
-
KUBERNETES.
-
-
#SystemNodeInstanceType ⇒ Object
-
KUBERNETES.
-
-
#Type ⇒ Object
-
KUBERNETES.
-
-
#Zone ⇒ Object
-
KUBERNETES.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, type = nil, servicecidr = nil, resourcequota = nil, limitrange = nil, systemnodeinstancetype = nil, systemnodecount = nil, autoupgradeclusterlevel = nil) ⇒ ClusterOption
constructor
A new instance of ClusterOption.
Constructor Details
#initialize(zone = nil, type = nil, servicecidr = nil, resourcequota = nil, limitrange = nil, systemnodeinstancetype = nil, systemnodecount = nil, autoupgradeclusterlevel = nil) ⇒ ClusterOption
Returns a new instance of ClusterOption.
151 152 153 154 155 156 157 158 159 160 |
# File 'lib/v20221128/models.rb', line 151 def initialize(zone=nil, type=nil, servicecidr=nil, resourcequota=nil, limitrange=nil, systemnodeinstancetype=nil, systemnodecount=nil, autoupgradeclusterlevel=nil) @Zone = zone @Type = type @ServiceCidr = servicecidr @ResourceQuota = resourcequota @LimitRange = limitrange @SystemNodeInstanceType = systemnodeinstancetype @SystemNodeCount = systemnodecount @AutoUpgradeClusterLevel = autoupgradeclusterlevel end |
Instance Attribute Details
#AutoUpgradeClusterLevel ⇒ Object
-
KUBERNETES
149 150 151 |
# File 'lib/v20221128/models.rb', line 149 def AutoUpgradeClusterLevel @AutoUpgradeClusterLevel end |
#LimitRange ⇒ Object
-
KUBERNETES
149 150 151 |
# File 'lib/v20221128/models.rb', line 149 def LimitRange @LimitRange end |
#ResourceQuota ⇒ Object
-
KUBERNETES
149 150 151 |
# File 'lib/v20221128/models.rb', line 149 def ResourceQuota @ResourceQuota end |
#ServiceCidr ⇒ Object
-
KUBERNETES
149 150 151 |
# File 'lib/v20221128/models.rb', line 149 def ServiceCidr @ServiceCidr end |
#SystemNodeCount ⇒ Object
-
KUBERNETES
149 150 151 |
# File 'lib/v20221128/models.rb', line 149 def SystemNodeCount @SystemNodeCount end |
#SystemNodeInstanceType ⇒ Object
-
KUBERNETES
149 150 151 |
# File 'lib/v20221128/models.rb', line 149 def SystemNodeInstanceType @SystemNodeInstanceType end |
#Type ⇒ Object
-
KUBERNETES
149 150 151 |
# File 'lib/v20221128/models.rb', line 149 def Type @Type end |
#Zone ⇒ Object
-
KUBERNETES
149 150 151 |
# File 'lib/v20221128/models.rb', line 149 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'lib/v20221128/models.rb', line 162 def deserialize(params) @Zone = params['Zone'] @Type = params['Type'] @ServiceCidr = params['ServiceCidr'] unless params['ResourceQuota'].nil? @ResourceQuota = ResourceQuota.new @ResourceQuota.deserialize(params['ResourceQuota']) end unless params['LimitRange'].nil? @LimitRange = LimitRange.new @LimitRange.deserialize(params['LimitRange']) end @SystemNodeInstanceType = params['SystemNodeInstanceType'] @SystemNodeCount = params['SystemNodeCount'] @AutoUpgradeClusterLevel = params['AutoUpgradeClusterLevel'] end |