Class: TencentCloud::Cynosdb::V20190107::CreateClustersData
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::CreateClustersData
- Defined in:
- lib/v20190107/models.rb
Overview
创建集群任务信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cpu = nil, memory = nil, storagelimit = nil) ⇒ CreateClustersData
constructor
A new instance of CreateClustersData.
Constructor Details
#initialize(cpu = nil, memory = nil, storagelimit = nil) ⇒ CreateClustersData
Returns a new instance of CreateClustersData.
2250 2251 2252 2253 2254 |
# File 'lib/v20190107/models.rb', line 2250 def initialize(cpu=nil, memory=nil, storagelimit=nil) @Cpu = cpu @Memory = memory @StorageLimit = storagelimit end |
Instance Attribute Details
#Cpu ⇒ Object
2248 2249 2250 |
# File 'lib/v20190107/models.rb', line 2248 def Cpu @Cpu end |
#Memory ⇒ Object
2248 2249 2250 |
# File 'lib/v20190107/models.rb', line 2248 def Memory @Memory end |
#StorageLimit ⇒ Object
2248 2249 2250 |
# File 'lib/v20190107/models.rb', line 2248 def StorageLimit @StorageLimit end |
Instance Method Details
#deserialize(params) ⇒ Object
2256 2257 2258 2259 2260 |
# File 'lib/v20190107/models.rb', line 2256 def deserialize(params) @Cpu = params['Cpu'] @Memory = params['Memory'] @StorageLimit = params['StorageLimit'] end |