class TencentCloud::Sqlserver::V20180328::CreateCloudReadOnlyDBInstancesRequest
CreateCloudReadOnlyDBInstances请求参数结构体
def deserialize(params)
def deserialize(params) @InstanceId = params['InstanceId'] @Zone = params['Zone'] @ReadOnlyGroupType = params['ReadOnlyGroupType'] @Memory = params['Memory'] @Storage = params['Storage'] @Cpu = params['Cpu'] @MachineType = params['MachineType'] @ReadOnlyGroupForcedUpgrade = params['ReadOnlyGroupForcedUpgrade'] @ReadOnlyGroupId = params['ReadOnlyGroupId'] @ReadOnlyGroupName = params['ReadOnlyGroupName'] @ReadOnlyGroupIsOfflineDelay = params['ReadOnlyGroupIsOfflineDelay'] @ReadOnlyGroupMaxDelayTime = params['ReadOnlyGroupMaxDelayTime'] @ReadOnlyGroupMinInGroup = params['ReadOnlyGroupMinInGroup'] @InstanceChargeType = params['InstanceChargeType'] @GoodsNum = params['GoodsNum'] @SubnetId = params['SubnetId'] @VpcId = params['VpcId'] @Period = params['Period'] @SecurityGroupList = params['SecurityGroupList'] @AutoVoucher = params['AutoVoucher'] @VoucherIds = params['VoucherIds'] 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(instanceid=nil, zone=nil, readonlygrouptype=nil, memory=nil, storage=nil, cpu=nil, machinetype=nil, readonlygroupforcedupgrade=nil, readonlygroupid=nil, readonlygroupname=nil, readonlygroupisofflinedelay=nil, readonlygroupmaxdelaytime=nil, readonlygroupminingroup=nil, instancechargetype=nil, goodsnum=nil, subnetid=nil, vpcid=nil, period=nil, securitygrouplist=nil, autovoucher=nil, voucherids=nil, resourcetags=nil, collation=nil, timezone=nil)
def initialize(instanceid=nil, zone=nil, readonlygrouptype=nil, memory=nil, storage=nil, cpu=nil, machinetype=nil, readonlygroupforcedupgrade=nil, readonlygroupid=nil, readonlygroupname=nil, readonlygroupisofflinedelay=nil, readonlygroupmaxdelaytime=nil, readonlygroupminingroup=nil, instancechargetype=nil, goodsnum=nil, subnetid=nil, vpcid=nil, period=nil, securitygrouplist=nil, autovoucher=nil, voucherids=nil, resourcetags=nil, collation=nil, timezone=nil) @InstanceId = instanceid @Zone = zone @ReadOnlyGroupType = readonlygrouptype @Memory = memory @Storage = storage @Cpu = cpu @MachineType = machinetype @ReadOnlyGroupForcedUpgrade = readonlygroupforcedupgrade @ReadOnlyGroupId = readonlygroupid @ReadOnlyGroupName = readonlygroupname @ReadOnlyGroupIsOfflineDelay = readonlygroupisofflinedelay @ReadOnlyGroupMaxDelayTime = readonlygroupmaxdelaytime @ReadOnlyGroupMinInGroup = readonlygroupminingroup @InstanceChargeType = instancechargetype @GoodsNum = goodsnum @SubnetId = subnetid @VpcId = vpcid @Period = period @SecurityGroupList = securitygrouplist @AutoVoucher = autovoucher @VoucherIds = voucherids @ResourceTags = resourcetags @Collation = collation @TimeZone = timezone end