Class: TencentCloud::Cdb::V20170320::DescribeInstanceUpgradeTypeRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeInstanceUpgradeTypeRequest
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeInstanceUpgradeType请求参数结构体
Instance Attribute Summary collapse
- #ClusterTopology ⇒ Object
- #DstBackupZone ⇒ Object
- #DstCdbType ⇒ Object
- #DstCpu ⇒ Object
- #DstDeployMode ⇒ Object
- #DstDisk ⇒ Object
- #DstMemory ⇒ Object
- #DstProtectMode ⇒ Object
- #DstSlaveZone ⇒ Object
- #DstVersion ⇒ Object
- #DstZoneId ⇒ Object
- #InstanceId ⇒ Object
- #NodeDistribution ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, dstcpu = nil, dstmemory = nil, dstdisk = nil, dstversion = nil, dstdeploymode = nil, dstprotectmode = nil, dstslavezone = nil, dstbackupzone = nil, dstcdbtype = nil, dstzoneid = nil, nodedistribution = nil, clustertopology = nil) ⇒ DescribeInstanceUpgradeTypeRequest
constructor
A new instance of DescribeInstanceUpgradeTypeRequest.
Constructor Details
#initialize(instanceid = nil, dstcpu = nil, dstmemory = nil, dstdisk = nil, dstversion = nil, dstdeploymode = nil, dstprotectmode = nil, dstslavezone = nil, dstbackupzone = nil, dstcdbtype = nil, dstzoneid = nil, nodedistribution = nil, clustertopology = nil) ⇒ DescribeInstanceUpgradeTypeRequest
Returns a new instance of DescribeInstanceUpgradeTypeRequest.
7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 |
# File 'lib/v20170320/models.rb', line 7410 def initialize(instanceid=nil, dstcpu=nil, dstmemory=nil, dstdisk=nil, dstversion=nil, dstdeploymode=nil, dstprotectmode=nil, dstslavezone=nil, dstbackupzone=nil, dstcdbtype=nil, dstzoneid=nil, nodedistribution=nil, clustertopology=nil) @InstanceId = instanceid @DstCpu = dstcpu @DstMemory = dstmemory @DstDisk = dstdisk @DstVersion = dstversion @DstDeployMode = dstdeploymode @DstProtectMode = dstprotectmode @DstSlaveZone = dstslavezone @DstBackupZone = dstbackupzone @DstCdbType = dstcdbtype @DstZoneId = dstzoneid @NodeDistribution = nodedistribution @ClusterTopology = clustertopology end |
Instance Attribute Details
#ClusterTopology ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def ClusterTopology @ClusterTopology end |
#DstBackupZone ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstBackupZone @DstBackupZone end |
#DstCdbType ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstCdbType @DstCdbType end |
#DstCpu ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstCpu @DstCpu end |
#DstDeployMode ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstDeployMode @DstDeployMode end |
#DstDisk ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstDisk @DstDisk end |
#DstMemory ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstMemory @DstMemory end |
#DstProtectMode ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstProtectMode @DstProtectMode end |
#DstSlaveZone ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstSlaveZone @DstSlaveZone end |
#DstVersion ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstVersion @DstVersion end |
#DstZoneId ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def DstZoneId @DstZoneId end |
#InstanceId ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def InstanceId @InstanceId end |
#NodeDistribution ⇒ Object
7408 7409 7410 |
# File 'lib/v20170320/models.rb', line 7408 def NodeDistribution @NodeDistribution end |
Instance Method Details
#deserialize(params) ⇒ Object
7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 |
# File 'lib/v20170320/models.rb', line 7426 def deserialize(params) @InstanceId = params['InstanceId'] @DstCpu = params['DstCpu'] @DstMemory = params['DstMemory'] @DstDisk = params['DstDisk'] @DstVersion = params['DstVersion'] @DstDeployMode = params['DstDeployMode'] @DstProtectMode = params['DstProtectMode'] @DstSlaveZone = params['DstSlaveZone'] @DstBackupZone = params['DstBackupZone'] @DstCdbType = params['DstCdbType'] @DstZoneId = params['DstZoneId'] unless params['NodeDistribution'].nil? @NodeDistribution = NodeDistribution.new @NodeDistribution.deserialize(params['NodeDistribution']) end unless params['ClusterTopology'].nil? @ClusterTopology = ClusterTopology.new @ClusterTopology.deserialize(params['ClusterTopology']) end end |