tencentcloud-sdk-dbbrain 3.0.1140 → 3.0.1149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191016/models.rb +57 -33
- data/lib/v20210527/client.rb +72 -0
- data/lib/v20210527/models.rb +443 -115
- 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: 859092bb432a58fb10c4db5f0c61febf77daf404
|
4
|
+
data.tar.gz: da746a475ca9a7fad0796f1320a553e4a16d15c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4c30a8b8b43ff1d48a0bcf1b9399fe9614c44e859548a853345da18510017b107002c3d7d96ca2f8767c4954a6c73bdaf95b1715c24cec0adde39fdc12b1c4d
|
7
|
+
data.tar.gz: 20b58f8ffc37e03cb7db83ba590345f13c1bbe87decd0ae49778c5d7184529ebfb0c42a8b3af36629083019baa930c5afd502a77c52f3e55c4c4643cc1c22b89
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1149
|
data/lib/v20191016/models.rb
CHANGED
@@ -99,7 +99,7 @@ module TencentCloud
|
|
99
99
|
# @type ContactPerson: Array
|
100
100
|
# @param ContactGroup: 接收邮件的联系组ID数组。
|
101
101
|
# @type ContactGroup: Array
|
102
|
-
# @param Product:
|
102
|
+
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB,"mariadb" - 云数据库 MariaDB,"dcdb" - 云数据库 TDSQL MySQL,默认为"mysql"。
|
103
103
|
# @type Product: String
|
104
104
|
|
105
105
|
attr_accessor :InstanceId, :StartTime, :EndTime, :SendMailFlag, :ContactPerson, :ContactGroup, :Product
|
@@ -147,11 +147,12 @@ module TencentCloud
|
|
147
147
|
|
148
148
|
# CreateDBDiagReportUrl请求参数结构体
|
149
149
|
class CreateDBDiagReportUrlRequest < TencentCloud::Common::AbstractModel
|
150
|
-
# @param InstanceId: 实例ID
|
150
|
+
# @param InstanceId: 实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
151
|
+
# 示例值:cdb-dctw4edd
|
151
152
|
# @type InstanceId: String
|
152
|
-
# @param AsyncRequestId: 健康报告相应的任务ID,可通过DescribeDBDiagReportTasks查询。
|
153
|
+
# @param AsyncRequestId: 健康报告相应的任务ID,可通过[DescribeDBDiagReportTasks](https://cloud.tencent.com/document/product/1130/54873)查询。
|
153
154
|
# @type AsyncRequestId: Integer
|
154
|
-
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
155
|
+
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB,"mariadb" - 云数据库 MariaDB,"dcdb" - 云数据库 TDSQL MySQL,默认为"mysql"。
|
155
156
|
# @type Product: String
|
156
157
|
|
157
158
|
attr_accessor :InstanceId, :AsyncRequestId, :Product
|
@@ -199,13 +200,13 @@ module TencentCloud
|
|
199
200
|
# @type ProfileInfo: :class:`Tencentcloud::Dbbrain.v20191016.models.ProfileInfo`
|
200
201
|
# @param ProfileLevel: 配置级别,支持值包括:"User" - 用户级别,"Instance" - 实例级别,其中数据库巡检邮件配置为用户级别,定期生成邮件配置为实例级别。
|
201
202
|
# @type ProfileLevel: String
|
202
|
-
# @param ProfileName: 配置名称,需要保持唯一性,数据库巡检邮件配置名称自拟;定期生成邮件配置命名格式:"scheduler_" + {instanceId},如"
|
203
|
+
# @param ProfileName: 配置名称,需要保持唯一性,数据库巡检邮件配置名称自拟;定期生成邮件配置命名格式:"scheduler_" + {instanceId},如"scheduler_cdb-test"。
|
203
204
|
# @type ProfileName: String
|
204
205
|
# @param ProfileType: 配置类型,支持值包括:"dbScan_mail_configuration" - 数据库巡检邮件配置,"scheduler_mail_configuration" - 定期生成邮件配置。
|
205
206
|
# @type ProfileType: String
|
206
|
-
# @param Product:
|
207
|
+
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB,"mariadb" - 云数据库 MariaDB,"dcdb" - 云数据库 TDSQL MySQL,默认为"mysql"。
|
207
208
|
# @type Product: String
|
208
|
-
# @param BindInstanceIds: 配置绑定的实例ID
|
209
|
+
# @param BindInstanceIds: 配置绑定的实例ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。当配置级别为"Instance"时需要传入且只能为一个实例;当配置级别为“User”时,此参数不填。
|
209
210
|
# @type BindInstanceIds: Array
|
210
211
|
|
211
212
|
attr_accessor :ProfileInfo, :ProfileLevel, :ProfileName, :ProfileType, :Product, :BindInstanceIds
|
@@ -254,11 +255,11 @@ module TencentCloud
|
|
254
255
|
# @type WeekConfiguration: Array
|
255
256
|
# @param ProfileInfo: 邮件配置内容。
|
256
257
|
# @type ProfileInfo: :class:`Tencentcloud::Dbbrain.v20191016.models.ProfileInfo`
|
257
|
-
# @param ProfileName: 配置名称,需要保持唯一性,定期生成邮件配置命名格式:"scheduler_" + {instanceId},如"
|
258
|
+
# @param ProfileName: 配置名称,需要保持唯一性,定期生成邮件配置命名格式:"scheduler_" + {instanceId},如"scheduler_cdb-test"。
|
258
259
|
# @type ProfileName: String
|
259
|
-
# @param BindInstanceId: 配置订阅的实例ID
|
260
|
+
# @param BindInstanceId: 配置订阅的实例ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
260
261
|
# @type BindInstanceId: String
|
261
|
-
# @param Product:
|
262
|
+
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB,"mariadb" - 云数据库 MariaDB,"dcdb" - 云数据库 TDSQL MySQL,默认为"mysql"。
|
262
263
|
# @type Product: String
|
263
264
|
|
264
265
|
attr_accessor :WeekConfiguration, :ProfileInfo, :ProfileName, :BindInstanceId, :Product
|
@@ -495,9 +496,9 @@ module TencentCloud
|
|
495
496
|
|
496
497
|
# DescribeDBDiagEvent请求参数结构体
|
497
498
|
class DescribeDBDiagEventRequest < TencentCloud::Common::AbstractModel
|
498
|
-
# @param InstanceId: 实例 ID
|
499
|
+
# @param InstanceId: 实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
499
500
|
# @type InstanceId: String
|
500
|
-
# @param EventId: 事件 ID 。通过“获取实例诊断历史DescribeDBDiagHistory”获取。
|
501
|
+
# @param EventId: 事件 ID 。通过“获取实例诊断历史[DescribeDBDiagHistory](https://cloud.tencent.com/document/product/1130/39559) ”获取。
|
501
502
|
# @type EventId: Integer
|
502
503
|
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
503
504
|
# @type Product: String
|
@@ -521,7 +522,7 @@ module TencentCloud
|
|
521
522
|
class DescribeDBDiagEventResponse < TencentCloud::Common::AbstractModel
|
522
523
|
# @param DiagItem: 诊断项。
|
523
524
|
# @type DiagItem: String
|
524
|
-
# @param DiagType:
|
525
|
+
# @param DiagType: 诊断类型。支持值包括"高危账号","自增键耗尽","连接性检查","CPU利用率","死锁","全表扫描","高并发/压力请求","预编译语句过多","内存利用率","Metadata lock","磁盘超限","内存超限","只读锁","只读实例剔除","行锁","活跃会话","慢SQL","数据库快照","磁盘空间利用率","执行计划变化","主从切换","Table open cache命中率低","大表","事务未提交","事务导致复制延迟"等。
|
525
526
|
# @type DiagType: String
|
526
527
|
# @param EventId: 事件 ID 。
|
527
528
|
# @type EventId: Integer
|
@@ -533,13 +534,13 @@ module TencentCloud
|
|
533
534
|
# @type Problem: String
|
534
535
|
# @param Severity: 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。
|
535
536
|
# @type Severity: Integer
|
536
|
-
# @param StartTime:
|
537
|
+
# @param StartTime: 开始时间。格式: "yyyy-MM-dd HH:mm:ss"
|
537
538
|
# @type StartTime: String
|
538
539
|
# @param Suggestions: 建议。
|
539
540
|
# @type Suggestions: String
|
540
541
|
# @param Metric: 保留字段。
|
541
542
|
# @type Metric: String
|
542
|
-
# @param EndTime:
|
543
|
+
# @param EndTime: 结束时间。格式: "yyyy-MM-dd HH:mm:ss"
|
543
544
|
# @type EndTime: String
|
544
545
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
545
546
|
# @type RequestId: String
|
@@ -634,11 +635,11 @@ module TencentCloud
|
|
634
635
|
|
635
636
|
# DescribeDBDiagReportTasks请求参数结构体
|
636
637
|
class DescribeDBDiagReportTasksRequest < TencentCloud::Common::AbstractModel
|
637
|
-
# @param StartTime: 第一个任务的开始时间,用于范围查询,时间格式如:2019-09-
|
638
|
+
# @param StartTime: 第一个任务的开始时间,用于范围查询,时间格式如:2019-09-10T12:13:14+08:00。
|
638
639
|
# @type StartTime: String
|
639
|
-
# @param EndTime: 最后一个任务的开始时间,用于范围查询,时间格式如:2019-09-
|
640
|
+
# @param EndTime: 最后一个任务的开始时间,用于范围查询,时间格式如:2019-09-10T12:13:14+08:00。
|
640
641
|
# @type EndTime: String
|
641
|
-
# @param InstanceIds: 实例ID
|
642
|
+
# @param InstanceIds: 实例ID数组,用于筛选指定实例的任务列表,可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
642
643
|
# @type InstanceIds: Array
|
643
644
|
# @param Sources: 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" - 计划任务;"MANUAL" - 手动触发。
|
644
645
|
# @type Sources: Array
|
@@ -954,7 +955,7 @@ module TencentCloud
|
|
954
955
|
|
955
956
|
# DescribeMySqlProcessList请求参数结构体
|
956
957
|
class DescribeMySqlProcessListRequest < TencentCloud::Common::AbstractModel
|
957
|
-
# @param InstanceId: 实例ID
|
958
|
+
# @param InstanceId: 实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
958
959
|
# @type InstanceId: String
|
959
960
|
# @param ID: 线程的ID,用于筛选线程列表。
|
960
961
|
# @type ID: Integer
|
@@ -964,9 +965,9 @@ module TencentCloud
|
|
964
965
|
# @type Host: String
|
965
966
|
# @param DB: 线程的操作数据库,用于筛选线程列表。
|
966
967
|
# @type DB: String
|
967
|
-
# @param State:
|
968
|
+
# @param State: 线程的操作状态,用于筛选线程列表。包含以下值:Sending data,Updating, Opening tables 等
|
968
969
|
# @type State: String
|
969
|
-
# @param Command:
|
970
|
+
# @param Command: 线程的执行类型,用于筛选线程列表。包含以下值:Sleep,Query ,Connect ,Binlog Dump等
|
970
971
|
# @type Command: String
|
971
972
|
# @param Time: 线程的操作时长最小值,单位秒,用于筛选操作时长大于该值的线程列表。
|
972
973
|
# @type Time: Integer
|
@@ -1210,13 +1211,19 @@ module TencentCloud
|
|
1210
1211
|
|
1211
1212
|
# DescribeSlowLogTopSqls请求参数结构体
|
1212
1213
|
class DescribeSlowLogTopSqlsRequest < TencentCloud::Common::AbstractModel
|
1213
|
-
# @param InstanceId: 实例 ID
|
1214
|
+
# @param InstanceId: 实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
1214
1215
|
# @type InstanceId: String
|
1215
1216
|
# @param StartTime: 开始时间,如“2019-09-10 12:13:14”。
|
1216
1217
|
# @type StartTime: String
|
1217
1218
|
# @param EndTime: 截止时间,如“2019-09-10 12:13:14”,截止时间与开始时间的间隔最大可为7天。
|
1218
1219
|
# @type EndTime: String
|
1219
1220
|
# @param SortBy: 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键。
|
1221
|
+
# 其中:
|
1222
|
+
# QueryTime - 查询耗时
|
1223
|
+
# ExecTimes - 执行次数
|
1224
|
+
# RowsSent - 返回行数
|
1225
|
+
# LockTime - 锁等待时间
|
1226
|
+
# RowsExamined - 扫描行数
|
1220
1227
|
# @type SortBy: String
|
1221
1228
|
# @param OrderBy: 排序方式,支持ASC(升序)以及DESC(降序)。
|
1222
1229
|
# @type OrderBy: String
|
@@ -1433,11 +1440,19 @@ module TencentCloud
|
|
1433
1440
|
|
1434
1441
|
# DescribeTopSpaceSchemas请求参数结构体
|
1435
1442
|
class DescribeTopSpaceSchemasRequest < TencentCloud::Common::AbstractModel
|
1436
|
-
# @param InstanceId: 实例 ID
|
1443
|
+
# @param InstanceId: 实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
1437
1444
|
# @type InstanceId: String
|
1438
1445
|
# @param Limit: 返回的Top库数量,最大值为100,默认为20。
|
1439
1446
|
# @type Limit: Integer
|
1440
1447
|
# @param SortBy: 筛选Top库所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize(仅云数据库 MySQL实例支持),云数据库 MySQL实例默认为 PhysicalFileSize,其他产品实例默认为TotalLength。
|
1448
|
+
# 其中:
|
1449
|
+
# DataLength - 数据长度
|
1450
|
+
# IndexLength - 索引长度
|
1451
|
+
# TotalLength - 总长度
|
1452
|
+
# DataFree - 空闲空间
|
1453
|
+
# FragRatio - 碎片率
|
1454
|
+
# TableRows - 表行数
|
1455
|
+
# PhysicalFileSize - 物理文件大小
|
1441
1456
|
# @type SortBy: String
|
1442
1457
|
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
1443
1458
|
# @type Product: String
|
@@ -1555,11 +1570,18 @@ module TencentCloud
|
|
1555
1570
|
|
1556
1571
|
# DescribeTopSpaceTables请求参数结构体
|
1557
1572
|
class DescribeTopSpaceTablesRequest < TencentCloud::Common::AbstractModel
|
1558
|
-
# @param InstanceId: 实例 ID
|
1573
|
+
# @param InstanceId: 实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
1559
1574
|
# @type InstanceId: String
|
1560
1575
|
# @param Limit: 返回的Top表数量,最大值为100,默认为20。
|
1561
1576
|
# @type Limit: Integer
|
1562
1577
|
# @param SortBy: 筛选Top表所用的排序字段,可选字段包含DataLength、IndexLength、TotalLength、DataFree、FragRatio、TableRows、PhysicalFileSize(仅云数据库 MySQL实例支持),云数据库 MySQL实例默认为 PhysicalFileSize,其他产品实例默认为TotalLength。
|
1578
|
+
# DataLength - 数据长度
|
1579
|
+
# IndexLength - 索引长度
|
1580
|
+
# TotalLength - 总长度
|
1581
|
+
# DataFree - 空闲空间
|
1582
|
+
# FragRatio - 碎片率
|
1583
|
+
# TableRows - 表行数
|
1584
|
+
# PhysicalFileSize - 物理文件大小
|
1563
1585
|
# @type SortBy: String
|
1564
1586
|
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
1565
1587
|
# @type Product: String
|
@@ -1614,7 +1636,7 @@ module TencentCloud
|
|
1614
1636
|
|
1615
1637
|
# DescribeUserSqlAdvice请求参数结构体
|
1616
1638
|
class DescribeUserSqlAdviceRequest < TencentCloud::Common::AbstractModel
|
1617
|
-
# @param InstanceId: 实例ID
|
1639
|
+
# @param InstanceId: 实例 ID。可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
1618
1640
|
# @type InstanceId: String
|
1619
1641
|
# @param SqlText: SQL语句。
|
1620
1642
|
# @type SqlText: String
|
@@ -1812,11 +1834,11 @@ module TencentCloud
|
|
1812
1834
|
# @type Source: String
|
1813
1835
|
# @param Progress: 任务完成进度,单位%。
|
1814
1836
|
# @type Progress: Integer
|
1815
|
-
# @param CreateTime:
|
1837
|
+
# @param CreateTime: 任务创建时间,格式: "yyyy-MM-dd HH:mm:ss"。
|
1816
1838
|
# @type CreateTime: String
|
1817
|
-
# @param StartTime:
|
1839
|
+
# @param StartTime: 任务开始执行时间,格式: "yyyy-MM-dd HH:mm:ss"。
|
1818
1840
|
# @type StartTime: String
|
1819
|
-
# @param EndTime:
|
1841
|
+
# @param EndTime: 任务完成执行时间,格式: "yyyy-MM-dd HH:mm:ss"。
|
1820
1842
|
# @type EndTime: String
|
1821
1843
|
# @param InstanceInfo: 任务所属实例的基础信息。
|
1822
1844
|
# @type InstanceInfo: :class:`Tencentcloud::Dbbrain.v20191016.models.InstanceBasicInfo`
|
@@ -1944,7 +1966,8 @@ module TencentCloud
|
|
1944
1966
|
# @type EngineVersion: String
|
1945
1967
|
# @param Cpu: CPU数量,对于Redis为0。
|
1946
1968
|
# @type Cpu: Integer
|
1947
|
-
# @param DeployMode:
|
1969
|
+
# @param DeployMode: 实例部署模式,取值包括"CUSTOM", "EXCLUSIVE", "CUSTOMER_AGENT", "CUSTOMER_DIRECT",
|
1970
|
+
# "CLOUD_NATIVE_CLUSTER_EXCLUSIVE", "CLOUD_NATIVE_CLUSTER"。
|
1948
1971
|
# @type DeployMode: String
|
1949
1972
|
# @param InstanceConf: 实例内存配置。
|
1950
1973
|
# @type InstanceConf: :class:`Tencentcloud::Dbbrain.v20191016.models.RedisInstanceConf`
|
@@ -2211,7 +2234,7 @@ module TencentCloud
|
|
2211
2234
|
# @type SendMail: Integer
|
2212
2235
|
# @param Region: 地域配置, 如["ap-guangzhou", "ap-shanghai"]。巡检的邮件发送模板,配置需要发送巡检邮件的地域;订阅的邮件发送模板,配置当前订阅实例的所属地域。
|
2213
2236
|
# @type Region: Array
|
2214
|
-
# @param HealthStatus:
|
2237
|
+
# @param HealthStatus: 包含的健康等级,包括值:HEALTH-健康,SUB_HEALTH-亚健康,RISK-风险,HIGH_RISK-高危。
|
2215
2238
|
# @type HealthStatus: Array
|
2216
2239
|
# @param ContactPerson: 联系人id, 联系人/联系组不能都为空。
|
2217
2240
|
# @type ContactPerson: Array
|
@@ -2241,11 +2264,12 @@ module TencentCloud
|
|
2241
2264
|
class ModifyDiagDBInstanceConfRequest < TencentCloud::Common::AbstractModel
|
2242
2265
|
# @param InstanceConfs: 巡检开关。
|
2243
2266
|
# @type InstanceConfs: :class:`Tencentcloud::Dbbrain.v20191016.models.InstanceConfs`
|
2244
|
-
# @param Regions:
|
2267
|
+
# @param Regions: 生效实例地域,固定为"All",代表全地域。
|
2245
2268
|
# @type Regions: String
|
2246
2269
|
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL。
|
2247
2270
|
# @type Product: String
|
2248
2271
|
# @param InstanceIds: 指定更改巡检状态的实例ID。
|
2272
|
+
# 可通过 [DescribeDiagDBInstances](https://cloud.tencent.com/document/api/1130/57798) 接口获取。
|
2249
2273
|
# @type InstanceIds: Array
|
2250
2274
|
|
2251
2275
|
attr_accessor :InstanceConfs, :Regions, :Product, :InstanceIds
|
@@ -2363,7 +2387,7 @@ module TencentCloud
|
|
2363
2387
|
class MonitorMetricSeriesData < TencentCloud::Common::AbstractModel
|
2364
2388
|
# @param Series: 监控指标。
|
2365
2389
|
# @type Series: Array
|
2366
|
-
# @param Timestamp:
|
2390
|
+
# @param Timestamp: 监控指标对应的时间戳。(精度:秒)
|
2367
2391
|
# @type Timestamp: Array
|
2368
2392
|
|
2369
2393
|
attr_accessor :Series, :Timestamp
|
@@ -2432,7 +2456,7 @@ module TencentCloud
|
|
2432
2456
|
|
2433
2457
|
# 用户配置的信息
|
2434
2458
|
class ProfileInfo < TencentCloud::Common::AbstractModel
|
2435
|
-
# @param Language:
|
2459
|
+
# @param Language: 语言类型, 包含“zh”-中文,“en”-英文。
|
2436
2460
|
# @type Language: String
|
2437
2461
|
# @param MailConfiguration: 邮件模板的内容。
|
2438
2462
|
# @type MailConfiguration: :class:`Tencentcloud::Dbbrain.v20191016.models.MailConfiguration`
|
data/lib/v20210527/client.rb
CHANGED
@@ -965,6 +965,30 @@ module TencentCloud
|
|
965
965
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
966
|
end
|
967
967
|
|
968
|
+
# 获取指定时间段内的健康得分趋势
|
969
|
+
|
970
|
+
# @param request: Request instance for DescribeHealthScoreTimeSeries.
|
971
|
+
# @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeHealthScoreTimeSeriesRequest`
|
972
|
+
# @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeHealthScoreTimeSeriesResponse`
|
973
|
+
def DescribeHealthScoreTimeSeries(request)
|
974
|
+
body = send_request('DescribeHealthScoreTimeSeries', request.serialize)
|
975
|
+
response = JSON.parse(body)
|
976
|
+
if response['Response'].key?('Error') == false
|
977
|
+
model = DescribeHealthScoreTimeSeriesResponse.new
|
978
|
+
model.deserialize(response['Response'])
|
979
|
+
model
|
980
|
+
else
|
981
|
+
code = response['Response']['Error']['Code']
|
982
|
+
message = response['Response']['Error']['Message']
|
983
|
+
reqid = response['Response']['RequestId']
|
984
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
985
|
+
end
|
986
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
987
|
+
raise e
|
988
|
+
rescue StandardError => e
|
989
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
|
+
end
|
991
|
+
|
968
992
|
# 查询某张表的慢查模板概览,这个接口是对用户点击对应的推荐索引后,展示慢日志用的
|
969
993
|
|
970
994
|
# @param request: Request instance for DescribeIndexRecommendAggregationSlowLogs.
|
@@ -1037,6 +1061,30 @@ module TencentCloud
|
|
1037
1061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1038
1062
|
end
|
1039
1063
|
|
1064
|
+
# 获取指定时间段内Redis 访问命令 cost top N
|
1065
|
+
|
1066
|
+
# @param request: Request instance for DescribeMetricTopProxies.
|
1067
|
+
# @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeMetricTopProxiesRequest`
|
1068
|
+
# @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeMetricTopProxiesResponse`
|
1069
|
+
def DescribeMetricTopProxies(request)
|
1070
|
+
body = send_request('DescribeMetricTopProxies', request.serialize)
|
1071
|
+
response = JSON.parse(body)
|
1072
|
+
if response['Response'].key?('Error') == false
|
1073
|
+
model = DescribeMetricTopProxiesResponse.new
|
1074
|
+
model.deserialize(response['Response'])
|
1075
|
+
model
|
1076
|
+
else
|
1077
|
+
code = response['Response']['Error']['Code']
|
1078
|
+
message = response['Response']['Error']['Message']
|
1079
|
+
reqid = response['Response']['RequestId']
|
1080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1081
|
+
end
|
1082
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1083
|
+
raise e
|
1084
|
+
rescue StandardError => e
|
1085
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1086
|
+
end
|
1087
|
+
|
1040
1088
|
# 查询关系型数据库的实时线程列表。
|
1041
1089
|
|
1042
1090
|
# @param request: Request instance for DescribeMySqlProcessList.
|
@@ -1301,6 +1349,30 @@ module TencentCloud
|
|
1301
1349
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1302
1350
|
end
|
1303
1351
|
|
1352
|
+
# 获取指定时间段内Redis 访问命令 cost top N
|
1353
|
+
|
1354
|
+
# @param request: Request instance for DescribeRedisTopCostCommands.
|
1355
|
+
# @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisTopCostCommandsRequest`
|
1356
|
+
# @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisTopCostCommandsResponse`
|
1357
|
+
def DescribeRedisTopCostCommands(request)
|
1358
|
+
body = send_request('DescribeRedisTopCostCommands', request.serialize)
|
1359
|
+
response = JSON.parse(body)
|
1360
|
+
if response['Response'].key?('Error') == false
|
1361
|
+
model = DescribeRedisTopCostCommandsResponse.new
|
1362
|
+
model.deserialize(response['Response'])
|
1363
|
+
model
|
1364
|
+
else
|
1365
|
+
code = response['Response']['Error']['Code']
|
1366
|
+
message = response['Response']['Error']['Message']
|
1367
|
+
reqid = response['Response']['RequestId']
|
1368
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1369
|
+
end
|
1370
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1371
|
+
raise e
|
1372
|
+
rescue StandardError => e
|
1373
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1374
|
+
end
|
1375
|
+
|
1304
1376
|
# 热Key分析
|
1305
1377
|
|
1306
1378
|
# @param request: Request instance for DescribeRedisTopHotKeys.
|