tencentcloud-sdk-cdwdoris 3.0.888 → 3.0.889

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c9ba8ba2549dd4cc143d82ef86e8f6b5e12bf19
4
- data.tar.gz: 82898946bc1cd079b1051d12a0537d9afcd6adab
3
+ metadata.gz: 59d62fdfbbddaebefc9044648bb4b8cce33a84f8
4
+ data.tar.gz: 5edff77cea80b6dbce8609ddd44f709b9a10728d
5
5
  SHA512:
6
- metadata.gz: 76247e2452bd2e436cf13907322d6c272912c1aed9dcb3df25160d9a5de98bc633add155d9b87bb5f8f7e5a031f2bd2ab543df038da8f9b58d4133857f8385c8
7
- data.tar.gz: cc1167cd6618481a8747eb850f15c2e5529c13ef7a8da2e825b25af5ef6a05ef2d0da50c3e68f986f0d1a929fe6c7532ea07ce06afd51fd0f6a98f322314e0cf
6
+ metadata.gz: e6c6f78bb8653012e57afaa874ad8021a7ed9529fc0a93e45c399486c237fc51a83cd8433120a9db32699a6c4a1924ff35f0a49838a50042cfc7f470ac8ac926
7
+ data.tar.gz: 7510c447c72fd55a0c290a32e6e14baac7d34d8d6757b8885e422c3e26a7f8ea0e8e023316e8ff7c5462c47c767230dbe89f9d0e334dc987fc53e6fc61eb896a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.888
1
+ 3.0.889
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 查询冷热分层生效变量和配置是否正确
57
+
58
+ # @param request: Request instance for CheckCoolDownWorkingVariableConfigCorrect.
59
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::CheckCoolDownWorkingVariableConfigCorrectRequest`
60
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::CheckCoolDownWorkingVariableConfigCorrectResponse`
61
+ def CheckCoolDownWorkingVariableConfigCorrect(request)
62
+ body = send_request('CheckCoolDownWorkingVariableConfigCorrect', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CheckCoolDownWorkingVariableConfigCorrectResponse.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
+
56
80
  # 创建或者修改备份策略
57
81
 
58
82
  # @param request: Request instance for CreateBackUpSchedule.
@@ -77,6 +101,30 @@ module TencentCloud
77
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
102
  end
79
103
 
104
+ # 创建冷热分层策略
105
+
106
+ # @param request: Request instance for CreateCoolDownPolicy.
107
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::CreateCoolDownPolicyRequest`
108
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::CreateCoolDownPolicyResponse`
109
+ def CreateCoolDownPolicy(request)
110
+ body = send_request('CreateCoolDownPolicy', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = CreateCoolDownPolicyResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
80
128
  # 通过API创建集群
81
129
 
82
130
  # @param request: Request instance for CreateInstanceNew.
@@ -365,16 +413,16 @@ module TencentCloud
365
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
414
  end
367
415
 
368
- # 下载数据库审计日志
416
+ # 查询冷热分层backend节点信息列表
369
417
 
370
- # @param request: Request instance for DescribeDatabaseAuditDownload.
371
- # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditDownloadRequest`
372
- # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditDownloadResponse`
373
- def DescribeDatabaseAuditDownload(request)
374
- body = send_request('DescribeDatabaseAuditDownload', request.serialize)
418
+ # @param request: Request instance for DescribeCoolDownBackends.
419
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeCoolDownBackendsRequest`
420
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeCoolDownBackendsResponse`
421
+ def DescribeCoolDownBackends(request)
422
+ body = send_request('DescribeCoolDownBackends', request.serialize)
375
423
  response = JSON.parse(body)
376
424
  if response['Response'].key?('Error') == false
377
- model = DescribeDatabaseAuditDownloadResponse.new
425
+ model = DescribeCoolDownBackendsResponse.new
378
426
  model.deserialize(response['Response'])
379
427
  model
380
428
  else
@@ -389,16 +437,16 @@ module TencentCloud
389
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
438
  end
391
439
 
392
- # 获取数据库审计记录
440
+ # 查询冷热分层策略列表
393
441
 
394
- # @param request: Request instance for DescribeDatabaseAuditRecords.
395
- # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditRecordsRequest`
396
- # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditRecordsResponse`
397
- def DescribeDatabaseAuditRecords(request)
398
- body = send_request('DescribeDatabaseAuditRecords', request.serialize)
442
+ # @param request: Request instance for DescribeCoolDownPolicies.
443
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeCoolDownPoliciesRequest`
444
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeCoolDownPoliciesResponse`
445
+ def DescribeCoolDownPolicies(request)
446
+ body = send_request('DescribeCoolDownPolicies', request.serialize)
399
447
  response = JSON.parse(body)
400
448
  if response['Response'].key?('Error') == false
401
- model = DescribeDatabaseAuditRecordsResponse.new
449
+ model = DescribeCoolDownPoliciesResponse.new
402
450
  model.deserialize(response['Response'])
403
451
  model
404
452
  else
@@ -413,16 +461,16 @@ module TencentCloud
413
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
462
  end
415
463
 
416
- # 数据库审计数据库、用户等
464
+ # 查询冷热分层Table数据
417
465
 
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)
466
+ # @param request: Request instance for DescribeCoolDownTableData.
467
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeCoolDownTableDataRequest`
468
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeCoolDownTableDataResponse`
469
+ def DescribeCoolDownTableData(request)
470
+ body = send_request('DescribeCoolDownTableData', request.serialize)
423
471
  response = JSON.parse(body)
424
472
  if response['Response'].key?('Error') == false
425
- model = DescribeDatabaseAuditResourceResponse.new
473
+ model = DescribeCoolDownTableDataResponse.new
426
474
  model.deserialize(response['Response'])
427
475
  model
428
476
  else
@@ -437,88 +485,16 @@ module TencentCloud
437
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
486
  end
439
487
 
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
-
488
- # 获取联合身份临时访问凭证
489
-
490
- # @param request: Request instance for DescribeFederationToken.
491
- # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeFederationTokenRequest`
492
- # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeFederationTokenResponse`
493
- def DescribeFederationToken(request)
494
- body = send_request('DescribeFederationToken', request.serialize)
495
- response = JSON.parse(body)
496
- if response['Response'].key?('Error') == false
497
- model = DescribeFederationTokenResponse.new
498
- model.deserialize(response['Response'])
499
- model
500
- else
501
- code = response['Response']['Error']['Code']
502
- message = response['Response']['Error']['Message']
503
- reqid = response['Response']['RequestId']
504
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
- end
506
- rescue TencentCloud::Common::TencentCloudSDKException => e
507
- raise e
508
- rescue StandardError => e
509
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
- end
511
-
512
- # 查询前端内容
488
+ # 下载数据库审计日志
513
489
 
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)
490
+ # @param request: Request instance for DescribeDatabaseAuditDownload.
491
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditDownloadRequest`
492
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditDownloadResponse`
493
+ def DescribeDatabaseAuditDownload(request)
494
+ body = send_request('DescribeDatabaseAuditDownload', request.serialize)
519
495
  response = JSON.parse(body)
