class TencentCloud::Sqlserver::V20180328::DBInstance
实例详细信息
def deserialize(params)
def deserialize(params) @InstanceId = params['InstanceId'] @Name = params['Name'] @ProjectId = params['ProjectId'] @RegionId = params['RegionId'] @ZoneId = params['ZoneId'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Status = params['Status'] @Vip = params['Vip'] @Vport = params['Vport'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @IsolateTime = params['IsolateTime'] @Memory = params['Memory'] @UsedStorage = params['UsedStorage'] @Storage = params['Storage'] @VersionName = params['VersionName'] @RenewFlag = params['RenewFlag'] @Model = params['Model'] @Region = params['Region'] @Zone = params['Zone'] @BackupTime = params['BackupTime'] @PayMode = params['PayMode'] @Uid = params['Uid'] @Cpu = params['Cpu'] @Version = params['Version'] @Type = params['Type'] @Pid = params['Pid'] @UniqVpcId = params['UniqVpcId'] @UniqSubnetId = params['UniqSubnetId'] @IsolateOperator = params['IsolateOperator'] @SubFlag = params['SubFlag'] @ROFlag = params['ROFlag'] @HAFlag = params['HAFlag'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| resourcetag_tmp = ResourceTag.new resourcetag_tmp.deserialize(i) @ResourceTags << resourcetag_tmp end end @BackupModel = params['BackupModel'] end
def initialize(instanceid=nil, name=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, subnetid=nil, status=nil, vip=nil, vport=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, isolatetime=nil, memory=nil, usedstorage=nil, storage=nil, versionname=nil, renewflag=nil, model=nil, region=nil, zone=nil, backuptime=nil, paymode=nil, uid=nil, cpu=nil, version=nil, type=nil, pid=nil, uniqvpcid=nil, uniqsubnetid=nil, isolateoperator=nil, subflag=nil, roflag=nil, haflag=nil, resourcetags=nil, backupmodel=nil)
def initialize(instanceid=nil, name=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, subnetid=nil, status=nil, vip=nil, vport=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, isolatetime=nil, memory=nil, usedstorage=nil, storage=nil, versionname=nil, renewflag=nil, model=nil, region=nil, zone=nil, backuptime=nil, paymode=nil, uid=nil, cpu=nil, version=nil, type=nil, pid=nil, uniqvpcid=nil, uniqsubnetid=nil, isolateoperator=nil, subflag=nil, roflag=nil, haflag=nil, resourcetags=nil, backupmodel=nil) @InstanceId = instanceid @Name = name @ProjectId = projectid @RegionId = regionid @ZoneId = zoneid @VpcId = vpcid @SubnetId = subnetid @Status = status @Vip = vip @Vport = vport @CreateTime = createtime @UpdateTime = updatetime @StartTime = starttime @EndTime = endtime @IsolateTime = isolatetime @Memory = memory @UsedStorage = usedstorage @Storage = storage @VersionName = versionname @RenewFlag = renewflag @Model = model @Region = region @Zone = zone @BackupTime = backuptime @PayMode = paymode @Uid = uid @Cpu = cpu @Version = version @Type = type @Pid = pid @UniqVpcId = uniqvpcid @UniqSubnetId = uniqsubnetid @IsolateOperator = isolateoperator @SubFlag = subflag @ROFlag = roflag @HAFlag = haflag @ResourceTags = resourcetags @BackupModel = backupmodel end