tencentcloud-sdk-cdb 3.0.1109 → 3.0.1114
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/v20170320/client.rb +2 -1
- data/lib/v20170320/models.rb +32 -22
- 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: 987fbf37711184927586e0fb8f58cc2c93563951
|
4
|
+
data.tar.gz: 1e70e1a5bb39b64c8120f4cd26ab1f46b80e26a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a04de31f21a8915a2cdf4c04b615e6682c5aabe4dd316f0176985775fda87433ab980e10b2cb111c10da8a44cc368876dc21451dddf9c19e9f13f7a42cee58f
|
7
|
+
data.tar.gz: be893c8c54b1114df589914773b1697f8771057eb87d9eb66ac8582fc9a07e0b7f34293ad2bb66f29855dc4c787b6e6492cdc6aa7923d345c6bfa1c1cda636f7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1114
|
data/lib/v20170320/client.rb
CHANGED
@@ -2507,7 +2507,8 @@ module TencentCloud
|
|
2507
2507
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2508
2508
|
end
|
2509
2509
|
|
2510
|
-
#
|
2510
|
+
# 本接口(DescribeSlowLogs)用于获取云数据库实例的慢查询日志。
|
2511
|
+
# 说明:若单次查询数据量过大,则有可能响应超时,建议缩短单次查询时间范围,如一小时,避免导致超时。
|
2511
2512
|
|
2512
2513
|
# @param request: Request instance for DescribeSlowLogs.
|
2513
2514
|
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeSlowLogsRequest`
|
data/lib/v20170320/models.rb
CHANGED
@@ -1392,8 +1392,10 @@ module TencentCloud
|
|
1392
1392
|
# @param Date: 文件存储时间,时间格式:2016-03-17 02:10:37
|
1393
1393
|
# @type Date: String
|
1394
1394
|
# @param IntranetUrl: 下载地址
|
1395
|
+
# 说明:此下载地址和参数 InternetUrl 的下载地址一样。
|
1395
1396
|
# @type IntranetUrl: String
|
1396
1397
|
# @param InternetUrl: 下载地址
|
1398
|
+
# 说明:此下载地址和参数 IntranetUrl 的下载地址一样。
|
1397
1399
|
# @type InternetUrl: String
|
1398
1400
|
# @param Type: 日志具体类型,可能的值有:binlog - 二进制日志
|
1399
1401
|
# @type Type: String
|
@@ -1413,6 +1415,9 @@ module TencentCloud
|
|
1413
1415
|
# @type InstanceId: String
|
1414
1416
|
|
1415
1417
|
attr_accessor :Name, :Size, :Date, :IntranetUrl, :InternetUrl, :Type, :BinlogStartTime, :BinlogFinishTime, :Region, :Status, :RemoteInfo, :CosStorageType, :InstanceId
|
1418
|
+
extend Gem::Deprecate
|
1419
|
+
deprecate :InstanceId, :none, 2025, 7
|
1420
|
+
deprecate :InstanceId=, :none, 2025, 7
|
1416
1421
|
|
1417
1422
|
def initialize(name=nil, size=nil, date=nil, intraneturl=nil, interneturl=nil, type=nil, binlogstarttime=nil, binlogfinishtime=nil, region=nil, status=nil, remoteinfo=nil, cosstoragetype=nil, instanceid=nil)
|
1418
1423
|
@Name = name
|
@@ -5393,11 +5398,11 @@ module TencentCloud
|
|
5393
5398
|
|
5394
5399
|
# DescribeBackups请求参数结构体
|
5395
5400
|
class DescribeBackupsRequest < TencentCloud::Common::AbstractModel
|
5396
|
-
# @param InstanceId: 实例ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
5401
|
+
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
5397
5402
|
# @type InstanceId: String
|
5398
5403
|
# @param Offset: 偏移量,最小值为0。
|
5399
5404
|
# @type Offset: Integer
|
5400
|
-
# @param Limit: 分页大小,默认值为20,最小值为1,最大值为
|
5405
|
+
# @param Limit: 分页大小,默认值为20,最小值为1,最大值为1000。
|
5401
5406
|
# @type Limit: Integer
|
5402
5407
|
|
5403
5408
|
attr_accessor :InstanceId, :Offset, :Limit
|
@@ -5516,7 +5521,7 @@ module TencentCloud
|
|
5516
5521
|
# @type InstanceId: String
|
5517
5522
|
# @param Offset: 偏移量,最小值为0。
|
5518
5523
|
# @type Offset: Integer
|
5519
|
-
# @param Limit: 分页大小,默认值为20,最小值为1,最大值为
|
5524
|
+
# @param Limit: 分页大小,默认值为20,最小值为1,最大值为1000。
|
5520
5525
|
# @type Limit: Integer
|
5521
5526
|
# @param MinStartTime: binlog最早开始时间,时间格式:2016-03-17 02:10:37
|
5522
5527
|
# @type MinStartTime: String
|
@@ -7076,13 +7081,13 @@ module TencentCloud
|
|
7076
7081
|
|
7077
7082
|
# DescribeErrorLogData请求参数结构体
|
7078
7083
|
class DescribeErrorLogDataRequest < TencentCloud::Common::AbstractModel
|
7079
|
-
# @param InstanceId: 实例 ID
|
7084
|
+
# @param InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
7080
7085
|
# @type InstanceId: String
|
7081
|
-
# @param StartTime: 开始时间戳。例如
|
7086
|
+
# @param StartTime: 开始时间戳。例如1585142640,秒级。
|
7082
7087
|
# @type StartTime: Integer
|
7083
|
-
# @param EndTime: 结束时间戳。例如
|
7088
|
+
# @param EndTime: 结束时间戳。例如1585142640,秒级。
|
7084
7089
|
# @type EndTime: Integer
|
7085
|
-
# @param KeyWords: 要匹配的关键字列表,最多支持15
|
7090
|
+
# @param KeyWords: 要匹配的关键字列表,最多支持15个关键字,支持模糊匹配。
|
7086
7091
|
# @type KeyWords: Array
|
7087
7092
|
# @param Limit: 分页的返回数量,默认为100,最大为400。
|
7088
7093
|
# @type Limit: Integer
|
@@ -7513,7 +7518,7 @@ module TencentCloud
|
|
7513
7518
|
|
7514
7519
|
# DescribeParamTemplateInfo请求参数结构体
|
7515
7520
|
class DescribeParamTemplateInfoRequest < TencentCloud::Common::AbstractModel
|
7516
|
-
# @param TemplateId: 参数模板 ID
|
7521
|
+
# @param TemplateId: 参数模板 ID。可通过 [DescribeParamTemplates](https://cloud.tencent.com/document/api/236/32659) 接口获取。
|
7517
7522
|
# @type TemplateId: Integer
|
7518
7523
|
|
7519
7524
|
attr_accessor :TemplateId
|
@@ -7533,7 +7538,7 @@ module TencentCloud
|
|
7533
7538
|
# @type TemplateId: Integer
|
7534
7539
|
# @param Name: 参数模板名称。
|
7535
7540
|
# @type Name: String
|
7536
|
-
# @param EngineVersion:
|
7541
|
+
# @param EngineVersion: 参数模板对应实例版本,可取值:5.5、5.6、5.7、8.0。
|
7537
7542
|
# @type EngineVersion: String
|
7538
7543
|
# @param TotalCount: 参数模板中的参数数量
|
7539
7544
|
# @type TotalCount: Integer
|
@@ -7584,13 +7589,13 @@ module TencentCloud
|
|
7584
7589
|
|
7585
7590
|
# DescribeParamTemplates请求参数结构体
|
7586
7591
|
class DescribeParamTemplatesRequest < TencentCloud::Common::AbstractModel
|
7587
|
-
# @param EngineVersions:
|
7592
|
+
# @param EngineVersions: 引擎版本,缺省则查询所有。可取值为:5.5、5.6、5.7、8.0。
|
7588
7593
|
# @type EngineVersions: Array
|
7589
|
-
# @param EngineTypes:
|
7594
|
+
# @param EngineTypes: 引擎类型,缺省则查询所有。可取值为:InnoDB、RocksDB,不区分大小写。
|
7590
7595
|
# @type EngineTypes: Array
|
7591
|
-
# @param TemplateNames:
|
7596
|
+
# @param TemplateNames: 模板名称,缺省则查询所有。支持模糊匹配。
|
7592
7597
|
# @type TemplateNames: Array
|
7593
|
-
# @param TemplateIds: 模板
|
7598
|
+
# @param TemplateIds: 模板 ID,缺省则查询所有。
|
7594
7599
|
# @type TemplateIds: Array
|
7595
7600
|
|
7596
7601
|
attr_accessor :EngineVersions, :EngineTypes, :TemplateNames, :TemplateIds
|
@@ -8119,7 +8124,7 @@ module TencentCloud
|
|
8119
8124
|
|
8120
8125
|
# DescribeSlowLogData请求参数结构体
|
8121
8126
|
class DescribeSlowLogDataRequest < TencentCloud::Common::AbstractModel
|
8122
|
-
# @param InstanceId: 实例 ID
|
8127
|
+
# @param InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
8123
8128
|
# @type InstanceId: String
|
8124
8129
|
# @param StartTime: 开始时间戳。例如 1585142640。
|
8125
8130
|
# 说明:此参数单位为秒的时间戳。
|
@@ -8133,13 +8138,18 @@ module TencentCloud
|
|
8133
8138
|
# @type UserNames: Array
|
8134
8139
|
# @param DataBases: 访问的 数据库 列表。
|
8135
8140
|
# @type DataBases: Array
|
8136
|
-
# @param SortBy:
|
8141
|
+
# @param SortBy: 排序字段,当前支持字段及含义如下,默认值为 Timestamp。
|
8142
|
+
# 1. Timestamp:SQL 的执行时间
|
8143
|
+
# 2. QueryTime:SQL 的执行时长(秒)
|
8144
|
+
# 3. LockTime:锁时长(秒)
|
8145
|
+
# 4. RowsExamined:扫描行数
|
8146
|
+
# 5. RowsSent:结果集行数
|
8137
8147
|
# @type SortBy: String
|
8138
|
-
# @param OrderBy:
|
8148
|
+
# @param OrderBy: 升序还是降序排列。当前支持值为 ASC - 升序,DESC - 降序 ,默认值为 ASC。
|
8139
8149
|
# @type OrderBy: String
|
8140
8150
|
# @param Offset: 偏移量,默认为0,最大为9999。
|
8141
8151
|
# @type Offset: Integer
|
8142
|
-
# @param Limit: 一次性返回的记录数量,默认为100,最大为
|
8152
|
+
# @param Limit: 一次性返回的记录数量,默认为100,最大为800。
|
8143
8153
|
# @type Limit: Integer
|
8144
8154
|
# @param InstType: 仅在实例为主实例或者灾备实例时生效,可选值:slave,代表拉取从机的日志。
|
8145
8155
|
# @type InstType: String
|
@@ -8216,7 +8226,7 @@ module TencentCloud
|
|
8216
8226
|
# @type InstanceId: String
|
8217
8227
|
# @param Offset: 偏移量,默认值为0,最小值为0。
|
8218
8228
|
# @type Offset: Integer
|
8219
|
-
# @param Limit: 分页大小,默认值为20,最小值为1,最大值为
|
8229
|
+
# @param Limit: 分页大小,默认值为20,最小值为1,最大值为1000。
|
8220
8230
|
# @type Limit: Integer
|
8221
8231
|
|
8222
8232
|
attr_accessor :InstanceId, :Offset, :Limit
|
@@ -12088,17 +12098,17 @@ module TencentCloud
|
|
12088
12098
|
|
12089
12099
|
# 参数模板信息
|
12090
12100
|
class ParamTemplateInfo < TencentCloud::Common::AbstractModel
|
12091
|
-
# @param TemplateId: 参数模板ID
|
12101
|
+
# @param TemplateId: 参数模板 ID
|
12092
12102
|
# @type TemplateId: Integer
|
12093
12103
|
# @param Name: 参数模板名称
|
12094
12104
|
# @type Name: String
|
12095
12105
|
# @param Description: 参数模板描述
|
12096
12106
|
# @type Description: String
|
12097
|
-
# @param EngineVersion:
|
12107
|
+
# @param EngineVersion: 实例引擎版本,值为:5.5、5.6、5.7、8.0。
|
12098
12108
|
# @type EngineVersion: String
|
12099
|
-
# @param TemplateType:
|
12109
|
+
# @param TemplateType: 参数模板类型,值为:HIGH_STABILITY、HIGH_PERFORMANCE。
|
12100
12110
|
# @type TemplateType: String
|
12101
|
-
# @param EngineType:
|
12111
|
+
# @param EngineType: 参数模板引擎,值为:InnoDB、RocksDB。
|
12102
12112
|
# @type EngineType: String
|
12103
12113
|
|
12104
12114
|
attr_accessor :TemplateId, :Name, :Description, :EngineVersion, :TemplateType, :EngineType
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1114
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|