Class: TencentCloud::Tke::V20180525::ModifyClusterAttributeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyClusterAttributeRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyClusterAttribute请求参数结构体
Instance Attribute Summary collapse
- #AutoUpgradeClusterLevel ⇒ Object
- #ClusterDesc ⇒ Object
- #ClusterId ⇒ Object
- #ClusterLevel ⇒ Object
- #ClusterName ⇒ Object
- #ClusterProperty ⇒ Object
- #IsHighAvailability ⇒ Object
- #ProjectId ⇒ Object
- #QGPUShareEnable ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, projectid = nil, clustername = nil, clusterdesc = nil, clusterlevel = nil, autoupgradeclusterlevel = nil, qgpushareenable = nil, clusterproperty = nil, ishighavailability = nil) ⇒ ModifyClusterAttributeRequest
constructor
A new instance of ModifyClusterAttributeRequest.
Constructor Details
#initialize(clusterid = nil, projectid = nil, clustername = nil, clusterdesc = nil, clusterlevel = nil, autoupgradeclusterlevel = nil, qgpushareenable = nil, clusterproperty = nil, ishighavailability = nil) ⇒ ModifyClusterAttributeRequest
Returns a new instance of ModifyClusterAttributeRequest.
15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 |
# File 'lib/v20180525/models.rb', line 15101 def initialize(clusterid=nil, projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, qgpushareenable=nil, clusterproperty=nil, ishighavailability=nil) @ClusterId = clusterid @ProjectId = projectid @ClusterName = clustername @ClusterDesc = clusterdesc @ClusterLevel = clusterlevel @AutoUpgradeClusterLevel = autoupgradeclusterlevel @QGPUShareEnable = qgpushareenable @ClusterProperty = clusterproperty @IsHighAvailability = ishighavailability end |
Instance Attribute Details
#AutoUpgradeClusterLevel ⇒ Object
15099 15100 15101 |
# File 'lib/v20180525/models.rb', line 15099 def AutoUpgradeClusterLevel @AutoUpgradeClusterLevel end |
#ClusterDesc ⇒ Object
15099 15100 15101 |
# File 'lib/v20180525/models.rb', line 15099 def ClusterDesc @ClusterDesc end |
#ClusterId ⇒ Object
15099 15100 15101 |
# File 'lib/v20180525/models.rb', line 15099 def ClusterId @ClusterId end |
#ClusterLevel ⇒ Object
15099 15100 15101 |
# File 'lib/v20180525/models.rb', line 15099 def ClusterLevel @ClusterLevel end |
#ClusterName ⇒ Object
15099 15100 15101 |
# File 'lib/v20180525/models.rb', line 15099 def ClusterName @ClusterName end |
#ClusterProperty ⇒ Object
15099 15100 15101 |
# File 'lib/v20180525/models.rb', line 15099 def ClusterProperty @ClusterProperty end |
#IsHighAvailability ⇒ Object
15099 15100 15101 |
# File 'lib/v20180525/models.rb', line 15099 def IsHighAvailability @IsHighAvailability end |
#ProjectId ⇒ Object
15099 15100 15101 |
# File 'lib/v20180525/models.rb', line 15099 def ProjectId @ProjectId end |
#QGPUShareEnable ⇒ Object
15099 15100 15101 |
# File 'lib/v20180525/models.rb', line 15099 def QGPUShareEnable @QGPUShareEnable end |
Instance Method Details
#deserialize(params) ⇒ Object
15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 |
# File 'lib/v20180525/models.rb', line 15113 def deserialize(params) @ClusterId = params['ClusterId'] @ProjectId = params['ProjectId'] @ClusterName = params['ClusterName'] @ClusterDesc = params['ClusterDesc'] @ClusterLevel = params['ClusterLevel'] unless params['AutoUpgradeClusterLevel'].nil? @AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new @AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel']) end @QGPUShareEnable = params['QGPUShareEnable'] unless params['ClusterProperty'].nil? @ClusterProperty = ClusterProperty.new @ClusterProperty.deserialize(params['ClusterProperty']) end @IsHighAvailability = params['IsHighAvailability'] end |