lib/v20201029/models.rb in tencentcloud-sdk-dbdc-3.0.456 vs lib/v20201029/models.rb in tencentcloud-sdk-dbdc-3.0.457
- old
+ new
@@ -751,14 +751,16 @@
# @type MachineType: String
# @param PidTag: 计费标签
# @type PidTag: String
# @param Pid: 计费ID
# @type Pid: Integer
+ # @param InstanceId: 独享集群实例Id
+ # @type InstanceId: String
- attr_accessor :HostId, :HostName, :Zone, :Status, :AssignStatus, :HostType, :DbNum, :CpuSpec, :CpuAssigned, :CpuAssignable, :MemorySpec, :MemoryAssigned, :MemoryAssignable, :DiskSpec, :DiskAssigned, :DiskAssignable, :CpuRatio, :MemoryRatio, :DiskRatio, :MachineName, :MachineType, :PidTag, :Pid
+ attr_accessor :HostId, :HostName, :Zone, :Status, :AssignStatus, :HostType, :DbNum, :CpuSpec, :CpuAssigned, :CpuAssignable, :MemorySpec, :MemoryAssigned, :MemoryAssignable, :DiskSpec, :DiskAssigned, :DiskAssignable, :CpuRatio, :MemoryRatio, :DiskRatio, :MachineName, :MachineType, :PidTag, :Pid, :InstanceId
- def initialize(hostid=nil, hostname=nil, zone=nil, status=nil, assignstatus=nil, hosttype=nil, dbnum=nil, cpuspec=nil, cpuassigned=nil, cpuassignable=nil, memoryspec=nil, memoryassigned=nil, memoryassignable=nil, diskspec=nil, diskassigned=nil, diskassignable=nil, cpuratio=nil, memoryratio=nil, diskratio=nil, machinename=nil, machinetype=nil, pidtag=nil, pid=nil)
+ def initialize(hostid=nil, hostname=nil, zone=nil, status=nil, assignstatus=nil, hosttype=nil, dbnum=nil, cpuspec=nil, cpuassigned=nil, cpuassignable=nil, memoryspec=nil, memoryassigned=nil, memoryassignable=nil, diskspec=nil, diskassigned=nil, diskassignable=nil, cpuratio=nil, memoryratio=nil, diskratio=nil, machinename=nil, machinetype=nil, pidtag=nil, pid=nil, instanceid=nil)
@HostId = hostid
@HostName = hostname
@Zone = zone
@Status = status
@AssignStatus = assignstatus
@@ -778,10 +780,11 @@
@DiskRatio = diskratio
@MachineName = machinename
@MachineType = machinetype
@PidTag = pidtag
@Pid = pid
+ @InstanceId = instanceid
end
def deserialize(params)
@HostId = params['HostId']
@HostName = params['HostName']
@@ -804,9 +807,10 @@
@DiskRatio = params['DiskRatio']
@MachineName = params['MachineName']
@MachineType = params['MachineType']
@PidTag = params['PidTag']
@Pid = params['Pid']
+ @InstanceId = params['InstanceId']
end
end
# 集群容量信息。
class InstanceDetail < TencentCloud::Common::AbstractModel