lib/v20201029/models.rb in tencentcloud-sdk-dbdc-3.0.590 vs lib/v20201029/models.rb in tencentcloud-sdk-dbdc-3.0.591
- old
+ new
@@ -61,11 +61,11 @@
# @type DbEngine: String
# @param CreateTime: 创建时间
# @type CreateTime: String
attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :DbVersion, :Vip, :Vport, :UniqueVpcId, :UniqueSubnetId, :Shard, :NodeNum, :Cpu, :Memory, :Disk, :ShardNum, :Region, :Zone, :DbHosts, :HostRole, :DbEngine, :CreateTime
-
+
def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, dbversion=nil, vip=nil, vport=nil, uniquevpcid=nil, uniquesubnetid=nil, shard=nil, nodenum=nil, cpu=nil, memory=nil, disk=nil, shardnum=nil, region=nil, zone=nil, dbhosts=nil, hostrole=nil, dbengine=nil, createtime=nil)
@InstanceId = instanceid
@InstanceName = instancename
@Status = status
@StatusDesc = statusdesc
@@ -125,11 +125,11 @@
# @type Offset: Integer
# @param ShardType: 实例类型,0:mariadb, 1:tdsql
# @type ShardType: Array
attr_accessor :InstanceId, :HostId, :Limit, :Offset, :ShardType
-
+
def initialize(instanceid=nil, hostid=nil, limit=nil, offset=nil, shardtype=nil)
@InstanceId = instanceid
@HostId = hostid
@Limit = limit
@Offset = offset
@@ -153,11 +153,11 @@
# @type TotalCount: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Instances, :TotalCount, :RequestId
-
+
def initialize(instances=nil, totalcount=nil, requestid=nil)
@Instances = instances
@TotalCount = totalcount
@RequestId = requestid
end
@@ -186,11 +186,11 @@
# @type Offset: Integer
# @param AssignStatus: 分配状态过滤,0-可分配,1-禁止分配
# @type AssignStatus: Array
attr_accessor :InstanceId, :Limit, :Offset, :AssignStatus
-
+
def initialize(instanceid=nil, limit=nil, offset=nil, assignstatus=nil)
@InstanceId = instanceid
@Limit = limit
@Offset = offset
@AssignStatus = assignstatus
@@ -212,11 +212,11 @@
# @type Hosts: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :Hosts, :RequestId
-
+
def initialize(totalcount=nil, hosts=nil, requestid=nil)
@TotalCount = totalcount
@Hosts = hosts
@RequestId = requestid
end
@@ -291,11 +291,11 @@
# @param ClusterId: 所属集群ID(默认集群为空)
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ClusterId: String
attr_accessor :InstanceId, :InstanceName, :Region, :ProductId, :Type, :HostType, :AutoRenewFlag, :Status, :StatusDesc, :CreateTime, :PeriodEndTime, :HostNum, :DbNum, :AssignStrategy, :CpuSpec, :CpuAssigned, :CpuAssignable, :MemorySpec, :MemoryAssigned, :MemoryAssignable, :DiskSpec, :DiskAssigned, :DiskAssignable, :Zone, :FenceId, :ClusterId
-
+
def initialize(instanceid=nil, instancename=nil, region=nil, productid=nil, type=nil, hosttype=nil, autorenewflag=nil, status=nil, statusdesc=nil, createtime=nil, periodendtime=nil, hostnum=nil, dbnum=nil, assignstrategy=nil, cpuspec=nil, cpuassigned=nil, cpuassignable=nil, memoryspec=nil, memoryassigned=nil, memoryassignable=nil, diskspec=nil, diskassigned=nil, diskassignable=nil, zone=nil, fenceid=nil, clusterid=nil)
@InstanceId = instanceid
@InstanceName = instancename
@Region = region
@ProductId = productid
@@ -357,11 +357,11 @@
class DescribeInstanceDetailRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 独享集群实例Id
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -427,11 +427,11 @@
# @type ClusterId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :InstanceName, :Region, :ProductId, :Type, :HostType, :AutoRenewFlag, :Status, :StatusDesc, :CreateTime, :PeriodEndTime, :HostNum, :DbNum, :AssignStrategy, :CpuSpec, :CpuAssigned, :CpuAssignable, :MemorySpec, :MemoryAssigned, :MemoryAssignable, :DiskSpec, :DiskAssigned, :DiskAssignable, :Zone, :FenceId, :ClusterId, :RequestId
-
+
def initialize(instanceid=nil, instancename=nil, region=nil, productid=nil, type=nil, hosttype=nil, autorenewflag=nil, status=nil, statusdesc=nil, createtime=nil, periodendtime=nil, hostnum=nil, dbnum=nil, assignstrategy=nil, cpuspec=nil, cpuassigned=nil, cpuassignable=nil, memoryspec=nil, memoryassigned=nil, memoryassignable=nil, diskspec=nil, diskassigned=nil, diskassignable=nil, zone=nil, fenceid=nil, clusterid=nil, requestid=nil)
@InstanceId = instanceid
@InstanceName = instancename
@Region = region
@ProductId = productid
@@ -513,11 +513,11 @@
# @type Status: Array
# @param ClusterId: 按所属集群ID过滤
# @type ClusterId: Array
attr_accessor :Limit, :Offset, :OrderBy, :SortBy, :ProductId, :InstanceId, :InstanceName, :FenceId, :Status, :ClusterId
-
+
def initialize(limit=nil, offset=nil, orderby=nil, sortby=nil, productid=nil, instanceid=nil, instancename=nil, fenceid=nil, status=nil, clusterid=nil)
@Limit = limit
@Offset = offset
@OrderBy = orderby
@SortBy = sortby
@@ -551,11 +551,11 @@
# @type TotalCount: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Instances, :TotalCount, :RequestId
-
+
def initialize(instances=nil, totalcount=nil, requestid=nil)
@Instances = instances
@TotalCount = totalcount
@RequestId = requestid
end
@@ -596,11 +596,11 @@
# @type OrderByType: String
# @param InstanceStatus: 集群状态: -2 已删除, -1 已隔离, 0 创建中, 1 运行中, 2 扩容中, 3 删除中
# @type InstanceStatus: Integer
attr_accessor :InstanceTypes, :ProductIds, :InstanceIds, :FenceFlag, :InstanceName, :PageSize, :PageNumber, :OrderBy, :OrderByType, :InstanceStatus
-
+
def initialize(instancetypes=nil, productids=nil, instanceids=nil, fenceflag=nil, instancename=nil, pagesize=nil, pagenumber=nil, orderby=nil, orderbytype=nil, instancestatus=nil)
@InstanceTypes = instancetypes
@ProductIds = productids
@InstanceIds = instanceids
@FenceFlag = fenceflag
@@ -634,11 +634,11 @@
# @type Instances: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :Instances, :RequestId
-
+
def initialize(totalcount=nil, instances=nil, requestid=nil)
@TotalCount = totalcount
@Instances = instances
@RequestId = requestid
end
@@ -677,11 +677,11 @@
# @type RawDeviceNum: Integer
# @param InstanceNum: 数据库实例个数
# @type InstanceNum: Integer
attr_accessor :DeviceId, :DeviceNo, :DevClass, :MaxMemory, :MaxDisk, :RestMemory, :RestDisk, :RawDeviceNum, :InstanceNum
-
+
def initialize(deviceid=nil, deviceno=nil, devclass=nil, maxmemory=nil, maxdisk=nil, restmemory=nil, restdisk=nil, rawdevicenum=nil, instancenum=nil)
@DeviceId = deviceid
@DeviceNo = deviceno
@DevClass = devclass
@MaxMemory = maxmemory
@@ -755,11 +755,11 @@
# @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, :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, instanceid=nil)
@HostId = hostid
@HostName = hostname
@Zone = zone
@Status = status
@@ -835,11 +835,11 @@
# @type ReadOnlyTotalDisk: Float
# @param InstanceDeviceInfos: 集群设备详情
# @type InstanceDeviceInfos: Array
attr_accessor :Status, :ReadWriteTotalLeaveMemory, :ReadWriteTotalLeaveDisk, :ReadWriteTotalMemory, :ReadWriteTotalDisk, :ReadOnlyTotalLeaveMemory, :ReadOnlyTotalLeaveDisk, :ReadOnlyTotalMemory, :ReadOnlyTotalDisk, :InstanceDeviceInfos
-
+
def initialize(status=nil, readwritetotalleavememory=nil, readwritetotalleavedisk=nil, readwritetotalmemory=nil, readwritetotaldisk=nil, readonlytotalleavememory=nil, readonlytotalleavedisk=nil, readonlytotalmemory=nil, readonlytotaldisk=nil, instancedeviceinfos=nil)
@Status = status
@ReadWriteTotalLeaveMemory = readwritetotalleavememory
@ReadWriteTotalLeaveDisk = readwritetotalleavedisk
@ReadWriteTotalMemory = readwritetotalmemory
@@ -886,11 +886,11 @@
# @param FreeDevice: 空闲设备组
# 注意:此字段可能返回 null,表示取不到有效值。
# @type FreeDevice: Array
attr_accessor :InstanceId, :ReadWriteDevice, :ReadOnlyDevice, :FreeDevice
-
+
def initialize(instanceid=nil, readwritedevice=nil, readonlydevice=nil, freedevice=nil)
@InstanceId = instanceid
@ReadWriteDevice = readwritedevice
@ReadOnlyDevice = readonlydevice
@FreeDevice = freedevice
@@ -953,11 +953,11 @@
# @type InstanceDetail: :class:`Tencentcloud::Dbdc.v20201029.models.InstanceDetail`
# @param Pid: 计费侧的产品ID
# @type Pid: Integer
attr_accessor :InstanceId, :InstanceName, :AppId, :Region, :Zone, :InstanceType, :InstanceStatus, :CreateTime, :AutoRenewFlag, :Machine, :PeriodEndTime, :InstanceDetail, :Pid
-
+
def initialize(instanceid=nil, instancename=nil, appid=nil, region=nil, zone=nil, instancetype=nil, instancestatus=nil, createtime=nil, autorenewflag=nil, machine=nil, periodendtime=nil, instancedetail=nil, pid=nil)
@InstanceId = instanceid
@InstanceName = instancename
@AppId = appid
@Region = region
@@ -998,11 +998,11 @@
# @type InstanceId: String
# @param InstanceName: 独享集群实例名称
# @type InstanceName: String
attr_accessor :InstanceId, :InstanceName
-
+
def initialize(instanceid=nil, instancename=nil)
@InstanceId = instanceid
@InstanceName = instancename
end
@@ -1016,10 +1016,10 @@
class ModifyInstanceNameResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)