520
496
  if response['Response'].key?('Error') == false
521
- model = DescribeFrontEndResponse.new
497
+ model = DescribeDatabaseAuditDownloadResponse.new
522
498
  model.deserialize(response['Response'])
523
499
  model
524
500
  else
@@ -533,16 +509,16 @@ module TencentCloud
533
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
510
  end
535
511
 
536
- # 生成计费相关接口的GoodsDetail结构
512
+ # 获取数据库审计记录
537
513
 
538
- # @param request: Request instance for DescribeGoodsDetail.
539
- # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeGoodsDetailRequest`
540
- # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeGoodsDetailResponse`
541
- def DescribeGoodsDetail(request)
542
- body = send_request('DescribeGoodsDetail', request.serialize)
514
+ # @param request: Request instance for DescribeDatabaseAuditRecords.
515
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditRecordsRequest`
516
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeDatabaseAuditRecordsResponse`
517
+ def DescribeDatabaseAuditRecords(request)
518
+ body = send_request('DescribeDatabaseAuditRecords', request.serialize)
543
519
  response = JSON.parse(body)
544
520
  if response['Response'].key?('Error') == false
545
- model = DescribeGoodsDetailResponse.new
521
+ model = DescribeDatabaseAuditRecordsResponse.new
546
522
  model.deserialize(response['Response'])
547
523
  model
548
524
  else
@@ -773,54 +749,6 @@ module TencentCloud
773
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
750
  end
775
751
 
776
- # 购买页获取地域及可用区列表、内核版本、网络规则等
777
-
778
- # @param request: Request instance for DescribeRegionZone.
779
- # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeRegionZoneRequest`
780
- # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeRegionZoneResponse`
781
- def DescribeRegionZone(request)
782
- body = send_request('DescribeRegionZone', request.serialize)
783
- response = JSON.parse(body)
784
- if response['Response'].key?('Error') == false
785
- model = DescribeRegionZoneResponse.new
786
- model.deserialize(response['Response'])
787
- model
788
- else
789
- code = response['Response']['Error']['Code']
790
- message = response['Response']['Error']['Message']
791
- reqid = response['Response']['RequestId']
792
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
- end
794
- rescue TencentCloud::Common::TencentCloudSDKException => e
795
- raise e
796
- rescue StandardError => e
797
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
- end
799
-
800
- # 检查内核版本是否支持新的备份恢复语法
801
-
802
- # @param request: Request instance for DescribeReplicaVersion.
803
- # @type request: :class:`Tencentcloud::cdwdoris::V20211228::DescribeReplicaVersionRequest`
804
- # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::DescribeReplicaVersionResponse`
805
- def DescribeReplicaVersion(request)
806
- body = send_request('DescribeReplicaVersion', request.serialize)
807
- response = JSON.parse(body)
808
- if response['Response'].key?('Error') == false
809
- model = DescribeReplicaVersionResponse.new
810
- model.deserialize(response['Response'])
811
- model
812
- else
813
- code = response['Response']['Error']['Code']
814
- message = response['Response']['Error']['Message']
815
- reqid = response['Response']['RequestId']
816
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
- end
818
- rescue TencentCloud::Common::TencentCloudSDKException => e
819
- raise e
820
- rescue StandardError => e
821
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
- end
823
-
824
752
  # 查询恢复任务进度详情
