Class: TencentCloud::Cdwch::V20200915::CreateInstanceNewRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwch::V20200915::CreateInstanceNewRequest
- Defined in:
- lib/v20200915/models.rb
Overview
CreateInstanceNew请求参数结构体
Instance Attribute Summary collapse
- #ChargeProperties ⇒ Object
- #ClsLogSetId ⇒ Object
- #CommonSpec ⇒ Object
- #CosBucketName ⇒ Object
- #DataSpec ⇒ Object
- #HaFlag ⇒ Object
- #HAZk ⇒ Object
- #InstanceName ⇒ Object
- #MountDiskType ⇒ Object
- #ProductVersion ⇒ Object
- #Tags ⇒ Object
- #UserSubnetId ⇒ Object
- #UserVPCId ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, haflag = nil, uservpcid = nil, usersubnetid = nil, productversion = nil, chargeproperties = nil, instancename = nil, dataspec = nil, tags = nil, clslogsetid = nil, cosbucketname = nil, mountdisktype = nil, hazk = nil, commonspec = nil) ⇒ CreateInstanceNewRequest
constructor
A new instance of CreateInstanceNewRequest.
Constructor Details
#initialize(zone = nil, haflag = nil, uservpcid = nil, usersubnetid = nil, productversion = nil, chargeproperties = nil, instancename = nil, dataspec = nil, tags = nil, clslogsetid = nil, cosbucketname = nil, mountdisktype = nil, hazk = nil, commonspec = nil) ⇒ CreateInstanceNewRequest
Returns a new instance of CreateInstanceNewRequest.
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 |
# File 'lib/v20200915/models.rb', line 348 def initialize(zone=nil, haflag=nil, uservpcid=nil, usersubnetid=nil, productversion=nil, chargeproperties=nil, instancename=nil, dataspec=nil, =nil, clslogsetid=nil, cosbucketname=nil, mountdisktype=nil, hazk=nil, commonspec=nil) @Zone = zone @HaFlag = haflag @UserVPCId = uservpcid @UserSubnetId = usersubnetid @ProductVersion = productversion @ChargeProperties = chargeproperties @InstanceName = instancename @DataSpec = dataspec @Tags = @ClsLogSetId = clslogsetid @CosBucketName = cosbucketname @MountDiskType = mountdisktype @HAZk = hazk @CommonSpec = commonspec end |
Instance Attribute Details
#ChargeProperties ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def ChargeProperties @ChargeProperties end |
#ClsLogSetId ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def ClsLogSetId @ClsLogSetId end |
#CommonSpec ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def CommonSpec @CommonSpec end |
#CosBucketName ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def CosBucketName @CosBucketName end |
#DataSpec ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def DataSpec @DataSpec end |
#HaFlag ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def HaFlag @HaFlag end |
#HAZk ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def HAZk @HAZk end |
#InstanceName ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def InstanceName @InstanceName end |
#MountDiskType ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def MountDiskType @MountDiskType end |
#ProductVersion ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def ProductVersion @ProductVersion end |
#Tags ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def Tags @Tags end |
#UserSubnetId ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def UserSubnetId @UserSubnetId end |
#UserVPCId ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def UserVPCId @UserVPCId end |
#Zone ⇒ Object
346 347 348 |
# File 'lib/v20200915/models.rb', line 346 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/v20200915/models.rb', line 365 def deserialize(params) @Zone = params['Zone'] @HaFlag = params['HaFlag'] @UserVPCId = params['UserVPCId'] @UserSubnetId = params['UserSubnetId'] @ProductVersion = params['ProductVersion'] unless params['ChargeProperties'].nil? @ChargeProperties = Charge.new @ChargeProperties.deserialize(params['ChargeProperties']) end @InstanceName = params['InstanceName'] unless params['DataSpec'].nil? @DataSpec = NodeSpec.new @DataSpec.deserialize(params['DataSpec']) end unless params['Tags'].nil? @Tags = Tag.new @Tags.deserialize(params['Tags']) end @ClsLogSetId = params['ClsLogSetId'] @CosBucketName = params['CosBucketName'] @MountDiskType = params['MountDiskType'] @HAZk = params['HAZk'] unless params['CommonSpec'].nil? @CommonSpec = NodeSpec.new @CommonSpec.deserialize(params['CommonSpec']) end end |