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