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']
  @InstanceNote = params['InstanceNote']
  @BackupCycle = params['BackupCycle']
  @BackupCycleType = params['BackupCycleType']
  @BackupSaveDays = params['BackupSaveDays']
  @InstanceType = params['InstanceType']
  @CrossRegions = params['CrossRegions']
  @CrossBackupEnabled = params['CrossBackupEnabled']
  @CrossBackupSaveDays = params['CrossBackupSaveDays']
  @DnsPodDomain = params['DnsPodDomain']
  @TgwWanVPort = params['TgwWanVPort']
  @Collation = params['Collation']
  @TimeZone = params['TimeZone']
  @IsDrZone = params['IsDrZone']
  unless params['SlaveZones'].nil?
    @SlaveZones = SlaveZones.new
    @SlaveZones.deserialize(params['SlaveZones'])
  end
  @Architecture = params['Architecture']
  @Style = params['Style']
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, instancenote=nil, backupcycle=nil, backupcycletype=nil, backupsavedays=nil, instancetype=nil, crossregions=nil, crossbackupenabled=nil, crossbackupsavedays=nil, dnspoddomain=nil, tgwwanvport=nil, collation=nil, timezone=nil, isdrzone=nil, slavezones=nil, architecture=nil, style=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, instancenote=nil, backupcycle=nil, backupcycletype=nil, backupsavedays=nil, instancetype=nil, crossregions=nil, crossbackupenabled=nil, crossbackupsavedays=nil, dnspoddomain=nil, tgwwanvport=nil, collation=nil, timezone=nil, isdrzone=nil, slavezones=nil, architecture=nil, style=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
  @InstanceNote = instancenote
  @BackupCycle = backupcycle
  @BackupCycleType = backupcycletype
  @BackupSaveDays = backupsavedays
  @InstanceType = instancetype
  @CrossRegions = crossregions
  @CrossBackupEnabled = crossbackupenabled
  @CrossBackupSaveDays = crossbackupsavedays
  @DnsPodDomain = dnspoddomain
  @TgwWanVPort = tgwwanvport
  @Collation = collation
  @TimeZone = timezone
  @IsDrZone = isdrzone
  @SlaveZones = slavezones
  @Architecture = architecture
  @Style = style
end