class TencentCloud::Cdb::V20170320::CreateCloneInstanceRequest
CreateCloneInstance请求参数结构体
def deserialize(params)
def deserialize(params) @InstanceId = params['InstanceId'] @SpecifiedRollbackTime = params['SpecifiedRollbackTime'] @SpecifiedBackupId = params['SpecifiedBackupId'] @UniqVpcId = params['UniqVpcId'] @UniqSubnetId = params['UniqSubnetId'] @Memory = params['Memory'] @Volume = params['Volume'] @InstanceName = params['InstanceName'] @SecurityGroup = params['SecurityGroup'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @ResourceTags << taginfo_tmp end end @Cpu = params['Cpu'] @ProtectMode = params['ProtectMode'] @DeployMode = params['DeployMode'] @SlaveZone = params['SlaveZone'] @BackupZone = params['BackupZone'] @DeviceType = params['DeviceType'] @InstanceNodes = params['InstanceNodes'] @DeployGroupId = params['DeployGroupId'] @DryRun = params['DryRun'] @CageId = params['CageId'] @ProjectId = params['ProjectId'] @PayType = params['PayType'] @Period = params['Period'] unless params['ClusterTopology'].nil? @ClusterTopology = ClusterTopology.new @ClusterTopology.deserialize(params['ClusterTopology']) end end
def initialize(instanceid=nil, specifiedrollbacktime=nil, specifiedbackupid=nil, uniqvpcid=nil, uniqsubnetid=nil, memory=nil, volume=nil, instancename=nil, securitygroup=nil, resourcetags=nil, cpu=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, devicetype=nil, instancenodes=nil, deploygroupid=nil, dryrun=nil, cageid=nil, projectid=nil, paytype=nil, period=nil, clustertopology=nil)
def initialize(instanceid=nil, specifiedrollbacktime=nil, specifiedbackupid=nil, uniqvpcid=nil, uniqsubnetid=nil, memory=nil, volume=nil, instancename=nil, securitygroup=nil, resourcetags=nil, cpu=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, devicetype=nil, instancenodes=nil, deploygroupid=nil, dryrun=nil, cageid=nil, projectid=nil, paytype=nil, period=nil, clustertopology=nil) @InstanceId = instanceid @SpecifiedRollbackTime = specifiedrollbacktime @SpecifiedBackupId = specifiedbackupid @UniqVpcId = uniqvpcid @UniqSubnetId = uniqsubnetid @Memory = memory @Volume = volume @InstanceName = instancename @SecurityGroup = securitygroup @ResourceTags = resourcetags @Cpu = cpu @ProtectMode = protectmode @DeployMode = deploymode @SlaveZone = slavezone @BackupZone = backupzone @DeviceType = devicetype @InstanceNodes = instancenodes @DeployGroupId = deploygroupid @DryRun = dryrun @CageId = cageid @ProjectId = projectid @PayType = paytype @Period = period @ClusterTopology = clustertopology end