tencentcloud-sdk-cdwdoris 3.0.876 → 3.0.877
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20211228/client.rb +528 -0
- data/lib/v20211228/models.rb +1911 -64
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2136ecc9d23dceda0a21cf55f2fdd3882acfb5d
|
4
|
+
data.tar.gz: b9ead31f7e4f96a052da1210249af1e5eb8f9a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f27442584ecd37d6bebbe7b958d0d04f657a32ec94efdafd38e7771e9aef2a83f6ad8df536952d2dafd93317eaec8ba878767a95ab9e8123f4d0b07bc04ca4d5
|
7
|
+
data.tar.gz: 0e137e73c0bcfc95a3b45502aff5c8ce86b6e1033ffbc9a7c195d37cc17776a0946a499e08dbf1b61a877d898c001b9ff9ae49ce3bde2c902ab8e2c112dde823
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.877
|
data/lib/v20211228/client.rb
CHANGED
@@ -29,6 +29,54 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 取消对应的备份实例任务
|
33
|
+
|
34
|
+
# @param request: Request instance for CancelBackupJob.
|
35
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::CancelBackupJobRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::CancelBackupJobResponse`
|
37
|
+
def CancelBackupJob(request)
|
38
|
+
body = send_request('CancelBackupJob', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CancelBackupJobResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 创建或者修改备份策略
|
57
|
+
|
58
|
+
# @param request: Request instance for CreateBackUpSchedule.
|
59
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::CreateBackUpScheduleRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::CreateBackUpScheduleResponse`
|
61
|
+
def CreateBackUpSchedule(request)
|
62
|
+
body = send_request('CreateBackUpSchedule', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = CreateBackUpScheduleResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
32
80
|
# 通过API创建集群
|
33
81
|
|
34
82
|
# @param request: Request instance for CreateInstanceNew.
|
@@ -77,6 +125,30 @@ module TencentCloud
|
|
77
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
126
|
end
|
79
127
|
|
128
|
+
# 删除备份数据
|
129
|
+
|
130
|
+
# @param request: Request instance for DeleteBackUpData.
|
131
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DeleteBackUpDataRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DeleteBackUpDataResponse`
|
133
|
+
def DeleteBackUpData(request)
|
134
|
+
body = send_request('DeleteBackUpData', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = DeleteBackUpDataResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
80
152
|
# 删除资源组
|
81
153
|
|
82
154
|
# @param request: Request instance for DeleteWorkloadGroup.
|
@@ -101,6 +173,150 @@ module TencentCloud
|
|
101
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
174
|
end
|
103
175
|
|
176
|
+
# 集群列表页上显示地域信息及各个地域的集群总数
|
177
|
+
|
178
|
+
# @param request: Request instance for DescribeAreaRegion.
|
179
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeAreaRegionRequest`
|
180
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeAreaRegionResponse`
|
181
|
+
def DescribeAreaRegion(request)
|
182
|
+
body = send_request('DescribeAreaRegion', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = DescribeAreaRegionResponse.new
|
186
|
+
model.deserialize(response['Response'])
|
187
|
+
model
|
188
|
+
else
|
189
|
+
code = response['Response']['Error']['Code']
|
190
|
+
message = response['Response']['Error']['Message']
|
191
|
+
reqid = response['Response']['RequestId']
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
193
|
+
end
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
195
|
+
raise e
|
196
|
+
rescue StandardError => e
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
|
+
end
|
199
|
+
|
200
|
+
# 查询备份实例列表
|
201
|
+
|
202
|
+
# @param request: Request instance for DescribeBackUpJob.
|
203
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpJobRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpJobResponse`
|
205
|
+
def DescribeBackUpJob(request)
|
206
|
+
body = send_request('DescribeBackUpJob', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = DescribeBackUpJobResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# 查询备份任务详情
|
225
|
+
|
226
|
+
# @param request: Request instance for DescribeBackUpJobDetail.
|
227
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpJobDetailRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpJobDetailResponse`
|
229
|
+
def DescribeBackUpJobDetail(request)
|
230
|
+
body = send_request('DescribeBackUpJobDetail', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DescribeBackUpJobDetailResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 获取备份、迁移的调度任务信息
|
249
|
+
|
250
|
+
# @param request: Request instance for DescribeBackUpSchedules.
|
251
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpSchedulesRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpSchedulesResponse`
|
253
|
+
def DescribeBackUpSchedules(request)
|
254
|
+
body = send_request('DescribeBackUpSchedules', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DescribeBackUpSchedulesResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
272
|
+
# 获取可备份表信息
|
273
|
+
|
274
|
+
# @param request: Request instance for DescribeBackUpTables.
|
275
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpTablesRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpTablesResponse`
|
277
|
+
def DescribeBackUpTables(request)
|
278
|
+
body = send_request('DescribeBackUpTables', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DescribeBackUpTablesResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
296
|
+
# 查询备份任务进度详情
|
297
|
+
|
298
|
+
# @param request: Request instance for DescribeBackUpTaskDetail.
|
299
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpTaskDetailRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeBackUpTaskDetailResponse`
|
301
|
+
def DescribeBackUpTaskDetail(request)
|
302
|
+
body = send_request('DescribeBackUpTaskDetail', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DescribeBackUpTaskDetailResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
104
320
|
# 获取集群的最新的几个配置文件(config.xml、metrika.xml、user.xml)的内容,显示给用户
|
105
321
|
|
106
322
|
# @param request: Request instance for DescribeClusterConfigs.
|
@@ -125,6 +341,30 @@ module TencentCloud
|
|
125
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
342
|
end
|
127
343
|
|
344
|
+
# 获取集群配置文件修改历史
|
345
|
+
|
346
|
+
# @param request: Request instance for DescribeClusterConfigsHistory.
|
347
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeClusterConfigsHistoryRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeClusterConfigsHistoryResponse`
|
349
|
+
def DescribeClusterConfigsHistory(request)
|
350
|
+
body = send_request('DescribeClusterConfigsHistory', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = DescribeClusterConfigsHistoryResponse.new
|
354
|
+
model.deserialize(response['Response'])
|
355
|
+
model
|
356
|
+
else
|
357
|
+
code = response['Response']['Error']['Code']
|
358
|
+
message = response['Response']['Error']['Message']
|
359
|
+
reqid = response['Response']['RequestId']
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
+
end
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
+
raise e
|
364
|
+
rescue StandardError => e
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
+
end
|
367
|
+
|
128
368
|
# 下载数据库审计日志
|
129
369
|
|
130
370
|
# @param request: Request instance for DescribeDatabaseAuditDownload.
|
@@ -173,6 +413,78 @@ module TencentCloud
|
|
173
413
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
414
|
end
|
175
415
|
|
416
|
+
# 数据库审计数据库、用户等
|
417
|
+
|
418
|
+
# @param request: Request instance for DescribeDatabaseAuditResource.
|
419
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditResourceRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditResourceResponse`
|
421
|
+
def DescribeDatabaseAuditResource(request)
|
422
|
+
body = send_request('DescribeDatabaseAuditResource', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DescribeDatabaseAuditResourceResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
440
|
+
# 查询sql工作区历史运行记录
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribeDmsSqlHistory.
|
443
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDmsSqlHistoryRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDmsSqlHistoryResponse`
|
445
|
+
def DescribeDmsSqlHistory(request)
|
446
|
+
body = send_request('DescribeDmsSqlHistory', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeDmsSqlHistoryResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
464
|
+
# 展示监控指标文件
|
465
|
+
|
466
|
+
# @param request: Request instance for DescribeDorisMetricFiles.
|
467
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDorisMetricFilesRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDorisMetricFilesResponse`
|
469
|
+
def DescribeDorisMetricFiles(request)
|
470
|
+
body = send_request('DescribeDorisMetricFiles', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = DescribeDorisMetricFilesResponse.new
|
474
|
+
model.deserialize(response['Response'])
|
475
|
+
model
|
476
|
+
else
|
477
|
+
code = response['Response']['Error']['Code']
|
478
|
+
message = response['Response']['Error']['Message']
|
479
|
+
reqid = response['Response']['RequestId']
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
481
|
+
end
|
482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
483
|
+
raise e
|
484
|
+
rescue StandardError => e
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
|
+
end
|
487
|
+
|
176
488
|
# 获取联合身份临时访问凭证
|
177
489
|
|
178
490
|
# @param request: Request instance for DescribeFederationToken.
|
@@ -197,6 +509,30 @@ module TencentCloud
|
|
197
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
510
|
end
|
199
511
|
|
512
|
+
# 查询前端内容
|
513
|
+
|
514
|
+
# @param request: Request instance for DescribeFrontEnd.
|
515
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeFrontEndRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeFrontEndResponse`
|
517
|
+
def DescribeFrontEnd(request)
|
518
|
+
body = send_request('DescribeFrontEnd', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = DescribeFrontEndResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
200
536
|
# 生成计费相关接口的GoodsDetail结构
|
201
537
|
|
202
538
|
# @param request: Request instance for DescribeGoodsDetail.
|
@@ -293,6 +629,54 @@ module TencentCloud
|
|
293
629
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
630
|
end
|
295
631
|
|
632
|
+
# 获取集群节点角色
|
633
|
+
|
634
|
+
# @param request: Request instance for DescribeInstanceNodesRole.
|
635
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeInstanceNodesRoleRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeInstanceNodesRoleResponse`
|
637
|
+
def DescribeInstanceNodesRole(request)
|
638
|
+
body = send_request('DescribeInstanceNodesRole', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = DescribeInstanceNodesRoleResponse.new
|
642
|
+
model.deserialize(response['Response'])
|
643
|
+
model
|
644
|
+
else
|
645
|
+
code = response['Response']['Error']['Code']
|
646
|
+
message = response['Response']['Error']['Message']
|
647
|
+
reqid = response['Response']['RequestId']
|
648
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
+
end
|
650
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
+
raise e
|
652
|
+
rescue StandardError => e
|
653
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
+
end
|
655
|
+
|
656
|
+
# 在集群详情页面,拉取该集群的操作
|
657
|
+
|
658
|
+
# @param request: Request instance for DescribeInstanceOperations.
|
659
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeInstanceOperationsRequest`
|
660
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeInstanceOperationsResponse`
|
661
|
+
def DescribeInstanceOperations(request)
|
662
|
+
body = send_request('DescribeInstanceOperations', request.serialize)
|
663
|
+
response = JSON.parse(body)
|
664
|
+
if response['Response'].key?('Error') == false
|
665
|
+
model = DescribeInstanceOperationsResponse.new
|
666
|
+
model.deserialize(response['Response'])
|
667
|
+
model
|
668
|
+
else
|
669
|
+
code = response['Response']['Error']['Code']
|
670
|
+
message = response['Response']['Error']['Message']
|
671
|
+
reqid = response['Response']['RequestId']
|
672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
673
|
+
end
|
674
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
675
|
+
raise e
|
676
|
+
rescue StandardError => e
|
677
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
|
+
end
|
679
|
+
|
296
680
|
# 集群详情页中显示集群状态、流程进度等
|
297
681
|
|
298
682
|
# @param request: Request instance for DescribeInstanceState.
|
@@ -365,6 +749,30 @@ module TencentCloud
|
|
365
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
750
|
end
|
367
751
|
|
752
|
+
# 集群健康检查
|
753
|
+
|
754
|
+
# @param request: Request instance for DescribeInstancesHealthState.
|
755
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeInstancesHealthStateRequest`
|
756
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeInstancesHealthStateResponse`
|
757
|
+
def DescribeInstancesHealthState(request)
|
758
|
+
body = send_request('DescribeInstancesHealthState', request.serialize)
|
759
|
+
response = JSON.parse(body)
|
760
|
+
if response['Response'].key?('Error') == false
|
761
|
+
model = DescribeInstancesHealthStateResponse.new
|
762
|
+
model.deserialize(response['Response'])
|
763
|
+
model
|
764
|
+
else
|
765
|
+
code = response['Response']['Error']['Code']
|
766
|
+
message = response['Response']['Error']['Message']
|
767
|
+
reqid = response['Response']['RequestId']
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
+
end
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
+
raise e
|
772
|
+
rescue StandardError => e
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
+
end
|
775
|
+
|
368
776
|
# 购买页获取地域及可用区列表、内核版本、网络规则等
|
369
777
|
|
370
778
|
# @param request: Request instance for DescribeRegionZone.
|
@@ -485,6 +893,30 @@ module TencentCloud
|
|
485
893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
894
|
end
|
487
895
|
|
896
|
+
# 购买页拉取集群的数据节点和zookeeper节点的规格列表
|
897
|
+
|
898
|
+
# @param request: Request instance for DescribeSpec.
|
899
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeSpecRequest`
|
900
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeSpecResponse`
|
901
|
+
def DescribeSpec(request)
|
902
|
+
body = send_request('DescribeSpec', request.serialize)
|
903
|
+
response = JSON.parse(body)
|
904
|
+
if response['Response'].key?('Error') == false
|
905
|
+
model = DescribeSpecResponse.new
|
906
|
+
model.deserialize(response['Response'])
|
907
|
+
model
|
908
|
+
else
|
909
|
+
code = response['Response']['Error']['Code']
|
910
|
+
message = response['Response']['Error']['Message']
|
911
|
+
reqid = response['Response']['RequestId']
|
912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
913
|
+
end
|
914
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
915
|
+
raise e
|
916
|
+
rescue StandardError => e
|
917
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
|
+
end
|
919
|
+
|
488
920
|
# 针对驱动sql命令查询ck集群接口
|
489
921
|
|
490
922
|
# @param request: Request instance for DescribeSqlApis.
|
@@ -653,6 +1085,30 @@ module TencentCloud
|
|
653
1085
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
1086
|
end
|
655
1087
|
|
1088
|
+
# 修改节点状态
|
1089
|
+
|
1090
|
+
# @param request: Request instance for ModifyNodeStatus.
|
1091
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::ModifyNodeStatusRequest`
|
1092
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::ModifyNodeStatusResponse`
|
1093
|
+
def ModifyNodeStatus(request)
|
1094
|
+
body = send_request('ModifyNodeStatus', request.serialize)
|
1095
|
+
response = JSON.parse(body)
|
1096
|
+
if response['Response'].key?('Error') == false
|
1097
|
+
model = ModifyNodeStatusResponse.new
|
1098
|
+
model.deserialize(response['Response'])
|
1099
|
+
model
|
1100
|
+
else
|
1101
|
+
code = response['Response']['Error']['Code']
|
1102
|
+
message = response['Response']['Error']['Message']
|
1103
|
+
reqid = response['Response']['RequestId']
|
1104
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1105
|
+
end
|
1106
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1107
|
+
raise e
|
1108
|
+
rescue StandardError => e
|
1109
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
|
+
end
|
1111
|
+
|
656
1112
|
# 更改安全组
|
657
1113
|
|
658
1114
|
# @param request: Request instance for ModifySecurityGroups.
|
@@ -773,6 +1229,54 @@ module TencentCloud
|
|
773
1229
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
1230
|
end
|
775
1231
|
|
1232
|
+
# 开启或者关闭策略
|
1233
|
+
|
1234
|
+
# @param request: Request instance for OpenBackUp.
|
1235
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::OpenBackUpRequest`
|
1236
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::OpenBackUpResponse`
|
1237
|
+
def OpenBackUp(request)
|
1238
|
+
body = send_request('OpenBackUp', request.serialize)
|
1239
|
+
response = JSON.parse(body)
|
1240
|
+
if response['Response'].key?('Error') == false
|
1241
|
+
model = OpenBackUpResponse.new
|
1242
|
+
model.deserialize(response['Response'])
|
1243
|
+
model
|
1244
|
+
else
|
1245
|
+
code = response['Response']['Error']['Code']
|
1246
|
+
message = response['Response']['Error']['Message']
|
1247
|
+
reqid = response['Response']['RequestId']
|
1248
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1249
|
+
end
|
1250
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1251
|
+
raise e
|
1252
|
+
rescue StandardError => e
|
1253
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
# 备份恢复
|
1257
|
+
|
1258
|
+
# @param request: Request instance for RecoverBackUpJob.
|
1259
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::RecoverBackUpJobRequest`
|
1260
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::RecoverBackUpJobResponse`
|
1261
|
+
def RecoverBackUpJob(request)
|
1262
|
+
body = send_request('RecoverBackUpJob', request.serialize)
|
1263
|
+
response = JSON.parse(body)
|
1264
|
+
if response['Response'].key?('Error') == false
|
1265
|
+
model = RecoverBackUpJobResponse.new
|
1266
|
+
model.deserialize(response['Response'])
|
1267
|
+
model
|
1268
|
+
else
|
1269
|
+
code = response['Response']['Error']['Code']
|
1270
|
+
message = response['Response']['Error']['Message']
|
1271
|
+
reqid = response['Response']['RequestId']
|
1272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1273
|
+
end
|
1274
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1275
|
+
raise e
|
1276
|
+
rescue StandardError => e
|
1277
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1278
|
+
end
|
1279
|
+
|
776
1280
|
# 集群缩容
|
777
1281
|
|
778
1282
|
# @param request: Request instance for ReduceInstance.
|
@@ -821,6 +1325,30 @@ module TencentCloud
|
|
821
1325
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
1326
|
end
|
823
1327
|
|
1328
|
+
# 重启集群让配置文件生效
|
1329
|
+
|
1330
|
+
# @param request: Request instance for RestartClusterForConfigs.
|
1331
|
+
# @type request: :class:`Tencentcloud::cdwdoris::V20211228::RestartClusterForConfigsRequest`
|
1332
|
+
# @rtype: :class:`Tencentcloud::cdwdoris::V20211228::RestartClusterForConfigsResponse`
|
1333
|
+
def RestartClusterForConfigs(request)
|
1334
|
+
body = send_request('RestartClusterForConfigs', request.serialize)
|
1335
|
+
response = JSON.parse(body)
|
1336
|
+
if response['Response'].key?('Error') == false
|
1337
|
+
model = RestartClusterForConfigsResponse.new
|
1338
|
+
model.deserialize(response['Response'])
|
1339
|
+
model
|
1340
|
+
else
|
1341
|
+
code = response['Response']['Error']['Code']
|
1342
|
+
message = response['Response']['Error']['Message']
|
1343
|
+
reqid = response['Response']['RequestId']
|
1344
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1345
|
+
end
|
1346
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1347
|
+
raise e
|
1348
|
+
rescue StandardError => e
|
1349
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1350
|
+
end
|
1351
|
+
|
824
1352
|
# 集群滚动重启
|
825
1353
|
|
826
1354
|
# @param request: Request instance for RestartClusterForNode.
|