Class: TencentCloud::Omics::V20221128::ClusterOption

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

Overview

计算集群配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AutoUpgradeClusterLevelObject

  • KUBERNETES

Parameters:

  • Zone:

    计算集群可用区。

  • Type:

    计算集群类型,取值范围:

  • ServiceCidr:

    计算集群Service CIDR,不能与VPC网段重合。

  • ResourceQuota:

    资源配额。

  • LimitRange:

    限制范围。

  • SystemNodeInstanceType:

    系统节点池实例规格。

  • SystemNodeCount:

    系统节点池实例数量。

  • AutoUpgradeClusterLevel:

    纳管环境自动升配



149
150
151
# File 'lib/v20221128/models.rb', line 149

def AutoUpgradeClusterLevel
  @AutoUpgradeClusterLevel
end

#LimitRangeObject

  • KUBERNETES

Parameters:

  • Zone:

    计算集群可用区。

  • Type:

    计算集群类型,取值范围:

  • ServiceCidr:

    计算集群Service CIDR,不能与VPC网段重合。

  • ResourceQuota:

    资源配额。

  • LimitRange:

    限制范围。

  • SystemNodeInstanceType:

    系统节点池实例规格。

  • SystemNodeCount:

    系统节点池实例数量。

  • AutoUpgradeClusterLevel:

    纳管环境自动升配



149
150
151
# File 'lib/v20221128/models.rb', line 149

def LimitRange
  @LimitRange
end

#ResourceQuotaObject

  • KUBERNETES

Parameters:

  • Zone:

    计算集群可用区。

  • Type:

    计算集群类型,取值范围:

  • ServiceCidr:

    计算集群Service CIDR,不能与VPC网段重合。

  • ResourceQuota:

    资源配额。

  • LimitRange:

    限制范围。

  • SystemNodeInstanceType:

    系统节点池实例规格。

  • SystemNodeCount:

    系统节点池实例数量。

  • AutoUpgradeClusterLevel:

    纳管环境自动升配



149
150
151
# File 'lib/v20221128/models.rb', line 149

def ResourceQuota
  @ResourceQuota
end

#ServiceCidrObject

  • KUBERNETES

Parameters:

  • Zone:

    计算集群可用区。

  • Type:

    计算集群类型,取值范围:

  • ServiceCidr:

    计算集群Service CIDR,不能与VPC网段重合。

  • ResourceQuota:

    资源配额。

  • LimitRange:

    限制范围。

  • SystemNodeInstanceType:

    系统节点池实例规格。

  • SystemNodeCount:

    系统节点池实例数量。

  • AutoUpgradeClusterLevel:

    纳管环境自动升配



149
150
151
# File 'lib/v20221128/models.rb', line 149

def ServiceCidr
  @ServiceCidr
end

#SystemNodeCountObject

  • KUBERNETES

Parameters:

  • Zone:

    计算集群可用区。

  • Type:

    计算集群类型,取值范围:

  • ServiceCidr:

    计算集群Service CIDR,不能与VPC网段重合。

  • ResourceQuota:

    资源配额。

  • LimitRange:

    限制范围。

  • SystemNodeInstanceType:

    系统节点池实例规格。

  • SystemNodeCount:

    系统节点池实例数量。

  • AutoUpgradeClusterLevel:

    纳管环境自动升配



149
150
151
# File 'lib/v20221128/models.rb', line 149

def SystemNodeCount
  @SystemNodeCount
end

#SystemNodeInstanceTypeObject

  • KUBERNETES

Parameters:

  • Zone:

    计算集群可用区。

  • Type:

    计算集群类型,取值范围:

  • ServiceCidr:

    计算集群Service CIDR,不能与VPC网段重合。

  • ResourceQuota:

    资源配额。

  • LimitRange:

    限制范围。

  • SystemNodeInstanceType:

    系统节点池实例规格。

  • SystemNodeCount:

    系统节点池实例数量。

  • AutoUpgradeClusterLevel:

    纳管环境自动升配



149
150
151
# File 'lib/v20221128/models.rb', line 149

def SystemNodeInstanceType
  @SystemNodeInstanceType
end

#TypeObject

  • KUBERNETES

Parameters:

  • Zone:

    计算集群可用区。

  • Type:

    计算集群类型,取值范围:

  • ServiceCidr:

    计算集群Service CIDR,不能与VPC网段重合。

  • ResourceQuota:

    资源配额。

  • LimitRange:

    限制范围。

  • SystemNodeInstanceType:

    系统节点池实例规格。

  • SystemNodeCount:

    系统节点池实例数量。

  • AutoUpgradeClusterLevel:

    纳管环境自动升配



149
150
151
# File 'lib/v20221128/models.rb', line 149

def Type
  @Type
end

#ZoneObject

  • KUBERNETES

Parameters:

  • Zone:

    计算集群可用区。

  • Type:

    计算集群类型,取值范围:

  • ServiceCidr:

    计算集群Service CIDR,不能与VPC网段重合。

  • ResourceQuota:

    资源配额。

  • LimitRange:

    限制范围。

  • SystemNodeInstanceType:

    系统节点池实例规格。

  • SystemNodeCount:

    系统节点池实例数量。

  • AutoUpgradeClusterLevel:

    纳管环境自动升配



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