tencentcloud-sdk-keewidb 3.0.504
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-keewidb.rb +11 -0
- data/lib/v20220308/client.rb +900 -0
- data/lib/v20220308/models.rb +3234 -0
- metadata +66 -0
@@ -0,0 +1,3234 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Keewidb
|
19
|
+
module V20220308
|
20
|
+
# AssociateSecurityGroups请求参数结构体
|
21
|
+
class AssociateSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Product: 数据库引擎名称:keewidb。
|
23
|
+
# @type Product: String
|
24
|
+
# @param SecurityGroupId: 要绑定的安全组 ID,类似sg-efil7***。
|
25
|
+
# @type SecurityGroupId: String
|
26
|
+
# @param InstanceIds: 实例 ID,格式如:kee-c1nl9***,支持指定多个实例。
|
27
|
+
# @type InstanceIds: Array
|
28
|
+
|
29
|
+
attr_accessor :Product, :SecurityGroupId, :InstanceIds
|
30
|
+
|
31
|
+
def initialize(product=nil, securitygroupid=nil, instanceids=nil)
|
32
|
+
@Product = product
|
33
|
+
@SecurityGroupId = securitygroupid
|
34
|
+
@InstanceIds = instanceids
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@Product = params['Product']
|
39
|
+
@SecurityGroupId = params['SecurityGroupId']
|
40
|
+
@InstanceIds = params['InstanceIds']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# AssociateSecurityGroups返回参数结构体
|
45
|
+
class AssociateSecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
46
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
47
|
+
# @type RequestId: String
|
48
|
+
|
49
|
+
attr_accessor :RequestId
|
50
|
+
|
51
|
+
def initialize(requestid=nil)
|
52
|
+
@RequestId = requestid
|
53
|
+
end
|
54
|
+
|
55
|
+
def deserialize(params)
|
56
|
+
@RequestId = params['RequestId']
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# 实例的备份信息
|
61
|
+
class BackupInfo < TencentCloud::Common::AbstractModel
|
62
|
+
# @param StartTime: 备份开始时间。
|
63
|
+
# @type StartTime: String
|
64
|
+
# @param BackupId: 备份 ID。
|
65
|
+
# @type BackupId: String
|
66
|
+
# @param BackupType: 备份类型。<ul><li>1:手动备份,指根据业务运维排障需求,立即执行备份任务的操作。</li> <li>0:自动备份,指根据自动备份策略定时自动发起的备份任务。</li></ul>
|
67
|
+
# @type BackupType: String
|
68
|
+
# @param Remark: 备份的备注信息.
|
69
|
+
# @type Remark: String
|
70
|
+
# @param Status: 备份状态。 <ul><li>1:备份任务被其它流程锁定。</li><li>2:备份正常,没有被任何流程锁定。</li> <li>-1:备份已过期。</li><li>3:备份正在被导出。</li> <li>4:备份导出成功。</li></ul>
|
71
|
+
# @type Status: Integer
|
72
|
+
# @param Locked: 备份是否被锁定。<ul><li>0:未被锁定。</li><li>1:已被锁定。</li></ul>
|
73
|
+
# @type Locked: Integer
|
74
|
+
|
75
|
+
attr_accessor :StartTime, :BackupId, :BackupType, :Remark, :Status, :Locked
|
76
|
+
|
77
|
+
def initialize(starttime=nil, backupid=nil, backuptype=nil, remark=nil, status=nil, locked=nil)
|
78
|
+
@StartTime = starttime
|
79
|
+
@BackupId = backupid
|
80
|
+
@BackupType = backuptype
|
81
|
+
@Remark = remark
|
82
|
+
@Status = status
|
83
|
+
@Locked = locked
|
84
|
+
end
|
85
|
+
|
86
|
+
def deserialize(params)
|
87
|
+
@StartTime = params['StartTime']
|
88
|
+
@BackupId = params['BackupId']
|
89
|
+
@BackupType = params['BackupType']
|
90
|
+
@Remark = params['Remark']
|
91
|
+
@Status = params['Status']
|
92
|
+
@Locked = params['Locked']
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# 实例增量备份信息
|
97
|
+
class BinlogInfo < TencentCloud::Common::AbstractModel
|
98
|
+
# @param StartTime: 备份开始时间。
|
99
|
+
# @type StartTime: String
|
100
|
+
# @param EndTime: 备份结束时间。
|
101
|
+
# @type EndTime: String
|
102
|
+
# @param BackupId: 备份 ID。
|
103
|
+
# @type BackupId: String
|
104
|
+
# @param Filename: 备份文件名。
|
105
|
+
# @type Filename: String
|
106
|
+
# @param FileSize: 备份文件大小,单位:Byte。
|
107
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
108
|
+
# @type FileSize: Integer
|
109
|
+
|
110
|
+
attr_accessor :StartTime, :EndTime, :BackupId, :Filename, :FileSize
|
111
|
+
|
112
|
+
def initialize(starttime=nil, endtime=nil, backupid=nil, filename=nil, filesize=nil)
|
113
|
+
@StartTime = starttime
|
114
|
+
@EndTime = endtime
|
115
|
+
@BackupId = backupid
|
116
|
+
@Filename = filename
|
117
|
+
@FileSize = filesize
|
118
|
+
end
|
119
|
+
|
120
|
+
def deserialize(params)
|
121
|
+
@StartTime = params['StartTime']
|
122
|
+
@EndTime = params['EndTime']
|
123
|
+
@BackupId = params['BackupId']
|
124
|
+
@Filename = params['Filename']
|
125
|
+
@FileSize = params['FileSize']
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
# ChangeInstanceMaster请求参数结构体
|
130
|
+
class ChangeInstanceMasterRequest < TencentCloud::Common::AbstractModel
|
131
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
132
|
+
# @type InstanceId: String
|
133
|
+
# @param NodeId: 副本节点 ID。
|
134
|
+
# @type NodeId: String
|
135
|
+
|
136
|
+
attr_accessor :InstanceId, :NodeId
|
137
|
+
|
138
|
+
def initialize(instanceid=nil, nodeid=nil)
|
139
|
+
@InstanceId = instanceid
|
140
|
+
@NodeId = nodeid
|
141
|
+
end
|
142
|
+
|
143
|
+
def deserialize(params)
|
144
|
+
@InstanceId = params['InstanceId']
|
145
|
+
@NodeId = params['NodeId']
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# ChangeInstanceMaster返回参数结构体
|
150
|
+
class ChangeInstanceMasterResponse < TencentCloud::Common::AbstractModel
|
151
|
+
# @param TaskId: 异步任务 ID。
|
152
|
+
# @type TaskId: Integer
|
153
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
154
|
+
# @type RequestId: String
|
155
|
+
|
156
|
+
attr_accessor :TaskId, :RequestId
|
157
|
+
|
158
|
+
def initialize(taskid=nil, requestid=nil)
|
159
|
+
@TaskId = taskid
|
160
|
+
@RequestId = requestid
|
161
|
+
end
|
162
|
+
|
163
|
+
def deserialize(params)
|
164
|
+
@TaskId = params['TaskId']
|
165
|
+
@RequestId = params['RequestId']
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# CleanUpInstance请求参数结构体
|
170
|
+
class CleanUpInstanceRequest < TencentCloud::Common::AbstractModel
|
171
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
172
|
+
# @type InstanceId: String
|
173
|
+
|
174
|
+
attr_accessor :InstanceId
|
175
|
+
|
176
|
+
def initialize(instanceid=nil)
|
177
|
+
@InstanceId = instanceid
|
178
|
+
end
|
179
|
+
|
180
|
+
def deserialize(params)
|
181
|
+
@InstanceId = params['InstanceId']
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# CleanUpInstance返回参数结构体
|
186
|
+
class CleanUpInstanceResponse < TencentCloud::Common::AbstractModel
|
187
|
+
# @param TaskId: 任务 ID。
|
188
|
+
# @type TaskId: Integer
|
189
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
190
|
+
# @type RequestId: String
|
191
|
+
|
192
|
+
attr_accessor :TaskId, :RequestId
|
193
|
+
|
194
|
+
def initialize(taskid=nil, requestid=nil)
|
195
|
+
@TaskId = taskid
|
196
|
+
@RequestId = requestid
|
197
|
+
end
|
198
|
+
|
199
|
+
def deserialize(params)
|
200
|
+
@TaskId = params['TaskId']
|
201
|
+
@RequestId = params['RequestId']
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# ClearInstance请求参数结构体
|
206
|
+
class ClearInstanceRequest < TencentCloud::Common::AbstractModel
|
207
|
+
# @param InstanceId: 实例 ID,如:kee-6ubhg****。
|
208
|
+
# @type InstanceId: String
|
209
|
+
# @param Password: 实例访问密码。
|
210
|
+
# 实例为免密访问,则无需设置该参数。
|
211
|
+
# @type Password: String
|
212
|
+
|
213
|
+
attr_accessor :InstanceId, :Password
|
214
|
+
|
215
|
+
def initialize(instanceid=nil, password=nil)
|
216
|
+
@InstanceId = instanceid
|
217
|
+
@Password = password
|
218
|
+
end
|
219
|
+
|
220
|
+
def deserialize(params)
|
221
|
+
@InstanceId = params['InstanceId']
|
222
|
+
@Password = params['Password']
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# ClearInstance返回参数结构体
|
227
|
+
class ClearInstanceResponse < TencentCloud::Common::AbstractModel
|
228
|
+
# @param TaskId: 任务 ID。
|
229
|
+
# @type TaskId: Integer
|
230
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
231
|
+
# @type RequestId: String
|
232
|
+
|
233
|
+
attr_accessor :TaskId, :RequestId
|
234
|
+
|
235
|
+
def initialize(taskid=nil, requestid=nil)
|
236
|
+
@TaskId = taskid
|
237
|
+
@RequestId = requestid
|
238
|
+
end
|
239
|
+
|
240
|
+
def deserialize(params)
|
241
|
+
@TaskId = params['TaskId']
|
242
|
+
@RequestId = params['RequestId']
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
# CreateBackupManually请求参数结构体
|
247
|
+
class CreateBackupManuallyRequest < TencentCloud::Common::AbstractModel
|
248
|
+
# @param InstanceId: 待操作的实例 ID,可通过 DescribeInstance接口返回值中的 InstanceId 获取。
|
249
|
+
# @type InstanceId: String
|
250
|
+
# @param Remark: 本次备份的备注信息。
|
251
|
+
# @type Remark: String
|
252
|
+
# @param StorageDays: 备份文件保存天数。0代表指定默认保留时间
|
253
|
+
# @type StorageDays: Integer
|
254
|
+
|
255
|
+
attr_accessor :InstanceId, :Remark, :StorageDays
|
256
|
+
|
257
|
+
def initialize(instanceid=nil, remark=nil, storagedays=nil)
|
258
|
+
@InstanceId = instanceid
|
259
|
+
@Remark = remark
|
260
|
+
@StorageDays = storagedays
|
261
|
+
end
|
262
|
+
|
263
|
+
def deserialize(params)
|
264
|
+
@InstanceId = params['InstanceId']
|
265
|
+
@Remark = params['Remark']
|
266
|
+
@StorageDays = params['StorageDays']
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
# CreateBackupManually返回参数结构体
|
271
|
+
class CreateBackupManuallyResponse < TencentCloud::Common::AbstractModel
|
272
|
+
# @param TaskId: 任务 ID。
|
273
|
+
# @type TaskId: Integer
|
274
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
275
|
+
# @type RequestId: String
|
276
|
+
|
277
|
+
attr_accessor :TaskId, :RequestId
|
278
|
+
|
279
|
+
def initialize(taskid=nil, requestid=nil)
|
280
|
+
@TaskId = taskid
|
281
|
+
@RequestId = requestid
|
282
|
+
end
|
283
|
+
|
284
|
+
def deserialize(params)
|
285
|
+
@TaskId = params['TaskId']
|
286
|
+
@RequestId = params['RequestId']
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
# CreateInstances请求参数结构体
|
291
|
+
class CreateInstancesRequest < TencentCloud::Common::AbstractModel
|
292
|
+
# @param TypeId: 产品版本。
|
293
|
+
# 14:当前仅支持混合存储版。
|
294
|
+
# @type TypeId: Integer
|
295
|
+
# @param UniqVpcId: 私有网络唯一ID。
|
296
|
+
# 请登录控制台在私有网络列表查询,如:vpc-azlk3***。
|
297
|
+
# @type UniqVpcId: String
|
298
|
+
# @param UniqSubnetId: 私有网络所属子网唯一ID。
|
299
|
+
# 请登录控制台在私有网络列表查询,如:subnet-8abje***。
|
300
|
+
# @type UniqSubnetId: String
|
301
|
+
# @param BillingMode: 计费模式。<ul><li>0:按量计费。</li><li>1:包年包月。</li></ul>
|
302
|
+
# @type BillingMode: Integer
|
303
|
+
# @param GoodsNum: 实例数量,单次最大购买数量以查询产品售卖规格返回的数量为准。
|
304
|
+
# @type GoodsNum: Integer
|
305
|
+
# @param Period: 选择包年包月计费模式(BillingMode 设置为1)时,您需要选择购买实例的时长。单位:月,取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。按量计费(BillingMode 设置为0)实例该参数设置为1即可。
|
306
|
+
# @type Period: Integer
|
307
|
+
# @param ShardNum: 分片数量,支持选择3、5、6、8、9、10、12、15、16、18、20、21、24、25、27、30、32、33、35、36、39、40、42、45、48、50、51、54、55、56、57、60、63、64分片。
|
308
|
+
# @type ShardNum: Integer
|
309
|
+
# @param ReplicasNum: 副本数。当前仅支持设置1个副本节点,即每一个分片仅包含1个主节点与1个副本节点,数据主从实时热备。
|
310
|
+
# @type ReplicasNum: Integer
|
311
|
+
# @param MachineCpu: 计算cpu核心数。
|
312
|
+
# @type MachineCpu: Integer
|
313
|
+
# @param MachineMemory: 实例内存容量,单位:GB。
|
314
|
+
# KeeWiDB 内存容量<b>MachineMemory</b>与持久内存容量<b>MemSize</b>为固定搭配,即2GB内存,固定分配8GB的持久内存,不可选择。具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。
|
315
|
+
# @type MachineMemory: Integer
|
316
|
+
# @param ZoneId: 实例所属的可用区ID。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></u>
|
317
|
+
# @type ZoneId: Integer
|
318
|
+
# @param ZoneName: 实例所属的可用区名称。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></u>
|
319
|
+
# @type ZoneName: String
|
320
|
+
# @param InstanceName: 创建实例的名称。
|
321
|
+
# 仅支持长度小于60的中文、英文或者数字,短划线"-"、下划线"_"。
|
322
|
+
# @type InstanceName: String
|
323
|
+
# @param NoAuth: 指明创建的实例是否需要支持免密访问。<ul><li>true:免密实例。</li><li>false:非免密实例,默认为非免密实例。此时,需要设置访问密码。</li></ul>
|
324
|
+
# @type NoAuth: Boolean
|
325
|
+
# @param Password: 实例访问密码。<ul><li>当参数<b>NoAuth</b>为<b>true</b>时,Password为无需设置,否则Password为必填参数。</li>
|
326
|
+
# <li>密码复杂度要求:<ul><li>8-30个字符。</li><li>至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种。</li><li>不能以"/"开头。</li></ul></li></ul>
|
327
|
+
# @type Password: String
|
328
|
+
# @param VPort: 自定义端口。默认为6379,范围[1024,65535]。
|
329
|
+
# @type VPort: Integer
|
330
|
+
# @param AutoRenew: 包年包月计费的续费模式。<ul><li>0:默认状态,指手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</ul>
|
331
|
+
# @type AutoRenew: Integer
|
332
|
+
# @param SecurityGroupIdList: 给实例设置安全组 ID 数组。
|
333
|
+
# @type SecurityGroupIdList: Array
|
334
|
+
# @param ResourceTags: 给实例绑定标签。
|
335
|
+
# @type ResourceTags: Array
|
336
|
+
# @param MemSize: 混合存储版,单分片持久化内存容量,单位:GB。
|
337
|
+
# KeeWiDB 内存容量<b>MachineMemory</b>与持久内存容量<b>MemSize</b>为固定搭配,即2GB内存,固定分配8GB的持久内存,不可选择。具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。
|
338
|
+
# @type MemSize: Integer
|
339
|
+
# @param DiskSize: 每个分片硬盘的容量。单位:GB。
|
340
|
+
# 每一缓存分片容量,对应的磁盘容量范围不同。具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。
|
341
|
+
# @type DiskSize: Integer
|
342
|
+
# @param ProjectId: 项目id,取值以用户账户>用户账户相关接口查询>项目列表返回的projectId为准。
|
343
|
+
# @type ProjectId: Integer
|
344
|
+
|
345
|
+
attr_accessor :TypeId, :UniqVpcId, :UniqSubnetId, :BillingMode, :GoodsNum, :Period, :ShardNum, :ReplicasNum, :MachineCpu, :MachineMemory, :ZoneId, :ZoneName, :InstanceName, :NoAuth, :Password, :VPort, :AutoRenew, :SecurityGroupIdList, :ResourceTags, :MemSize, :DiskSize, :ProjectId
|
346
|
+
|
347
|
+
def initialize(typeid=nil, uniqvpcid=nil, uniqsubnetid=nil, billingmode=nil, goodsnum=nil, period=nil, shardnum=nil, replicasnum=nil, machinecpu=nil, machinememory=nil, zoneid=nil, zonename=nil, instancename=nil, noauth=nil, password=nil, vport=nil, autorenew=nil, securitygroupidlist=nil, resourcetags=nil, memsize=nil, disksize=nil, projectid=nil)
|
348
|
+
@TypeId = typeid
|
349
|
+
@UniqVpcId = uniqvpcid
|
350
|
+
@UniqSubnetId = uniqsubnetid
|
351
|
+
@BillingMode = billingmode
|
352
|
+
@GoodsNum = goodsnum
|
353
|
+
@Period = period
|
354
|
+
@ShardNum = shardnum
|
355
|
+
@ReplicasNum = replicasnum
|
356
|
+
@MachineCpu = machinecpu
|
357
|
+
@MachineMemory = machinememory
|
358
|
+
@ZoneId = zoneid
|
359
|
+
@ZoneName = zonename
|
360
|
+
@InstanceName = instancename
|
361
|
+
@NoAuth = noauth
|
362
|
+
@Password = password
|
363
|
+
@VPort = vport
|
364
|
+
@AutoRenew = autorenew
|
365
|
+
@SecurityGroupIdList = securitygroupidlist
|
366
|
+
@ResourceTags = resourcetags
|
367
|
+
@MemSize = memsize
|
368
|
+
@DiskSize = disksize
|
369
|
+
@ProjectId = projectid
|
370
|
+
end
|
371
|
+
|
372
|
+
def deserialize(params)
|
373
|
+
@TypeId = params['TypeId']
|
374
|
+
@UniqVpcId = params['UniqVpcId']
|
375
|
+
@UniqSubnetId = params['UniqSubnetId']
|
376
|
+
@BillingMode = params['BillingMode']
|
377
|
+
@GoodsNum = params['GoodsNum']
|
378
|
+
@Period = params['Period']
|
379
|
+
@ShardNum = params['ShardNum']
|
380
|
+
@ReplicasNum = params['ReplicasNum']
|
381
|
+
@MachineCpu = params['MachineCpu']
|
382
|
+
@MachineMemory = params['MachineMemory']
|
383
|
+
@ZoneId = params['ZoneId']
|
384
|
+
@ZoneName = params['ZoneName']
|
385
|
+
@InstanceName = params['InstanceName']
|
386
|
+
@NoAuth = params['NoAuth']
|
387
|
+
@Password = params['Password']
|
388
|
+
@VPort = params['VPort']
|
389
|
+
@AutoRenew = params['AutoRenew']
|
390
|
+
@SecurityGroupIdList = params['SecurityGroupIdList']
|
391
|
+
unless params['ResourceTags'].nil?
|
392
|
+
@ResourceTags = []
|
393
|
+
params['ResourceTags'].each do |i|
|
394
|
+
resourcetag_tmp = ResourceTag.new
|
395
|
+
resourcetag_tmp.deserialize(i)
|
396
|
+
@ResourceTags << resourcetag_tmp
|
397
|
+
end
|
398
|
+
end
|
399
|
+
@MemSize = params['MemSize']
|
400
|
+
@DiskSize = params['DiskSize']
|
401
|
+
@ProjectId = params['ProjectId']
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
# CreateInstances返回参数结构体
|
406
|
+
class CreateInstancesResponse < TencentCloud::Common::AbstractModel
|
407
|
+
# @param DealId: 交易 ID。
|
408
|
+
# @type DealId: String
|
409
|
+
# @param InstanceIds: 实例 ID 。
|
410
|
+
# @type InstanceIds: Array
|
411
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
412
|
+
# @type RequestId: String
|
413
|
+
|
414
|
+
attr_accessor :DealId, :InstanceIds, :RequestId
|
415
|
+
|
416
|
+
def initialize(dealid=nil, instanceids=nil, requestid=nil)
|
417
|
+
@DealId = dealid
|
418
|
+
@InstanceIds = instanceids
|
419
|
+
@RequestId = requestid
|
420
|
+
end
|
421
|
+
|
422
|
+
def deserialize(params)
|
423
|
+
@DealId = params['DealId']
|
424
|
+
@InstanceIds = params['InstanceIds']
|
425
|
+
@RequestId = params['RequestId']
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
# DescribeAutoBackupConfig请求参数结构体
|
430
|
+
class DescribeAutoBackupConfigRequest < TencentCloud::Common::AbstractModel
|
431
|
+
# @param InstanceId: 实例 ID。
|
432
|
+
# @type InstanceId: String
|
433
|
+
|
434
|
+
attr_accessor :InstanceId
|
435
|
+
|
436
|
+
def initialize(instanceid=nil)
|
437
|
+
@InstanceId = instanceid
|
438
|
+
end
|
439
|
+
|
440
|
+
def deserialize(params)
|
441
|
+
@InstanceId = params['InstanceId']
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
445
|
+
# DescribeAutoBackupConfig返回参数结构体
|
446
|
+
class DescribeAutoBackupConfigResponse < TencentCloud::Common::AbstractModel
|
447
|
+
# @param WeekDays: 自动备份的周期。包括:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday。
|
448
|
+
# @type WeekDays: Array
|
449
|
+
# @param TimePeriod: 自动备份时间段。
|
450
|
+
# @type TimePeriod: String
|
451
|
+
# @param BackupStorageDays: 全量备份文件保存天数。
|
452
|
+
# @type BackupStorageDays: Integer
|
453
|
+
# @param BinlogStorageDays: 增量备份文件保存天数。
|
454
|
+
# @type BinlogStorageDays: Integer
|
455
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
456
|
+
# @type RequestId: String
|
457
|
+
|
458
|
+
attr_accessor :WeekDays, :TimePeriod, :BackupStorageDays, :BinlogStorageDays, :RequestId
|
459
|
+
|
460
|
+
def initialize(weekdays=nil, timeperiod=nil, backupstoragedays=nil, binlogstoragedays=nil, requestid=nil)
|
461
|
+
@WeekDays = weekdays
|
462
|
+
@TimePeriod = timeperiod
|
463
|
+
@BackupStorageDays = backupstoragedays
|
464
|
+
@BinlogStorageDays = binlogstoragedays
|
465
|
+
@RequestId = requestid
|
466
|
+
end
|
467
|
+
|
468
|
+
def deserialize(params)
|
469
|
+
@WeekDays = params['WeekDays']
|
470
|
+
@TimePeriod = params['TimePeriod']
|
471
|
+
@BackupStorageDays = params['BackupStorageDays']
|
472
|
+
@BinlogStorageDays = params['BinlogStorageDays']
|
473
|
+
@RequestId = params['RequestId']
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
# DescribeDBSecurityGroups请求参数结构体
|
478
|
+
class DescribeDBSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
479
|
+
# @param Product: 数据库引擎名称:keewidb。
|
480
|
+
# @type Product: String
|
481
|
+
# @param InstanceId: 实例ID,格式如:kee-c1nl9***。
|
482
|
+
# @type InstanceId: String
|
483
|
+
|
484
|
+
attr_accessor :Product, :InstanceId
|
485
|
+
|
486
|
+
def initialize(product=nil, instanceid=nil)
|
487
|
+
@Product = product
|
488
|
+
@InstanceId = instanceid
|
489
|
+
end
|
490
|
+
|
491
|
+
def deserialize(params)
|
492
|
+
@Product = params['Product']
|
493
|
+
@InstanceId = params['InstanceId']
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
# DescribeDBSecurityGroups返回参数结构体
|
498
|
+
class DescribeDBSecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
499
|
+
# @param Groups: 安全组规则。
|
500
|
+
# @type Groups: Array
|
501
|
+
# @param VIP: 安全组生效内网地址。
|
502
|
+
# @type VIP: String
|
503
|
+
# @param VPort: 安全组生效内网端口。
|
504
|
+
# @type VPort: String
|
505
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
506
|
+
# @type RequestId: String
|
507
|
+
|
508
|
+
attr_accessor :Groups, :VIP, :VPort, :RequestId
|
509
|
+
|
510
|
+
def initialize(groups=nil, vip=nil, vport=nil, requestid=nil)
|
511
|
+
@Groups = groups
|
512
|
+
@VIP = vip
|
513
|
+
@VPort = vport
|
514
|
+
@RequestId = requestid
|
515
|
+
end
|
516
|
+
|
517
|
+
def deserialize(params)
|
518
|
+
unless params['Groups'].nil?
|
519
|
+
@Groups = []
|
520
|
+
params['Groups'].each do |i|
|
521
|
+
securitygroup_tmp = SecurityGroup.new
|
522
|
+
securitygroup_tmp.deserialize(i)
|
523
|
+
@Groups << securitygroup_tmp
|
524
|
+
end
|
525
|
+
end
|
526
|
+
@VIP = params['VIP']
|
527
|
+
@VPort = params['VPort']
|
528
|
+
@RequestId = params['RequestId']
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
# DescribeInstanceBackups请求参数结构体
|
533
|
+
class DescribeInstanceBackupsRequest < TencentCloud::Common::AbstractModel
|
534
|
+
# @param InstanceId: 待操作的实例ID,可通过 DescribeInstance 接口返回值中的 InstanceId 获取。
|
535
|
+
# @type InstanceId: String
|
536
|
+
# @param Limit: 每页输出的备份列表大小,即每页输出的备份文件的数量,默认值20,取值范围为[1,100]。
|
537
|
+
# @type Limit: Integer
|
538
|
+
# @param Offset: 备份列表分页偏移量,取Limit整数倍。
|
539
|
+
# 计算公式为offset=limit*(页码-1)。例如 limit=10,第1页offset就为0,第2页offset就为10,依次类推。
|
540
|
+
# @type Offset: Integer
|
541
|
+
# @param BeginTime: 查询备份文件的开始时间,格式如:2017-02-08 16:46:34。查询实例在 [BeginTime, EndTime] 时间段内的备份列表。
|
542
|
+
# @type BeginTime: String
|
543
|
+
# @param EndTime: 查询备份文件的结束时间,格式如:2017-02-08 19:09:26。查询实例在 [beginTime, endTime] 时间段内的备份列表。
|
544
|
+
# @type EndTime: String
|
545
|
+
# @param Status: 备份任务状态。<ul><li>1:备份在流程中。</li><li>2:备份正常。</li><li>3:备份转RDB文件处理中。</li><li>4:已完成RDB转换。</li><li>-1:备份已过期。</li><li>-2:备份已删除。</li></ul>
|
546
|
+
# @type Status: Array
|
547
|
+
|
548
|
+
attr_accessor :InstanceId, :Limit, :Offset, :BeginTime, :EndTime, :Status
|
549
|
+
|
550
|
+
def initialize(instanceid=nil, limit=nil, offset=nil, begintime=nil, endtime=nil, status=nil)
|
551
|
+
@InstanceId = instanceid
|
552
|
+
@Limit = limit
|
553
|
+
@Offset = offset
|
554
|
+
@BeginTime = begintime
|
555
|
+
@EndTime = endtime
|
556
|
+
@Status = status
|
557
|
+
end
|
558
|
+
|
559
|
+
def deserialize(params)
|
560
|
+
@InstanceId = params['InstanceId']
|
561
|
+
@Limit = params['Limit']
|
562
|
+
@Offset = params['Offset']
|
563
|
+
@BeginTime = params['BeginTime']
|
564
|
+
@EndTime = params['EndTime']
|
565
|
+
@Status = params['Status']
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
# DescribeInstanceBackups返回参数结构体
|
570
|
+
class DescribeInstanceBackupsResponse < TencentCloud::Common::AbstractModel
|
571
|
+
# @param TotalCount: 备份文件总数。
|
572
|
+
# @type TotalCount: Integer
|
573
|
+
# @param BackupSet: 废弃字段。
|
574
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
575
|
+
# @type BackupSet: Array
|
576
|
+
# @param BackupRecord: 实例备份信息列表。
|
577
|
+
# @type BackupRecord: Array
|
578
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
579
|
+
# @type RequestId: String
|
580
|
+
|
581
|
+
attr_accessor :TotalCount, :BackupSet, :BackupRecord, :RequestId
|
582
|
+
|
583
|
+
def initialize(totalcount=nil, backupset=nil, backuprecord=nil, requestid=nil)
|
584
|
+
@TotalCount = totalcount
|
585
|
+
@BackupSet = backupset
|
586
|
+
@BackupRecord = backuprecord
|
587
|
+
@RequestId = requestid
|
588
|
+
end
|
589
|
+
|
590
|
+
def deserialize(params)
|
591
|
+
@TotalCount = params['TotalCount']
|
592
|
+
unless params['BackupSet'].nil?
|
593
|
+
@BackupSet = []
|
594
|
+
params['BackupSet'].each do |i|
|
595
|
+
binloginfo_tmp = BinlogInfo.new
|
596
|
+
binloginfo_tmp.deserialize(i)
|
597
|
+
@BackupSet << binloginfo_tmp
|
598
|
+
end
|
599
|
+
end
|
600
|
+
unless params['BackupRecord'].nil?
|
601
|
+
@BackupRecord = []
|
602
|
+
params['BackupRecord'].each do |i|
|
603
|
+
backupinfo_tmp = BackupInfo.new
|
604
|
+
backupinfo_tmp.deserialize(i)
|
605
|
+
@BackupRecord << backupinfo_tmp
|
606
|
+
end
|
607
|
+
end
|
608
|
+
@RequestId = params['RequestId']
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
# DescribeInstanceBinlogs请求参数结构体
|
613
|
+
class DescribeInstanceBinlogsRequest < TencentCloud::Common::AbstractModel
|
614
|
+
# @param InstanceId: 实例 ID。
|
615
|
+
# @type InstanceId: String
|
616
|
+
# @param Limit: 每页输出备份列表大小,默认大小20。
|
617
|
+
# @type Limit: Integer
|
618
|
+
# @param Offset: 分页偏移量,取Limit整数倍。
|
619
|
+
# @type Offset: Integer
|
620
|
+
# @param BeginTime: 开始时间,格式如:2017-02-08 16:46:34。查询实例在 [beginTime, endTime] 时间段内开始备份的备份列表。
|
621
|
+
# @type BeginTime: String
|
622
|
+
# @param EndTime: 结束时间,格式如:2017-02-08 19:09:26。查询实例在 [beginTime, endTime] 时间段内开始备份的备份列表。
|
623
|
+
# @type EndTime: String
|
624
|
+
|
625
|
+
attr_accessor :InstanceId, :Limit, :Offset, :BeginTime, :EndTime
|
626
|
+
|
627
|
+
def initialize(instanceid=nil, limit=nil, offset=nil, begintime=nil, endtime=nil)
|
628
|
+
@InstanceId = instanceid
|
629
|
+
@Limit = limit
|
630
|
+
@Offset = offset
|
631
|
+
@BeginTime = begintime
|
632
|
+
@EndTime = endtime
|
633
|
+
end
|
634
|
+
|
635
|
+
def deserialize(params)
|
636
|
+
@InstanceId = params['InstanceId']
|
637
|
+
@Limit = params['Limit']
|
638
|
+
@Offset = params['Offset']
|
639
|
+
@BeginTime = params['BeginTime']
|
640
|
+
@EndTime = params['EndTime']
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
644
|
+
# DescribeInstanceBinlogs返回参数结构体
|
645
|
+
class DescribeInstanceBinlogsResponse < TencentCloud::Common::AbstractModel
|
646
|
+
# @param TotalCount: 备份总数
|
647
|
+
# @type TotalCount: Integer
|
648
|
+
# @param BackupSet: 实例的备份信息数组
|
649
|
+
# @type BackupSet: Array
|
650
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
651
|
+
# @type RequestId: String
|
652
|
+
|
653
|
+
attr_accessor :TotalCount, :BackupSet, :RequestId
|
654
|
+
|
655
|
+
def initialize(totalcount=nil, backupset=nil, requestid=nil)
|
656
|
+
@TotalCount = totalcount
|
657
|
+
@BackupSet = backupset
|
658
|
+
@RequestId = requestid
|
659
|
+
end
|
660
|
+
|
661
|
+
def deserialize(params)
|
662
|
+
@TotalCount = params['TotalCount']
|
663
|
+
unless params['BackupSet'].nil?
|
664
|
+
@BackupSet = []
|
665
|
+
params['BackupSet'].each do |i|
|
666
|
+
binloginfo_tmp = BinlogInfo.new
|
667
|
+
binloginfo_tmp.deserialize(i)
|
668
|
+
@BackupSet << binloginfo_tmp
|
669
|
+
end
|
670
|
+
end
|
671
|
+
@RequestId = params['RequestId']
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
# DescribeInstanceNodeInfo请求参数结构体
|
676
|
+
class DescribeInstanceNodeInfoRequest < TencentCloud::Common::AbstractModel
|
677
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
678
|
+
# @type InstanceId: String
|
679
|
+
# @param Limit: 每页输出的节点信息大小。默认为 20。
|
680
|
+
# @type Limit: Integer
|
681
|
+
# @param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
682
|
+
# @type Offset: Integer
|
683
|
+
|
684
|
+
attr_accessor :InstanceId, :Limit, :Offset
|
685
|
+
|
686
|
+
def initialize(instanceid=nil, limit=nil, offset=nil)
|
687
|
+
@InstanceId = instanceid
|
688
|
+
@Limit = limit
|
689
|
+
@Offset = offset
|
690
|
+
end
|
691
|
+
|
692
|
+
def deserialize(params)
|
693
|
+
@InstanceId = params['InstanceId']
|
694
|
+
@Limit = params['Limit']
|
695
|
+
@Offset = params['Offset']
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
# DescribeInstanceNodeInfo返回参数结构体
|
700
|
+
class DescribeInstanceNodeInfoResponse < TencentCloud::Common::AbstractModel
|
701
|
+
# @param ProxyCount: Proxy 节点数量。
|
702
|
+
# @type ProxyCount: Integer
|
703
|
+
# @param Proxy: Proxy 节点信息。
|
704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
705
|
+
# @type Proxy: Array
|
706
|
+
# @param RedisCount: Redis 节点数量。该参数仅为产品兼容性而保留,并不具有实际意义,可忽略。
|
707
|
+
# @type RedisCount: Integer
|
708
|
+
# @param Redis: Redis 节点信息。该参数仅为产品兼容性而保留,并不具有实际意义,可忽略。
|
709
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
710
|
+
# @type Redis: Array
|
711
|
+
# @param TendisCount: Tendis 节点数量。该参数仅为产品兼容性而保留,并不具有实际意义,可忽略。
|
712
|
+
# @type TendisCount: Integer
|
713
|
+
# @param Tendis: Tendis 节点信息。该参数仅为产品兼容性而保留,并不具有实际意义,可忽略。
|
714
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
715
|
+
# @type Tendis: Array
|
716
|
+
# @param KeeWiDBCount: KeewiDB 节点数量。
|
717
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
718
|
+
# @type KeeWiDBCount: Integer
|
719
|
+
# @param KeeWiDB: KeewiDB 节点信息。
|
720
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
721
|
+
# @type KeeWiDB: Array
|
722
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
723
|
+
# @type RequestId: String
|
724
|
+
|
725
|
+
attr_accessor :ProxyCount, :Proxy, :RedisCount, :Redis, :TendisCount, :Tendis, :KeeWiDBCount, :KeeWiDB, :RequestId
|
726
|
+
|
727
|
+
def initialize(proxycount=nil, proxy=nil, rediscount=nil, redis=nil, tendiscount=nil, tendis=nil, keewidbcount=nil, keewidb=nil, requestid=nil)
|
728
|
+
@ProxyCount = proxycount
|
729
|
+
@Proxy = proxy
|
730
|
+
@RedisCount = rediscount
|
731
|
+
@Redis = redis
|
732
|
+
@TendisCount = tendiscount
|
733
|
+
@Tendis = tendis
|
734
|
+
@KeeWiDBCount = keewidbcount
|
735
|
+
@KeeWiDB = keewidb
|
736
|
+
@RequestId = requestid
|
737
|
+
end
|
738
|
+
|
739
|
+
def deserialize(params)
|
740
|
+
@ProxyCount = params['ProxyCount']
|
741
|
+
unless params['Proxy'].nil?
|
742
|
+
@Proxy = []
|
743
|
+
params['Proxy'].each do |i|
|
744
|
+
proxynodeinfo_tmp = ProxyNodeInfo.new
|
745
|
+
proxynodeinfo_tmp.deserialize(i)
|
746
|
+
@Proxy << proxynodeinfo_tmp
|
747
|
+
end
|
748
|
+
end
|
749
|
+
@RedisCount = params['RedisCount']
|
750
|
+
unless params['Redis'].nil?
|
751
|
+
@Redis = []
|
752
|
+
params['Redis'].each do |i|
|
753
|
+
redisnodeinfo_tmp = RedisNodeInfo.new
|
754
|
+
redisnodeinfo_tmp.deserialize(i)
|
755
|
+
@Redis << redisnodeinfo_tmp
|
756
|
+
end
|
757
|
+
end
|
758
|
+
@TendisCount = params['TendisCount']
|
759
|
+
unless params['Tendis'].nil?
|
760
|
+
@Tendis = []
|
761
|
+
params['Tendis'].each do |i|
|
762
|
+
instancenodeinfo_tmp = InstanceNodeInfo.new
|
763
|
+
instancenodeinfo_tmp.deserialize(i)
|
764
|
+
@Tendis << instancenodeinfo_tmp
|
765
|
+
end
|
766
|
+
end
|
767
|
+
@KeeWiDBCount = params['KeeWiDBCount']
|
768
|
+
unless params['KeeWiDB'].nil?
|
769
|
+
@KeeWiDB = []
|
770
|
+
params['KeeWiDB'].each do |i|
|
771
|
+
instancenodeinfo_tmp = InstanceNodeInfo.new
|
772
|
+
instancenodeinfo_tmp.deserialize(i)
|
773
|
+
@KeeWiDB << instancenodeinfo_tmp
|
774
|
+
end
|
775
|
+
end
|
776
|
+
@RequestId = params['RequestId']
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
780
|
+
# DescribeInstanceParamRecords请求参数结构体
|
781
|
+
class DescribeInstanceParamRecordsRequest < TencentCloud::Common::AbstractModel
|
782
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
783
|
+
# @type InstanceId: String
|
784
|
+
# @param Limit: 每页输出的参数列表大小。默认为 20,最多输出100条。
|
785
|
+
# @type Limit: Integer
|
786
|
+
# @param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
787
|
+
# @type Offset: Integer
|
788
|
+
|
789
|
+
attr_accessor :InstanceId, :Limit, :Offset
|
790
|
+
|
791
|
+
def initialize(instanceid=nil, limit=nil, offset=nil)
|
792
|
+
@InstanceId = instanceid
|
793
|
+
@Limit = limit
|
794
|
+
@Offset = offset
|
795
|
+
end
|
796
|
+
|
797
|
+
def deserialize(params)
|
798
|
+
@InstanceId = params['InstanceId']
|
799
|
+
@Limit = params['Limit']
|
800
|
+
@Offset = params['Offset']
|
801
|
+
end
|
802
|
+
end
|
803
|
+
|
804
|
+
# DescribeInstanceParamRecords返回参数结构体
|
805
|
+
class DescribeInstanceParamRecordsResponse < TencentCloud::Common::AbstractModel
|
806
|
+
# @param TotalCount: 修改历史记录总数。
|
807
|
+
# @type TotalCount: Integer
|
808
|
+
# @param InstanceParamHistory: 修改历史记录信息。
|
809
|
+
# @type InstanceParamHistory: Array
|
810
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
811
|
+
# @type RequestId: String
|
812
|
+
|
813
|
+
attr_accessor :TotalCount, :InstanceParamHistory, :RequestId
|
814
|
+
|
815
|
+
def initialize(totalcount=nil, instanceparamhistory=nil, requestid=nil)
|
816
|
+
@TotalCount = totalcount
|
817
|
+
@InstanceParamHistory = instanceparamhistory
|
818
|
+
@RequestId = requestid
|
819
|
+
end
|
820
|
+
|
821
|
+
def deserialize(params)
|
822
|
+
@TotalCount = params['TotalCount']
|
823
|
+
unless params['InstanceParamHistory'].nil?
|
824
|
+
@InstanceParamHistory = []
|
825
|
+
params['InstanceParamHistory'].each do |i|
|
826
|
+
instanceparamhistory_tmp = InstanceParamHistory.new
|
827
|
+
instanceparamhistory_tmp.deserialize(i)
|
828
|
+
@InstanceParamHistory << instanceparamhistory_tmp
|
829
|
+
end
|
830
|
+
end
|
831
|
+
@RequestId = params['RequestId']
|
832
|
+
end
|
833
|
+
end
|
834
|
+
|
835
|
+
# DescribeInstanceParams请求参数结构体
|
836
|
+
class DescribeInstanceParamsRequest < TencentCloud::Common::AbstractModel
|
837
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
838
|
+
# @type InstanceId: String
|
839
|
+
|
840
|
+
attr_accessor :InstanceId
|
841
|
+
|
842
|
+
def initialize(instanceid=nil)
|
843
|
+
@InstanceId = instanceid
|
844
|
+
end
|
845
|
+
|
846
|
+
def deserialize(params)
|
847
|
+
@InstanceId = params['InstanceId']
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
# DescribeInstanceParams返回参数结构体
|
852
|
+
class DescribeInstanceParamsResponse < TencentCloud::Common::AbstractModel
|
853
|
+
# @param TotalCount: 实例参数总数量。
|
854
|
+
# @type TotalCount: Integer
|
855
|
+
# @param InstanceEnumParam: 实例枚举类型参数数组。
|
856
|
+
# @type InstanceEnumParam: Array
|
857
|
+
# @param InstanceIntegerParam: 实例整型参数数组。
|
858
|
+
# @type InstanceIntegerParam: Array
|
859
|
+
# @param InstanceTextParam: 实例字符型参数数组。
|
860
|
+
# @type InstanceTextParam: Array
|
861
|
+
# @param InstanceMultiParam: 实例多选项型参数数组。
|
862
|
+
# @type InstanceMultiParam: Array
|
863
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
864
|
+
# @type RequestId: String
|
865
|
+
|
866
|
+
attr_accessor :TotalCount, :InstanceEnumParam, :InstanceIntegerParam, :InstanceTextParam, :InstanceMultiParam, :RequestId
|
867
|
+
|
868
|
+
def initialize(totalcount=nil, instanceenumparam=nil, instanceintegerparam=nil, instancetextparam=nil, instancemultiparam=nil, requestid=nil)
|
869
|
+
@TotalCount = totalcount
|
870
|
+
@InstanceEnumParam = instanceenumparam
|
871
|
+
@InstanceIntegerParam = instanceintegerparam
|
872
|
+
@InstanceTextParam = instancetextparam
|
873
|
+
@InstanceMultiParam = instancemultiparam
|
874
|
+
@RequestId = requestid
|
875
|
+
end
|
876
|
+
|
877
|
+
def deserialize(params)
|
878
|
+
@TotalCount = params['TotalCount']
|
879
|
+
unless params['InstanceEnumParam'].nil?
|
880
|
+
@InstanceEnumParam = []
|
881
|
+
params['InstanceEnumParam'].each do |i|
|
882
|
+
instanceenumparam_tmp = InstanceEnumParam.new
|
883
|
+
instanceenumparam_tmp.deserialize(i)
|
884
|
+
@InstanceEnumParam << instanceenumparam_tmp
|
885
|
+
end
|
886
|
+
end
|
887
|
+
unless params['InstanceIntegerParam'].nil?
|
888
|
+
@InstanceIntegerParam = []
|
889
|
+
params['InstanceIntegerParam'].each do |i|
|
890
|
+
instanceintegerparam_tmp = InstanceIntegerParam.new
|
891
|
+
instanceintegerparam_tmp.deserialize(i)
|
892
|
+
@InstanceIntegerParam << instanceintegerparam_tmp
|
893
|
+
end
|
894
|
+
end
|
895
|
+
unless params['InstanceTextParam'].nil?
|
896
|
+
@InstanceTextParam = []
|
897
|
+
params['InstanceTextParam'].each do |i|
|
898
|
+
instancetextparam_tmp = InstanceTextParam.new
|
899
|
+
instancetextparam_tmp.deserialize(i)
|
900
|
+
@InstanceTextParam << instancetextparam_tmp
|
901
|
+
end
|
902
|
+
end
|
903
|
+
unless params['InstanceMultiParam'].nil?
|
904
|
+
@InstanceMultiParam = []
|
905
|
+
params['InstanceMultiParam'].each do |i|
|
906
|
+
instancemultiparam_tmp = InstanceMultiParam.new
|
907
|
+
instancemultiparam_tmp.deserialize(i)
|
908
|
+
@InstanceMultiParam << instancemultiparam_tmp
|
909
|
+
end
|
910
|
+
end
|
911
|
+
@RequestId = params['RequestId']
|
912
|
+
end
|
913
|
+
end
|
914
|
+
|
915
|
+
# DescribeInstanceReplicas请求参数结构体
|
916
|
+
class DescribeInstanceReplicasRequest < TencentCloud::Common::AbstractModel
|
917
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
918
|
+
# @type InstanceId: String
|
919
|
+
|
920
|
+
attr_accessor :InstanceId
|
921
|
+
|
922
|
+
def initialize(instanceid=nil)
|
923
|
+
@InstanceId = instanceid
|
924
|
+
end
|
925
|
+
|
926
|
+
def deserialize(params)
|
927
|
+
@InstanceId = params['InstanceId']
|
928
|
+
end
|
929
|
+
end
|
930
|
+
|
931
|
+
# DescribeInstanceReplicas返回参数结构体
|
932
|
+
class DescribeInstanceReplicasResponse < TencentCloud::Common::AbstractModel
|
933
|
+
# @param TotalCount: 实例所有节点数量,包括主节点、副本节点。
|
934
|
+
# @type TotalCount: Integer
|
935
|
+
# @param ReplicaGroups: 实例节点信息。
|
936
|
+
# @type ReplicaGroups: Array
|
937
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
938
|
+
# @type RequestId: String
|
939
|
+
|
940
|
+
attr_accessor :TotalCount, :ReplicaGroups, :RequestId
|
941
|
+
|
942
|
+
def initialize(totalcount=nil, replicagroups=nil, requestid=nil)
|
943
|
+
@TotalCount = totalcount
|
944
|
+
@ReplicaGroups = replicagroups
|
945
|
+
@RequestId = requestid
|
946
|
+
end
|
947
|
+
|
948
|
+
def deserialize(params)
|
949
|
+
@TotalCount = params['TotalCount']
|
950
|
+
unless params['ReplicaGroups'].nil?
|
951
|
+
@ReplicaGroups = []
|
952
|
+
params['ReplicaGroups'].each do |i|
|
953
|
+
replicagroup_tmp = ReplicaGroup.new
|
954
|
+
replicagroup_tmp.deserialize(i)
|
955
|
+
@ReplicaGroups << replicagroup_tmp
|
956
|
+
end
|
957
|
+
end
|
958
|
+
@RequestId = params['RequestId']
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
962
|
+
# DescribeInstances请求参数结构体
|
963
|
+
class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
|
964
|
+
# @param Limit: 每页输出的实例列表的大小,即每页输出的实例数量,默认值20,取值范围为[1,1000]。
|
965
|
+
# @type Limit: Integer
|
966
|
+
# @param Offset: 分页偏移量,取Limit整数倍。
|
967
|
+
# 计算公式为offset=limit*(页码-1)。例如 limit=10,第1页offset就为0,第2页offset就为10,依次类推。
|
968
|
+
# @type Offset: Integer
|
969
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
970
|
+
# @type InstanceId: String
|
971
|
+
# @param OrderBy: 排序依据。枚举范围如下所示。 <ul><li>projectId:实例按照项目ID排序。</li><li>createtime:实例按照创建时间排序。</li><li>instancename:实例按照实例名称排序。</li><li>type:实例按照类型排序。</li><li>curDeadline:实例按照到期时间排序。</li></ul>
|
972
|
+
# @type OrderBy: String
|
973
|
+
# @param OrderType: 排序方式。<ul><li>1:倒序。默认为倒序。</li><li>0:顺序。</li></ul>
|
974
|
+
# @type OrderType: Integer
|
975
|
+
# @param VpcIds: 私有网络ID数组。数组下标从0开始,如果不传则默认选择基础网络,如:47525
|
976
|
+
# @type VpcIds: Array
|
977
|
+
# @param SubnetIds: 子网ID数组,数组下标从0开始,如:56854
|
978
|
+
# @type SubnetIds: Array
|
979
|
+
# @param ProjectIds: 项目ID 组成的数组,数组下标从0开始
|
980
|
+
# @type ProjectIds: Array
|
981
|
+
# @param SearchKey: 查找关键字,可输入实例的ID或者实例名称。
|
982
|
+
# @type SearchKey: String
|
983
|
+
# @param InstanceName: 实例名称。
|
984
|
+
# @type InstanceName: String
|
985
|
+
# @param UniqVpcIds: 私有网络ID数组,数组下标从0开始,如果不传则默认选择基础网络,如:vpc-sad23jfdfk
|
986
|
+
# @type UniqVpcIds: Array
|
987
|
+
# @param UniqSubnetIds: 子网ID数组,数组下标从0开始,如:subnet-fdj24n34j2
|
988
|
+
# @type UniqSubnetIds: Array
|
989
|
+
# @param Status: 实例状态。<ul><li>0:待初始化。</li><li>1:流程中。</li><li>2:运行中。</li><li>-2:已隔离。</li><li>-3:待删除。</li></ul>
|
990
|
+
# @type Status: Array
|
991
|
+
# @param AutoRenew: 包年包月计费的续费模式。<ul><li>0:默认状态,指手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</ul>
|
992
|
+
# @type AutoRenew: Array
|
993
|
+
# @param BillingMode: 计费模式。<ul><li>postpaid:按量计费。</li><li>prepaid:包年包月。</li></ul>
|
994
|
+
# @type BillingMode: String
|
995
|
+
# @param Type: 实例类型。<ul><li>13:标准版。</li><li>14:集群版。</li></ul>
|
996
|
+
# @type Type: Integer
|
997
|
+
# @param SearchKeys: 搜索关键词:支持实例 ID、实例名称、私有网络IP地址。
|
998
|
+
# @type SearchKeys: Array
|
999
|
+
# @param TypeList: 内部参数,用户可忽略。
|
1000
|
+
# @type TypeList: Array
|
1001
|
+
# @param MonitorVersion: 内部参数,用户可忽略。
|
1002
|
+
# @type MonitorVersion: String
|
1003
|
+
# @param InstanceTags: 根据标签的 Key 和 Value 筛选资源。该参数不配置或者数组设置为空值,则不根据标签进行过滤。
|
1004
|
+
# @type InstanceTags: :class:`Tencentcloud::Keewidb.v20220308.models.InstanceTagInfo`
|
1005
|
+
# @param TagKeys: 根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。
|
1006
|
+
# @type TagKeys: Array
|
1007
|
+
|
1008
|
+
attr_accessor :Limit, :Offset, :InstanceId, :OrderBy, :OrderType, :VpcIds, :SubnetIds, :ProjectIds, :SearchKey, :InstanceName, :UniqVpcIds, :UniqSubnetIds, :Status, :AutoRenew, :BillingMode, :Type, :SearchKeys, :TypeList, :MonitorVersion, :InstanceTags, :TagKeys
|
1009
|
+
|
1010
|
+
def initialize(limit=nil, offset=nil, instanceid=nil, orderby=nil, ordertype=nil, vpcids=nil, subnetids=nil, projectids=nil, searchkey=nil, instancename=nil, uniqvpcids=nil, uniqsubnetids=nil, status=nil, autorenew=nil, billingmode=nil, type=nil, searchkeys=nil, typelist=nil, monitorversion=nil, instancetags=nil, tagkeys=nil)
|
1011
|
+
@Limit = limit
|
1012
|
+
@Offset = offset
|
1013
|
+
@InstanceId = instanceid
|
1014
|
+
@OrderBy = orderby
|
1015
|
+
@OrderType = ordertype
|
1016
|
+
@VpcIds = vpcids
|
1017
|
+
@SubnetIds = subnetids
|
1018
|
+
@ProjectIds = projectids
|
1019
|
+
@SearchKey = searchkey
|
1020
|
+
@InstanceName = instancename
|
1021
|
+
@UniqVpcIds = uniqvpcids
|
1022
|
+
@UniqSubnetIds = uniqsubnetids
|
1023
|
+
@Status = status
|
1024
|
+
@AutoRenew = autorenew
|
1025
|
+
@BillingMode = billingmode
|
1026
|
+
@Type = type
|
1027
|
+
@SearchKeys = searchkeys
|
1028
|
+
@TypeList = typelist
|
1029
|
+
@MonitorVersion = monitorversion
|
1030
|
+
@InstanceTags = instancetags
|
1031
|
+
@TagKeys = tagkeys
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
def deserialize(params)
|
1035
|
+
@Limit = params['Limit']
|
1036
|
+
@Offset = params['Offset']
|
1037
|
+
@InstanceId = params['InstanceId']
|
1038
|
+
@OrderBy = params['OrderBy']
|
1039
|
+
@OrderType = params['OrderType']
|
1040
|
+
@VpcIds = params['VpcIds']
|
1041
|
+
@SubnetIds = params['SubnetIds']
|
1042
|
+
@ProjectIds = params['ProjectIds']
|
1043
|
+
@SearchKey = params['SearchKey']
|
1044
|
+
@InstanceName = params['InstanceName']
|
1045
|
+
@UniqVpcIds = params['UniqVpcIds']
|
1046
|
+
@UniqSubnetIds = params['UniqSubnetIds']
|
1047
|
+
@Status = params['Status']
|
1048
|
+
@AutoRenew = params['AutoRenew']
|
1049
|
+
@BillingMode = params['BillingMode']
|
1050
|
+
@Type = params['Type']
|
1051
|
+
@SearchKeys = params['SearchKeys']
|
1052
|
+
@TypeList = params['TypeList']
|
1053
|
+
@MonitorVersion = params['MonitorVersion']
|
1054
|
+
unless params['InstanceTags'].nil?
|
1055
|
+
@InstanceTags = InstanceTagInfo.new
|
1056
|
+
@InstanceTags.deserialize(params['InstanceTags'])
|
1057
|
+
end
|
1058
|
+
@TagKeys = params['TagKeys']
|
1059
|
+
end
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
# DescribeInstances返回参数结构体
|
1063
|
+
class DescribeInstancesResponse < TencentCloud::Common::AbstractModel
|
1064
|
+
# @param TotalCount: 实例数
|
1065
|
+
# @type TotalCount: Integer
|
1066
|
+
# @param InstanceSet: 实例详细信息列表
|
1067
|
+
# @type InstanceSet: Array
|
1068
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1069
|
+
# @type RequestId: String
|
1070
|
+
|
1071
|
+
attr_accessor :TotalCount, :InstanceSet, :RequestId
|
1072
|
+
|
1073
|
+
def initialize(totalcount=nil, instanceset=nil, requestid=nil)
|
1074
|
+
@TotalCount = totalcount
|
1075
|
+
@InstanceSet = instanceset
|
1076
|
+
@RequestId = requestid
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
def deserialize(params)
|
1080
|
+
@TotalCount = params['TotalCount']
|
1081
|
+
unless params['InstanceSet'].nil?
|
1082
|
+
@InstanceSet = []
|
1083
|
+
params['InstanceSet'].each do |i|
|
1084
|
+
instanceinfo_tmp = InstanceInfo.new
|
1085
|
+
instanceinfo_tmp.deserialize(i)
|
1086
|
+
@InstanceSet << instanceinfo_tmp
|
1087
|
+
end
|
1088
|
+
end
|
1089
|
+
@RequestId = params['RequestId']
|
1090
|
+
end
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
# DescribeMaintenanceWindow请求参数结构体
|
1094
|
+
class DescribeMaintenanceWindowRequest < TencentCloud::Common::AbstractModel
|
1095
|
+
# @param InstanceId: 实例 ID,如:kee-6ubhg***。
|
1096
|
+
# @type InstanceId: String
|
1097
|
+
|
1098
|
+
attr_accessor :InstanceId
|
1099
|
+
|
1100
|
+
def initialize(instanceid=nil)
|
1101
|
+
@InstanceId = instanceid
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
def deserialize(params)
|
1105
|
+
@InstanceId = params['InstanceId']
|
1106
|
+
end
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
# DescribeMaintenanceWindow返回参数结构体
|
1110
|
+
class DescribeMaintenanceWindowResponse < TencentCloud::Common::AbstractModel
|
1111
|
+
# @param StartTime: 维护时间窗起始时间,如:03:00。
|
1112
|
+
# @type StartTime: String
|
1113
|
+
# @param EndTime: 维护时间窗结束时间,如:06:00。
|
1114
|
+
# @type EndTime: String
|
1115
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1116
|
+
# @type RequestId: String
|
1117
|
+
|
1118
|
+
attr_accessor :StartTime, :EndTime, :RequestId
|
1119
|
+
|
1120
|
+
def initialize(starttime=nil, endtime=nil, requestid=nil)
|
1121
|
+
@StartTime = starttime
|
1122
|
+
@EndTime = endtime
|
1123
|
+
@RequestId = requestid
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
def deserialize(params)
|
1127
|
+
@StartTime = params['StartTime']
|
1128
|
+
@EndTime = params['EndTime']
|
1129
|
+
@RequestId = params['RequestId']
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
# DescribeProductInfo请求参数结构体
|
1134
|
+
class DescribeProductInfoRequest < TencentCloud::Common::AbstractModel
|
1135
|
+
|
1136
|
+
|
1137
|
+
def initialize()
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
def deserialize(params)
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
# DescribeProductInfo返回参数结构体
|
1145
|
+
class DescribeProductInfoResponse < TencentCloud::Common::AbstractModel
|
1146
|
+
# @param RegionSet: 地域售卖信息
|
1147
|
+
# @type RegionSet: Array
|
1148
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1149
|
+
# @type RequestId: String
|
1150
|
+
|
1151
|
+
attr_accessor :RegionSet, :RequestId
|
1152
|
+
|
1153
|
+
def initialize(regionset=nil, requestid=nil)
|
1154
|
+
@RegionSet = regionset
|
1155
|
+
@RequestId = requestid
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
def deserialize(params)
|
1159
|
+
unless params['RegionSet'].nil?
|
1160
|
+
@RegionSet = []
|
1161
|
+
params['RegionSet'].each do |i|
|
1162
|
+
regionconf_tmp = RegionConf.new
|
1163
|
+
regionconf_tmp.deserialize(i)
|
1164
|
+
@RegionSet << regionconf_tmp
|
1165
|
+
end
|
1166
|
+
end
|
1167
|
+
@RequestId = params['RequestId']
|
1168
|
+
end
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
# DescribeProjectSecurityGroups请求参数结构体
|
1172
|
+
class DescribeProjectSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
1173
|
+
# @param Product: 数据库引擎名称。该产品固定为 keewidb。
|
1174
|
+
# @type Product: String
|
1175
|
+
# @param ProjectId: 项目 ID。
|
1176
|
+
# 登录 [账号中心](https://console.cloud.tencent.com/developer),在<b>项目管理</b>中可获取项目 ID。
|
1177
|
+
# @type ProjectId: Integer
|
1178
|
+
# @param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
1179
|
+
# @type Offset: Integer
|
1180
|
+
# @param Limit: 每页安全组的数量限制。默认为 20,最多输出100条。
|
1181
|
+
# @type Limit: Integer
|
1182
|
+
# @param SearchKey: 搜索关键词,支持根据安全组 ID 或者安全组名称搜索。
|
1183
|
+
# @type SearchKey: String
|
1184
|
+
|
1185
|
+
attr_accessor :Product, :ProjectId, :Offset, :Limit, :SearchKey
|
1186
|
+
|
1187
|
+
def initialize(product=nil, projectid=nil, offset=nil, limit=nil, searchkey=nil)
|
1188
|
+
@Product = product
|
1189
|
+
@ProjectId = projectid
|
1190
|
+
@Offset = offset
|
1191
|
+
@Limit = limit
|
1192
|
+
@SearchKey = searchkey
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
def deserialize(params)
|
1196
|
+
@Product = params['Product']
|
1197
|
+
@ProjectId = params['ProjectId']
|
1198
|
+
@Offset = params['Offset']
|
1199
|
+
@Limit = params['Limit']
|
1200
|
+
@SearchKey = params['SearchKey']
|
1201
|
+
end
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
# DescribeProjectSecurityGroups返回参数结构体
|
1205
|
+
class DescribeProjectSecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
1206
|
+
# @param Groups: 安全组规则。
|
1207
|
+
# @type Groups: Array
|
1208
|
+
# @param Total: 符合条件的安全组总数量。
|
1209
|
+
# @type Total: Integer
|
1210
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1211
|
+
# @type RequestId: String
|
1212
|
+
|
1213
|
+
attr_accessor :Groups, :Total, :RequestId
|
1214
|
+
|
1215
|
+
def initialize(groups=nil, total=nil, requestid=nil)
|
1216
|
+
@Groups = groups
|
1217
|
+
@Total = total
|
1218
|
+
@RequestId = requestid
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
def deserialize(params)
|
1222
|
+
unless params['Groups'].nil?
|
1223
|
+
@Groups = []
|
1224
|
+
params['Groups'].each do |i|
|
1225
|
+
securitygroup_tmp = SecurityGroup.new
|
1226
|
+
securitygroup_tmp.deserialize(i)
|
1227
|
+
@Groups << securitygroup_tmp
|
1228
|
+
end
|
1229
|
+
end
|
1230
|
+
@Total = params['Total']
|
1231
|
+
@RequestId = params['RequestId']
|
1232
|
+
end
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
# DescribeProxySlowLog请求参数结构体
|
1236
|
+
class DescribeProxySlowLogRequest < TencentCloud::Common::AbstractModel
|
1237
|
+
# @param InstanceId: 实例 ID,如:kee-6ubhgouj
|
1238
|
+
# @type InstanceId: String
|
1239
|
+
# @param BeginTime: 开始时间。
|
1240
|
+
# @type BeginTime: String
|
1241
|
+
# @param EndTime: 结束时间。
|
1242
|
+
# @type EndTime: String
|
1243
|
+
# @param MinQueryTime: 慢查询平均执行时间阈值。<ul><li>单位:毫秒。</li><li>取值范围:10、20、30、40、50。</li></ul>
|
1244
|
+
# @type MinQueryTime: Integer
|
1245
|
+
# @param Limit: 每个页面大小,即每个页面输出慢日志的数量。取值范围为:10、20、30、40、50,默认为 20。
|
1246
|
+
# @type Limit: Integer
|
1247
|
+
# @param Offset: 页面偏移量,取Limit整数倍,计算公式:offset=limit*(页码-1)。
|
1248
|
+
# @type Offset: Integer
|
1249
|
+
|
1250
|
+
attr_accessor :InstanceId, :BeginTime, :EndTime, :MinQueryTime, :Limit, :Offset
|
1251
|
+
|
1252
|
+
def initialize(instanceid=nil, begintime=nil, endtime=nil, minquerytime=nil, limit=nil, offset=nil)
|
1253
|
+
@InstanceId = instanceid
|
1254
|
+
@BeginTime = begintime
|
1255
|
+
@EndTime = endtime
|
1256
|
+
@MinQueryTime = minquerytime
|
1257
|
+
@Limit = limit
|
1258
|
+
@Offset = offset
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
def deserialize(params)
|
1262
|
+
@InstanceId = params['InstanceId']
|
1263
|
+
@BeginTime = params['BeginTime']
|
1264
|
+
@EndTime = params['EndTime']
|
1265
|
+
@MinQueryTime = params['MinQueryTime']
|
1266
|
+
@Limit = params['Limit']
|
1267
|
+
@Offset = params['Offset']
|
1268
|
+
end
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
# DescribeProxySlowLog返回参数结构体
|
1272
|
+
class DescribeProxySlowLogResponse < TencentCloud::Common::AbstractModel
|
1273
|
+
# @param TotalCount: 慢查询总数。
|
1274
|
+
# @type TotalCount: Integer
|
1275
|
+
# @param InstanceProxySlowLogDetail: 慢查询详情。
|
1276
|
+
# @type InstanceProxySlowLogDetail: Array
|
1277
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1278
|
+
# @type RequestId: String
|
1279
|
+
|
1280
|
+
attr_accessor :TotalCount, :InstanceProxySlowLogDetail, :RequestId
|
1281
|
+
|
1282
|
+
def initialize(totalcount=nil, instanceproxyslowlogdetail=nil, requestid=nil)
|
1283
|
+
@TotalCount = totalcount
|
1284
|
+
@InstanceProxySlowLogDetail = instanceproxyslowlogdetail
|
1285
|
+
@RequestId = requestid
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
def deserialize(params)
|
1289
|
+
@TotalCount = params['TotalCount']
|
1290
|
+
unless params['InstanceProxySlowLogDetail'].nil?
|
1291
|
+
@InstanceProxySlowLogDetail = []
|
1292
|
+
params['InstanceProxySlowLogDetail'].each do |i|
|
1293
|
+
instanceproxyslowlogdetail_tmp = InstanceProxySlowlogDetail.new
|
1294
|
+
instanceproxyslowlogdetail_tmp.deserialize(i)
|
1295
|
+
@InstanceProxySlowLogDetail << instanceproxyslowlogdetail_tmp
|
1296
|
+
end
|
1297
|
+
end
|
1298
|
+
@RequestId = params['RequestId']
|
1299
|
+
end
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# DescribeTaskInfo请求参数结构体
|
1303
|
+
class DescribeTaskInfoRequest < TencentCloud::Common::AbstractModel
|
1304
|
+
# @param TaskId: 任务 ID。
|
1305
|
+
# @type TaskId: Integer
|
1306
|
+
|
1307
|
+
attr_accessor :TaskId
|
1308
|
+
|
1309
|
+
def initialize(taskid=nil)
|
1310
|
+
@TaskId = taskid
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
def deserialize(params)
|
1314
|
+
@TaskId = params['TaskId']
|
1315
|
+
end
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
# DescribeTaskInfo返回参数结构体
|
1319
|
+
class DescribeTaskInfoResponse < TencentCloud::Common::AbstractModel
|
1320
|
+
# @param Status: 任务状态。<ul><li>preparing:待执行。</li><li>running:执行中。</li><li>succeed:成功。</li><li>failed:失败。</li><li>error:执行出错。</li></ul>
|
1321
|
+
# @type Status: String
|
1322
|
+
# @param StartTime: 任务开始时间。
|
1323
|
+
# @type StartTime: String
|
1324
|
+
# @param TaskType: 任务类型。
|
1325
|
+
# @type TaskType: String
|
1326
|
+
# @param InstanceId: 实例的ID。
|
1327
|
+
# @type InstanceId: String
|
1328
|
+
# @param TaskMessage: 任务信息,错误时显示错误信息。执行中与成功则为空值。
|
1329
|
+
# @type TaskMessage: String
|
1330
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1331
|
+
# @type RequestId: String
|
1332
|
+
|
1333
|
+
attr_accessor :Status, :StartTime, :TaskType, :InstanceId, :TaskMessage, :RequestId
|
1334
|
+
|
1335
|
+
def initialize(status=nil, starttime=nil, tasktype=nil, instanceid=nil, taskmessage=nil, requestid=nil)
|
1336
|
+
@Status = status
|
1337
|
+
@StartTime = starttime
|
1338
|
+
@TaskType = tasktype
|
1339
|
+
@InstanceId = instanceid
|
1340
|
+
@TaskMessage = taskmessage
|
1341
|
+
@RequestId = requestid
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
def deserialize(params)
|
1345
|
+
@Status = params['Status']
|
1346
|
+
@StartTime = params['StartTime']
|
1347
|
+
@TaskType = params['TaskType']
|
1348
|
+
@InstanceId = params['InstanceId']
|
1349
|
+
@TaskMessage = params['TaskMessage']
|
1350
|
+
@RequestId = params['RequestId']
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
# DescribeTaskList请求参数结构体
|
1355
|
+
class DescribeTaskListRequest < TencentCloud::Common::AbstractModel
|
1356
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
1357
|
+
# @type InstanceId: String
|
1358
|
+
# @param InstanceName: 实例名称。
|
1359
|
+
# @type InstanceName: String
|
1360
|
+
# @param Limit: 每页输出的任务列表大小。默认为 20,最多输出100条。
|
1361
|
+
# @type Limit: Integer
|
1362
|
+
# @param Offset: Offset:分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
1363
|
+
# @type Offset: Integer
|
1364
|
+
# @param ProjectIds: 项目ID。
|
1365
|
+
# @type ProjectIds: Array
|
1366
|
+
# @param TaskTypes: 任务类型。可设置为:FLOW_CREATE、FLOW_SETPWD、FLOW_CLOSE等。
|
1367
|
+
# @type TaskTypes: Array
|
1368
|
+
# @param BeginTime: 起始时间。
|
1369
|
+
# @type BeginTime: String
|
1370
|
+
# @param EndTime: 终止时间。
|
1371
|
+
# @type EndTime: String
|
1372
|
+
# @param TaskStatus: 任务状态。
|
1373
|
+
# @type TaskStatus: Array
|
1374
|
+
|
1375
|
+
attr_accessor :InstanceId, :InstanceName, :Limit, :Offset, :ProjectIds, :TaskTypes, :BeginTime, :EndTime, :TaskStatus
|
1376
|
+
|
1377
|
+
def initialize(instanceid=nil, instancename=nil, limit=nil, offset=nil, projectids=nil, tasktypes=nil, begintime=nil, endtime=nil, taskstatus=nil)
|
1378
|
+
@InstanceId = instanceid
|
1379
|
+
@InstanceName = instancename
|
1380
|
+
@Limit = limit
|
1381
|
+
@Offset = offset
|
1382
|
+
@ProjectIds = projectids
|
1383
|
+
@TaskTypes = tasktypes
|
1384
|
+
@BeginTime = begintime
|
1385
|
+
@EndTime = endtime
|
1386
|
+
@TaskStatus = taskstatus
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
def deserialize(params)
|
1390
|
+
@InstanceId = params['InstanceId']
|
1391
|
+
@InstanceName = params['InstanceName']
|
1392
|
+
@Limit = params['Limit']
|
1393
|
+
@Offset = params['Offset']
|
1394
|
+
@ProjectIds = params['ProjectIds']
|
1395
|
+
@TaskTypes = params['TaskTypes']
|
1396
|
+
@BeginTime = params['BeginTime']
|
1397
|
+
@EndTime = params['EndTime']
|
1398
|
+
@TaskStatus = params['TaskStatus']
|
1399
|
+
end
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
# DescribeTaskList返回参数结构体
|
1403
|
+
class DescribeTaskListResponse < TencentCloud::Common::AbstractModel
|
1404
|
+
# @param TotalCount: 任务总数。
|
1405
|
+
# @type TotalCount: Integer
|
1406
|
+
# @param Tasks: 任务详细信息列表。
|
1407
|
+
# @type Tasks: Array
|
1408
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1409
|
+
# @type RequestId: String
|
1410
|
+
|
1411
|
+
attr_accessor :TotalCount, :Tasks, :RequestId
|
1412
|
+
|
1413
|
+
def initialize(totalcount=nil, tasks=nil, requestid=nil)
|
1414
|
+
@TotalCount = totalcount
|
1415
|
+
@Tasks = tasks
|
1416
|
+
@RequestId = requestid
|
1417
|
+
end
|
1418
|
+
|
1419
|
+
def deserialize(params)
|
1420
|
+
@TotalCount = params['TotalCount']
|
1421
|
+
unless params['Tasks'].nil?
|
1422
|
+
@Tasks = []
|
1423
|
+
params['Tasks'].each do |i|
|
1424
|
+
taskinfodetail_tmp = TaskInfoDetail.new
|
1425
|
+
taskinfodetail_tmp.deserialize(i)
|
1426
|
+
@Tasks << taskinfodetail_tmp
|
1427
|
+
end
|
1428
|
+
end
|
1429
|
+
@RequestId = params['RequestId']
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
# DescribeTendisSlowLog请求参数结构体
|
1434
|
+
class DescribeTendisSlowLogRequest < TencentCloud::Common::AbstractModel
|
1435
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
1436
|
+
# @type InstanceId: String
|
1437
|
+
# @param BeginTime: 开始时间。
|
1438
|
+
# @type BeginTime: String
|
1439
|
+
# @param EndTime: 结束时间。
|
1440
|
+
# @type EndTime: String
|
1441
|
+
# @param MinQueryTime: 慢查询平均执行时间阈值。<ul><li>单位:毫秒。</li><li>取值范围:10、20、30、40、50。</li></ul>
|
1442
|
+
# @type MinQueryTime: Integer
|
1443
|
+
# @param Limit: 每个页面大小,即每个页面输出慢日志的数量。取值范围为:10、20、30、40、50。默认为 20。
|
1444
|
+
# @type Limit: Integer
|
1445
|
+
# @param Offset: 页面偏移量,取Limit整数倍,计算公式:offset=limit*(页码-1)。
|
1446
|
+
# @type Offset: Integer
|
1447
|
+
|
1448
|
+
attr_accessor :InstanceId, :BeginTime, :EndTime, :MinQueryTime, :Limit, :Offset
|
1449
|
+
|
1450
|
+
def initialize(instanceid=nil, begintime=nil, endtime=nil, minquerytime=nil, limit=nil, offset=nil)
|
1451
|
+
@InstanceId = instanceid
|
1452
|
+
@BeginTime = begintime
|
1453
|
+
@EndTime = endtime
|
1454
|
+
@MinQueryTime = minquerytime
|
1455
|
+
@Limit = limit
|
1456
|
+
@Offset = offset
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
def deserialize(params)
|
1460
|
+
@InstanceId = params['InstanceId']
|
1461
|
+
@BeginTime = params['BeginTime']
|
1462
|
+
@EndTime = params['EndTime']
|
1463
|
+
@MinQueryTime = params['MinQueryTime']
|
1464
|
+
@Limit = params['Limit']
|
1465
|
+
@Offset = params['Offset']
|
1466
|
+
end
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
# DescribeTendisSlowLog返回参数结构体
|
1470
|
+
class DescribeTendisSlowLogResponse < TencentCloud::Common::AbstractModel
|
1471
|
+
# @param TendisSlowLogDetail: 慢查询详情。
|
1472
|
+
# @type TendisSlowLogDetail: Array
|
1473
|
+
# @param TotalCount: 慢查询总数。
|
1474
|
+
# @type TotalCount: Integer
|
1475
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1476
|
+
# @type RequestId: String
|
1477
|
+
|
1478
|
+
attr_accessor :TendisSlowLogDetail, :TotalCount, :RequestId
|
1479
|
+
|
1480
|
+
def initialize(tendisslowlogdetail=nil, totalcount=nil, requestid=nil)
|
1481
|
+
@TendisSlowLogDetail = tendisslowlogdetail
|
1482
|
+
@TotalCount = totalcount
|
1483
|
+
@RequestId = requestid
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
def deserialize(params)
|
1487
|
+
unless params['TendisSlowLogDetail'].nil?
|
1488
|
+
@TendisSlowLogDetail = []
|
1489
|
+
params['TendisSlowLogDetail'].each do |i|
|
1490
|
+
tendisslowlogdetail_tmp = TendisSlowLogDetail.new
|
1491
|
+
tendisslowlogdetail_tmp.deserialize(i)
|
1492
|
+
@TendisSlowLogDetail << tendisslowlogdetail_tmp
|
1493
|
+
end
|
1494
|
+
end
|
1495
|
+
@TotalCount = params['TotalCount']
|
1496
|
+
@RequestId = params['RequestId']
|
1497
|
+
end
|
1498
|
+
end
|
1499
|
+
|
1500
|
+
# DestroyPostpaidInstance请求参数结构体
|
1501
|
+
class DestroyPostpaidInstanceRequest < TencentCloud::Common::AbstractModel
|
1502
|
+
# @param InstanceId: 实例 ID。
|
1503
|
+
# @type InstanceId: String
|
1504
|
+
|
1505
|
+
attr_accessor :InstanceId
|
1506
|
+
|
1507
|
+
def initialize(instanceid=nil)
|
1508
|
+
@InstanceId = instanceid
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
def deserialize(params)
|
1512
|
+
@InstanceId = params['InstanceId']
|
1513
|
+
end
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
# DestroyPostpaidInstance返回参数结构体
|
1517
|
+
class DestroyPostpaidInstanceResponse < TencentCloud::Common::AbstractModel
|
1518
|
+
# @param TaskId: 任务 ID。
|
1519
|
+
# @type TaskId: Integer
|
1520
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1521
|
+
# @type RequestId: String
|
1522
|
+
|
1523
|
+
attr_accessor :TaskId, :RequestId
|
1524
|
+
|
1525
|
+
def initialize(taskid=nil, requestid=nil)
|
1526
|
+
@TaskId = taskid
|
1527
|
+
@RequestId = requestid
|
1528
|
+
end
|
1529
|
+
|
1530
|
+
def deserialize(params)
|
1531
|
+
@TaskId = params['TaskId']
|
1532
|
+
@RequestId = params['RequestId']
|
1533
|
+
end
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
# DestroyPrepaidInstance请求参数结构体
|
1537
|
+
class DestroyPrepaidInstanceRequest < TencentCloud::Common::AbstractModel
|
1538
|
+
# @param InstanceId: 实例 ID。
|
1539
|
+
# @type InstanceId: String
|
1540
|
+
|
1541
|
+
attr_accessor :InstanceId
|
1542
|
+
|
1543
|
+
def initialize(instanceid=nil)
|
1544
|
+
@InstanceId = instanceid
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
def deserialize(params)
|
1548
|
+
@InstanceId = params['InstanceId']
|
1549
|
+
end
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
# DestroyPrepaidInstance返回参数结构体
|
1553
|
+
class DestroyPrepaidInstanceResponse < TencentCloud::Common::AbstractModel
|
1554
|
+
# @param DealId: 交易ID。
|
1555
|
+
# @type DealId: String
|
1556
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1557
|
+
# @type RequestId: String
|
1558
|
+
|
1559
|
+
attr_accessor :DealId, :RequestId
|
1560
|
+
|
1561
|
+
def initialize(dealid=nil, requestid=nil)
|
1562
|
+
@DealId = dealid
|
1563
|
+
@RequestId = requestid
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
def deserialize(params)
|
1567
|
+
@DealId = params['DealId']
|
1568
|
+
@RequestId = params['RequestId']
|
1569
|
+
end
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
# DisassociateSecurityGroups请求参数结构体
|
1573
|
+
class DisassociateSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
1574
|
+
# @param Product: 数据库引擎名称:keewidb。
|
1575
|
+
# @type Product: String
|
1576
|
+
# @param SecurityGroupId: 要绑定的安全组 ID,类似sg-efil****。
|
1577
|
+
# @type SecurityGroupId: String
|
1578
|
+
# @param InstanceIds: 实例 ID,格式如:kee-c1nl****,支持指定多个实例。
|
1579
|
+
# @type InstanceIds: Array
|
1580
|
+
|
1581
|
+
attr_accessor :Product, :SecurityGroupId, :InstanceIds
|
1582
|
+
|
1583
|
+
def initialize(product=nil, securitygroupid=nil, instanceids=nil)
|
1584
|
+
@Product = product
|
1585
|
+
@SecurityGroupId = securitygroupid
|
1586
|
+
@InstanceIds = instanceids
|
1587
|
+
end
|
1588
|
+
|
1589
|
+
def deserialize(params)
|
1590
|
+
@Product = params['Product']
|
1591
|
+
@SecurityGroupId = params['SecurityGroupId']
|
1592
|
+
@InstanceIds = params['InstanceIds']
|
1593
|
+
end
|
1594
|
+
end
|
1595
|
+
|
1596
|
+
# DisassociateSecurityGroups返回参数结构体
|
1597
|
+
class DisassociateSecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
1598
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1599
|
+
# @type RequestId: String
|
1600
|
+
|
1601
|
+
attr_accessor :RequestId
|
1602
|
+
|
1603
|
+
def initialize(requestid=nil)
|
1604
|
+
@RequestId = requestid
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
def deserialize(params)
|
1608
|
+
@RequestId = params['RequestId']
|
1609
|
+
end
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
# 安全组入站规则
|
1613
|
+
class Inbound < TencentCloud::Common::AbstractModel
|
1614
|
+
# @param Action: 策略,ACCEPT或者DROP。
|
1615
|
+
# @type Action: String
|
1616
|
+
# @param AddressModule: 地址组id代表的地址集合。
|
1617
|
+
# @type AddressModule: String
|
1618
|
+
# @param CidrIp: 来源Ip或Ip段,例如192.168.0.0/16。
|
1619
|
+
# @type CidrIp: String
|
1620
|
+
# @param Desc: 描述。
|
1621
|
+
# @type Desc: String
|
1622
|
+
# @param IpProtocol: 网络协议,支持udp、tcp等。
|
1623
|
+
# @type IpProtocol: String
|
1624
|
+
# @param PortRange: 端口。
|
1625
|
+
# @type PortRange: String
|
1626
|
+
# @param ServiceModule: 服务组id代表的协议和端口集合。
|
1627
|
+
# @type ServiceModule: String
|
1628
|
+
# @param Id: 安全组id代表的地址集合。
|
1629
|
+
# @type Id: String
|
1630
|
+
|
1631
|
+
attr_accessor :Action, :AddressModule, :CidrIp, :Desc, :IpProtocol, :PortRange, :ServiceModule, :Id
|
1632
|
+
|
1633
|
+
def initialize(action=nil, addressmodule=nil, cidrip=nil, desc=nil, ipprotocol=nil, portrange=nil, servicemodule=nil, id=nil)
|
1634
|
+
@Action = action
|
1635
|
+
@AddressModule = addressmodule
|
1636
|
+
@CidrIp = cidrip
|
1637
|
+
@Desc = desc
|
1638
|
+
@IpProtocol = ipprotocol
|
1639
|
+
@PortRange = portrange
|
1640
|
+
@ServiceModule = servicemodule
|
1641
|
+
@Id = id
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
def deserialize(params)
|
1645
|
+
@Action = params['Action']
|
1646
|
+
@AddressModule = params['AddressModule']
|
1647
|
+
@CidrIp = params['CidrIp']
|
1648
|
+
@Desc = params['Desc']
|
1649
|
+
@IpProtocol = params['IpProtocol']
|
1650
|
+
@PortRange = params['PortRange']
|
1651
|
+
@ServiceModule = params['ServiceModule']
|
1652
|
+
@Id = params['Id']
|
1653
|
+
end
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
# 实例枚举类型参数描述
|
1657
|
+
class InstanceEnumParam < TencentCloud::Common::AbstractModel
|
1658
|
+
# @param ParamName: 参数名
|
1659
|
+
# @type ParamName: String
|
1660
|
+
# @param ValueType: 参数类型:enum
|
1661
|
+
# @type ValueType: String
|
1662
|
+
# @param NeedRestart: 修改后是否需要重启:true,false
|
1663
|
+
# @type NeedRestart: String
|
1664
|
+
# @param DefaultValue: 参数默认值
|
1665
|
+
# @type DefaultValue: String
|
1666
|
+
# @param CurrentValue: 当前运行参数值
|
1667
|
+
# @type CurrentValue: String
|
1668
|
+
# @param Tips: 参数说明
|
1669
|
+
# @type Tips: String
|
1670
|
+
# @param EnumValue: 参数可取值
|
1671
|
+
# @type EnumValue: Array
|
1672
|
+
# @param Status: 参数状态, 1: 修改中, 2:修改完成
|
1673
|
+
# @type Status: Integer
|
1674
|
+
|
1675
|
+
attr_accessor :ParamName, :ValueType, :NeedRestart, :DefaultValue, :CurrentValue, :Tips, :EnumValue, :Status
|
1676
|
+
|
1677
|
+
def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, enumvalue=nil, status=nil)
|
1678
|
+
@ParamName = paramname
|
1679
|
+
@ValueType = valuetype
|
1680
|
+
@NeedRestart = needrestart
|
1681
|
+
@DefaultValue = defaultvalue
|
1682
|
+
@CurrentValue = currentvalue
|
1683
|
+
@Tips = tips
|
1684
|
+
@EnumValue = enumvalue
|
1685
|
+
@Status = status
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
def deserialize(params)
|
1689
|
+
@ParamName = params['ParamName']
|
1690
|
+
@ValueType = params['ValueType']
|
1691
|
+
@NeedRestart = params['NeedRestart']
|
1692
|
+
@DefaultValue = params['DefaultValue']
|
1693
|
+
@CurrentValue = params['CurrentValue']
|
1694
|
+
@Tips = params['Tips']
|
1695
|
+
@EnumValue = params['EnumValue']
|
1696
|
+
@Status = params['Status']
|
1697
|
+
end
|
1698
|
+
end
|
1699
|
+
|
1700
|
+
# 实例详细信息
|
1701
|
+
class InstanceInfo < TencentCloud::Common::AbstractModel
|
1702
|
+
# @param InstanceName: 实例名称。
|
1703
|
+
# @type InstanceName: String
|
1704
|
+
# @param InstanceId: 实例 ID。
|
1705
|
+
# @type InstanceId: String
|
1706
|
+
# @param Appid: 用户的Appid。
|
1707
|
+
# @type Appid: Integer
|
1708
|
+
# @param ProjectId: 项目 ID。
|
1709
|
+
# @type ProjectId: Integer
|
1710
|
+
# @param RegionId: 地域ID。<ul><li>1:广州。</li><li>4:上海。</li><li>8:北京。</li></ul>
|
1711
|
+
# @type RegionId: Integer
|
1712
|
+
# @param ZoneId: 可用区 ID。
|
1713
|
+
# @type ZoneId: Integer
|
1714
|
+
# @param VpcId: VPC 网络 ID, 如:75101。该参数当前暂保留,可忽略。
|
1715
|
+
# @type VpcId: Integer
|
1716
|
+
# @param Status: 实例当前状态。<ul><li>0:待初始化。</li><li>1:实例在流程中。</li><li>2:实例运行中。</li><li>-2:实例已隔离。</li><li>-3:实例待删除。</li></ul>
|
1717
|
+
# @type Status: Integer
|
1718
|
+
# @param SubnetId: VPC 网络下子网 ID, 如:46315。该参数当前暂保留,可忽略。
|
1719
|
+
# @type SubnetId: Integer
|
1720
|
+
# @param WanIp: 实例 VIP。
|
1721
|
+
# @type WanIp: String
|
1722
|
+
# @param Port: 实例端口号。
|
1723
|
+
# @type Port: Integer
|
1724
|
+
# @param Createtime: 实例创建时间。
|
1725
|
+
# @type Createtime: String
|
1726
|
+
# @param Size: 实例持久内存总容量大小,单位:MB。
|
1727
|
+
# @type Size: Float
|
1728
|
+
# @param Type: 实例类型。<ul><li>13:标准版。</li><li>14:集群版。</li></ul>
|
1729
|
+
# @type Type: Integer
|
1730
|
+
# @param AutoRenewFlag: 实例是否设置自动续费标识。<ul><li>1:设置自动续费。</li><li>0:未设置自动续费。</li></ul>
|
1731
|
+
# @type AutoRenewFlag: Integer
|
1732
|
+
# @param DeadlineTime: 实例到期时间。
|
1733
|
+
# @type DeadlineTime: String
|
1734
|
+
# @param Engine: 存储引擎。
|
1735
|
+
# @type Engine: String
|
1736
|
+
# @param ProductType: 产品类型。<ul><li>standalone :标准版。</li><li>cluster :集群版。</li></ul>
|
1737
|
+
# @type ProductType: String
|
1738
|
+
# @param UniqVpcId: VPC 网络 ID, 如:vpc-fk33jsf4****。
|
1739
|
+
# @type UniqVpcId: String
|
1740
|
+
# @param UniqSubnetId: VPC 网络下子网 ID,如:subnet-fd3j6l3****。
|
1741
|
+
# @type UniqSubnetId: String
|
1742
|
+
# @param BillingMode: 计费模式。<ul><li>0:按量计费。</li><li>1:包年包月。</li></ul>
|
1743
|
+
# @type BillingMode: Integer
|
1744
|
+
# @param InstanceTitle: 实例运行状态描述:如”实例运行中“。
|
1745
|
+
# @type InstanceTitle: String
|
1746
|
+
# @param OfflineTime: 计划下线时间。
|
1747
|
+
# @type OfflineTime: String
|
1748
|
+
# @param SubStatus: 流程中的实例,返回子状态。
|
1749
|
+
# @type SubStatus: Integer
|
1750
|
+
# @param Tags: 反亲和性标签
|
1751
|
+
# @type Tags: Array
|
1752
|
+
# @param RedisShardSize: 分片大小。
|
1753
|
+
# @type RedisShardSize: Integer
|
1754
|
+
# @param RedisShardNum: 分片数量。
|
1755
|
+
# @type RedisShardNum: Integer
|
1756
|
+
# @param RedisReplicasNum: 副本数量。
|
1757
|
+
# @type RedisReplicasNum: Integer
|
1758
|
+
# @param PriceId: 计费 ID。
|
1759
|
+
# @type PriceId: Integer
|
1760
|
+
# @param CloseTime: 隔离时间。
|
1761
|
+
# @type CloseTime: String
|
1762
|
+
# @param SlaveReadWeight: 从节点读取权重。
|
1763
|
+
# @type SlaveReadWeight: Integer
|
1764
|
+
# @param InstanceTags: 实例关联的标签信息。
|
1765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1766
|
+
# @type InstanceTags: Array
|
1767
|
+
# @param ProjectName: 项目名称。
|
1768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1769
|
+
# @type ProjectName: String
|
1770
|
+
# @param NoAuth: 是否为免密实例;<ul><li>true:免密实例。</li><li>false:非免密实例。</li></ul>
|
1771
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1772
|
+
# @type NoAuth: Boolean
|
1773
|
+
# @param ClientLimit: 客户端连接数。
|
1774
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1775
|
+
# @type ClientLimit: Integer
|
1776
|
+
# @param DtsStatus: DTS状态(内部参数,用户可忽略)。
|
1777
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1778
|
+
# @type DtsStatus: Integer
|
1779
|
+
# @param NetLimit: 分片带宽上限,单位 MB。
|
1780
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1781
|
+
# @type NetLimit: Integer
|
1782
|
+
# @param PasswordFree: 免密实例标识(内部参数,用户可忽略)。
|
1783
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1784
|
+
# @type PasswordFree: Integer
|
1785
|
+
# @param ReadOnly: 实例只读标识(内部参数,用户可忽略)。
|
1786
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1787
|
+
# @type ReadOnly: Integer
|
1788
|
+
# @param Vip6: 内部参数,用户可忽略。
|
1789
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1790
|
+
# @type Vip6: String
|
1791
|
+
# @param RemainBandwidthDuration: 内部参数,用户可忽略。
|
1792
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1793
|
+
# @type RemainBandwidthDuration: String
|
1794
|
+
# @param DiskSize: 实例的磁盘容量大小。
|
1795
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1796
|
+
# @type DiskSize: Integer
|
1797
|
+
# @param MonitorVersion: 监控版本。<ul><li>1m:分钟粒度监控。</li><li>5s:5秒粒度监控。</li></ul>
|
1798
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1799
|
+
# @type MonitorVersion: String
|
1800
|
+
# @param ClientLimitMin: 客户端最大连接数可设置的最小值。
|
1801
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1802
|
+
# @type ClientLimitMin: Integer
|
1803
|
+
# @param ClientLimitMax: 客户端最大连接数可设置的最大值。
|
1804
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1805
|
+
# @type ClientLimitMax: Integer
|
1806
|
+
# @param NodeSet: 实例的节点详细信息。
|
1807
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1808
|
+
# @type NodeSet: Array
|
1809
|
+
# @param Region: 实例所在的地域信息,比如ap-guangzhou。
|
1810
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1811
|
+
# @type Region: String
|
1812
|
+
# @param MachineMemory: 实例内存容量,单位:GB。KeeWiDB 内存容量
|
1813
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1814
|
+
# @type MachineMemory: Integer
|
1815
|
+
# @param DiskShardSize: 单分片磁盘大小,单位:MB
|
1816
|
+
# @type DiskShardSize: Integer
|
1817
|
+
# @param DiskShardNum: 3
|
1818
|
+
# @type DiskShardNum: Integer
|
1819
|
+
# @param DiskReplicasNum: 1
|
1820
|
+
# @type DiskReplicasNum: Integer
|
1821
|
+
|
1822
|
+
attr_accessor :InstanceName, :InstanceId, :Appid, :ProjectId, :RegionId, :ZoneId, :VpcId, :Status, :SubnetId, :WanIp, :Port, :Createtime, :Size, :Type, :AutoRenewFlag, :DeadlineTime, :Engine, :ProductType, :UniqVpcId, :UniqSubnetId, :BillingMode, :InstanceTitle, :OfflineTime, :SubStatus, :Tags, :RedisShardSize, :RedisShardNum, :RedisReplicasNum, :PriceId, :CloseTime, :SlaveReadWeight, :InstanceTags, :ProjectName, :NoAuth, :ClientLimit, :DtsStatus, :NetLimit, :PasswordFree, :ReadOnly, :Vip6, :RemainBandwidthDuration, :DiskSize, :MonitorVersion, :ClientLimitMin, :ClientLimitMax, :NodeSet, :Region, :MachineMemory, :DiskShardSize, :DiskShardNum, :DiskReplicasNum
|
1823
|
+
|
1824
|
+
def initialize(instancename=nil, instanceid=nil, appid=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, status=nil, subnetid=nil, wanip=nil, port=nil, createtime=nil, size=nil, type=nil, autorenewflag=nil, deadlinetime=nil, engine=nil, producttype=nil, uniqvpcid=nil, uniqsubnetid=nil, billingmode=nil, instancetitle=nil, offlinetime=nil, substatus=nil, tags=nil, redisshardsize=nil, redisshardnum=nil, redisreplicasnum=nil, priceid=nil, closetime=nil, slavereadweight=nil, instancetags=nil, projectname=nil, noauth=nil, clientlimit=nil, dtsstatus=nil, netlimit=nil, passwordfree=nil, readonly=nil, vip6=nil, remainbandwidthduration=nil, disksize=nil, monitorversion=nil, clientlimitmin=nil, clientlimitmax=nil, nodeset=nil, region=nil, machinememory=nil, diskshardsize=nil, diskshardnum=nil, diskreplicasnum=nil)
|
1825
|
+
@InstanceName = instancename
|
1826
|
+
@InstanceId = instanceid
|
1827
|
+
@Appid = appid
|
1828
|
+
@ProjectId = projectid
|
1829
|
+
@RegionId = regionid
|
1830
|
+
@ZoneId = zoneid
|
1831
|
+
@VpcId = vpcid
|
1832
|
+
@Status = status
|
1833
|
+
@SubnetId = subnetid
|
1834
|
+
@WanIp = wanip
|
1835
|
+
@Port = port
|
1836
|
+
@Createtime = createtime
|
1837
|
+
@Size = size
|
1838
|
+
@Type = type
|
1839
|
+
@AutoRenewFlag = autorenewflag
|
1840
|
+
@DeadlineTime = deadlinetime
|
1841
|
+
@Engine = engine
|
1842
|
+
@ProductType = producttype
|
1843
|
+
@UniqVpcId = uniqvpcid
|
1844
|
+
@UniqSubnetId = uniqsubnetid
|
1845
|
+
@BillingMode = billingmode
|
1846
|
+
@InstanceTitle = instancetitle
|
1847
|
+
@OfflineTime = offlinetime
|
1848
|
+
@SubStatus = substatus
|
1849
|
+
@Tags = tags
|
1850
|
+
@RedisShardSize = redisshardsize
|
1851
|
+
@RedisShardNum = redisshardnum
|
1852
|
+
@RedisReplicasNum = redisreplicasnum
|
1853
|
+
@PriceId = priceid
|
1854
|
+
@CloseTime = closetime
|
1855
|
+
@SlaveReadWeight = slavereadweight
|
1856
|
+
@InstanceTags = instancetags
|
1857
|
+
@ProjectName = projectname
|
1858
|
+
@NoAuth = noauth
|
1859
|
+
@ClientLimit = clientlimit
|
1860
|
+
@DtsStatus = dtsstatus
|
1861
|
+
@NetLimit = netlimit
|
1862
|
+
@PasswordFree = passwordfree
|
1863
|
+
@ReadOnly = readonly
|
1864
|
+
@Vip6 = vip6
|
1865
|
+
@RemainBandwidthDuration = remainbandwidthduration
|
1866
|
+
@DiskSize = disksize
|
1867
|
+
@MonitorVersion = monitorversion
|
1868
|
+
@ClientLimitMin = clientlimitmin
|
1869
|
+
@ClientLimitMax = clientlimitmax
|
1870
|
+
@NodeSet = nodeset
|
1871
|
+
@Region = region
|
1872
|
+
@MachineMemory = machinememory
|
1873
|
+
@DiskShardSize = diskshardsize
|
1874
|
+
@DiskShardNum = diskshardnum
|
1875
|
+
@DiskReplicasNum = diskreplicasnum
|
1876
|
+
end
|
1877
|
+
|
1878
|
+
def deserialize(params)
|
1879
|
+
@InstanceName = params['InstanceName']
|
1880
|
+
@InstanceId = params['InstanceId']
|
1881
|
+
@Appid = params['Appid']
|
1882
|
+
@ProjectId = params['ProjectId']
|
1883
|
+
@RegionId = params['RegionId']
|
1884
|
+
@ZoneId = params['ZoneId']
|
1885
|
+
@VpcId = params['VpcId']
|
1886
|
+
@Status = params['Status']
|
1887
|
+
@SubnetId = params['SubnetId']
|
1888
|
+
@WanIp = params['WanIp']
|
1889
|
+
@Port = params['Port']
|
1890
|
+
@Createtime = params['Createtime']
|
1891
|
+
@Size = params['Size']
|
1892
|
+
@Type = params['Type']
|
1893
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
1894
|
+
@DeadlineTime = params['DeadlineTime']
|
1895
|
+
@Engine = params['Engine']
|
1896
|
+
@ProductType = params['ProductType']
|
1897
|
+
@UniqVpcId = params['UniqVpcId']
|
1898
|
+
@UniqSubnetId = params['UniqSubnetId']
|
1899
|
+
@BillingMode = params['BillingMode']
|
1900
|
+
@InstanceTitle = params['InstanceTitle']
|
1901
|
+
@OfflineTime = params['OfflineTime']
|
1902
|
+
@SubStatus = params['SubStatus']
|
1903
|
+
@Tags = params['Tags']
|
1904
|
+
@RedisShardSize = params['RedisShardSize']
|
1905
|
+
@RedisShardNum = params['RedisShardNum']
|
1906
|
+
@RedisReplicasNum = params['RedisReplicasNum']
|
1907
|
+
@PriceId = params['PriceId']
|
1908
|
+
@CloseTime = params['CloseTime']
|
1909
|
+
@SlaveReadWeight = params['SlaveReadWeight']
|
1910
|
+
unless params['InstanceTags'].nil?
|
1911
|
+
@InstanceTags = []
|
1912
|
+
params['InstanceTags'].each do |i|
|
1913
|
+
instancetaginfo_tmp = InstanceTagInfo.new
|
1914
|
+
instancetaginfo_tmp.deserialize(i)
|
1915
|
+
@InstanceTags << instancetaginfo_tmp
|
1916
|
+
end
|
1917
|
+
end
|
1918
|
+
@ProjectName = params['ProjectName']
|
1919
|
+
@NoAuth = params['NoAuth']
|
1920
|
+
@ClientLimit = params['ClientLimit']
|
1921
|
+
@DtsStatus = params['DtsStatus']
|
1922
|
+
@NetLimit = params['NetLimit']
|
1923
|
+
@PasswordFree = params['PasswordFree']
|
1924
|
+
@ReadOnly = params['ReadOnly']
|
1925
|
+
@Vip6 = params['Vip6']
|
1926
|
+
@RemainBandwidthDuration = params['RemainBandwidthDuration']
|
1927
|
+
@DiskSize = params['DiskSize']
|
1928
|
+
@MonitorVersion = params['MonitorVersion']
|
1929
|
+
@ClientLimitMin = params['ClientLimitMin']
|
1930
|
+
@ClientLimitMax = params['ClientLimitMax']
|
1931
|
+
unless params['NodeSet'].nil?
|
1932
|
+
@NodeSet = []
|
1933
|
+
params['NodeSet'].each do |i|
|
1934
|
+
nodeinfo_tmp = NodeInfo.new
|
1935
|
+
nodeinfo_tmp.deserialize(i)
|
1936
|
+
@NodeSet << nodeinfo_tmp
|
1937
|
+
end
|
1938
|
+
end
|
1939
|
+
@Region = params['Region']
|
1940
|
+
@MachineMemory = params['MachineMemory']
|
1941
|
+
@DiskShardSize = params['DiskShardSize']
|
1942
|
+
@DiskShardNum = params['DiskShardNum']
|
1943
|
+
@DiskReplicasNum = params['DiskReplicasNum']
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
# 实例整型参数描述
|
1948
|
+
class InstanceIntegerParam < TencentCloud::Common::AbstractModel
|
1949
|
+
# @param ParamName: 参数名
|
1950
|
+
# @type ParamName: String
|
1951
|
+
# @param ValueType: 参数类型:integer
|
1952
|
+
# @type ValueType: String
|
1953
|
+
# @param NeedRestart: 修改后是否需要重启:true,false
|
1954
|
+
# @type NeedRestart: String
|
1955
|
+
# @param DefaultValue: 参数默认值
|
1956
|
+
# @type DefaultValue: String
|
1957
|
+
# @param CurrentValue: 当前运行参数值
|
1958
|
+
# @type CurrentValue: String
|
1959
|
+
# @param Tips: 参数说明
|
1960
|
+
# @type Tips: String
|
1961
|
+
# @param Min: 参数最小值
|
1962
|
+
# @type Min: String
|
1963
|
+
# @param Max: 参数最大值
|
1964
|
+
# @type Max: String
|
1965
|
+
# @param Status: 参数状态, 1: 修改中, 2:修改完成
|
1966
|
+
# @type Status: Integer
|
1967
|
+
# @param Unit: 参数单位
|
1968
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1969
|
+
# @type Unit: String
|
1970
|
+
|
1971
|
+
attr_accessor :ParamName, :ValueType, :NeedRestart, :DefaultValue, :CurrentValue, :Tips, :Min, :Max, :Status, :Unit
|
1972
|
+
|
1973
|
+
def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, min=nil, max=nil, status=nil, unit=nil)
|
1974
|
+
@ParamName = paramname
|
1975
|
+
@ValueType = valuetype
|
1976
|
+
@NeedRestart = needrestart
|
1977
|
+
@DefaultValue = defaultvalue
|
1978
|
+
@CurrentValue = currentvalue
|
1979
|
+
@Tips = tips
|
1980
|
+
@Min = min
|
1981
|
+
@Max = max
|
1982
|
+
@Status = status
|
1983
|
+
@Unit = unit
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
def deserialize(params)
|
1987
|
+
@ParamName = params['ParamName']
|
1988
|
+
@ValueType = params['ValueType']
|
1989
|
+
@NeedRestart = params['NeedRestart']
|
1990
|
+
@DefaultValue = params['DefaultValue']
|
1991
|
+
@CurrentValue = params['CurrentValue']
|
1992
|
+
@Tips = params['Tips']
|
1993
|
+
@Min = params['Min']
|
1994
|
+
@Max = params['Max']
|
1995
|
+
@Status = params['Status']
|
1996
|
+
@Unit = params['Unit']
|
1997
|
+
end
|
1998
|
+
end
|
1999
|
+
|
2000
|
+
# 实例多选项类型参数描述
|
2001
|
+
class InstanceMultiParam < TencentCloud::Common::AbstractModel
|
2002
|
+
# @param ParamName: 参数名
|
2003
|
+
# @type ParamName: String
|
2004
|
+
# @param ValueType: 参数类型:multi
|
2005
|
+
# @type ValueType: String
|
2006
|
+
# @param NeedRestart: 修改后是否需要重启:true,false
|
2007
|
+
# @type NeedRestart: String
|
2008
|
+
# @param DefaultValue: 参数默认值
|
2009
|
+
# @type DefaultValue: String
|
2010
|
+
# @param CurrentValue: 当前运行参数值
|
2011
|
+
# @type CurrentValue: String
|
2012
|
+
# @param Tips: 参数说明
|
2013
|
+
# @type Tips: String
|
2014
|
+
# @param EnumValue: 参数说明
|
2015
|
+
# @type EnumValue: Array
|
2016
|
+
# @param Status: 参数状态, 1: 修改中, 2:修改完成
|
2017
|
+
# @type Status: Integer
|
2018
|
+
|
2019
|
+
attr_accessor :ParamName, :ValueType, :NeedRestart, :DefaultValue, :CurrentValue, :Tips, :EnumValue, :Status
|
2020
|
+
|
2021
|
+
def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, enumvalue=nil, status=nil)
|
2022
|
+
@ParamName = paramname
|
2023
|
+
@ValueType = valuetype
|
2024
|
+
@NeedRestart = needrestart
|
2025
|
+
@DefaultValue = defaultvalue
|
2026
|
+
@CurrentValue = currentvalue
|
2027
|
+
@Tips = tips
|
2028
|
+
@EnumValue = enumvalue
|
2029
|
+
@Status = status
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
def deserialize(params)
|
2033
|
+
@ParamName = params['ParamName']
|
2034
|
+
@ValueType = params['ValueType']
|
2035
|
+
@NeedRestart = params['NeedRestart']
|
2036
|
+
@DefaultValue = params['DefaultValue']
|
2037
|
+
@CurrentValue = params['CurrentValue']
|
2038
|
+
@Tips = params['Tips']
|
2039
|
+
@EnumValue = params['EnumValue']
|
2040
|
+
@Status = params['Status']
|
2041
|
+
end
|
2042
|
+
end
|
2043
|
+
|
2044
|
+
# 实例节点信息
|
2045
|
+
class InstanceNodeInfo < TencentCloud::Common::AbstractModel
|
2046
|
+
# @param NodeId: 节点ID
|
2047
|
+
# @type NodeId: String
|
2048
|
+
# @param NodeRole: 节点角色
|
2049
|
+
# @type NodeRole: String
|
2050
|
+
|
2051
|
+
attr_accessor :NodeId, :NodeRole
|
2052
|
+
|
2053
|
+
def initialize(nodeid=nil, noderole=nil)
|
2054
|
+
@NodeId = nodeid
|
2055
|
+
@NodeRole = noderole
|
2056
|
+
end
|
2057
|
+
|
2058
|
+
def deserialize(params)
|
2059
|
+
@NodeId = params['NodeId']
|
2060
|
+
@NodeRole = params['NodeRole']
|
2061
|
+
end
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
# 实例参数
|
2065
|
+
class InstanceParam < TencentCloud::Common::AbstractModel
|
2066
|
+
# @param Key: 设置参数的名字
|
2067
|
+
# @type Key: String
|
2068
|
+
# @param Value: 设置参数的值
|
2069
|
+
# @type Value: String
|
2070
|
+
|
2071
|
+
attr_accessor :Key, :Value
|
2072
|
+
|
2073
|
+
def initialize(key=nil, value=nil)
|
2074
|
+
@Key = key
|
2075
|
+
@Value = value
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
def deserialize(params)
|
2079
|
+
@Key = params['Key']
|
2080
|
+
@Value = params['Value']
|
2081
|
+
end
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
# 实例参数修改历史
|
2085
|
+
class InstanceParamHistory < TencentCloud::Common::AbstractModel
|
2086
|
+
# @param ParamName: 参数名称
|
2087
|
+
# @type ParamName: String
|
2088
|
+
# @param PreValue: 修改前值
|
2089
|
+
# @type PreValue: String
|
2090
|
+
# @param NewValue: 修改后值
|
2091
|
+
# @type NewValue: String
|
2092
|
+
# @param Status: 状态:1-参数配置修改中;2-参数配置修改成功;3-参数配置修改失败
|
2093
|
+
# @type Status: Integer
|
2094
|
+
# @param ModifyTime: 修改时间
|
2095
|
+
# @type ModifyTime: String
|
2096
|
+
|
2097
|
+
attr_accessor :ParamName, :PreValue, :NewValue, :Status, :ModifyTime
|
2098
|
+
|
2099
|
+
def initialize(paramname=nil, prevalue=nil, newvalue=nil, status=nil, modifytime=nil)
|
2100
|
+
@ParamName = paramname
|
2101
|
+
@PreValue = prevalue
|
2102
|
+
@NewValue = newvalue
|
2103
|
+
@Status = status
|
2104
|
+
@ModifyTime = modifytime
|
2105
|
+
end
|
2106
|
+
|
2107
|
+
def deserialize(params)
|
2108
|
+
@ParamName = params['ParamName']
|
2109
|
+
@PreValue = params['PreValue']
|
2110
|
+
@NewValue = params['NewValue']
|
2111
|
+
@Status = params['Status']
|
2112
|
+
@ModifyTime = params['ModifyTime']
|
2113
|
+
end
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
# 代理慢查询详情
|
2117
|
+
class InstanceProxySlowlogDetail < TencentCloud::Common::AbstractModel
|
2118
|
+
# @param Duration: 慢查询耗时
|
2119
|
+
# @type Duration: Integer
|
2120
|
+
# @param Client: 客户端地址
|
2121
|
+
# @type Client: String
|
2122
|
+
# @param Command: 命令
|
2123
|
+
# @type Command: String
|
2124
|
+
# @param CommandLine: 详细命令行信息
|
2125
|
+
# @type CommandLine: String
|
2126
|
+
# @param ExecuteTime: 执行时间
|
2127
|
+
# @type ExecuteTime: String
|
2128
|
+
|
2129
|
+
attr_accessor :Duration, :Client, :Command, :CommandLine, :ExecuteTime
|
2130
|
+
|
2131
|
+
def initialize(duration=nil, client=nil, command=nil, commandline=nil, executetime=nil)
|
2132
|
+
@Duration = duration
|
2133
|
+
@Client = client
|
2134
|
+
@Command = command
|
2135
|
+
@CommandLine = commandline
|
2136
|
+
@ExecuteTime = executetime
|
2137
|
+
end
|
2138
|
+
|
2139
|
+
def deserialize(params)
|
2140
|
+
@Duration = params['Duration']
|
2141
|
+
@Client = params['Client']
|
2142
|
+
@Command = params['Command']
|
2143
|
+
@CommandLine = params['CommandLine']
|
2144
|
+
@ExecuteTime = params['ExecuteTime']
|
2145
|
+
end
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
# 实例标签信息
|
2149
|
+
class InstanceTagInfo < TencentCloud::Common::AbstractModel
|
2150
|
+
# @param TagKey: 标签键
|
2151
|
+
# @type TagKey: String
|
2152
|
+
# @param TagValue: 标签值
|
2153
|
+
# @type TagValue: String
|
2154
|
+
|
2155
|
+
attr_accessor :TagKey, :TagValue
|
2156
|
+
|
2157
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
2158
|
+
@TagKey = tagkey
|
2159
|
+
@TagValue = tagvalue
|
2160
|
+
end
|
2161
|
+
|
2162
|
+
def deserialize(params)
|
2163
|
+
@TagKey = params['TagKey']
|
2164
|
+
@TagValue = params['TagValue']
|
2165
|
+
end
|
2166
|
+
end
|
2167
|
+
|
2168
|
+
# 实例字符型参数描述
|
2169
|
+
class InstanceTextParam < TencentCloud::Common::AbstractModel
|
2170
|
+
# @param ParamName: 参数名
|
2171
|
+
# @type ParamName: String
|
2172
|
+
# @param ValueType: 参数类型:text
|
2173
|
+
# @type ValueType: String
|
2174
|
+
# @param NeedRestart: 修改后是否需要重启:true,false
|
2175
|
+
# @type NeedRestart: String
|
2176
|
+
# @param DefaultValue: 参数默认值
|
2177
|
+
# @type DefaultValue: String
|
2178
|
+
# @param CurrentValue: 当前运行参数值
|
2179
|
+
# @type CurrentValue: String
|
2180
|
+
# @param Tips: 参数说明
|
2181
|
+
# @type Tips: String
|
2182
|
+
# @param TextValue: 参数可取值
|
2183
|
+
# @type TextValue: Array
|
2184
|
+
# @param Status: 参数状态, 1: 修改中, 2:修改完成
|
2185
|
+
# @type Status: Integer
|
2186
|
+
|
2187
|
+
attr_accessor :ParamName, :ValueType, :NeedRestart, :DefaultValue, :CurrentValue, :Tips, :TextValue, :Status
|
2188
|
+
|
2189
|
+
def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, textvalue=nil, status=nil)
|
2190
|
+
@ParamName = paramname
|
2191
|
+
@ValueType = valuetype
|
2192
|
+
@NeedRestart = needrestart
|
2193
|
+
@DefaultValue = defaultvalue
|
2194
|
+
@CurrentValue = currentvalue
|
2195
|
+
@Tips = tips
|
2196
|
+
@TextValue = textvalue
|
2197
|
+
@Status = status
|
2198
|
+
end
|
2199
|
+
|
2200
|
+
def deserialize(params)
|
2201
|
+
@ParamName = params['ParamName']
|
2202
|
+
@ValueType = params['ValueType']
|
2203
|
+
@NeedRestart = params['NeedRestart']
|
2204
|
+
@DefaultValue = params['DefaultValue']
|
2205
|
+
@CurrentValue = params['CurrentValue']
|
2206
|
+
@Tips = params['Tips']
|
2207
|
+
@TextValue = params['TextValue']
|
2208
|
+
@Status = params['Status']
|
2209
|
+
end
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
# KeeWiDB节点的运行信息
|
2213
|
+
class KeeWiDBNode < TencentCloud::Common::AbstractModel
|
2214
|
+
# @param NodeId: 节点的序列ID。
|
2215
|
+
# @type NodeId: String
|
2216
|
+
# @param Status: 节点的状态。
|
2217
|
+
# @type Status: String
|
2218
|
+
# @param Role: 节点角色。
|
2219
|
+
# @type Role: String
|
2220
|
+
|
2221
|
+
attr_accessor :NodeId, :Status, :Role
|
2222
|
+
|
2223
|
+
def initialize(nodeid=nil, status=nil, role=nil)
|
2224
|
+
@NodeId = nodeid
|
2225
|
+
@Status = status
|
2226
|
+
@Role = role
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
def deserialize(params)
|
2230
|
+
@NodeId = params['NodeId']
|
2231
|
+
@Status = params['Status']
|
2232
|
+
@Role = params['Role']
|
2233
|
+
end
|
2234
|
+
end
|
2235
|
+
|
2236
|
+
# ModifyAutoBackupConfig请求参数结构体
|
2237
|
+
class ModifyAutoBackupConfigRequest < TencentCloud::Common::AbstractModel
|
2238
|
+
# @param InstanceId: 实例 ID。
|
2239
|
+
# @type InstanceId: String
|
2240
|
+
# @param WeekDays: 备份周期。可设置为 Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday,该参数暂不支持修改、
|
2241
|
+
# @type WeekDays: Array
|
2242
|
+
# @param TimePeriod: 备份任务执行时间段。
|
2243
|
+
# 可设置的格式为一个整点到下一个整点。例如:00:00-01:00、01:00-02:00、21:00-22:00、23:00-00:00等。
|
2244
|
+
# @type TimePeriod: String
|
2245
|
+
|
2246
|
+
attr_accessor :InstanceId, :WeekDays, :TimePeriod
|
2247
|
+
|
2248
|
+
def initialize(instanceid=nil, weekdays=nil, timeperiod=nil)
|
2249
|
+
@InstanceId = instanceid
|
2250
|
+
@WeekDays = weekdays
|
2251
|
+
@TimePeriod = timeperiod
|
2252
|
+
end
|
2253
|
+
|
2254
|
+
def deserialize(params)
|
2255
|
+
@InstanceId = params['InstanceId']
|
2256
|
+
@WeekDays = params['WeekDays']
|
2257
|
+
@TimePeriod = params['TimePeriod']
|
2258
|
+
end
|
2259
|
+
end
|
2260
|
+
|
2261
|
+
# ModifyAutoBackupConfig返回参数结构体
|
2262
|
+
class ModifyAutoBackupConfigResponse < TencentCloud::Common::AbstractModel
|
2263
|
+
# @param BackupStorageDays: 增量备份文件保存天数。
|
2264
|
+
# @type BackupStorageDays: Integer
|
2265
|
+
# @param BinlogStorageDays: 全量备份文件保存天数。
|
2266
|
+
# @type BinlogStorageDays: Integer
|
2267
|
+
# @param TimePeriod: 备份时间段。
|
2268
|
+
# @type TimePeriod: String
|
2269
|
+
# @param WeekDays: 备份周期。Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday。
|
2270
|
+
# @type WeekDays: Array
|
2271
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2272
|
+
# @type RequestId: String
|
2273
|
+
|
2274
|
+
attr_accessor :BackupStorageDays, :BinlogStorageDays, :TimePeriod, :WeekDays, :RequestId
|
2275
|
+
|
2276
|
+
def initialize(backupstoragedays=nil, binlogstoragedays=nil, timeperiod=nil, weekdays=nil, requestid=nil)
|
2277
|
+
@BackupStorageDays = backupstoragedays
|
2278
|
+
@BinlogStorageDays = binlogstoragedays
|
2279
|
+
@TimePeriod = timeperiod
|
2280
|
+
@WeekDays = weekdays
|
2281
|
+
@RequestId = requestid
|
2282
|
+
end
|
2283
|
+
|
2284
|
+
def deserialize(params)
|
2285
|
+
@BackupStorageDays = params['BackupStorageDays']
|
2286
|
+
@BinlogStorageDays = params['BinlogStorageDays']
|
2287
|
+
@TimePeriod = params['TimePeriod']
|
2288
|
+
@WeekDays = params['WeekDays']
|
2289
|
+
@RequestId = params['RequestId']
|
2290
|
+
end
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
# ModifyConnectionConfig请求参数结构体
|
2294
|
+
class ModifyConnectionConfigRequest < TencentCloud::Common::AbstractModel
|
2295
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
2296
|
+
# @type InstanceId: String
|
2297
|
+
# @param Bandwidth: 单分片附加带宽,取值范围[0,512],单位:MB。
|
2298
|
+
# <ul><li>开启副本只读时,实例总带宽 = 单分片附加带宽 * 分片数 + 标准带宽 * 分片数 * Max ([只读副本数量, 1]),标准架构的分片数 = 1。</li><li>没有开启副本只读时,实例总带宽 = 单分片附加带宽 * 分片数 + 标准带宽 * 分片数,标准架构的分片数 = 1。</li></ul>
|
2299
|
+
# @type Bandwidth: Integer
|
2300
|
+
# @param ClientLimit: 单分片的总连接数。
|
2301
|
+
# <ul>默认为10000,整个实例的最大连接数为单个分片的最大连接数 x 分片数量。标准架构分片数量为1。
|
2302
|
+
# <li>关闭副本只读:每个分片的最大连接数的取值范围为[10000,40000]。</li><li>开启副本只读:每个分片的最大连接数的取值范围为 [10000,10000 x (副本数 + 3)]。</li></ul>
|
2303
|
+
# @type ClientLimit: Integer
|
2304
|
+
|
2305
|
+
attr_accessor :InstanceId, :Bandwidth, :ClientLimit
|
2306
|
+
|
2307
|
+
def initialize(instanceid=nil, bandwidth=nil, clientlimit=nil)
|
2308
|
+
@InstanceId = instanceid
|
2309
|
+
@Bandwidth = bandwidth
|
2310
|
+
@ClientLimit = clientlimit
|
2311
|
+
end
|
2312
|
+
|
2313
|
+
def deserialize(params)
|
2314
|
+
@InstanceId = params['InstanceId']
|
2315
|
+
@Bandwidth = params['Bandwidth']
|
2316
|
+
@ClientLimit = params['ClientLimit']
|
2317
|
+
end
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
# ModifyConnectionConfig返回参数结构体
|
2321
|
+
class ModifyConnectionConfigResponse < TencentCloud::Common::AbstractModel
|
2322
|
+
# @param TaskId: 任务 ID。
|
2323
|
+
# @type TaskId: Integer
|
2324
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2325
|
+
# @type RequestId: String
|
2326
|
+
|
2327
|
+
attr_accessor :TaskId, :RequestId
|
2328
|
+
|
2329
|
+
def initialize(taskid=nil, requestid=nil)
|
2330
|
+
@TaskId = taskid
|
2331
|
+
@RequestId = requestid
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
def deserialize(params)
|
2335
|
+
@TaskId = params['TaskId']
|
2336
|
+
@RequestId = params['RequestId']
|
2337
|
+
end
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
# ModifyDBInstanceSecurityGroups请求参数结构体
|
2341
|
+
class ModifyDBInstanceSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
2342
|
+
# @param Product: 数据库引擎名称:keewidb。
|
2343
|
+
# @type Product: String
|
2344
|
+
# @param SecurityGroupIds: 要修改的安全组ID列表,一个或者多个安全组 ID 组成的数组。
|
2345
|
+
# @type SecurityGroupIds: Array
|
2346
|
+
# @param InstanceId: 实例ID,格式如:kee-c1nl****。
|
2347
|
+
# @type InstanceId: String
|
2348
|
+
|
2349
|
+
attr_accessor :Product, :SecurityGroupIds, :InstanceId
|
2350
|
+
|
2351
|
+
def initialize(product=nil, securitygroupids=nil, instanceid=nil)
|
2352
|
+
@Product = product
|
2353
|
+
@SecurityGroupIds = securitygroupids
|
2354
|
+
@InstanceId = instanceid
|
2355
|
+
end
|
2356
|
+
|
2357
|
+
def deserialize(params)
|
2358
|
+
@Product = params['Product']
|
2359
|
+
@SecurityGroupIds = params['SecurityGroupIds']
|
2360
|
+
@InstanceId = params['InstanceId']
|
2361
|
+
end
|
2362
|
+
end
|
2363
|
+
|
2364
|
+
# ModifyDBInstanceSecurityGroups返回参数结构体
|
2365
|
+
class ModifyDBInstanceSecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
2366
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2367
|
+
# @type RequestId: String
|
2368
|
+
|
2369
|
+
attr_accessor :RequestId
|
2370
|
+
|
2371
|
+
def initialize(requestid=nil)
|
2372
|
+
@RequestId = requestid
|
2373
|
+
end
|
2374
|
+
|
2375
|
+
def deserialize(params)
|
2376
|
+
@RequestId = params['RequestId']
|
2377
|
+
end
|
2378
|
+
end
|
2379
|
+
|
2380
|
+
# ModifyInstanceParams请求参数结构体
|
2381
|
+
class ModifyInstanceParamsRequest < TencentCloud::Common::AbstractModel
|
2382
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
2383
|
+
# @type InstanceId: String
|
2384
|
+
# @param InstanceParams: 实例修改的参数列表。
|
2385
|
+
# @type InstanceParams: Array
|
2386
|
+
|
2387
|
+
attr_accessor :InstanceId, :InstanceParams
|
2388
|
+
|
2389
|
+
def initialize(instanceid=nil, instanceparams=nil)
|
2390
|
+
@InstanceId = instanceid
|
2391
|
+
@InstanceParams = instanceparams
|
2392
|
+
end
|
2393
|
+
|
2394
|
+
def deserialize(params)
|
2395
|
+
@InstanceId = params['InstanceId']
|
2396
|
+
unless params['InstanceParams'].nil?
|
2397
|
+
@InstanceParams = []
|
2398
|
+
params['InstanceParams'].each do |i|
|
2399
|
+
instanceparam_tmp = InstanceParam.new
|
2400
|
+
instanceparam_tmp.deserialize(i)
|
2401
|
+
@InstanceParams << instanceparam_tmp
|
2402
|
+
end
|
2403
|
+
end
|
2404
|
+
end
|
2405
|
+
end
|
2406
|
+
|
2407
|
+
# ModifyInstanceParams返回参数结构体
|
2408
|
+
class ModifyInstanceParamsResponse < TencentCloud::Common::AbstractModel
|
2409
|
+
# @param Changed: 修改是否成功。<ul><li>true:修改成功。</li><li>false:修改失败。</li></ul>
|
2410
|
+
# @type Changed: Boolean
|
2411
|
+
# @param TaskId: 任务 ID。
|
2412
|
+
# @type TaskId: Integer
|
2413
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2414
|
+
# @type RequestId: String
|
2415
|
+
|
2416
|
+
attr_accessor :Changed, :TaskId, :RequestId
|
2417
|
+
|
2418
|
+
def initialize(changed=nil, taskid=nil, requestid=nil)
|
2419
|
+
@Changed = changed
|
2420
|
+
@TaskId = taskid
|
2421
|
+
@RequestId = requestid
|
2422
|
+
end
|
2423
|
+
|
2424
|
+
def deserialize(params)
|
2425
|
+
@Changed = params['Changed']
|
2426
|
+
@TaskId = params['TaskId']
|
2427
|
+
@RequestId = params['RequestId']
|
2428
|
+
end
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
# ModifyInstance请求参数结构体
|
2432
|
+
class ModifyInstanceRequest < TencentCloud::Common::AbstractModel
|
2433
|
+
# @param Operation: 修改实例操作。<ul><li>rename:表示实例重命名。</li><li>modifyProject:修改实例所属项目。</li><li>modifyAutoRenew:修改实例续费模式。</li></ul>
|
2434
|
+
# @type Operation: String
|
2435
|
+
# @param InstanceIds: 实例 ID 数组。
|
2436
|
+
# @type InstanceIds: Array
|
2437
|
+
# @param InstanceNames: 实例的新名称。
|
2438
|
+
# @type InstanceNames: Array
|
2439
|
+
# @param ProjectId: 实例新的项目 ID。
|
2440
|
+
# @type ProjectId: Integer
|
2441
|
+
# @param AutoRenews: 包年包月计费的续费模式。<b>InstanceIds</b>数组和<b>AutoRenews</b>数组中的修改值对应。<ul><li>0:默认状态,指手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</ul>
|
2442
|
+
# @type AutoRenews: Array
|
2443
|
+
|
2444
|
+
attr_accessor :Operation, :InstanceIds, :InstanceNames, :ProjectId, :AutoRenews
|
2445
|
+
|
2446
|
+
def initialize(operation=nil, instanceids=nil, instancenames=nil, projectid=nil, autorenews=nil)
|
2447
|
+
@Operation = operation
|
2448
|
+
@InstanceIds = instanceids
|
2449
|
+
@InstanceNames = instancenames
|
2450
|
+
@ProjectId = projectid
|
2451
|
+
@AutoRenews = autorenews
|
2452
|
+
end
|
2453
|
+
|
2454
|
+
def deserialize(params)
|
2455
|
+
@Operation = params['Operation']
|
2456
|
+
@InstanceIds = params['InstanceIds']
|
2457
|
+
@InstanceNames = params['InstanceNames']
|
2458
|
+
@ProjectId = params['ProjectId']
|
2459
|
+
@AutoRenews = params['AutoRenews']
|
2460
|
+
end
|
2461
|
+
end
|
2462
|
+
|
2463
|
+
# ModifyInstance返回参数结构体
|
2464
|
+
class ModifyInstanceResponse < TencentCloud::Common::AbstractModel
|
2465
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2466
|
+
# @type RequestId: String
|
2467
|
+
|
2468
|
+
attr_accessor :RequestId
|
2469
|
+
|
2470
|
+
def initialize(requestid=nil)
|
2471
|
+
@RequestId = requestid
|
2472
|
+
end
|
2473
|
+
|
2474
|
+
def deserialize(params)
|
2475
|
+
@RequestId = params['RequestId']
|
2476
|
+
end
|
2477
|
+
end
|
2478
|
+
|
2479
|
+
# ModifyMaintenanceWindow请求参数结构体
|
2480
|
+
class ModifyMaintenanceWindowRequest < TencentCloud::Common::AbstractModel
|
2481
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
2482
|
+
# @type InstanceId: String
|
2483
|
+
# @param StartTime: 维护时间窗起始时间,如:03:00。
|
2484
|
+
# @type StartTime: String
|
2485
|
+
# @param EndTime: 维护时间窗结束时间,如:06:00。
|
2486
|
+
# @type EndTime: String
|
2487
|
+
|
2488
|
+
attr_accessor :InstanceId, :StartTime, :EndTime
|
2489
|
+
|
2490
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil)
|
2491
|
+
@InstanceId = instanceid
|
2492
|
+
@StartTime = starttime
|
2493
|
+
@EndTime = endtime
|
2494
|
+
end
|
2495
|
+
|
2496
|
+
def deserialize(params)
|
2497
|
+
@InstanceId = params['InstanceId']
|
2498
|
+
@StartTime = params['StartTime']
|
2499
|
+
@EndTime = params['EndTime']
|
2500
|
+
end
|
2501
|
+
end
|
2502
|
+
|
2503
|
+
# ModifyMaintenanceWindow返回参数结构体
|
2504
|
+
class ModifyMaintenanceWindowResponse < TencentCloud::Common::AbstractModel
|
2505
|
+
# @param Status: 执行结果。<ul><li>success:修改成功。 </li> <li>failed:修改失败。</li></ul>
|
2506
|
+
# @type Status: String
|
2507
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2508
|
+
# @type RequestId: String
|
2509
|
+
|
2510
|
+
attr_accessor :Status, :RequestId
|
2511
|
+
|
2512
|
+
def initialize(status=nil, requestid=nil)
|
2513
|
+
@Status = status
|
2514
|
+
@RequestId = requestid
|
2515
|
+
end
|
2516
|
+
|
2517
|
+
def deserialize(params)
|
2518
|
+
@Status = params['Status']
|
2519
|
+
@RequestId = params['RequestId']
|
2520
|
+
end
|
2521
|
+
end
|
2522
|
+
|
2523
|
+
# ModifyNetworkConfig请求参数结构体
|
2524
|
+
class ModifyNetworkConfigRequest < TencentCloud::Common::AbstractModel
|
2525
|
+
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
2526
|
+
# @type InstanceId: String
|
2527
|
+
# @param Operation: 操作类型。<ul><li>changeVip:修改实例私有网络。</li><li>changeVpc:修改实例私有网络所属子网。</li><li>changeBaseToVpc:基础网络转为私有网络。</li></ul>
|
2528
|
+
# @type Operation: String
|
2529
|
+
# @param Vip: 修改后的 VIP 地址。
|
2530
|
+
# 当参数<b>Operation</b>为<b>changeVip</b>时,需设置实例修改后的 VIP 地址。该参数不配置,则自动分配。
|
2531
|
+
# @type Vip: String
|
2532
|
+
# @param VpcId: 修改后的私有网络 ID。
|
2533
|
+
# 当参数<b>Operation</b>为<b>changeVip</b>或者为<b>changeBaseToVpc</b>时,务必设置实例修改后的私有网络 ID。
|
2534
|
+
# @type VpcId: String
|
2535
|
+
# @param SubnetId: 修改后的所属子网 ID。
|
2536
|
+
# 当参数<b>Operation</b>为<b>changeVpc</b>或者为<b>changeBaseToVpc</b>时,务必设置实例修改后的子网 ID。
|
2537
|
+
# @type SubnetId: String
|
2538
|
+
# @param Recycle: 原 VIP 保留时长。
|
2539
|
+
# 单位:天。取值范围:0、1、2、3、7、15。
|
2540
|
+
# @type Recycle: Integer
|
2541
|
+
|
2542
|
+
attr_accessor :InstanceId, :Operation, :Vip, :VpcId, :SubnetId, :Recycle
|
2543
|
+
|
2544
|
+
def initialize(instanceid=nil, operation=nil, vip=nil, vpcid=nil, subnetid=nil, recycle=nil)
|
2545
|
+
@InstanceId = instanceid
|
2546
|
+
@Operation = operation
|
2547
|
+
@Vip = vip
|
2548
|
+
@VpcId = vpcid
|
2549
|
+
@SubnetId = subnetid
|
2550
|
+
@Recycle = recycle
|
2551
|
+
end
|
2552
|
+
|
2553
|
+
def deserialize(params)
|
2554
|
+
@InstanceId = params['InstanceId']
|
2555
|
+
@Operation = params['Operation']
|
2556
|
+
@Vip = params['Vip']
|
2557
|
+
@VpcId = params['VpcId']
|
2558
|
+
@SubnetId = params['SubnetId']
|
2559
|
+
@Recycle = params['Recycle']
|
2560
|
+
end
|
2561
|
+
end
|
2562
|
+
|
2563
|
+
# ModifyNetworkConfig返回参数结构体
|
2564
|
+
class ModifyNetworkConfigResponse < TencentCloud::Common::AbstractModel
|
2565
|
+
# @param Status: 执行状态。<ul><li>true:执行成功。</li><li>false:执行失败。</li></ul>
|
2566
|
+
# @type Status: Boolean
|
2567
|
+
# @param SubnetId: 修改后的子网 ID。
|
2568
|
+
# @type SubnetId: String
|
2569
|
+
# @param VpcId: 修改后的私有网络 ID。
|
2570
|
+
# @type VpcId: String
|
2571
|
+
# @param Vip: 修改后的 VIP 地址。
|
2572
|
+
# @type Vip: String
|
2573
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2574
|
+
# @type RequestId: String
|
2575
|
+
|
2576
|
+
attr_accessor :Status, :SubnetId, :VpcId, :Vip, :RequestId
|
2577
|
+
|
2578
|
+
def initialize(status=nil, subnetid=nil, vpcid=nil, vip=nil, requestid=nil)
|
2579
|
+
@Status = status
|
2580
|
+
@SubnetId = subnetid
|
2581
|
+
@VpcId = vpcid
|
2582
|
+
@Vip = vip
|
2583
|
+
@RequestId = requestid
|
2584
|
+
end
|
2585
|
+
|
2586
|
+
def deserialize(params)
|
2587
|
+
@Status = params['Status']
|
2588
|
+
@SubnetId = params['SubnetId']
|
2589
|
+
@VpcId = params['VpcId']
|
2590
|
+
@Vip = params['Vip']
|
2591
|
+
@RequestId = params['RequestId']
|
2592
|
+
end
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
# 描述实例的主节点或者副本节点信息
|
2596
|
+
class NodeInfo < TencentCloud::Common::AbstractModel
|
2597
|
+
# @param NodeType: 节点类型,0 为主节点,1 为副本节点
|
2598
|
+
# @type NodeType: Integer
|
2599
|
+
# @param NodeId: 主节点或者副本节点的ID,创建时不需要传递此参数。
|
2600
|
+
# @type NodeId: Integer
|
2601
|
+
# @param ZoneId: 主节点或者副本节点的可用区ID
|
2602
|
+
# @type ZoneId: Integer
|
2603
|
+
# @param ZoneName: 主节点或者副本节点的可用区名称
|
2604
|
+
# @type ZoneName: String
|
2605
|
+
|
2606
|
+
attr_accessor :NodeType, :NodeId, :ZoneId, :ZoneName
|
2607
|
+
|
2608
|
+
def initialize(nodetype=nil, nodeid=nil, zoneid=nil, zonename=nil)
|
2609
|
+
@NodeType = nodetype
|
2610
|
+
@NodeId = nodeid
|
2611
|
+
@ZoneId = zoneid
|
2612
|
+
@ZoneName = zonename
|
2613
|
+
end
|
2614
|
+
|
2615
|
+
def deserialize(params)
|
2616
|
+
@NodeType = params['NodeType']
|
2617
|
+
@NodeId = params['NodeId']
|
2618
|
+
@ZoneId = params['ZoneId']
|
2619
|
+
@ZoneName = params['ZoneName']
|
2620
|
+
end
|
2621
|
+
end
|
2622
|
+
|
2623
|
+
# 安全组出站规则
|
2624
|
+
class Outbound < TencentCloud::Common::AbstractModel
|
2625
|
+
# @param Action: 策略,ACCEPT或者DROP。
|
2626
|
+
# @type Action: String
|
2627
|
+
# @param AddressModule: 地址组id代表的地址集合。
|
2628
|
+
# @type AddressModule: String
|
2629
|
+
# @param CidrIp: 来源Ip或Ip段,例如192.168.0.0/16。
|
2630
|
+
# @type CidrIp: String
|
2631
|
+
# @param Desc: 描述。
|
2632
|
+
# @type Desc: String
|
2633
|
+
# @param IpProtocol: 网络协议,支持udp、tcp等。
|
2634
|
+
# @type IpProtocol: String
|
2635
|
+
# @param PortRange: 端口。
|
2636
|
+
# @type PortRange: String
|
2637
|
+
# @param ServiceModule: 服务组id代表的协议和端口集合。
|
2638
|
+
# @type ServiceModule: String
|
2639
|
+
# @param Id: 安全组id代表的地址集合。
|
2640
|
+
# @type Id: String
|
2641
|
+
|
2642
|
+
attr_accessor :Action, :AddressModule, :CidrIp, :Desc, :IpProtocol, :PortRange, :ServiceModule, :Id
|
2643
|
+
|
2644
|
+
def initialize(action=nil, addressmodule=nil, cidrip=nil, desc=nil, ipprotocol=nil, portrange=nil, servicemodule=nil, id=nil)
|
2645
|
+
@Action = action
|
2646
|
+
@AddressModule = addressmodule
|
2647
|
+
@CidrIp = cidrip
|
2648
|
+
@Desc = desc
|
2649
|
+
@IpProtocol = ipprotocol
|
2650
|
+
@PortRange = portrange
|
2651
|
+
@ServiceModule = servicemodule
|
2652
|
+
@Id = id
|
2653
|
+
end
|
2654
|
+
|
2655
|
+
def deserialize(params)
|
2656
|
+
@Action = params['Action']
|
2657
|
+
@AddressModule = params['AddressModule']
|
2658
|
+
@CidrIp = params['CidrIp']
|
2659
|
+
@Desc = params['Desc']
|
2660
|
+
@IpProtocol = params['IpProtocol']
|
2661
|
+
@PortRange = params['PortRange']
|
2662
|
+
@ServiceModule = params['ServiceModule']
|
2663
|
+
@Id = params['Id']
|
2664
|
+
end
|
2665
|
+
end
|
2666
|
+
|
2667
|
+
# 产品规格信息
|
2668
|
+
class ProductConf < TencentCloud::Common::AbstractModel
|
2669
|
+
# @param Type: 产品类型,13-KeewiDB标准架构,14-KeewiDB集群架构
|
2670
|
+
# @type Type: Integer
|
2671
|
+
# @param TypeName: KeewiDB标准架构,KeewiDB集群架构
|
2672
|
+
# @type TypeName: String
|
2673
|
+
# @param MinBuyNum: 购买时的最小数量
|
2674
|
+
# @type MinBuyNum: Integer
|
2675
|
+
# @param MaxBuyNum: 购买时的最大数量
|
2676
|
+
# @type MaxBuyNum: Integer
|
2677
|
+
# @param Saleout: 产品是否售罄
|
2678
|
+
# @type Saleout: Boolean
|
2679
|
+
# @param Engine: 产品引擎,keewidb
|
2680
|
+
# @type Engine: String
|
2681
|
+
# @param Version: 兼容版本,Redis-2.8,Redis-3.2,Redis-4.0
|
2682
|
+
# @type Version: String
|
2683
|
+
# @param ReplicaNum: 副本数量
|
2684
|
+
# @type ReplicaNum: Array
|
2685
|
+
# @param PayMode: 支持的计费模式,1-包年包月,0-按量计费
|
2686
|
+
# @type PayMode: String
|
2687
|
+
|
2688
|
+
attr_accessor :Type, :TypeName, :MinBuyNum, :MaxBuyNum, :Saleout, :Engine, :Version, :ReplicaNum, :PayMode
|
2689
|
+
|
2690
|
+
def initialize(type=nil, typename=nil, minbuynum=nil, maxbuynum=nil, saleout=nil, engine=nil, version=nil, replicanum=nil, paymode=nil)
|
2691
|
+
@Type = type
|
2692
|
+
@TypeName = typename
|
2693
|
+
@MinBuyNum = minbuynum
|
2694
|
+
@MaxBuyNum = maxbuynum
|
2695
|
+
@Saleout = saleout
|
2696
|
+
@Engine = engine
|
2697
|
+
@Version = version
|
2698
|
+
@ReplicaNum = replicanum
|
2699
|
+
@PayMode = paymode
|
2700
|
+
end
|
2701
|
+
|
2702
|
+
def deserialize(params)
|
2703
|
+
@Type = params['Type']
|
2704
|
+
@TypeName = params['TypeName']
|
2705
|
+
@MinBuyNum = params['MinBuyNum']
|
2706
|
+
@MaxBuyNum = params['MaxBuyNum']
|
2707
|
+
@Saleout = params['Saleout']
|
2708
|
+
@Engine = params['Engine']
|
2709
|
+
@Version = params['Version']
|
2710
|
+
@ReplicaNum = params['ReplicaNum']
|
2711
|
+
@PayMode = params['PayMode']
|
2712
|
+
end
|
2713
|
+
end
|
2714
|
+
|
2715
|
+
# Proxy节点信息
|
2716
|
+
class ProxyNodeInfo < TencentCloud::Common::AbstractModel
|
2717
|
+
# @param NodeId: 节点ID
|
2718
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2719
|
+
# @type NodeId: String
|
2720
|
+
|
2721
|
+
attr_accessor :NodeId
|
2722
|
+
|
2723
|
+
def initialize(nodeid=nil)
|
2724
|
+
@NodeId = nodeid
|
2725
|
+
end
|
2726
|
+
|
2727
|
+
def deserialize(params)
|
2728
|
+
@NodeId = params['NodeId']
|
2729
|
+
end
|
2730
|
+
end
|
2731
|
+
|
2732
|
+
# Redis节点信息
|
2733
|
+
class RedisNodeInfo < TencentCloud::Common::AbstractModel
|
2734
|
+
# @param NodeId: 节点ID
|
2735
|
+
# @type NodeId: String
|
2736
|
+
# @param NodeRole: 节点角色
|
2737
|
+
# @type NodeRole: String
|
2738
|
+
# @param ClusterId: 分片ID
|
2739
|
+
# @type ClusterId: Integer
|
2740
|
+
# @param ZoneId: 可用区ID
|
2741
|
+
# @type ZoneId: Integer
|
2742
|
+
|
2743
|
+
attr_accessor :NodeId, :NodeRole, :ClusterId, :ZoneId
|
2744
|
+
|
2745
|
+
def initialize(nodeid=nil, noderole=nil, clusterid=nil, zoneid=nil)
|
2746
|
+
@NodeId = nodeid
|
2747
|
+
@NodeRole = noderole
|
2748
|
+
@ClusterId = clusterid
|
2749
|
+
@ZoneId = zoneid
|
2750
|
+
end
|
2751
|
+
|
2752
|
+
def deserialize(params)
|
2753
|
+
@NodeId = params['NodeId']
|
2754
|
+
@NodeRole = params['NodeRole']
|
2755
|
+
@ClusterId = params['ClusterId']
|
2756
|
+
@ZoneId = params['ZoneId']
|
2757
|
+
end
|
2758
|
+
end
|
2759
|
+
|
2760
|
+
# 地域售卖信息
|
2761
|
+
class RegionConf < TencentCloud::Common::AbstractModel
|
2762
|
+
# @param RegionId: 地域ID
|
2763
|
+
# @type RegionId: String
|
2764
|
+
# @param RegionName: 地域名称
|
2765
|
+
# @type RegionName: String
|
2766
|
+
# @param RegionShortName: 地域简称
|
2767
|
+
# @type RegionShortName: String
|
2768
|
+
# @param Area: 地域所在大区名称
|
2769
|
+
# @type Area: String
|
2770
|
+
# @param ZoneSet: 可用区信息
|
2771
|
+
# @type ZoneSet: Array
|
2772
|
+
|
2773
|
+
attr_accessor :RegionId, :RegionName, :RegionShortName, :Area, :ZoneSet
|
2774
|
+
|
2775
|
+
def initialize(regionid=nil, regionname=nil, regionshortname=nil, area=nil, zoneset=nil)
|
2776
|
+
@RegionId = regionid
|
2777
|
+
@RegionName = regionname
|
2778
|
+
@RegionShortName = regionshortname
|
2779
|
+
@Area = area
|
2780
|
+
@ZoneSet = zoneset
|
2781
|
+
end
|
2782
|
+
|
2783
|
+
def deserialize(params)
|
2784
|
+
@RegionId = params['RegionId']
|
2785
|
+
@RegionName = params['RegionName']
|
2786
|
+
@RegionShortName = params['RegionShortName']
|
2787
|
+
@Area = params['Area']
|
2788
|
+
unless params['ZoneSet'].nil?
|
2789
|
+
@ZoneSet = []
|
2790
|
+
params['ZoneSet'].each do |i|
|
2791
|
+
zonecapacityconf_tmp = ZoneCapacityConf.new
|
2792
|
+
zonecapacityconf_tmp.deserialize(i)
|
2793
|
+
@ZoneSet << zonecapacityconf_tmp
|
2794
|
+
end
|
2795
|
+
end
|
2796
|
+
end
|
2797
|
+
end
|
2798
|
+
|
2799
|
+
# RenewInstance请求参数结构体
|
2800
|
+
class RenewInstanceRequest < TencentCloud::Common::AbstractModel
|
2801
|
+
# @param InstanceId: 实例 ID。
|
2802
|
+
# @type InstanceId: String
|
2803
|
+
# @param Period: 购买时长,单位:月。取值范围为 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
2804
|
+
# @type Period: Integer
|
2805
|
+
|
2806
|
+
attr_accessor :InstanceId, :Period
|
2807
|
+
|
2808
|
+
def initialize(instanceid=nil, period=nil)
|
2809
|
+
@InstanceId = instanceid
|
2810
|
+
@Period = period
|
2811
|
+
end
|
2812
|
+
|
2813
|
+
def deserialize(params)
|
2814
|
+
@InstanceId = params['InstanceId']
|
2815
|
+
@Period = params['Period']
|
2816
|
+
end
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
# RenewInstance返回参数结构体
|
2820
|
+
class RenewInstanceResponse < TencentCloud::Common::AbstractModel
|
2821
|
+
# @param DealId: 交易 ID。
|
2822
|
+
# @type DealId: String
|
2823
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2824
|
+
# @type RequestId: String
|
2825
|
+
|
2826
|
+
attr_accessor :DealId, :RequestId
|
2827
|
+
|
2828
|
+
def initialize(dealid=nil, requestid=nil)
|
2829
|
+
@DealId = dealid
|
2830
|
+
@RequestId = requestid
|
2831
|
+
end
|
2832
|
+
|
2833
|
+
def deserialize(params)
|
2834
|
+
@DealId = params['DealId']
|
2835
|
+
@RequestId = params['RequestId']
|
2836
|
+
end
|
2837
|
+
end
|
2838
|
+
|
2839
|
+
# 实例副本组信息
|
2840
|
+
class ReplicaGroup < TencentCloud::Common::AbstractModel
|
2841
|
+
# @param GroupId: 节点 ID。
|
2842
|
+
# @type GroupId: Integer
|
2843
|
+
# @param GroupName: 节点组的名称,主节点为空。
|
2844
|
+
# @type GroupName: String
|
2845
|
+
# @param ZoneId: 节点的可用区ID,比如ap-guangzhou-1。
|
2846
|
+
# @type ZoneId: String
|
2847
|
+
# @param Role: 节点组角色。<ul><li>master:为主节点。</li><li>replica:为副本节点。</li></ul>
|
2848
|
+
# @type Role: String
|
2849
|
+
# @param KeeWiDBNodes: 节点组节点列表。
|
2850
|
+
# @type KeeWiDBNodes: Array
|
2851
|
+
|
2852
|
+
attr_accessor :GroupId, :GroupName, :ZoneId, :Role, :KeeWiDBNodes
|
2853
|
+
|
2854
|
+
def initialize(groupid=nil, groupname=nil, zoneid=nil, role=nil, keewidbnodes=nil)
|
2855
|
+
@GroupId = groupid
|
2856
|
+
@GroupName = groupname
|
2857
|
+
@ZoneId = zoneid
|
2858
|
+
@Role = role
|
2859
|
+
@KeeWiDBNodes = keewidbnodes
|
2860
|
+
end
|
2861
|
+
|
2862
|
+
def deserialize(params)
|
2863
|
+
@GroupId = params['GroupId']
|
2864
|
+
@GroupName = params['GroupName']
|
2865
|
+
@ZoneId = params['ZoneId']
|
2866
|
+
@Role = params['Role']
|
2867
|
+
unless params['KeeWiDBNodes'].nil?
|
2868
|
+
@KeeWiDBNodes = []
|
2869
|
+
params['KeeWiDBNodes'].each do |i|
|
2870
|
+
keewidbnode_tmp = KeeWiDBNode.new
|
2871
|
+
keewidbnode_tmp.deserialize(i)
|
2872
|
+
@KeeWiDBNodes << keewidbnode_tmp
|
2873
|
+
end
|
2874
|
+
end
|
2875
|
+
end
|
2876
|
+
end
|
2877
|
+
|
2878
|
+
# ResetPassword请求参数结构体
|
2879
|
+
class ResetPasswordRequest < TencentCloud::Common::AbstractModel
|
2880
|
+
# @param InstanceId: 实例 ID。
|
2881
|
+
# @type InstanceId: String
|
2882
|
+
# @param Password: 设置新密码。<ul><li>当参数<b>NoAuth</b>设置为<b>true</b>,切换为免密实例时,可不设置该参数。</li><li>密码复杂度要求:<ul><li>长度8 - 30位, 推荐使用12位以上的密码。</li><li>不能以"/"开头。</li>
|
2883
|
+
# <li>至少包含以下两项:<ul><li>小写字母a - z</li><li>大写字母A - Z</li><li>数字0 - 9</li><li>()~!@#$%^&*-+=_|{}[]:;<>,.?/</li></ul></li></ul></li></ul>
|
2884
|
+
# @type Password: String
|
2885
|
+
# @param NoAuth: 标识实例是否切换免密认证。<ul><li>false:由免密码认证方式切换为密码认证实例。默认为false。</li><li>true:由密码认证方式切换为免密码认证的方式。</li></ul>
|
2886
|
+
# @type NoAuth: Boolean
|
2887
|
+
|
2888
|
+
attr_accessor :InstanceId, :Password, :NoAuth
|
2889
|
+
|
2890
|
+
def initialize(instanceid=nil, password=nil, noauth=nil)
|
2891
|
+
@InstanceId = instanceid
|
2892
|
+
@Password = password
|
2893
|
+
@NoAuth = noauth
|
2894
|
+
end
|
2895
|
+
|
2896
|
+
def deserialize(params)
|
2897
|
+
@InstanceId = params['InstanceId']
|
2898
|
+
@Password = params['Password']
|
2899
|
+
@NoAuth = params['NoAuth']
|
2900
|
+
end
|
2901
|
+
end
|
2902
|
+
|
2903
|
+
# ResetPassword返回参数结构体
|
2904
|
+
class ResetPasswordResponse < TencentCloud::Common::AbstractModel
|
2905
|
+
# @param TaskId: 任务 ID。
|
2906
|
+
# <b>说明:</b>修改密码时的任务ID,如果切换免密访问或者非免密码实例,则无需关注此返回值。
|
2907
|
+
# @type TaskId: Integer
|
2908
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2909
|
+
# @type RequestId: String
|
2910
|
+
|
2911
|
+
attr_accessor :TaskId, :RequestId
|
2912
|
+
|
2913
|
+
def initialize(taskid=nil, requestid=nil)
|
2914
|
+
@TaskId = taskid
|
2915
|
+
@RequestId = requestid
|
2916
|
+
end
|
2917
|
+
|
2918
|
+
def deserialize(params)
|
2919
|
+
@TaskId = params['TaskId']
|
2920
|
+
@RequestId = params['RequestId']
|
2921
|
+
end
|
2922
|
+
end
|
2923
|
+
|
2924
|
+
# 实例绑定标签
|
2925
|
+
class ResourceTag < TencentCloud::Common::AbstractModel
|
2926
|
+
# @param TagKey: 标签 Key。
|
2927
|
+
# @type TagKey: String
|
2928
|
+
# @param TagValue: 标签 Value。
|
2929
|
+
# @type TagValue: String
|
2930
|
+
|
2931
|
+
attr_accessor :TagKey, :TagValue
|
2932
|
+
|
2933
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
2934
|
+
@TagKey = tagkey
|
2935
|
+
@TagValue = tagvalue
|
2936
|
+
end
|
2937
|
+
|
2938
|
+
def deserialize(params)
|
2939
|
+
@TagKey = params['TagKey']
|
2940
|
+
@TagValue = params['TagValue']
|
2941
|
+
end
|
2942
|
+
end
|
2943
|
+
|
2944
|
+
# 安全组规则
|
2945
|
+
class SecurityGroup < TencentCloud::Common::AbstractModel
|
2946
|
+
# @param CreateTime: 创建时间,时间格式:yyyy-mm-dd hh:mm:ss。
|
2947
|
+
# @type CreateTime: String
|
2948
|
+
# @param ProjectId: 项目ID。
|
2949
|
+
# @type ProjectId: Integer
|
2950
|
+
# @param SecurityGroupId: 安全组ID。
|
2951
|
+
# @type SecurityGroupId: String
|
2952
|
+
# @param SecurityGroupName: 安全组名称。
|
2953
|
+
# @type SecurityGroupName: String
|
2954
|
+
# @param SecurityGroupRemark: 安全组备注。
|
2955
|
+
# @type SecurityGroupRemark: String
|
2956
|
+
# @param Outbound: 出站规则。
|
2957
|
+
# @type Outbound: Array
|
2958
|
+
# @param Inbound: 入站规则。
|
2959
|
+
# @type Inbound: Array
|
2960
|
+
|
2961
|
+
attr_accessor :CreateTime, :ProjectId, :SecurityGroupId, :SecurityGroupName, :SecurityGroupRemark, :Outbound, :Inbound
|
2962
|
+
|
2963
|
+
def initialize(createtime=nil, projectid=nil, securitygroupid=nil, securitygroupname=nil, securitygroupremark=nil, outbound=nil, inbound=nil)
|
2964
|
+
@CreateTime = createtime
|
2965
|
+
@ProjectId = projectid
|
2966
|
+
@SecurityGroupId = securitygroupid
|
2967
|
+
@SecurityGroupName = securitygroupname
|
2968
|
+
@SecurityGroupRemark = securitygroupremark
|
2969
|
+
@Outbound = outbound
|
2970
|
+
@Inbound = inbound
|
2971
|
+
end
|
2972
|
+
|
2973
|
+
def deserialize(params)
|
2974
|
+
@CreateTime = params['CreateTime']
|
2975
|
+
@ProjectId = params['ProjectId']
|
2976
|
+
@SecurityGroupId = params['SecurityGroupId']
|
2977
|
+
@SecurityGroupName = params['SecurityGroupName']
|
2978
|
+
@SecurityGroupRemark = params['SecurityGroupRemark']
|
2979
|
+
unless params['Outbound'].nil?
|
2980
|
+
@Outbound = []
|
2981
|
+
params['Outbound'].each do |i|
|
2982
|
+
outbound_tmp = Outbound.new
|
2983
|
+
outbound_tmp.deserialize(i)
|
2984
|
+
@Outbound << outbound_tmp
|
2985
|
+
end
|
2986
|
+
end
|
2987
|
+
unless params['Inbound'].nil?
|
2988
|
+
@Inbound = []
|
2989
|
+
params['Inbound'].each do |i|
|
2990
|
+
inbound_tmp = Inbound.new
|
2991
|
+
inbound_tmp.deserialize(i)
|
2992
|
+
@Inbound << inbound_tmp
|
2993
|
+
end
|
2994
|
+
end
|
2995
|
+
end
|
2996
|
+
end
|
2997
|
+
|
2998
|
+
# StartUpInstance请求参数结构体
|
2999
|
+
class StartUpInstanceRequest < TencentCloud::Common::AbstractModel
|
3000
|
+
# @param InstanceId: 实例 ID。
|
3001
|
+
# @type InstanceId: String
|
3002
|
+
|
3003
|
+
attr_accessor :InstanceId
|
3004
|
+
|
3005
|
+
def initialize(instanceid=nil)
|
3006
|
+
@InstanceId = instanceid
|
3007
|
+
end
|
3008
|
+
|
3009
|
+
def deserialize(params)
|
3010
|
+
@InstanceId = params['InstanceId']
|
3011
|
+
end
|
3012
|
+
end
|
3013
|
+
|
3014
|
+
# StartUpInstance返回参数结构体
|
3015
|
+
class StartUpInstanceResponse < TencentCloud::Common::AbstractModel
|
3016
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3017
|
+
# @type RequestId: String
|
3018
|
+
|
3019
|
+
attr_accessor :RequestId
|
3020
|
+
|
3021
|
+
def initialize(requestid=nil)
|
3022
|
+
@RequestId = requestid
|
3023
|
+
end
|
3024
|
+
|
3025
|
+
def deserialize(params)
|
3026
|
+
@RequestId = params['RequestId']
|
3027
|
+
end
|
3028
|
+
end
|
3029
|
+
|
3030
|
+
# 任务信息详情
|
3031
|
+
class TaskInfoDetail < TencentCloud::Common::AbstractModel
|
3032
|
+
# @param TaskId: 任务Id
|
3033
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3034
|
+
# @type TaskId: Integer
|
3035
|
+
# @param StartTime: 开始时间
|
3036
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3037
|
+
# @type StartTime: String
|
3038
|
+
# @param TaskType: 任务类型
|
3039
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3040
|
+
# @type TaskType: String
|
3041
|
+
# @param InstanceName: 实例名称
|
3042
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3043
|
+
# @type InstanceName: String
|
3044
|
+
# @param InstanceId: 实例Id
|
3045
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3046
|
+
# @type InstanceId: String
|
3047
|
+
# @param ProjectId: 项目Id
|
3048
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3049
|
+
# @type ProjectId: Integer
|
3050
|
+
# @param Progress: 任务进度
|
3051
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3052
|
+
# @type Progress: Float
|
3053
|
+
# @param EndTime: 结束时间
|
3054
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3055
|
+
# @type EndTime: String
|
3056
|
+
# @param Result: 任务状态
|
3057
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3058
|
+
# @type Result: Integer
|
3059
|
+
# @param OperatorUin: 操作者用户uin
|
3060
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3061
|
+
# @type OperatorUin: String
|
3062
|
+
|
3063
|
+
attr_accessor :TaskId, :StartTime, :TaskType, :InstanceName, :InstanceId, :ProjectId, :Progress, :EndTime, :Result, :OperatorUin
|
3064
|
+
|
3065
|
+
def initialize(taskid=nil, starttime=nil, tasktype=nil, instancename=nil, instanceid=nil, projectid=nil, progress=nil, endtime=nil, result=nil, operatoruin=nil)
|
3066
|
+
@TaskId = taskid
|
3067
|
+
@StartTime = starttime
|
3068
|
+
@TaskType = tasktype
|
3069
|
+
@InstanceName = instancename
|
3070
|
+
@InstanceId = instanceid
|
3071
|
+
@ProjectId = projectid
|
3072
|
+
@Progress = progress
|
3073
|
+
@EndTime = endtime
|
3074
|
+
@Result = result
|
3075
|
+
@OperatorUin = operatoruin
|
3076
|
+
end
|
3077
|
+
|
3078
|
+
def deserialize(params)
|
3079
|
+
@TaskId = params['TaskId']
|
3080
|
+
@StartTime = params['StartTime']
|
3081
|
+
@TaskType = params['TaskType']
|
3082
|
+
@InstanceName = params['InstanceName']
|
3083
|
+
@InstanceId = params['InstanceId']
|
3084
|
+
@ProjectId = params['ProjectId']
|
3085
|
+
@Progress = params['Progress']
|
3086
|
+
@EndTime = params['EndTime']
|
3087
|
+
@Result = params['Result']
|
3088
|
+
@OperatorUin = params['OperatorUin']
|
3089
|
+
end
|
3090
|
+
end
|
3091
|
+
|
3092
|
+
# 实例慢查询详情
|
3093
|
+
class TendisSlowLogDetail < TencentCloud::Common::AbstractModel
|
3094
|
+
# @param ExecuteTime: 执行时间
|
3095
|
+
# @type ExecuteTime: String
|
3096
|
+
# @param Duration: 慢查询耗时(毫秒)
|
3097
|
+
# @type Duration: Integer
|
3098
|
+
# @param Command: 命令
|
3099
|
+
# @type Command: String
|
3100
|
+
# @param CommandLine: 详细命令行信息
|
3101
|
+
# @type CommandLine: String
|
3102
|
+
# @param Node: 节点ID
|
3103
|
+
# @type Node: String
|
3104
|
+
|
3105
|
+
attr_accessor :ExecuteTime, :Duration, :Command, :CommandLine, :Node
|
3106
|
+
|
3107
|
+
def initialize(executetime=nil, duration=nil, command=nil, commandline=nil, node=nil)
|
3108
|
+
@ExecuteTime = executetime
|
3109
|
+
@Duration = duration
|
3110
|
+
@Command = command
|
3111
|
+
@CommandLine = commandline
|
3112
|
+
@Node = node
|
3113
|
+
end
|
3114
|
+
|
3115
|
+
def deserialize(params)
|
3116
|
+
@ExecuteTime = params['ExecuteTime']
|
3117
|
+
@Duration = params['Duration']
|
3118
|
+
@Command = params['Command']
|
3119
|
+
@CommandLine = params['CommandLine']
|
3120
|
+
@Node = params['Node']
|
3121
|
+
end
|
3122
|
+
end
|
3123
|
+
|
3124
|
+
# UpgradeInstance请求参数结构体
|
3125
|
+
class UpgradeInstanceRequest < TencentCloud::Common::AbstractModel
|
3126
|
+
# @param InstanceId: 实例 ID。
|
3127
|
+
# @type InstanceId: String
|
3128
|
+
# @param MemSize: 配置变更后,每个分片持久化内存容量,单位:GB。
|
3129
|
+
# <ul><li>KeeWiDB 内存容量<b>MachineMemory</b>与持久内存容量<b>MemSize</b>为固定搭配,即2GB内存,固定分配8GB的持久内存,不可选择。具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。</li><li>变更实例内存、持久化内存与磁盘、变更实例的分片数量,每次只能变更一项。</li></ul>
|
3130
|
+
# @type MemSize: Integer
|
3131
|
+
# @param MachineCpu: CPU 核数。
|
3132
|
+
# @type MachineCpu: Integer
|
3133
|
+
# @param MachineMemory: 实例内存容量,单位:GB。
|
3134
|
+
# <ul><li>KeeWiDB 内存容量<b>MachineMemory</b>与持久内存容量<b>MemSize</b>为固定搭配,即2GB内存,固定分配8GB的持久内存,不可选择。具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。</li><li>变更实例内存、持久化内存与磁盘、变更实例的分片数量,每次只能变更一项。</li></ul>
|
3135
|
+
# @type MachineMemory: Integer
|
3136
|
+
# @param ShardNum: 配置变更后,分片数量。
|
3137
|
+
# <ul><li>增加后分片的数量务必为增加之前数量的整数倍。分片数量支持选择3、5、6、8、9、10、12、15、16、18、20、21、24、25、27、30、32、33、35、36、39、40、42、45、48、50、51、54、55、56、57、60、63、64分片。</li><li>变更实例内存、持久化内存与磁盘、变更实例的分片数量,每次只能变更一项。</li></ul>
|
3138
|
+
# @type ShardNum: Integer
|
3139
|
+
# @param DiskSize: 配置变更后,每个分片硬盘的容量。单位:GB。
|
3140
|
+
# <ul><li>每一缓存分片容量,对应的磁盘容量范围不同。具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。</li><li>变更实例内存、持久化内存与磁盘、变更实例的分片数量,每次只能变更一项。</li></ul>
|
3141
|
+
# @type DiskSize: Integer
|
3142
|
+
|
3143
|
+
attr_accessor :InstanceId, :MemSize, :MachineCpu, :MachineMemory, :ShardNum, :DiskSize
|
3144
|
+
|
3145
|
+
def initialize(instanceid=nil, memsize=nil, machinecpu=nil, machinememory=nil, shardnum=nil, disksize=nil)
|
3146
|
+
@InstanceId = instanceid
|
3147
|
+
@MemSize = memsize
|
3148
|
+
@MachineCpu = machinecpu
|
3149
|
+
@MachineMemory = machinememory
|
3150
|
+
@ShardNum = shardnum
|
3151
|
+
@DiskSize = disksize
|
3152
|
+
end
|
3153
|
+
|
3154
|
+
def deserialize(params)
|
3155
|
+
@InstanceId = params['InstanceId']
|
3156
|
+
@MemSize = params['MemSize']
|
3157
|
+
@MachineCpu = params['MachineCpu']
|
3158
|
+
@MachineMemory = params['MachineMemory']
|
3159
|
+
@ShardNum = params['ShardNum']
|
3160
|
+
@DiskSize = params['DiskSize']
|
3161
|
+
end
|
3162
|
+
end
|
3163
|
+
|
3164
|
+
# UpgradeInstance返回参数结构体
|
3165
|
+
class UpgradeInstanceResponse < TencentCloud::Common::AbstractModel
|
3166
|
+
# @param DealId: 交易ID。
|
3167
|
+
# @type DealId: String
|
3168
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3169
|
+
# @type RequestId: String
|
3170
|
+
|
3171
|
+
attr_accessor :DealId, :RequestId
|
3172
|
+
|
3173
|
+
def initialize(dealid=nil, requestid=nil)
|
3174
|
+
@DealId = dealid
|
3175
|
+
@RequestId = requestid
|
3176
|
+
end
|
3177
|
+
|
3178
|
+
def deserialize(params)
|
3179
|
+
@DealId = params['DealId']
|
3180
|
+
@RequestId = params['RequestId']
|
3181
|
+
end
|
3182
|
+
end
|
3183
|
+
|
3184
|
+
# 可用区内产品售卖信息
|
3185
|
+
class ZoneCapacityConf < TencentCloud::Common::AbstractModel
|
3186
|
+
# @param ZoneId: 可用区ID
|
3187
|
+
# @type ZoneId: String
|
3188
|
+
# @param ZoneName: 可用区名称
|
3189
|
+
# @type ZoneName: String
|
3190
|
+
# @param IsSaleout: 可用区是否售罄
|
3191
|
+
# @type IsSaleout: Boolean
|
3192
|
+
# @param IsDefault: 是否为默认可用区
|
3193
|
+
# @type IsDefault: Boolean
|
3194
|
+
# @param NetWorkType: 网络类型:basenet -- 基础网络;vpcnet -- VPC网络
|
3195
|
+
# @type NetWorkType: Array
|
3196
|
+
# @param ProductSet: 产品规格等信息
|
3197
|
+
# @type ProductSet: Array
|
3198
|
+
# @param OldZoneId: Int类型可用区ID
|
3199
|
+
# @type OldZoneId: Integer
|
3200
|
+
|
3201
|
+
attr_accessor :ZoneId, :ZoneName, :IsSaleout, :IsDefault, :NetWorkType, :ProductSet, :OldZoneId
|
3202
|
+
|
3203
|
+
def initialize(zoneid=nil, zonename=nil, issaleout=nil, isdefault=nil, networktype=nil, productset=nil, oldzoneid=nil)
|
3204
|
+
@ZoneId = zoneid
|
3205
|
+
@ZoneName = zonename
|
3206
|
+
@IsSaleout = issaleout
|
3207
|
+
@IsDefault = isdefault
|
3208
|
+
@NetWorkType = networktype
|
3209
|
+
@ProductSet = productset
|
3210
|
+
@OldZoneId = oldzoneid
|
3211
|
+
end
|
3212
|
+
|
3213
|
+
def deserialize(params)
|
3214
|
+
@ZoneId = params['ZoneId']
|
3215
|
+
@ZoneName = params['ZoneName']
|
3216
|
+
@IsSaleout = params['IsSaleout']
|
3217
|
+
@IsDefault = params['IsDefault']
|
3218
|
+
@NetWorkType = params['NetWorkType']
|
3219
|
+
unless params['ProductSet'].nil?
|
3220
|
+
@ProductSet = []
|
3221
|
+
params['ProductSet'].each do |i|
|
3222
|
+
productconf_tmp = ProductConf.new
|
3223
|
+
productconf_tmp.deserialize(i)
|
3224
|
+
@ProductSet << productconf_tmp
|
3225
|
+
end
|
3226
|
+
end
|
3227
|
+
@OldZoneId = params['OldZoneId']
|
3228
|
+
end
|
3229
|
+
end
|
3230
|
+
|
3231
|
+
end
|
3232
|
+
end
|
3233
|
+
end
|
3234
|
+
|