lib/v20180411/models.rb in tencentcloud-sdk-dcdb-3.0.590 vs lib/v20180411/models.rb in tencentcloud-sdk-dcdb-3.0.591
- old
+ new
@@ -23,11 +23,11 @@
# @type User: String
# @param Host: 账户的域名
# @type Host: String
attr_accessor :User, :Host
-
+
def initialize(user=nil, host=nil)
@User = user
@Host = host
end
@@ -41,11 +41,11 @@
class ActiveHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
# @param InstanceIds: 待升级的实例ID列表。形如:["dcdbt-ow728lmc"],可以通过 DescribeDCDBInstances 查询实例详情获得。
# @type InstanceIds: Array
attr_accessor :InstanceIds
-
+
def initialize(instanceids=nil)
@InstanceIds = instanceids
end
def deserialize(params)
@@ -61,11 +61,11 @@
# @type FailedInstanceIds: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
-
+
def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
@SuccessInstanceIds = successinstanceids
@FailedInstanceIds = failedinstanceids
@RequestId = requestid
end
@@ -85,11 +85,11 @@
# @type ShardMemory: Integer
# @param ShardStorage: 分片存储大小,单位 GB
# @type ShardStorage: Integer
attr_accessor :ShardCount, :ShardMemory, :ShardStorage
-
+
def initialize(shardcount=nil, shardmemory=nil, shardstorage=nil)
@ShardCount = shardcount
@ShardMemory = shardmemory
@ShardStorage = shardstorage
end
@@ -109,11 +109,11 @@
# @type SecurityGroupId: String
# @param InstanceIds: 被绑定的实例ID,类似tdsqlshard-lesecurk,支持指定多个实例。
# @type InstanceIds: Array
attr_accessor :Product, :SecurityGroupId, :InstanceIds
-
+
def initialize(product=nil, securitygroupid=nil, instanceids=nil)
@Product = product
@SecurityGroupId = securitygroupid
@InstanceIds = instanceids
end
@@ -129,11 +129,11 @@
class AssociateSecurityGroupsResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -149,11 +149,11 @@
# @type Role: String
# @param ShardId: 节点所属分片的分片ID
# @type ShardId: String
attr_accessor :NodeId, :Role, :ShardId
-
+
def initialize(nodeid=nil, role=nil, shardid=nil)
@NodeId = nodeid
@Role = role
@ShardId = shardid
end
@@ -169,11 +169,11 @@
class CancelDcnJobRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 灾备实例ID
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -187,11 +187,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -215,11 +215,11 @@
# @type DstHost: String
# @param DstDesc: 目的用户账户描述
# @type DstDesc: String
attr_accessor :InstanceId, :SrcUser, :SrcHost, :DstUser, :DstHost, :DstDesc
-
+
def initialize(instanceid=nil, srcuser=nil, srchost=nil, dstuser=nil, dsthost=nil, dstdesc=nil)
@InstanceId = instanceid
@SrcUser = srcuser
@SrcHost = srchost
@DstUser = dstuser
@@ -243,11 +243,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -263,11 +263,11 @@
# @type InstanceId: String
# @param Ipv6Flag: 是否IPv6,默认0
# @type Ipv6Flag: Integer
attr_accessor :InstanceId, :Ipv6Flag
-
+
def initialize(instanceid=nil, ipv6flag=nil)
@InstanceId = instanceid
@Ipv6Flag = ipv6flag
end
@@ -283,11 +283,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -307,11 +307,11 @@
# @type Column: String
# @param Privileges: 权限信息
# @type Privileges: Array
attr_accessor :Database, :Table, :Column, :Privileges
-
+
def initialize(database=nil, table=nil, column=nil, privileges=nil)
@Database = database
@Table = table
@Column = column
@Privileges = privileges
@@ -331,11 +331,11 @@
# @type Config: String
# @param Value: 配置值
# @type Value: String
attr_accessor :Config, :Value
-
+
def initialize(config=nil, value=nil)
@Config = config
@Value = value
end
@@ -351,11 +351,11 @@
# @type Min: String
# @param Max: 约束类型为section时的最大值
# @type Max: String
attr_accessor :Min, :Max
-
+
def initialize(min=nil, max=nil)
@Min = min
@Max = max
end
@@ -381,11 +381,11 @@
# @type SrcReadOnly: String
# @param DstReadOnly: 目的账号的 ReadOnly 属性
# @type DstReadOnly: String
attr_accessor :InstanceId, :SrcUserName, :SrcHost, :DstUserName, :DstHost, :SrcReadOnly, :DstReadOnly
-
+
def initialize(instanceid=nil, srcusername=nil, srchost=nil, dstusername=nil, dsthost=nil, srcreadonly=nil, dstreadonly=nil)
@InstanceId = instanceid
@SrcUserName = srcusername
@SrcHost = srchost
@DstUserName = dstusername
@@ -409,11 +409,11 @@
class CopyAccountPrivilegesResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -442,11 +442,11 @@
# @type SlaveConst: Integer
# @param MaxUserConnections: 用户最大连接数限制参数。不传或者传0表示为不限制,对应max_user_connections参数,目前10.1内核版本不支持设置。
# @type MaxUserConnections: Integer
attr_accessor :InstanceId, :UserName, :Host, :Password, :ReadOnly, :Description, :DelayThresh, :SlaveConst, :MaxUserConnections
-
+
def initialize(instanceid=nil, username=nil, host=nil, password=nil, readonly=nil, description=nil, delaythresh=nil, slaveconst=nil, maxuserconnections=nil)
@InstanceId = instanceid
@UserName = username
@Host = host
@Password = password
@@ -482,11 +482,11 @@
# @type ReadOnly: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :UserName, :Host, :ReadOnly, :RequestId
-
+
def initialize(instanceid=nil, username=nil, host=nil, readonly=nil, requestid=nil)
@InstanceId = instanceid
@UserName = username
@Host = host
@ReadOnly = readonly
@@ -552,11 +552,11 @@
# @type AutoRenewFlag: Integer
# @param SecurityGroupIds: 安全组ids,安全组可以传数组形式,兼容之前SecurityGroupId参数
# @type SecurityGroupIds: Array
attr_accessor :Zones, :Period, :ShardMemory, :ShardStorage, :ShardNodeCount, :ShardCount, :Count, :ProjectId, :VpcId, :SubnetId, :DbVersionId, :AutoVoucher, :VoucherIds, :SecurityGroupId, :InstanceName, :Ipv6Flag, :ResourceTags, :InitParams, :DcnRegion, :DcnInstanceId, :AutoRenewFlag, :SecurityGroupIds
-
+
def initialize(zones=nil, period=nil, shardmemory=nil, shardstorage=nil, shardnodecount=nil, shardcount=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, dbversionid=nil, autovoucher=nil, voucherids=nil, securitygroupid=nil, instancename=nil, ipv6flag=nil, resourcetags=nil, initparams=nil, dcnregion=nil, dcninstanceid=nil, autorenewflag=nil, securitygroupids=nil)
@Zones = zones
@Period = period
@ShardMemory = shardmemory
@ShardStorage = shardstorage
@@ -630,11 +630,11 @@
# @type InstanceIds: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :DealName, :InstanceIds, :RequestId
-
+
def initialize(dealname=nil, instanceids=nil, requestid=nil)
@DealName = dealname
@InstanceIds = instanceids
@RequestId = requestid
end
@@ -704,11 +704,11 @@
# @type RollbackInstanceId: String
# @param RollbackTime: 回档时间
# @type RollbackTime: String
attr_accessor :GoodsNum, :ShardNum, :ShardMemory, :ShardStorage, :ClusterId, :Zone, :ProjectId, :Cpu, :VpcId, :SubnetId, :ShardMachine, :ShardNodeNum, :ShardNodeCpu, :ShardNodeMemory, :ShardNodeStorage, :DbVersionId, :SecurityGroupId, :DcnInstanceId, :DcnRegion, :InstanceName, :ResourceTags, :Ipv6Flag, :Pid, :InitParams, :MasterHostId, :SlaveHostIds, :RollbackInstanceId, :RollbackTime
-
+
def initialize(goodsnum=nil, shardnum=nil, shardmemory=nil, shardstorage=nil, clusterid=nil, zone=nil, projectid=nil, cpu=nil, vpcid=nil, subnetid=nil, shardmachine=nil, shardnodenum=nil, shardnodecpu=nil, shardnodememory=nil, shardnodestorage=nil, dbversionid=nil, securitygroupid=nil, dcninstanceid=nil, dcnregion=nil, instancename=nil, resourcetags=nil, ipv6flag=nil, pid=nil, initparams=nil, masterhostid=nil, slavehostids=nil, rollbackinstanceid=nil, rollbacktime=nil)
@GoodsNum = goodsnum
@ShardNum = shardnum
@ShardMemory = shardmemory
@ShardStorage = shardstorage
@@ -792,11 +792,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceIds, :FlowId, :RequestId
-
+
def initialize(instanceids=nil, flowid=nil, requestid=nil)
@InstanceIds = instanceids
@FlowId = flowid
@RequestId = requestid
end
@@ -856,11 +856,11 @@
# @type RollbackTime: String
# @param SecurityGroupIds: 安全组ids,安全组可以传数组形式,兼容之前SecurityGroupId参数
# @type SecurityGroupIds: Array
attr_accessor :ShardMemory, :ShardStorage, :ShardNodeCount, :ShardCount, :Count, :ProjectId, :VpcId, :SubnetId, :ShardCpu, :DbVersionId, :Zones, :SecurityGroupId, :InstanceName, :Ipv6Flag, :ResourceTags, :DcnRegion, :DcnInstanceId, :InitParams, :RollbackInstanceId, :RollbackTime, :SecurityGroupIds
-
+
def initialize(shardmemory=nil, shardstorage=nil, shardnodecount=nil, shardcount=nil, count=nil, projectid=nil, vpcid=nil, subnetid=nil, shardcpu=nil, dbversionid=nil, zones=nil, securitygroupid=nil, instancename=nil, ipv6flag=nil, resourcetags=nil, dcnregion=nil, dcninstanceid=nil, initparams=nil, rollbackinstanceid=nil, rollbacktime=nil, securitygroupids=nil)
@ShardMemory = shardmemory
@ShardStorage = shardstorage
@ShardNodeCount = shardnodecount
@ShardCount = shardcount
@@ -933,11 +933,11 @@
# @type DealName: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceIds, :FlowId, :DealName, :RequestId
-
+
def initialize(instanceids=nil, flowid=nil, dealname=nil, requestid=nil)
@InstanceIds = instanceids
@FlowId = flowid
@DealName = dealname
@RequestId = requestid
@@ -957,11 +957,11 @@
# @type InstanceId: String
# @param RollbackTime: 回档时间点
# @type RollbackTime: String
attr_accessor :InstanceId, :RollbackTime
-
+
def initialize(instanceid=nil, rollbacktime=nil)
@InstanceId = instanceid
@RollbackTime = rollbacktime
end
@@ -977,11 +977,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -1012,11 +1012,11 @@
# @type SlaveConst: Integer
# @param MaxUserConnections: 用户最大连接数,0代表无限制
# @type MaxUserConnections: Integer
attr_accessor :UserName, :Host, :Description, :CreateTime, :UpdateTime, :ReadOnly, :DelayThresh, :SlaveConst, :MaxUserConnections
-
+
def initialize(username=nil, host=nil, description=nil, createtime=nil, updatetime=nil, readonly=nil, delaythresh=nil, slaveconst=nil, maxuserconnections=nil)
@UserName = username
@Host = host
@Description = description
@CreateTime = createtime
@@ -1046,11 +1046,11 @@
# @type Param: String
# @param Value: 参数值
# @type Value: String
attr_accessor :Param, :Value
-
+
def initialize(param=nil, value=nil)
@Param = param
@Value = value
end
@@ -1174,11 +1174,11 @@
# @param DbVersionId: 数据库引擎版本
# 注意:此字段可能返回 null,表示取不到有效值。
# @type DbVersionId: String
attr_accessor :InstanceId, :InstanceName, :AppId, :ProjectId, :Region, :Zone, :VpcId, :SubnetId, :StatusDesc, :Status, :Vip, :Vport, :CreateTime, :AutoRenewFlag, :Memory, :Storage, :ShardCount, :PeriodEndTime, :IsolatedTimestamp, :Uin, :ShardDetail, :NodeCount, :IsTmp, :ExclusterId, :UniqueVpcId, :UniqueSubnetId, :Id, :WanDomain, :WanVip, :WanPort, :Pid, :UpdateTime, :DbEngine, :DbVersion, :Paymode, :Locker, :WanStatus, :IsAuditSupported, :Cpu, :Ipv6Flag, :Vipv6, :WanVipv6, :WanPortIpv6, :WanStatusIpv6, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :ResourceTags, :DbVersionId
-
+
def initialize(instanceid=nil, instancename=nil, appid=nil, projectid=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, statusdesc=nil, status=nil, vip=nil, vport=nil, createtime=nil, autorenewflag=nil, memory=nil, storage=nil, shardcount=nil, periodendtime=nil, isolatedtimestamp=nil, uin=nil, sharddetail=nil, nodecount=nil, istmp=nil, exclusterid=nil, uniquevpcid=nil, uniquesubnetid=nil, id=nil, wandomain=nil, wanvip=nil, wanport=nil, pid=nil, updatetime=nil, dbengine=nil, dbversion=nil, paymode=nil, locker=nil, wanstatus=nil, isauditsupported=nil, cpu=nil, ipv6flag=nil, vipv6=nil, wanvipv6=nil, wanportipv6=nil, wanstatusipv6=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, resourcetags=nil, dbversionid=nil)
@InstanceId = instanceid
@InstanceName = instancename
@AppId = appid
@ProjectId = projectid
@@ -1353,11 +1353,11 @@
# @type Cpu: Integer
# @param Range: 分片ShardKey的范围(总共64个哈希值),例如: 0-31,32-63
# @type Range: String
attr_accessor :InstanceId, :ShardSerialId, :ShardInstanceId, :Status, :StatusDesc, :CreateTime, :VpcId, :SubnetId, :ProjectId, :Region, :Zone, :Memory, :Storage, :PeriodEndTime, :NodeCount, :StorageUsage, :MemoryUsage, :ShardId, :Pid, :ProxyVersion, :Paymode, :ShardMasterZone, :ShardSlaveZones, :Cpu, :Range
-
+
def initialize(instanceid=nil, shardserialid=nil, shardinstanceid=nil, status=nil, statusdesc=nil, createtime=nil, vpcid=nil, subnetid=nil, projectid=nil, region=nil, zone=nil, memory=nil, storage=nil, periodendtime=nil, nodecount=nil, storageusage=nil, memoryusage=nil, shardid=nil, pid=nil, proxyversion=nil, paymode=nil, shardmasterzone=nil, shardslavezones=nil, cpu=nil, range=nil)
@InstanceId = instanceid
@ShardSerialId = shardserialid
@ShardInstanceId = shardinstanceid
@Status = status
@@ -1417,11 +1417,11 @@
class Database < TencentCloud::Common::AbstractModel
# @param DbName: 数据库名称
# @type DbName: String
attr_accessor :DbName
-
+
def initialize(dbname=nil)
@DbName = dbname
end
def deserialize(params)
@@ -1433,11 +1433,11 @@
class DatabaseFunction < TencentCloud::Common::AbstractModel
# @param Func: 函数名称
# @type Func: String
attr_accessor :Func
-
+
def initialize(func=nil)
@Func = func
end
def deserialize(params)
@@ -1451,11 +1451,11 @@
# @type Privileges: Array
# @param Database: 数据库名
# @type Database: String
attr_accessor :Privileges, :Database
-
+
def initialize(privileges=nil, database=nil)
@Privileges = privileges
@Database = database
end
@@ -1469,11 +1469,11 @@
class DatabaseProcedure < TencentCloud::Common::AbstractModel
# @param Proc: 存储过程名称
# @type Proc: String
attr_accessor :Proc
-
+
def initialize(proc=nil)
@Proc = proc
end
def deserialize(params)
@@ -1485,11 +1485,11 @@
class DatabaseTable < TencentCloud::Common::AbstractModel
# @param Table: 表名
# @type Table: String
attr_accessor :Table
-
+
def initialize(table=nil)
@Table = table
end
def deserialize(params)
@@ -1501,11 +1501,11 @@
class DatabaseView < TencentCloud::Common::AbstractModel
# @param View: 视图名称
# @type View: String
attr_accessor :View
-
+
def initialize(view=nil)
@View = view
end
def deserialize(params)
@@ -1553,11 +1553,11 @@
# @type InstanceType: Integer
# @param EncryptStatus: 是否开启了 kms
# @type EncryptStatus: Integer
attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :Vip, :Vipv6, :Vport, :Status, :StatusDesc, :DcnFlag, :DcnStatus, :Cpu, :Memory, :Storage, :PayMode, :CreateTime, :PeriodEndTime, :InstanceType, :EncryptStatus
-
+
def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, vip=nil, vipv6=nil, vport=nil, status=nil, statusdesc=nil, dcnflag=nil, dcnstatus=nil, cpu=nil, memory=nil, storage=nil, paymode=nil, createtime=nil, periodendtime=nil, instancetype=nil, encryptstatus=nil)
@InstanceId = instanceid
@InstanceName = instancename
@Region = region
@Zone = zone
@@ -1616,11 +1616,11 @@
# @type InstanceIds: Array
# @param PayMode: 付费模式,0后付费/1预付费
# @type PayMode: Integer
attr_accessor :DealName, :OwnerUin, :Count, :FlowId, :InstanceIds, :PayMode
-
+
def initialize(dealname=nil, owneruin=nil, count=nil, flowid=nil, instanceids=nil, paymode=nil)
@DealName = dealname
@OwnerUin = owneruin
@Count = count
@FlowId = flowid
@@ -1646,11 +1646,11 @@
# @type UserName: String
# @param Host: 用户允许的访问 host
# @type Host: String
attr_accessor :InstanceId, :UserName, :Host
-
+
def initialize(instanceid=nil, username=nil, host=nil)
@InstanceId = instanceid
@UserName = username
@Host = host
end
@@ -1666,11 +1666,11 @@
class DeleteAccountResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -1694,11 +1694,11 @@
# @type Object: String
# @param ColName: 当 Type=table 时,ColName 为 \* 表示查询表的权限,如果为具体字段名,表示查询对应字段的权限
# @type ColName: String
attr_accessor :InstanceId, :UserName, :Host, :DbName, :Type, :Object, :ColName
-
+
def initialize(instanceid=nil, username=nil, host=nil, dbname=nil, type=nil, object=nil, colname=nil)
@InstanceId = instanceid
@UserName = username
@Host = host
@DbName = dbname
@@ -1730,11 +1730,11 @@
# @type Host: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :Privileges, :UserName, :Host, :RequestId
-
+
def initialize(instanceid=nil, privileges=nil, username=nil, host=nil, requestid=nil)
@InstanceId = instanceid
@Privileges = privileges
@UserName = username
@Host = host
@@ -1754,11 +1754,11 @@
class DescribeAccountsRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例ID,形如:dcdbt-ow728lmc。
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -1775,11 +1775,11 @@
# @type Users: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :Users, :RequestId
-
+
def initialize(instanceid=nil, users=nil, requestid=nil)
@InstanceId = instanceid
@Users = users
@RequestId = requestid
end
@@ -1818,11 +1818,11 @@
# @type OrderBy: String
# @param OrderType: 排序参数,可选值:DESC,ASC
# @type OrderType: String
attr_accessor :InstanceId, :ShardId, :BackupType, :StartTime, :EndTime, :Limit, :Offset, :OrderBy, :OrderType
-
+
def initialize(instanceid=nil, shardid=nil, backuptype=nil, starttime=nil, endtime=nil, limit=nil, offset=nil, orderby=nil, ordertype=nil)
@InstanceId = instanceid
@ShardId = shardid
@BackupType = backuptype
@StartTime = starttime
@@ -1854,11 +1854,11 @@
# @type TotalCount: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Files, :TotalCount, :RequestId
-
+
def initialize(files=nil, totalcount=nil, requestid=nil)
@Files = files
@TotalCount = totalcount
@RequestId = requestid
end
@@ -1881,11 +1881,11 @@
class DescribeDBEncryptAttributesRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例Id,形如:tdsqlshard-ow728lmc。
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -1903,11 +1903,11 @@
# @type ExpireDate: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :EncryptStatus, :CipherText, :ExpireDate, :RequestId
-
+
def initialize(encryptstatus=nil, ciphertext=nil, expiredate=nil, requestid=nil)
@EncryptStatus = encryptstatus
@CipherText = ciphertext
@ExpireDate = expiredate
@RequestId = requestid
@@ -1929,11 +1929,11 @@
# @type ShardId: String
# @param Type: 请求日志类型,取值只能为1、2、3或者4。1-binlog,2-冷备,3-errlog,4-slowlog。
# @type Type: Integer
attr_accessor :InstanceId, :ShardId, :Type
-
+
def initialize(instanceid=nil, shardid=nil, type=nil)
@InstanceId = instanceid
@ShardId = shardid
@Type = type
end
@@ -1963,11 +1963,11 @@
# @type ShardId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :Type, :Total, :Files, :VpcPrefix, :NormalPrefix, :ShardId, :RequestId
-
+
def initialize(instanceid=nil, type=nil, total=nil, files=nil, vpcprefix=nil, normalprefix=nil, shardid=nil, requestid=nil)
@InstanceId = instanceid
@Type = type
@Total = total
@Files = files
@@ -2000,11 +2000,11 @@
class DescribeDBParametersRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例 ID,形如:dcdbt-ow7t8lmc。
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -2020,11 +2020,11 @@
# @type Params: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :Params, :RequestId
-
+
def initialize(instanceid=nil, params=nil, requestid=nil)
@InstanceId = instanceid
@Params = params
@RequestId = requestid
end
@@ -2049,11 +2049,11 @@
# @type Product: String
# @param InstanceId: 实例ID。
# @type InstanceId: String
attr_accessor :Product, :InstanceId
-
+
def initialize(product=nil, instanceid=nil)
@Product = product
@InstanceId = instanceid
end
@@ -2075,11 +2075,11 @@
# @type VPort: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Groups, :VIP, :VPort, :RequestId
-
+
def initialize(groups=nil, vip=nil, vport=nil, requestid=nil)
@Groups = groups
@VIP = vip
@VPort = vport
@RequestId = requestid
@@ -2122,11 +2122,11 @@
# @type OrderByType: String
# @param Slave: 是否查询从机的慢查询,0-主机; 1-从机。不填默认查询主机慢查询
# @type Slave: Integer
attr_accessor :InstanceId, :Offset, :Limit, :StartTime, :ShardId, :EndTime, :Db, :OrderBy, :OrderByType, :Slave
-
+
def initialize(instanceid=nil, offset=nil, limit=nil, starttime=nil, shardid=nil, endtime=nil, db=nil, orderby=nil, orderbytype=nil, slave=nil)
@InstanceId = instanceid
@Offset = offset
@Limit = limit
@StartTime = starttime
@@ -2166,11 +2166,11 @@
# @type Data: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :LockTimeSum, :QueryCount, :Total, :QueryTimeSum, :Data, :RequestId
-
+
def initialize(locktimesum=nil, querycount=nil, total=nil, querytimesum=nil, data=nil, requestid=nil)
@LockTimeSum = locktimesum
@QueryCount = querycount
@Total = total
@QueryTimeSum = querytimesum
@@ -2199,11 +2199,11 @@
class DescribeDBSyncModeRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 待修改同步模式的实例ID。形如:dcdbt-ow728lmc。
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -2221,11 +2221,11 @@
# @type CurrentSyncMode: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :SyncMode, :IsModifying, :CurrentSyncMode, :RequestId
-
+
def initialize(syncmode=nil, ismodifying=nil, currentsyncmode=nil, requestid=nil)
@SyncMode = syncmode
@IsModifying = ismodifying
@CurrentSyncMode = currentsyncmode
@RequestId = requestid
@@ -2243,11 +2243,11 @@
class DescribeDCDBInstanceDetailRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例ID,形如dcdbt-7oaxtcb7
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -2374,16 +2374,18 @@
# @param RsAccessStrategy: VPC就近访问
# 注意:此字段可能返回 null,表示取不到有效值。
# @type RsAccessStrategy: Integer
# @param ReservedNetResources: 尚未回收的网络资源
# @type ReservedNetResources: Array
+ # @param IsPhysicalReplicationSupported: 是否支持物理复制
+ # @type IsPhysicalReplicationSupported: Boolean
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :Vip, :Vport, :NodeCount, :Region, :VpcId, :SubnetId, :WanStatus, :WanDomain, :WanVip, :WanPort, :ProjectId, :AutoRenewFlag, :ExclusterId, :PayMode, :CreateTime, :PeriodEndTime, :DbVersion, :IsAuditSupported, :IsEncryptSupported, :Machine, :Memory, :Storage, :StorageUsage, :LogStorage, :Pid, :MasterZone, :SlaveZones, :Shards, :Vip6, :Cpu, :Qps, :DbEngine, :Ipv6Flag, :WanVipv6, :WanStatusIpv6, :WanPortIpv6, :ResourceTags, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :IsMaxUserConnectionsSupported, :DbVersionId, :EncryptStatus, :ExclusterType, :RsAccessStrategy, :ReservedNetResources, :RequestId
-
- def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, vip=nil, vport=nil, nodecount=nil, region=nil, vpcid=nil, subnetid=nil, wanstatus=nil, wandomain=nil, wanvip=nil, wanport=nil, projectid=nil, autorenewflag=nil, exclusterid=nil, paymode=nil, createtime=nil, periodendtime=nil, dbversion=nil, isauditsupported=nil, isencryptsupported=nil, machine=nil, memory=nil, storage=nil, storageusage=nil, logstorage=nil, pid=nil, masterzone=nil, slavezones=nil, shards=nil, vip6=nil, cpu=nil, qps=nil, dbengine=nil, ipv6flag=nil, wanvipv6=nil, wanstatusipv6=nil, wanportipv6=nil, resourcetags=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, ismaxuserconnectionssupported=nil, dbversionid=nil, encryptstatus=nil, exclustertype=nil, rsaccessstrategy=nil, reservednetresources=nil, requestid=nil)
+ attr_accessor :InstanceId, :InstanceName, :Status, :StatusDesc, :Vip, :Vport, :NodeCount, :Region, :VpcId, :SubnetId, :WanStatus, :WanDomain, :WanVip, :WanPort, :ProjectId, :AutoRenewFlag, :ExclusterId, :PayMode, :CreateTime, :PeriodEndTime, :DbVersion, :IsAuditSupported, :IsEncryptSupported, :Machine, :Memory, :Storage, :StorageUsage, :LogStorage, :Pid, :MasterZone, :SlaveZones, :Shards, :Vip6, :Cpu, :Qps, :DbEngine, :Ipv6Flag, :WanVipv6, :WanStatusIpv6, :WanPortIpv6, :ResourceTags, :DcnFlag, :DcnStatus, :DcnDstNum, :InstanceType, :IsMaxUserConnectionsSupported, :DbVersionId, :EncryptStatus, :ExclusterType, :RsAccessStrategy, :ReservedNetResources, :IsPhysicalReplicationSupported, :RequestId
+
+ def initialize(instanceid=nil, instancename=nil, status=nil, statusdesc=nil, vip=nil, vport=nil, nodecount=nil, region=nil, vpcid=nil, subnetid=nil, wanstatus=nil, wandomain=nil, wanvip=nil, wanport=nil, projectid=nil, autorenewflag=nil, exclusterid=nil, paymode=nil, createtime=nil, periodendtime=nil, dbversion=nil, isauditsupported=nil, isencryptsupported=nil, machine=nil, memory=nil, storage=nil, storageusage=nil, logstorage=nil, pid=nil, masterzone=nil, slavezones=nil, shards=nil, vip6=nil, cpu=nil, qps=nil, dbengine=nil, ipv6flag=nil, wanvipv6=nil, wanstatusipv6=nil, wanportipv6=nil, resourcetags=nil, dcnflag=nil, dcnstatus=nil, dcndstnum=nil, instancetype=nil, ismaxuserconnectionssupported=nil, dbversionid=nil, encryptstatus=nil, exclustertype=nil, rsaccessstrategy=nil, reservednetresources=nil, isphysicalreplicationsupported=nil, requestid=nil)
@InstanceId = instanceid
@InstanceName = instancename
@Status = status
@StatusDesc = statusdesc
@Vip = vip
@@ -2431,10 +2433,11 @@
@DbVersionId = dbversionid
@EncryptStatus = encryptstatus
@ExclusterType = exclustertype
@RsAccessStrategy = rsaccessstrategy
@ReservedNetResources = reservednetresources
+ @IsPhysicalReplicationSupported = isphysicalreplicationsupported
@RequestId = requestid
end
def deserialize(params)
@InstanceId = params['InstanceId']
@@ -2507,10 +2510,11 @@
reservednetresource_tmp = ReservedNetResource.new
reservednetresource_tmp.deserialize(i)
@ReservedNetResources << reservednetresource_tmp
end
end
+ @IsPhysicalReplicationSupported = params['IsPhysicalReplicationSupported']
@RequestId = params['RequestId']
end
end
# DescribeDCDBInstanceNodeInfo请求参数结构体
@@ -2521,11 +2525,11 @@
# @type Limit: Integer
# @param Offset: 返回数据的偏移值,默认为0
# @type Offset: Integer
attr_accessor :InstanceId, :Limit, :Offset
-
+
def initialize(instanceid=nil, limit=nil, offset=nil)
@InstanceId = instanceid
@Limit = limit
@Offset = offset
end
@@ -2545,11 +2549,11 @@
# @type NodesInfo: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :NodesInfo, :RequestId
-
+
def initialize(totalcount=nil, nodesinfo=nil, requestid=nil)
@TotalCount = totalcount
@NodesInfo = nodesinfo
@RequestId = requestid
end
@@ -2606,11 +2610,11 @@
# @type Status: Array
# @param ExcludeStatus: 排除实例状态
# @type ExcludeStatus: Array
attr_accessor :InstanceIds, :SearchName, :SearchKey, :ProjectIds, :IsFilterVpc, :VpcId, :SubnetId, :OrderBy, :OrderByType, :Offset, :Limit, :ExclusterType, :IsFilterExcluster, :ExclusterIds, :TagKeys, :FilterInstanceType, :Status, :ExcludeStatus
-
+
def initialize(instanceids=nil, searchname=nil, searchkey=nil, projectids=nil, isfiltervpc=nil, vpcid=nil, subnetid=nil, orderby=nil, orderbytype=nil, offset=nil, limit=nil, exclustertype=nil, isfilterexcluster=nil, exclusterids=nil, tagkeys=nil, filterinstancetype=nil, status=nil, excludestatus=nil)
@InstanceIds = instanceids
@SearchName = searchname
@SearchKey = searchkey
@ProjectIds = projectids
@@ -2660,11 +2664,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
@@ -2708,11 +2712,11 @@
# * pent:分
# * microPent:微分
# @type AmountUnit: String
attr_accessor :Zone, :Count, :Period, :ShardNodeCount, :ShardMemory, :ShardStorage, :ShardCount, :Paymode, :AmountUnit
-
+
def initialize(zone=nil, count=nil, period=nil, shardnodecount=nil, shardmemory=nil, shardstorage=nil, shardcount=nil, paymode=nil, amountunit=nil)
@Zone = zone
@Count = count
@Period = period
@ShardNodeCount = shardnodecount
@@ -2748,11 +2752,11 @@
# @type Price: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :OriginalPrice, :Price, :RequestId
-
+
def initialize(originalprice=nil, price=nil, requestid=nil)
@OriginalPrice = originalprice
@Price = price
@RequestId = requestid
end
@@ -2774,11 +2778,11 @@
# * pent:分
# * microPent:微分
# @type AmountUnit: String
attr_accessor :InstanceId, :Period, :AmountUnit
-
+
def initialize(instanceid=nil, period=nil, amountunit=nil)
@InstanceId = instanceid
@Period = period
@AmountUnit = amountunit
end
@@ -2802,11 +2806,11 @@
# @type Price: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :OriginalPrice, :Price, :RequestId
-
+
def initialize(originalprice=nil, price=nil, requestid=nil)
@OriginalPrice = originalprice
@Price = price
@RequestId = requestid
end
@@ -2819,11 +2823,11 @@
end
# DescribeDCDBSaleInfo请求参数结构体
class DescribeDCDBSaleInfoRequest < TencentCloud::Common::AbstractModel
-
+
def initialize()
end
def deserialize(params)
end
@@ -2835,11 +2839,11 @@
# @type RegionList: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RegionList, :RequestId
-
+
def initialize(regionlist=nil, requestid=nil)
@RegionList = regionlist
@RequestId = requestid
end
@@ -2870,11 +2874,11 @@
# @type OrderBy: String
# @param OrderByType: 排序类型, desc 或者 asc
# @type OrderByType: String
attr_accessor :InstanceId, :ShardInstanceIds, :Offset, :Limit, :OrderBy, :OrderByType
-
+
def initialize(instanceid=nil, shardinstanceids=nil, offset=nil, limit=nil, orderby=nil, orderbytype=nil)
@InstanceId = instanceid
@ShardInstanceIds = shardinstanceids
@Offset = offset
@Limit = limit
@@ -2903,11 +2907,11 @@
# @type DcnFlag: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :Shards, :DcnFlag, :RequestId
-
+
def initialize(totalcount=nil, shards=nil, dcnflag=nil, requestid=nil)
@TotalCount = totalcount
@Shards = shards
@DcnFlag = dcnflag
@RequestId = requestid
@@ -2947,11 +2951,11 @@
# * pent:分
# * microPent:微分
# @type AmountUnit: String
attr_accessor :InstanceId, :UpgradeType, :AddShardConfig, :ExpandShardConfig, :SplitShardConfig, :AmountUnit
-
+
def initialize(instanceid=nil, upgradetype=nil, addshardconfig=nil, expandshardconfig=nil, splitshardconfig=nil, amountunit=nil)
@InstanceId = instanceid
@UpgradeType = upgradetype
@AddShardConfig = addshardconfig
@ExpandShardConfig = expandshardconfig
@@ -2992,11 +2996,11 @@
# @type Formula: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :OriginalPrice, :Price, :Formula, :RequestId
-
+
def initialize(originalprice=nil, price=nil, formula=nil, requestid=nil)
@OriginalPrice = originalprice
@Price = price
@Formula = formula
@RequestId = requestid
@@ -3016,11 +3020,11 @@
# @type InstanceId: String
# @param DbName: 数据库名称,通过 DescribeDatabases 接口获取。
# @type DbName: String
attr_accessor :InstanceId, :DbName
-
+
def initialize(instanceid=nil, dbname=nil)
@InstanceId = instanceid
@DbName = dbname
end
@@ -3046,11 +3050,11 @@
# @type Funcs: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :DbName, :Tables, :Views, :Procs, :Funcs, :RequestId
-
+
def initialize(instanceid=nil, dbname=nil, tables=nil, views=nil, procs=nil, funcs=nil, requestid=nil)
@InstanceId = instanceid
@DbName = dbname
@Tables = tables
@Views = views
@@ -3106,11 +3110,11 @@
# @type DbName: String
# @param Table: 表名称,通过 DescribeDatabaseObjects 接口获取。
# @type Table: String
attr_accessor :InstanceId, :DbName, :Table
-
+
def initialize(instanceid=nil, dbname=nil, table=nil)
@InstanceId = instanceid
@DbName = dbname
@Table = table
end
@@ -3134,11 +3138,11 @@
# @type Cols: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :DbName, :Table, :Cols, :RequestId
-
+
def initialize(instanceid=nil, dbname=nil, table=nil, cols=nil, requestid=nil)
@InstanceId = instanceid
@DbName = dbname
@Table = table
@Cols = cols
@@ -3165,11 +3169,11 @@
class DescribeDatabasesRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例 ID,形如:dcdbt-ow7t8lmc。
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -3185,11 +3189,11 @@
# @type InstanceId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Databases, :InstanceId, :RequestId
-
+
def initialize(databases=nil, instanceid=nil, requestid=nil)
@Databases = databases
@InstanceId = instanceid
@RequestId = requestid
end
@@ -3212,11 +3216,11 @@
class DescribeDcnDetailRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例ID
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -3230,11 +3234,11 @@
# @type DcnDetails: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :DcnDetails, :RequestId
-
+
def initialize(dcndetails=nil, requestid=nil)
@DcnDetails = dcndetails
@RequestId = requestid
end
@@ -3259,11 +3263,11 @@
# @type ShardId: String
# @param FilePath: 不带签名的文件路径
# @type FilePath: String
attr_accessor :InstanceId, :ShardId, :FilePath
-
+
def initialize(instanceid=nil, shardid=nil, filepath=nil)
@InstanceId = instanceid
@ShardId = shardid
@FilePath = filepath
end
@@ -3281,11 +3285,11 @@
# @type PreSignedUrl: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :PreSignedUrl, :RequestId
-
+
def initialize(presignedurl=nil, requestid=nil)
@PreSignedUrl = presignedurl
@RequestId = requestid
end
@@ -3299,11 +3303,11 @@
class DescribeFlowRequest < TencentCloud::Common::AbstractModel
# @param FlowId: 异步请求接口返回的任务流程号。
# @type FlowId: Integer
attr_accessor :FlowId
-
+
def initialize(flowid=nil)
@FlowId = flowid
end
def deserialize(params)
@@ -3317,11 +3321,11 @@
# @type Status: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Status, :RequestId
-
+
def initialize(status=nil, requestid=nil)
@Status = status
@RequestId = requestid
end
@@ -3335,11 +3339,11 @@
class DescribeOrdersRequest < TencentCloud::Common::AbstractModel
# @param DealNames: 待查询的长订单号列表,创建实例、续费实例、扩容实例接口返回。
# @type DealNames: Array
attr_accessor :DealNames
-
+
def initialize(dealnames=nil)
@DealNames = dealnames
end
def deserialize(params)
@@ -3355,11 +3359,11 @@
# @type Deals: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :Deals, :RequestId
-
+
def initialize(totalcount=nil, deals=nil, requestid=nil)
@TotalCount = totalcount
@Deals = deals
@RequestId = requestid
end
@@ -3384,11 +3388,11 @@
# @type Product: String
# @param ProjectId: 项目ID。
# @type ProjectId: Integer
attr_accessor :Product, :ProjectId
-
+
def initialize(product=nil, projectid=nil)
@Product = product
@ProjectId = projectid
end
@@ -3406,11 +3410,11 @@
# @type Total: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Groups, :Total, :RequestId
-
+
def initialize(groups=nil, total=nil, requestid=nil)
@Groups = groups
@Total = total
@RequestId = requestid
end
@@ -3430,11 +3434,11 @@
end
# DescribeProjects请求参数结构体
class DescribeProjectsRequest < TencentCloud::Common::AbstractModel
-
+
def initialize()
end
def deserialize(params)
end
@@ -3446,11 +3450,11 @@
# @type Projects: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Projects, :RequestId
-
+
def initialize(projects=nil, requestid=nil)
@Projects = projects
@RequestId = requestid
end
@@ -3468,11 +3472,11 @@
end
# DescribeShardSpec请求参数结构体
class DescribeShardSpecRequest < TencentCloud::Common::AbstractModel
-
+
def initialize()
end
def deserialize(params)
end
@@ -3484,11 +3488,11 @@
# @type SpecConfig: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :SpecConfig, :RequestId
-
+
def initialize(specconfig=nil, requestid=nil)
@SpecConfig = specconfig
@RequestId = requestid
end
@@ -3513,11 +3517,11 @@
# @type Offset: Integer
# @param Limit: 拉取数量(0-10000,为0时拉取总数信息)。
# @type Limit: Integer
attr_accessor :InstanceId, :Offset, :Limit
-
+
def initialize(instanceid=nil, offset=nil, limit=nil)
@InstanceId = instanceid
@Offset = offset
@Limit = limit
end
@@ -3545,11 +3549,11 @@
# @type SqlItems: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :StartOffset, :EndOffset, :Offset, :Count, :SqlItems, :RequestId
-
+
def initialize(totalcount=nil, startoffset=nil, endoffset=nil, offset=nil, count=nil, sqlitems=nil, requestid=nil)
@TotalCount = totalcount
@StartOffset = startoffset
@EndOffset = endoffset
@Offset = offset
@@ -3594,11 +3598,11 @@
# @type Limit: Integer
# @param Offset: 返回任务默认是按照创建时间降序排列,从偏移值Offset处开始返回
# @type Offset: Integer
attr_accessor :Statuses, :InstanceIds, :FlowTypes, :StartTime, :EndTime, :UTaskIds, :Limit, :Offset
-
+
def initialize(statuses=nil, instanceids=nil, flowtypes=nil, starttime=nil, endtime=nil, utaskids=nil, limit=nil, offset=nil)
@Statuses = statuses
@InstanceIds = instanceids
@FlowTypes = flowtypes
@StartTime = starttime
@@ -3628,11 +3632,11 @@
# @type FlowSet: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TotalCount, :FlowSet, :RequestId
-
+
def initialize(totalcount=nil, flowset=nil, requestid=nil)
@TotalCount = totalcount
@FlowSet = flowset
@RequestId = requestid
end
@@ -3655,11 +3659,11 @@
class DestroyDCDBInstanceRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例 ID,格式如:tdsqlshard-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -3675,11 +3679,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :FlowId, :RequestId
-
+
def initialize(instanceid=nil, flowid=nil, requestid=nil)
@InstanceId = instanceid
@FlowId = flowid
@RequestId = requestid
end
@@ -3695,11 +3699,11 @@
class DestroyHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例 ID,格式如:tdsqlshard-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -3715,11 +3719,11 @@
# @type InstanceId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :InstanceId, :RequestId
-
+
def initialize(flowid=nil, instanceid=nil, requestid=nil)
@FlowId = flowid
@InstanceId = instanceid
@RequestId = requestid
end
@@ -3739,11 +3743,11 @@
# @type SecurityGroupId: String
# @param InstanceIds: 实例ID列表,一个或者多个实例Id组成的数组。
# @type InstanceIds: Array
attr_accessor :Product, :SecurityGroupId, :InstanceIds
-
+
def initialize(product=nil, securitygroupid=nil, instanceids=nil)
@Product = product
@SecurityGroupId = securitygroupid
@InstanceIds = instanceids
end
@@ -3759,11 +3763,11 @@
class DisassociateSecurityGroupsResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -3781,11 +3785,11 @@
# @type ShardStorage: Integer
# @param ShardNodeCount: 分片节点数
# @type ShardNodeCount: Integer
attr_accessor :ShardInstanceIds, :ShardMemory, :ShardStorage, :ShardNodeCount
-
+
def initialize(shardinstanceids=nil, shardmemory=nil, shardstorage=nil, shardnodecount=nil)
@ShardInstanceIds = shardinstanceids
@ShardMemory = shardmemory
@ShardStorage = shardstorage
@ShardNodeCount = shardnodecount
@@ -3803,11 +3807,11 @@
class FlushBinlogRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例ID
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -3819,11 +3823,11 @@
class FlushBinlogResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -3852,11 +3856,11 @@
# @type Object: String
# @param ColName: 当 Type=table 时,ColName 为 \* 表示对表授权,如果为具体字段名,表示对字段授权
# @type ColName: String
attr_accessor :InstanceId, :UserName, :Host, :DbName, :Privileges, :Type, :Object, :ColName
-
+
def initialize(instanceid=nil, username=nil, host=nil, dbname=nil, privileges=nil, type=nil, object=nil, colname=nil)
@InstanceId = instanceid
@UserName = username
@Host = host
@DbName = dbname
@@ -3882,11 +3886,11 @@
class GrantAccountPrivilegesResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -3900,11 +3904,11 @@
# @type InstanceIds: Array
# @param Params: 参数列表。本接口的可选值为:character_set_server(字符集,必传),lower_case_table_names(表名大小写敏感,必传,0 - 敏感;1-不敏感),innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0 - 异步; 1 - 强同步;2 - 强同步可退化。默认为强同步)。
# @type Params: Array
attr_accessor :InstanceIds, :Params
-
+
def initialize(instanceids=nil, params=nil)
@InstanceIds = instanceids
@Params = params
end
@@ -3929,11 +3933,11 @@
# @type InstanceIds: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowIds, :InstanceIds, :RequestId
-
+
def initialize(flowids=nil, instanceids=nil, requestid=nil)
@FlowIds = flowids
@InstanceIds = instanceids
@RequestId = requestid
end
@@ -3969,11 +3973,11 @@
# @type StartTime: String
# @param EndTime: 备份结束时间
# @type EndTime: String
attr_accessor :InstanceId, :InstanceName, :InstanceStatus, :ShardId, :FilePath, :FileName, :FileSize, :BackupType, :ManualBackup, :StartTime, :EndTime
-
+
def initialize(instanceid=nil, instancename=nil, instancestatus=nil, shardid=nil, filepath=nil, filename=nil, filesize=nil, backuptype=nil, manualbackup=nil, starttime=nil, endtime=nil)
@InstanceId = instanceid
@InstanceName = instancename
@InstanceStatus = instancestatus
@ShardId = shardid
@@ -4005,11 +4009,11 @@
class IsolateDCDBInstanceRequest < TencentCloud::Common::AbstractModel
# @param InstanceIds: 实例 ID,格式如:tdsqlshard-avw0207d,与云数据库控制台页面中显示的实例 ID 相同,可使用 查询实例列表 接口获取,其值为输出参数中字段 InstanceId 的值。
# @type InstanceIds: Array
attr_accessor :InstanceIds
-
+
def initialize(instanceids=nil)
@InstanceIds = instanceids
end
def deserialize(params)
@@ -4025,11 +4029,11 @@
# @type FailedInstanceIds: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
-
+
def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
@SuccessInstanceIds = successinstanceids
@FailedInstanceIds = failedinstanceids
@RequestId = requestid
end
@@ -4045,11 +4049,11 @@
class IsolateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例 Id,形如:dcdbt-ow728lmc。
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -4061,11 +4065,11 @@
class IsolateDedicatedDBInstanceResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -4077,11 +4081,11 @@
class IsolateHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
# @param InstanceIds: 待升级的实例ID列表。形如:["dcdbt-ow728lmc"],可以通过 DescribeDCDBInstances 查询实例详情获得。
# @type InstanceIds: Array
attr_accessor :InstanceIds
-
+
def initialize(instanceids=nil)
@InstanceIds = instanceids
end
def deserialize(params)
@@ -4097,11 +4101,11 @@
# @type FailedInstanceIds: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
-
+
def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
@SuccessInstanceIds = successinstanceids
@FailedInstanceIds = failedinstanceids
@RequestId = requestid
end
@@ -4123,11 +4127,11 @@
# @type ShardId: String
# @param ShardSerialId: 分片序列ID,与ShardId设置一个
# @type ShardSerialId: String
attr_accessor :InstanceId, :SessionId, :ShardId, :ShardSerialId
-
+
def initialize(instanceid=nil, sessionid=nil, shardid=nil, shardserialid=nil)
@InstanceId = instanceid
@SessionId = sessionid
@ShardId = shardid
@ShardSerialId = shardserialid
@@ -4147,11 +4151,11 @@
# @type TaskId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :TaskId, :RequestId
-
+
def initialize(taskid=nil, requestid=nil)
@TaskId = taskid
@RequestId = requestid
end
@@ -4171,11 +4175,11 @@
# @type Uri: String
# @param FileName: 文件名
# @type FileName: String
attr_accessor :Mtime, :Length, :Uri, :FileName
-
+
def initialize(mtime=nil, length=nil, uri=nil, filename=nil)
@Mtime = mtime
@Length = length
@Uri = uri
@FileName = filename
@@ -4199,11 +4203,11 @@
# @type Host: String
# @param Configs: 配置列表,每一个元素是Config和Value的组合
# @type Configs: Array
attr_accessor :InstanceId, :UserName, :Host, :Configs
-
+
def initialize(instanceid=nil, username=nil, host=nil, configs=nil)
@InstanceId = instanceid
@UserName = username
@Host = host
@Configs = configs
@@ -4228,11 +4232,11 @@
class ModifyAccountConfigResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -4250,11 +4254,11 @@
# @type Host: String
# @param Description: 新的账号备注,长度 0~256。
# @type Description: String
attr_accessor :InstanceId, :UserName, :Host, :Description
-
+
def initialize(instanceid=nil, username=nil, host=nil, description=nil)
@InstanceId = instanceid
@UserName = username
@Host = host
@Description = description
@@ -4272,11 +4276,11 @@
class ModifyAccountDescriptionResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -4305,11 +4309,11 @@
# @param ViewPrivileges: 数据库视图的权限。Privileges 权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "DROP","REFERENCES","INDEX","ALTER","CREATE VIEW","SHOW VIEW", "TRIGGER"。
# 注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
# @type ViewPrivileges: Array
attr_accessor :InstanceId, :Accounts, :GlobalPrivileges, :DatabasePrivileges, :TablePrivileges, :ColumnPrivileges, :ViewPrivileges
-
+
def initialize(instanceid=nil, accounts=nil, globalprivileges=nil, databaseprivileges=nil, tableprivileges=nil, columnprivileges=nil, viewprivileges=nil)
@InstanceId = instanceid
@Accounts = accounts
@GlobalPrivileges = globalprivileges
@DatabasePrivileges = databaseprivileges
@@ -4370,11 +4374,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -4390,11 +4394,11 @@
# @type InstanceId: String
# @param EncryptEnabled: 是否启用数据加密,开启后暂不支持关闭。本接口的可选值为:1-开启数据加密。
# @type EncryptEnabled: Integer
attr_accessor :InstanceId, :EncryptEnabled
-
+
def initialize(instanceid=nil, encryptenabled=nil)
@InstanceId = instanceid
@EncryptEnabled = encryptenabled
end
@@ -4408,11 +4412,11 @@
class ModifyDBEncryptAttributesResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -4426,11 +4430,11 @@
# @type InstanceId: String
# @param InstanceName: 实例名称
# @type InstanceName: String
attr_accessor :InstanceId, :InstanceName
-
+
def initialize(instanceid=nil, instancename=nil)
@InstanceId = instanceid
@InstanceName = instancename
end
@@ -4446,11 +4450,11 @@
# @type InstanceId: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :RequestId
-
+
def initialize(instanceid=nil, requestid=nil)
@InstanceId = instanceid
@RequestId = requestid
end
@@ -4468,11 +4472,11 @@
# @type InstanceId: String
# @param SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。
# @type SecurityGroupIds: Array
attr_accessor :Product, :InstanceId, :SecurityGroupIds
-
+
def initialize(product=nil, instanceid=nil, securitygroupids=nil)
@Product = product
@InstanceId = instanceid
@SecurityGroupIds = securitygroupids
end
@@ -4488,11 +4492,11 @@
class ModifyDBInstanceSecurityGroupsResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -4506,11 +4510,11 @@
# @type InstanceIds: Array
# @param ProjectId: 要分配的项目 ID,可以通过 DescribeProjects 查询项目列表接口获取。
# @type ProjectId: Integer
attr_accessor :InstanceIds, :ProjectId
-
+
def initialize(instanceids=nil, projectid=nil)
@InstanceIds = instanceids
@ProjectId = projectid
end
@@ -4524,11 +4528,11 @@
class ModifyDBInstancesProjectResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -4542,11 +4546,11 @@
# @type InstanceId: String
# @param Params: 参数列表,每一个元素是Param和Value的组合
# @type Params: Array
attr_accessor :InstanceId, :Params
-
+
def initialize(instanceid=nil, params=nil)
@InstanceId = instanceid
@Params = params
end
@@ -4571,11 +4575,11 @@
# @type Result: Array
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :InstanceId, :Result, :RequestId
-
+
def initialize(instanceid=nil, result=nil, requestid=nil)
@InstanceId = instanceid
@Result = result
@RequestId = requestid
end
@@ -4600,11 +4604,11 @@
# @type InstanceId: String
# @param SyncMode: 同步模式:0 异步,1 强同步, 2 强同步可退化
# @type SyncMode: Integer
attr_accessor :InstanceId, :SyncMode
-
+
def initialize(instanceid=nil, syncmode=nil)
@InstanceId = instanceid
@SyncMode = syncmode
end
@@ -4620,11 +4624,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -4648,11 +4652,11 @@
# @type Vipv6: String
# @param VipReleaseDelay: VIP保留时长,单位小时,取值范围(0~168),0表示立即释放,有一分钟释放延迟。不传此参数,默认24小时释放VIP。
# @type VipReleaseDelay: Integer
attr_accessor :InstanceId, :VpcId, :SubnetId, :Vip, :Vipv6, :VipReleaseDelay
-
+
def initialize(instanceid=nil, vpcid=nil, subnetid=nil, vip=nil, vipv6=nil, vipreleasedelay=nil)
@InstanceId = instanceid
@VpcId = vpcid
@SubnetId = subnetid
@Vip = vip
@@ -4676,11 +4680,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -4700,11 +4704,11 @@
# @type Ipv6Flag: Integer
# @param VipReleaseDelay: VIP保留时长,单位小时,取值范围(0~168),0表示立即释放,有一分钟释放延迟。不传此参数,默认24小时释放VIP。
# @type VipReleaseDelay: Integer
attr_accessor :InstanceId, :Vip, :Ipv6Flag, :VipReleaseDelay
-
+
def initialize(instanceid=nil, vip=nil, ipv6flag=nil, vipreleasedelay=nil)
@InstanceId = instanceid
@Vip = vip
@Ipv6Flag = ipv6flag
@VipReleaseDelay = vipreleasedelay
@@ -4724,11 +4728,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -4744,11 +4748,11 @@
# @type InstanceId: String
# @param Vport: 实例VPORT
# @type Vport: Integer
attr_accessor :InstanceId, :Vport
-
+
def initialize(instanceid=nil, vport=nil)
@InstanceId = instanceid
@Vport = vport
end
@@ -4762,11 +4766,11 @@
class ModifyInstanceVportResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -4780,11 +4784,11 @@
# @type InstanceId: String
# @param RsAccessStrategy: RS就近模式, 0-无策略, 1-可用区就近访问。
# @type RsAccessStrategy: Integer
attr_accessor :InstanceId, :RsAccessStrategy
-
+
def initialize(instanceid=nil, rsaccessstrategy=nil)
@InstanceId = instanceid
@RsAccessStrategy = rsaccessstrategy
end
@@ -4798,11 +4802,11 @@
class ModifyRealServerAccessStrategyResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -4816,11 +4820,11 @@
# @type NodeId: String
# @param Role: DB节点角色,取值为master或者slave
# @type Role: String
attr_accessor :NodeId, :Role
-
+
def initialize(nodeid=nil, role=nil)
@NodeId = nodeid
@Role = role
end
@@ -4836,11 +4840,11 @@
# @type InstanceId: String
# @param Ipv6Flag: 是否IPv6,默认0
# @type Ipv6Flag: Integer
attr_accessor :InstanceId, :Ipv6Flag
-
+
def initialize(instanceid=nil, ipv6flag=nil)
@InstanceId = instanceid
@Ipv6Flag = ipv6flag
end
@@ -4856,11 +4860,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -4881,11 +4885,11 @@
# @type Range: :class:`Tencentcloud::Dcdb.v20180411.models.ConstraintRange`
# @param String: 约束类型为string时的可选值列表
# @type String: String
attr_accessor :Type, :Enum, :Range, :String
-
+
def initialize(type=nil, enum=nil, range=nil, string=nil)
@Type = type
@Enum = enum
@Range = range
@String = string
@@ -4920,11 +4924,11 @@
# @param NeedRestart: 是否需要重启生效,false:不需要重启,
# true:需要重启
# @type NeedRestart: Boolean
attr_accessor :Param, :Value, :SetValue, :Default, :Constraint, :HaveSetValue, :NeedRestart
-
+
def initialize(param=nil, value=nil, setvalue=nil, default=nil, constraint=nil, havesetvalue=nil, needrestart=nil)
@Param = param
@Value = value
@SetValue = setvalue
@Default = default
@@ -4953,11 +4957,11 @@
# @type Param: String
# @param Code: 参数修改结果。0表示修改成功;-1表示修改失败;-2表示该参数值非法
# @type Code: Integer
attr_accessor :Param, :Code
-
+
def initialize(param=nil, code=nil)
@Param = param
@Code = code
end
@@ -4991,11 +4995,11 @@
# @type IsDefault: Integer
# @param Info: 描述信息
# @type Info: String
attr_accessor :ProjectId, :OwnerUin, :AppId, :Name, :CreatorUin, :SrcPlat, :SrcAppId, :Status, :CreateTime, :IsDefault, :Info
-
+
def initialize(projectid=nil, owneruin=nil, appid=nil, name=nil, creatoruin=nil, srcplat=nil, srcappid=nil, status=nil, createtime=nil, isdefault=nil, info=nil)
@ProjectId = projectid
@OwnerUin = owneruin
@AppId = appid
@Name = name
@@ -5035,11 +5039,11 @@
# @type ZoneList: Array
# @param AvailableChoice: 可选择的主可用区和从可用区
# @type AvailableChoice: Array
attr_accessor :Region, :RegionId, :RegionName, :ZoneList, :AvailableChoice
-
+
def initialize(region=nil, regionid=nil, regionname=nil, zonelist=nil, availablechoice=nil)
@Region = region
@RegionId = regionid
@RegionName = regionname
@ZoneList = zonelist
@@ -5079,11 +5083,11 @@
# @type AutoVoucher: Boolean
# @param VoucherIds: 代金券ID列表,目前仅支持指定一张代金券。
# @type VoucherIds: Array
attr_accessor :InstanceId, :Period, :AutoVoucher, :VoucherIds
-
+
def initialize(instanceid=nil, period=nil, autovoucher=nil, voucherids=nil)
@InstanceId = instanceid
@Period = period
@AutoVoucher = autovoucher
@VoucherIds = voucherids
@@ -5104,11 +5108,11 @@
# @type DealName: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :DealName, :RequestId
-
+
def initialize(dealname=nil, requestid=nil)
@DealName = dealname
@RequestId = requestid
end
@@ -5130,11 +5134,11 @@
# @type Vports: Array
# @param RecycleTime: Vip的回收时间
# @type RecycleTime: String
attr_accessor :VpcId, :SubnetId, :Vip, :Vports, :RecycleTime
-
+
def initialize(vpcid=nil, subnetid=nil, vip=nil, vports=nil, recycletime=nil)
@VpcId = vpcid
@SubnetId = subnetid
@Vip = vip
@Vports = vports
@@ -5160,11 +5164,11 @@
# @type Host: String
# @param Password: 新密码,由字母、数字或常见符号组成,不能包含分号、单引号和双引号,长度为6~32位。
# @type Password: String
attr_accessor :InstanceId, :UserName, :Host, :Password
-
+
def initialize(instanceid=nil, username=nil, host=nil, password=nil)
@InstanceId = instanceid
@UserName = username
@Host = host
@Password = password
@@ -5182,11 +5186,11 @@
class ResetAccountPasswordResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -5200,11 +5204,11 @@
# @type TagKey: String
# @param TagValue: 标签值value
# @type TagValue: String
attr_accessor :TagKey, :TagValue
-
+
def initialize(tagkey=nil, tagvalue=nil)
@TagKey = tagkey
@TagValue = tagvalue
end
@@ -5230,11 +5234,11 @@
# @type Inbound: Array
# @param Outbound: 出站规则
# @type Outbound: Array
attr_accessor :ProjectId, :CreateTime, :SecurityGroupId, :SecurityGroupName, :SecurityGroupRemark, :Inbound, :Outbound
-
+
def initialize(projectid=nil, createtime=nil, securitygroupid=nil, securitygroupname=nil, securitygroupremark=nil, inbound=nil, outbound=nil)
@ProjectId = projectid
@CreateTime = createtime
@SecurityGroupId = securitygroupid
@SecurityGroupName = securitygroupname
@@ -5278,11 +5282,11 @@
# @type PortRange: String
# @param IpProtocol: 网络协议,支持 UDP、TCP 等
# @type IpProtocol: String
attr_accessor :CidrIp, :Action, :PortRange, :IpProtocol
-
+
def initialize(cidrip=nil, action=nil, portrange=nil, ipprotocol=nil)
@CidrIp = cidrip
@Action = action
@PortRange = portrange
@IpProtocol = ipprotocol
@@ -5329,11 +5333,11 @@
# @param NodesInfo: DB节点信息
# 注意:此字段可能返回 null,表示取不到有效值。
# @type NodesInfo: Array
attr_accessor :ShardSerialId, :ShardInstanceId, :Status, :StatusDesc, :CreateTime, :Memory, :Storage, :LogDisk, :NodeCount, :StorageUsage, :ProxyVersion, :ShardMasterZone, :ShardSlaveZones, :Cpu, :NodesInfo
-
+
def initialize(shardserialid=nil, shardinstanceid=nil, status=nil, statusdesc=nil, createtime=nil, memory=nil, storage=nil, logdisk=nil, nodecount=nil, storageusage=nil, proxyversion=nil, shardmasterzone=nil, shardslavezones=nil, cpu=nil, nodesinfo=nil)
@ShardSerialId = shardserialid
@ShardInstanceId = shardinstanceid
@Status = status
@StatusDesc = statusdesc
@@ -5398,11 +5402,11 @@
# @type Pid: Integer
# @param Cpu: Cpu核数
# @type Cpu: Integer
attr_accessor :ShardInstanceId, :ShardSerialId, :Status, :Createtime, :Memory, :Storage, :ShardId, :NodeCount, :Pid, :Cpu
-
+
def initialize(shardinstanceid=nil, shardserialid=nil, status=nil, createtime=nil, memory=nil, storage=nil, shardid=nil, nodecount=nil, pid=nil, cpu=nil)
@ShardInstanceId = shardinstanceid
@ShardSerialId = shardserialid
@Status = status
@Createtime = createtime
@@ -5434,11 +5438,11 @@
# @type MasterZone: :class:`Tencentcloud::Dcdb.v20180411.models.ZonesInfo`
# @param SlaveZones: 可选的从可用区
# @type SlaveZones: Array
attr_accessor :MasterZone, :SlaveZones
-
+
def initialize(masterzone=nil, slavezones=nil)
@MasterZone = masterzone
@SlaveZones = slavezones
end
@@ -5500,11 +5504,11 @@
# @param Host: 账户的域名
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Host: String
attr_accessor :CheckSum, :Db, :FingerPrint, :LockTimeAvg, :LockTimeMax, :LockTimeMin, :LockTimeSum, :QueryCount, :QueryTimeAvg, :QueryTimeMax, :QueryTimeMin, :QueryTimeSum, :RowsExaminedSum, :RowsSentSum, :TsMax, :TsMin, :User, :ExampleSql, :Host
-
+
def initialize(checksum=nil, db=nil, fingerprint=nil, locktimeavg=nil, locktimemax=nil, locktimemin=nil, locktimesum=nil, querycount=nil, querytimeavg=nil, querytimemax=nil, querytimemin=nil, querytimesum=nil, rowsexaminedsum=nil, rowssentsum=nil, tsmax=nil, tsmin=nil, user=nil, examplesql=nil, host=nil)
@CheckSum = checksum
@Db = db
@FingerPrint = fingerprint
@LockTimeAvg = locktimeavg
@@ -5554,11 +5558,11 @@
# @type Machine: String
# @param SpecConfigInfos: 规格列表
# @type SpecConfigInfos: Array
attr_accessor :Machine, :SpecConfigInfos
-
+
def initialize(machine=nil, specconfiginfos=nil)
@Machine = machine
@SpecConfigInfos = specconfiginfos
end
@@ -5593,11 +5597,11 @@
# @type Qps: Integer
# @param Cpu: CPU核数
# @type Cpu: Integer
attr_accessor :NodeCount, :Memory, :MinStorage, :MaxStorage, :SuitInfo, :Pid, :Qps, :Cpu
-
+
def initialize(nodecount=nil, memory=nil, minstorage=nil, maxstorage=nil, suitinfo=nil, pid=nil, qps=nil, cpu=nil)
@NodeCount = nodecount
@Memory = memory
@MinStorage = minstorage
@MaxStorage = maxstorage
@@ -5629,11 +5633,11 @@
# @type ShardMemory: Integer
# @param ShardStorage: 分片存储大小,单位 GB
# @type ShardStorage: Integer
attr_accessor :ShardInstanceIds, :SplitRate, :ShardMemory, :ShardStorage
-
+
def initialize(shardinstanceids=nil, splitrate=nil, shardmemory=nil, shardstorage=nil)
@ShardInstanceIds = shardinstanceids
@SplitRate = splitrate
@ShardMemory = shardmemory
@ShardStorage = shardstorage
@@ -5669,11 +5673,11 @@
# @type TimeCostMs: Integer
# @param ResultCode: Sql返回码,0为成功。
# @type ResultCode: Integer
attr_accessor :Offset, :User, :Client, :DbName, :Sql, :SelectRowNum, :AffectRowNum, :Timestamp, :TimeCostMs, :ResultCode
-
+
def initialize(offset=nil, user=nil, client=nil, dbname=nil, sql=nil, selectrownum=nil, affectrownum=nil, timestamp=nil, timecostms=nil, resultcode=nil)
@Offset = offset
@User = user
@Client = client
@DbName = dbname
@@ -5705,11 +5709,11 @@
# @type InstanceId: String
# @param Zone: 切换的目标区域,会自动选择该可用区中延迟最低的节点。
# @type Zone: String
attr_accessor :InstanceId, :Zone
-
+
def initialize(instanceid=nil, zone=nil)
@InstanceId = instanceid
@Zone = zone
end
@@ -5725,11 +5729,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -5745,11 +5749,11 @@
# @type Col: String
# @param Type: 列类型
# @type Type: String
attr_accessor :Col, :Type
-
+
def initialize(col=nil, type=nil)
@Col = col
@Type = type
end
@@ -5767,11 +5771,11 @@
# @type Table: String
# @param Privileges: 权限信息
# @type Privileges: Array
attr_accessor :Database, :Table, :Privileges
-
+
def initialize(database=nil, table=nil, privileges=nil)
@Database = database
@Table = table
@Privileges = privileges
end
@@ -5787,11 +5791,11 @@
class TerminateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例 Id,形如:dcdbt-ow728lmc。
# @type InstanceId: String
attr_accessor :InstanceId
-
+
def initialize(instanceid=nil)
@InstanceId = instanceid
end
def deserialize(params)
@@ -5805,11 +5809,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -5840,11 +5844,11 @@
# @type VoucherIds: Array
# @param Zones: 变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
# @type Zones: Array
attr_accessor :InstanceId, :UpgradeType, :AddShardConfig, :ExpandShardConfig, :SplitShardConfig, :AutoVoucher, :VoucherIds, :Zones
-
+
def initialize(instanceid=nil, upgradetype=nil, addshardconfig=nil, expandshardconfig=nil, splitshardconfig=nil, autovoucher=nil, voucherids=nil, zones=nil)
@InstanceId = instanceid
@UpgradeType = upgradetype
@AddShardConfig = addshardconfig
@ExpandShardConfig = expandshardconfig
@@ -5882,11 +5886,11 @@
# @type DealName: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :DealName, :RequestId
-
+
def initialize(dealname=nil, requestid=nil)
@DealName = dealname
@RequestId = requestid
end
@@ -5914,11 +5918,11 @@
# @type SwitchStartTime: String
# @param SwitchEndTime: 切换时间窗口结束时间
# @type SwitchEndTime: String
attr_accessor :UpgradeType, :InstanceId, :AddShardConfig, :ExpandShardConfig, :SplitShardConfig, :SwitchAutoRetry, :SwitchStartTime, :SwitchEndTime
-
+
def initialize(upgradetype=nil, instanceid=nil, addshardconfig=nil, expandshardconfig=nil, splitshardconfig=nil, switchautoretry=nil, switchstarttime=nil, switchendtime=nil)
@UpgradeType = upgradetype
@InstanceId = instanceid
@AddShardConfig = addshardconfig
@ExpandShardConfig = expandshardconfig
@@ -5955,11 +5959,11 @@
# @type FlowId: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :FlowId, :RequestId
-
+
def initialize(flowid=nil, requestid=nil)
@FlowId = flowid
@RequestId = requestid
end
@@ -5992,11 +5996,11 @@
# @type SwitchAutoRetry: Integer
# @param Zones: 变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
# @type Zones: Array
attr_accessor :InstanceId, :UpgradeType, :AddShardConfig, :ExpandShardConfig, :SplitShardConfig, :SwitchStartTime, :SwitchEndTime, :SwitchAutoRetry, :Zones
-
+
def initialize(instanceid=nil, upgradetype=nil, addshardconfig=nil, expandshardconfig=nil, splitshardconfig=nil, switchstarttime=nil, switchendtime=nil, switchautoretry=nil, zones=nil)
@InstanceId = instanceid
@UpgradeType = upgradetype
@AddShardConfig = addshardconfig
@ExpandShardConfig = expandshardconfig
@@ -6033,11 +6037,11 @@
class UpgradeHourDCDBInstanceResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -6069,11 +6073,11 @@
# @type InstanceName: String
# @param RegionId: 地域ID
# @type RegionId: Integer
attr_accessor :Id, :AppId, :Status, :UserTaskType, :CreateTime, :EndTime, :ErrMsg, :InputData, :InstanceId, :InstanceName, :RegionId
-
+
def initialize(id=nil, appid=nil, status=nil, usertasktype=nil, createtime=nil, endtime=nil, errmsg=nil, inputdata=nil, instanceid=nil, instancename=nil, regionid=nil)
@Id = id
@AppId = appid
@Status = status
@UserTaskType = usertasktype
@@ -6109,11 +6113,11 @@
# @type View: String
# @param Privileges: 权限信息
# @type Privileges: Array
attr_accessor :Database, :View, :Privileges
-
+
def initialize(database=nil, view=nil, privileges=nil)
@Database = database
@View = view
@Privileges = privileges
end
@@ -6135,10 +6139,10 @@
# @type ZoneName: String
# @param OnSale: 是否在售
# @type OnSale: Boolean
attr_accessor :Zone, :ZoneId, :ZoneName, :OnSale
-
+
def initialize(zone=nil, zoneid=nil, zonename=nil, onsale=nil)
@Zone = zone
@ZoneId = zoneid
@ZoneName = zonename
@OnSale = onsale