Class: TencentCloud::Vdb::V20230616::CreateInstancesComponent
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vdb::V20230616::CreateInstancesComponent
- Defined in:
- lib/v20230616/models.rb
Overview
组件设置列表
Instance Attribute Summary collapse
- #Component ⇒ Object
- #Cpu ⇒ Object
- #Memory ⇒ Object
- #Name ⇒ Object
- #Params ⇒ Object
- #ReplicaNum ⇒ Object
- #StorageSize ⇒ Object
- #StorageType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(component = nil, cpu = nil, memory = nil, replicanum = nil, name = nil, storagesize = nil, storagetype = nil, params = nil) ⇒ CreateInstancesComponent
constructor
A new instance of CreateInstancesComponent.
Constructor Details
#initialize(component = nil, cpu = nil, memory = nil, replicanum = nil, name = nil, storagesize = nil, storagetype = nil, params = nil) ⇒ CreateInstancesComponent
Returns a new instance of CreateInstancesComponent.
288 289 290 291 292 293 294 295 296 297 |
# File 'lib/v20230616/models.rb', line 288 def initialize(component=nil, cpu=nil, memory=nil, replicanum=nil, name=nil, storagesize=nil, storagetype=nil, params=nil) @Component = component @Cpu = cpu @Memory = memory @ReplicaNum = replicanum @Name = name @StorageSize = storagesize @StorageType = storagetype @Params = params end |
Instance Attribute Details
#Component ⇒ Object
286 287 288 |
# File 'lib/v20230616/models.rb', line 286 def Component @Component end |
#Cpu ⇒ Object
286 287 288 |
# File 'lib/v20230616/models.rb', line 286 def Cpu @Cpu end |
#Memory ⇒ Object
286 287 288 |
# File 'lib/v20230616/models.rb', line 286 def Memory @Memory end |
#Name ⇒ Object
286 287 288 |
# File 'lib/v20230616/models.rb', line 286 def Name @Name end |
#Params ⇒ Object
286 287 288 |
# File 'lib/v20230616/models.rb', line 286 def Params @Params end |
#ReplicaNum ⇒ Object
286 287 288 |
# File 'lib/v20230616/models.rb', line 286 def ReplicaNum @ReplicaNum end |
#StorageSize ⇒ Object
286 287 288 |
# File 'lib/v20230616/models.rb', line 286 def StorageSize @StorageSize end |
#StorageType ⇒ Object
286 287 288 |
# File 'lib/v20230616/models.rb', line 286 def StorageType @StorageType end |
Instance Method Details
#deserialize(params) ⇒ Object
299 300 301 302 303 304 305 306 307 308 |
# File 'lib/v20230616/models.rb', line 299 def deserialize(params) @Component = params['Component'] @Cpu = params['Cpu'] @Memory = params['Memory'] @ReplicaNum = params['ReplicaNum'] @Name = params['Name'] @StorageSize = params['StorageSize'] @StorageType = params['StorageType'] @Params = params['Params'] end |