Class: TencentCloud::Omics::V20221128::CreateVolumeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Omics::V20221128::CreateVolumeRequest
- Defined in:
- lib/v20221128/models.rb
Overview
CreateVolume请求参数结构体
Instance Attribute Summary collapse
-
#Capacity ⇒ Object
-
SD:通用标准型 - HP:通用性能型 - TB:turbo标准型 - TP:turbo性能型.
-
-
#Description ⇒ Object
-
SD:通用标准型 - HP:通用性能型 - TB:turbo标准型 - TP:turbo性能型.
-
-
#EnableAutoScaleUp ⇒ Object
-
SD:通用标准型 - HP:通用性能型 - TB:turbo标准型 - TP:turbo性能型.
-
-
#EnvironmentId ⇒ Object
-
SD:通用标准型 - HP:通用性能型 - TB:turbo标准型 - TP:turbo性能型.
-
-
#MetaType ⇒ Object
-
SD:通用标准型 - HP:通用性能型 - TB:turbo标准型 - TP:turbo性能型.
-
-
#Name ⇒ Object
-
SD:通用标准型 - HP:通用性能型 - TB:turbo标准型 - TP:turbo性能型.
-
-
#Spec ⇒ Object
-
SD:通用标准型 - HP:通用性能型 - TB:turbo标准型 - TP:turbo性能型.
-
-
#Type ⇒ Object
-
SD:通用标准型 - HP:通用性能型 - TB:turbo标准型 - TP:turbo性能型.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, name = nil, type = nil, spec = nil, description = nil, capacity = nil, enableautoscaleup = nil, metatype = nil) ⇒ CreateVolumeRequest
constructor
A new instance of CreateVolumeRequest.
Constructor Details
#initialize(environmentid = nil, name = nil, type = nil, spec = nil, description = nil, capacity = nil, enableautoscaleup = nil, metatype = nil) ⇒ CreateVolumeRequest
Returns a new instance of CreateVolumeRequest.
286 287 288 289 290 291 292 293 294 295 |
# File 'lib/v20221128/models.rb', line 286 def initialize(environmentid=nil, name=nil, type=nil, spec=nil, description=nil, capacity=nil, enableautoscaleup=nil, =nil) @EnvironmentId = environmentid @Name = name @Type = type @Spec = spec @Description = description @Capacity = capacity @EnableAutoScaleUp = enableautoscaleup @MetaType = end |
Instance Attribute Details
#Capacity ⇒ Object
-
SD:通用标准型
-
HP:通用性能型
-
TB:turbo标准型
-
TP:turbo性能型
284 285 286 |
# File 'lib/v20221128/models.rb', line 284 def Capacity @Capacity end |
#Description ⇒ Object
-
SD:通用标准型
-
HP:通用性能型
-
TB:turbo标准型
-
TP:turbo性能型
284 285 286 |
# File 'lib/v20221128/models.rb', line 284 def Description @Description end |
#EnableAutoScaleUp ⇒ Object
-
SD:通用标准型
-
HP:通用性能型
-
TB:turbo标准型
-
TP:turbo性能型
284 285 286 |
# File 'lib/v20221128/models.rb', line 284 def EnableAutoScaleUp @EnableAutoScaleUp end |
#EnvironmentId ⇒ Object
-
SD:通用标准型
-
HP:通用性能型
-
TB:turbo标准型
-
TP:turbo性能型
284 285 286 |
# File 'lib/v20221128/models.rb', line 284 def EnvironmentId @EnvironmentId end |
#MetaType ⇒ Object
-
SD:通用标准型
-
HP:通用性能型
-
TB:turbo标准型
-
TP:turbo性能型
284 285 286 |
# File 'lib/v20221128/models.rb', line 284 def MetaType @MetaType end |
#Name ⇒ Object
-
SD:通用标准型
-
HP:通用性能型
-
TB:turbo标准型
-
TP:turbo性能型
284 285 286 |
# File 'lib/v20221128/models.rb', line 284 def Name @Name end |
#Spec ⇒ Object
-
SD:通用标准型
-
HP:通用性能型
-
TB:turbo标准型
-
TP:turbo性能型
284 285 286 |
# File 'lib/v20221128/models.rb', line 284 def Spec @Spec end |
#Type ⇒ Object
-
SD:通用标准型
-
HP:通用性能型
-
TB:turbo标准型
-
TP:turbo性能型
284 285 286 |
# File 'lib/v20221128/models.rb', line 284 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
297 298 299 300 301 302 303 304 305 306 |
# File 'lib/v20221128/models.rb', line 297 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @Name = params['Name'] @Type = params['Type'] @Spec = params['Spec'] @Description = params['Description'] @Capacity = params['Capacity'] @EnableAutoScaleUp = params['EnableAutoScaleUp'] @MetaType = params['MetaType'] end |