class TencentCloud::Sqlserver::V20180328::CreateBasicDBInstancesRequest
CreateBasicDBInstances请求参数结构体
def deserialize(params)
def deserialize(params) @Zone = params['Zone'] @Cpu = params['Cpu'] @Memory = params['Memory'] @Storage = params['Storage'] @SubnetId = params['SubnetId'] @VpcId = params['VpcId'] @MachineType = params['MachineType'] @InstanceChargeType = params['InstanceChargeType'] @ProjectId = params['ProjectId'] @GoodsNum = params['GoodsNum'] @DBVersion = params['DBVersion'] @Period = params['Period'] @SecurityGroupList = params['SecurityGroupList'] @AutoRenewFlag = params['AutoRenewFlag'] @AutoVoucher = params['AutoVoucher'] @VoucherIds = params['VoucherIds'] @Weekly = params['Weekly'] @StartTime = params['StartTime'] @Span = params['Span'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| resourcetag_tmp = ResourceTag.new resourcetag_tmp.deserialize(i) @ResourceTags << resourcetag_tmp end end end
def initialize(zone=nil, cpu=nil, memory=nil, storage=nil, subnetid=nil, vpcid=nil, machinetype=nil, instancechargetype=nil, projectid=nil, goodsnum=nil, dbversion=nil, period=nil, securitygrouplist=nil, autorenewflag=nil, autovoucher=nil, voucherids=nil, weekly=nil, starttime=nil, span=nil, resourcetags=nil)
def initialize(zone=nil, cpu=nil, memory=nil, storage=nil, subnetid=nil, vpcid=nil, machinetype=nil, instancechargetype=nil, projectid=nil, goodsnum=nil, dbversion=nil, period=nil, securitygrouplist=nil, autorenewflag=nil, autovoucher=nil, voucherids=nil, weekly=nil, starttime=nil, span=nil, resourcetags=nil) @Zone = zone @Cpu = cpu @Memory = memory @Storage = storage @SubnetId = subnetid @VpcId = vpcid @MachineType = machinetype @InstanceChargeType = instancechargetype @ProjectId = projectid @GoodsNum = goodsnum @DBVersion = dbversion @Period = period @SecurityGroupList = securitygrouplist @AutoRenewFlag = autorenewflag @AutoVoucher = autovoucher @VoucherIds = voucherids @Weekly = weekly @StartTime = starttime @Span = span @ResourceTags = resourcetags end