825
753
 
826
754
  # @param request: Request instance for DescribeRestoreTaskDetail.
@@ -1037,16 +965,16 @@ module TencentCloud
1037
965
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
966
  end
1039
967
 
1040
- # 给已存在集群,配置日志服务
968
+ # 修改冷热分层策略
1041
969
 
1042
- # @param request: Request instance for FitClsLog.
1043
- # @type request: :class:`Tencentcloud::cdwdoris::V20211228::FitClsLogRequest`
1044
- # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::FitClsLogResponse`
1045
- def FitClsLog(request)
1046
- body = send_request('FitClsLog', request.serialize)
970
+ # @param request: Request instance for ModifyCoolDownPolicy.
971
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::ModifyCoolDownPolicyRequest`
972
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::ModifyCoolDownPolicyResponse`
973
+ def ModifyCoolDownPolicy(request)
974
+ body = send_request('ModifyCoolDownPolicy', request.serialize)
1047
975
  response = JSON.parse(body)
1048
976
  if response['Response'].key?('Error') == false
1049
- model = FitClsLogResponse.new
977
+ model = ModifyCoolDownPolicyResponse.new
1050
978
  model.deserialize(response['Response'])
1051
979
  model
1052
980
  else
@@ -1253,16 +1181,40 @@ module TencentCloud
1253
1181
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
1182
  end
1255
1183
 
1256
- # 开启或者关闭策略
1184
+ # 开始启用冷热分层
1257
1185
 
1258
- # @param request: Request instance for OpenBackUp.
1259
- # @type request: :class:`Tencentcloud::cdwdoris::V20211228::OpenBackUpRequest`
1260
- # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::OpenBackUpResponse`
1261
- def OpenBackUp(request)
1262
- body = send_request('OpenBackUp', request.serialize)
1186
+ # @param request: Request instance for OpenCoolDown.
1187
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::OpenCoolDownRequest`
1188
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::OpenCoolDownResponse`
1189
+ def OpenCoolDown(request)
1190
+ body = send_request('OpenCoolDown', request.serialize)
1263
1191
  response = JSON.parse(body)
1264
1192
  if response['Response'].key?('Error') == false
1265
- model = OpenBackUpResponse.new
1193
+ model = OpenCoolDownResponse.new
1194
+ model.deserialize(response['Response'])
1195
+ model
1196
+ else
1197
+ code = response['Response']['Error']['Code']
1198
+ message = response['Response']['Error']['Message']
1199
+ reqid = response['Response']['RequestId']
1200
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1201
+ end
1202
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1203
+ raise e
1204
+ rescue StandardError => e
1205
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
+ end
1207
+
1208
+ # 开通、描述降冷策略接口
1209
+
1210
+ # @param request: Request instance for OpenCoolDownPolicy.
1211
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::OpenCoolDownPolicyRequest`
1212
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::OpenCoolDownPolicyResponse`
1213
+ def OpenCoolDownPolicy(request)
1214
+ body = send_request('OpenCoolDownPolicy', request.serialize)
1215
+ response = JSON.parse(body)
1216
+ if response['Response'].key?('Error') == false
1217
+ model = OpenCoolDownPolicyResponse.new
1266
1218
  model.deserialize(response['Response'])
1267
1219
  model
1268
1220
  else
@@ -1445,6 +1397,30 @@ module TencentCloud
1445
1397
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1446
1398
  end
1447
1399
 
1400
+ # 更新集群冷热分层信息
1401
+
1402
+ # @param request: Request instance for UpdateCoolDown.
1403
+ # @type request: :class:`Tencentcloud::cdwdoris::V20211228::UpdateCoolDownRequest`
1404
+ # @rtype: :class:`Tencentcloud::cdwdoris::V20211228::UpdateCoolDownResponse`
1405
+ def UpdateCoolDown(request)
1406
+ body = send_request('UpdateCoolDown', request.serialize)
1407
+ response = JSON.parse(body)
1408
+ if response['Response'].key?('Error') == false
1409
+ model = UpdateCoolDownResponse.new
1410
+ model.deserialize(response['Response'])
1411
+ model
1412
+ else
1413
+ code = response['Response']['Error']['Code']
1414
+ message = response['Response']['Error']['Message']
1415
+ reqid = response['Response']['RequestId']
1416
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1417
+ end
1418
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1419
+ raise e
1420
+ rescue StandardError => e
1421
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1422
+ end
1423
+
1448
1424
 
1449
1425
  end
1450
1426
  end