class TencentCloud::Sqlserver::V20180328::CreateDBInstancesRequest
CreateDBInstances请求参数结构体
def deserialize(params)
def deserialize(params) @Zone = params['Zone'] @Memory = params['Memory'] @Storage = params['Storage'] @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'] @HAType = params['HAType'] @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 end
def initialize(zone=nil, memory=nil, storage=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, hatype=nil, multizones=nil, resourcetags=nil)
def initialize(zone=nil, memory=nil, storage=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, hatype=nil, multizones=nil, resourcetags=nil) @Zone = zone @Memory = memory @Storage = storage @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 @HAType = hatype @MultiZones = multizones @ResourceTags = resourcetags end