tencentcloud-sdk-cdb 3.0.611 → 3.0.612
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/v20170320/models.rb +83 -9
- 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: 69ebf24906846bf0708357d134ac9605986038dc
|
4
|
+
data.tar.gz: 38ab0cf3fc3aec1aa51796661fccf46fe03b778b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe0eca487287f65863fb4c2036bd58e68397363aec541b1110428828782c5332aaf9de8a4b5da9d1daa29f43ac47e40425bfd8757e4b732c175617277bccd2e1
|
7
|
+
data.tar.gz: 31c8612d878cb175ef47c6ede7e93316d5ec567b43026c9bf24d7968f2e5bd0077563f7b03970bf3bb1ce6347ac553c0cd2cfb581926004aaa44610723ee6ebb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.612
|
data/lib/v20170320/models.rb
CHANGED
@@ -361,17 +361,20 @@ module TencentCloud
|
|
361
361
|
# @type EndTime: String
|
362
362
|
# @param AggregationConditions: 聚合维度的排序条件。
|
363
363
|
# @type AggregationConditions: Array
|
364
|
-
# @param AuditLogFilter:
|
364
|
+
# @param AuditLogFilter: 已废弃。该过滤条件下的审计日志结果集作为分析日志。
|
365
365
|
# @type AuditLogFilter: :class:`Tencentcloud::Cdb.v20170320.models.AuditLogFilter`
|
366
|
+
# @param LogFilter: 该过滤条件下的审计日志结果集作为分析日志。
|
367
|
+
# @type LogFilter: Array
|
366
368
|
|
367
|
-
attr_accessor :InstanceId, :StartTime, :EndTime, :AggregationConditions, :AuditLogFilter
|
369
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :AggregationConditions, :AuditLogFilter, :LogFilter
|
368
370
|
|
369
|
-
def initialize(instanceid=nil, starttime=nil, endtime=nil, aggregationconditions=nil, auditlogfilter=nil)
|
371
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, aggregationconditions=nil, auditlogfilter=nil, logfilter=nil)
|
370
372
|
@InstanceId = instanceid
|
371
373
|
@StartTime = starttime
|
372
374
|
@EndTime = endtime
|
373
375
|
@AggregationConditions = aggregationconditions
|
374
376
|
@AuditLogFilter = auditlogfilter
|
377
|
+
@LogFilter = logfilter
|
375
378
|
end
|
376
379
|
|
377
380
|
def deserialize(params)
|
@@ -390,6 +393,14 @@ module TencentCloud
|
|
390
393
|
@AuditLogFilter = AuditLogFilter.new
|
391
394
|
@AuditLogFilter.deserialize(params['AuditLogFilter'])
|
392
395
|
end
|
396
|
+
unless params['LogFilter'].nil?
|
397
|
+
@LogFilter = []
|
398
|
+
params['LogFilter'].each do |i|
|
399
|
+
instanceauditlogfilters_tmp = InstanceAuditLogFilters.new
|
400
|
+
instanceauditlogfilters_tmp.deserialize(i)
|
401
|
+
@LogFilter << instanceauditlogfilters_tmp
|
402
|
+
end
|
403
|
+
end
|
393
404
|
end
|
394
405
|
end
|
395
406
|
|
@@ -1783,11 +1794,11 @@ module TencentCloud
|
|
1783
1794
|
|
1784
1795
|
# CreateAuditLogFile请求参数结构体
|
1785
1796
|
class CreateAuditLogFileRequest < TencentCloud::Common::AbstractModel
|
1786
|
-
# @param InstanceId: 实例 ID
|
1797
|
+
# @param InstanceId: 实例 ID,与云数据库控制台页面中显示的实例 ID 相同。
|
1787
1798
|
# @type InstanceId: String
|
1788
|
-
# @param StartTime:
|
1799
|
+
# @param StartTime: 开始时间。
|
1789
1800
|
# @type StartTime: String
|
1790
|
-
# @param EndTime:
|
1801
|
+
# @param EndTime: 结束时间。
|
1791
1802
|
# @type EndTime: String
|
1792
1803
|
# @param Order: 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。
|
1793
1804
|
# @type Order: String
|
@@ -1796,18 +1807,21 @@ module TencentCloud
|
|
1796
1807
|
# "affectRows" - 影响行数;
|
1797
1808
|
# "execTime" - 执行时间。
|
1798
1809
|
# @type OrderBy: String
|
1799
|
-
# @param Filter:
|
1810
|
+
# @param Filter: 已废弃。
|
1800
1811
|
# @type Filter: :class:`Tencentcloud::Cdb.v20170320.models.AuditLogFilter`
|
1812
|
+
# @param LogFilter: 过滤条件。可按设置的过滤条件过滤日志。
|
1813
|
+
# @type LogFilter: Array
|
1801
1814
|
|
1802
|
-
attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter
|
1815
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :Order, :OrderBy, :Filter, :LogFilter
|
1803
1816
|
|
1804
|
-
def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil)
|
1817
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil, logfilter=nil)
|
1805
1818
|
@InstanceId = instanceid
|
1806
1819
|
@StartTime = starttime
|
1807
1820
|
@EndTime = endtime
|
1808
1821
|
@Order = order
|
1809
1822
|
@OrderBy = orderby
|
1810
1823
|
@Filter = filter
|
1824
|
+
@LogFilter = logfilter
|
1811
1825
|
end
|
1812
1826
|
|
1813
1827
|
def deserialize(params)
|
@@ -1820,6 +1834,14 @@ module TencentCloud
|
|
1820
1834
|
@Filter = AuditLogFilter.new
|
1821
1835
|
@Filter.deserialize(params['Filter'])
|
1822
1836
|
end
|
1837
|
+
unless params['LogFilter'].nil?
|
1838
|
+
@LogFilter = []
|
1839
|
+
params['LogFilter'].each do |i|
|
1840
|
+
instanceauditlogfilters_tmp = InstanceAuditLogFilters.new
|
1841
|
+
instanceauditlogfilters_tmp.deserialize(i)
|
1842
|
+
@LogFilter << instanceauditlogfilters_tmp
|
1843
|
+
end
|
1844
|
+
end
|
1823
1845
|
end
|
1824
1846
|
end
|
1825
1847
|
|
@@ -7602,6 +7624,58 @@ module TencentCloud
|
|
7602
7624
|
end
|
7603
7625
|
end
|
7604
7626
|
|
7627
|
+
# 审计日志搜索过滤器
|
7628
|
+
class InstanceAuditLogFilters < TencentCloud::Common::AbstractModel
|
7629
|
+
# @param Type: 过滤项。目前支持以下搜索条件:
|
7630
|
+
|
7631
|
+
# 分词搜索:
|
7632
|
+
# sql - SQL语句;
|
7633
|
+
|
7634
|
+
# 等于、不等于、包含、不包含:
|
7635
|
+
# host - 客户端地址;
|
7636
|
+
# user - 用户名;
|
7637
|
+
# dbName - 数据库名称;
|
7638
|
+
|
7639
|
+
# 等于、不等于:
|
7640
|
+
# sqlType - SQL类型;
|
7641
|
+
# errCode - 错误码;
|
7642
|
+
# threadId - 线程ID;
|
7643
|
+
|
7644
|
+
# 范围搜索(时间类型统一为微妙):
|
7645
|
+
# execTime - 执行时间;
|
7646
|
+
# lockWaitTime - 执行时间;
|
7647
|
+
# ioWaitTime - IO等待时间;
|
7648
|
+
# trxLivingTime - 事物持续时间;
|
7649
|
+
# cpuTime - cpu时间;
|
7650
|
+
# checkRows - 扫描行数;
|
7651
|
+
# affectRows - 影响行数;
|
7652
|
+
# sentRows - 返回行数。
|
7653
|
+
# @type Type: String
|
7654
|
+
# @param Compare: 过滤条件。支持以下条件:
|
7655
|
+
# INC - 包含,
|
7656
|
+
# EXC - 不包含,
|
7657
|
+
# EQS - 等于,
|
7658
|
+
# NEQ - 不等于,
|
7659
|
+
# RA - 范围。
|
7660
|
+
# @type Compare: String
|
7661
|
+
# @param Value: 过滤的值。
|
7662
|
+
# @type Value: Array
|
7663
|
+
|
7664
|
+
attr_accessor :Type, :Compare, :Value
|
7665
|
+
|
7666
|
+
def initialize(type=nil, compare=nil, value=nil)
|
7667
|
+
@Type = type
|
7668
|
+
@Compare = compare
|
7669
|
+
@Value = value
|
7670
|
+
end
|
7671
|
+
|
7672
|
+
def deserialize(params)
|
7673
|
+
@Type = params['Type']
|
7674
|
+
@Compare = params['Compare']
|
7675
|
+
@Value = params['Value']
|
7676
|
+
end
|
7677
|
+
end
|
7678
|
+
|
7605
7679
|
# 实例详细信息
|
7606
7680
|
class InstanceInfo < TencentCloud::Common::AbstractModel
|
7607
7681
|
# @param WanStatus: 外网状态,可能的返回值为:0-未开通外网;1-已开通外网;2-已关闭外网
|
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.612
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|