tencentcloud-sdk-cdb 3.0.953 → 3.0.955
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 +89 -3
- 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: e1569b62e02a0036bf65815690b94f2d8d1c3787
|
4
|
+
data.tar.gz: 57d556ef8e822f31f952a8b2835f33068eb625a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d73cf7c10f2ba688400a2d8d07d537e6b5dd2ec311a48205c94f9dc6122213587ea9c9fd4a79324763836dcdc459e08156b4954b36fbae09fa2a12b26d8c963
|
7
|
+
data.tar.gz: eb425faae8efcfa7c1ef153437f9302e69a55edcf6518806250ac186b1c184303fb3e3c8910a8b6f500eb5e583f529914d39f2e022b909bfd24519dc01732fd5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.955
|
data/lib/v20170320/models.rb
CHANGED
@@ -6994,27 +6994,80 @@ module TencentCloud
|
|
6994
6994
|
|
6995
6995
|
# DescribeInstanceAlarmEvents请求参数结构体
|
6996
6996
|
class DescribeInstanceAlarmEventsRequest < TencentCloud::Common::AbstractModel
|
6997
|
+
# @param InstanceId: 实例 ID。
|
6998
|
+
# @type InstanceId: String
|
6999
|
+
# @param StartTime: 事件查询范围开始时间,闭区间。
|
7000
|
+
# @type StartTime: String
|
7001
|
+
# @param EndTime: 事件查询范围截止时间,闭区间。
|
7002
|
+
# @type EndTime: String
|
7003
|
+
# @param EventName: 事件名称。 Outofmemory - 内存OOM(有状态事件); Switch - 主从切换(有状态事件); Roremove - 只读实例剔除(有状态事件); MemoryUsedHigh - 内存使用率过高(有状态事件); CPUExpansion - CPU性能扩容(无状态事件); CPUExpansionFailed - CPU性能扩容失败(无状态事件); CPUContraction - CPU性能回缩(无状态事件); Restart - 实例重启(有状态事件); ServerFailureNodeMigration - ServerFailureNodeMigration(有状态事件); PlannedSwitch - 计划内主备切换(无状态事件); OverusedReadonlySet - 实例将被锁定(无状态事件); OverusedReadWriteSet - 实例解除锁定(无状态事件)。
|
7004
|
+
# @type EventName: Array
|
7005
|
+
# @param EventStatus: 事件状态。"1" - 发生事件;"0" - 恢复事件;"-" - 无状态事件。
|
7006
|
+
# @type EventStatus: String
|
7007
|
+
# @param Order: 排序方式。按事件发生事件进行排序,"DESC"-倒排;”ASC“-正序,默认倒排。
|
7008
|
+
# @type Order: String
|
7009
|
+
# @param Limit: 事件展示数量。
|
7010
|
+
# @type Limit: String
|
7011
|
+
# @param Offset: 偏移量。
|
7012
|
+
# @type Offset: String
|
7013
|
+
# @param NodeId: 节点 ID。
|
7014
|
+
# @type NodeId: String
|
6997
7015
|
|
7016
|
+
attr_accessor :InstanceId, :StartTime, :EndTime, :EventName, :EventStatus, :Order, :Limit, :Offset, :NodeId
|
6998
7017
|
|
6999
|
-
def initialize()
|
7018
|
+
def initialize(instanceid=nil, starttime=nil, endtime=nil, eventname=nil, eventstatus=nil, order=nil, limit=nil, offset=nil, nodeid=nil)
|
7019
|
+
@InstanceId = instanceid
|
7020
|
+
@StartTime = starttime
|
7021
|
+
@EndTime = endtime
|
7022
|
+
@EventName = eventname
|
7023
|
+
@EventStatus = eventstatus
|
7024
|
+
@Order = order
|
7025
|
+
@Limit = limit
|
7026
|
+
@Offset = offset
|
7027
|
+
@NodeId = nodeid
|
7000
7028
|
end
|
7001
7029
|
|
7002
7030
|
def deserialize(params)
|
7031
|
+
@InstanceId = params['InstanceId']
|
7032
|
+
@StartTime = params['StartTime']
|
7033
|
+
@EndTime = params['EndTime']
|
7034
|
+
@EventName = params['EventName']
|
7035
|
+
@EventStatus = params['EventStatus']
|
7036
|
+
@Order = params['Order']
|
7037
|
+
@Limit = params['Limit']
|
7038
|
+
@Offset = params['Offset']
|
7039
|
+
@NodeId = params['NodeId']
|
7003
7040
|
end
|
7004
7041
|
end
|
7005
7042
|
|
7006
7043
|
# DescribeInstanceAlarmEvents返回参数结构体
|
7007
7044
|
class DescribeInstanceAlarmEventsResponse < TencentCloud::Common::AbstractModel
|
7045
|
+
# @param TotalCount: 事件数。
|
7046
|
+
# @type TotalCount: Integer
|
7047
|
+
# @param Items: 事件信息。查询不到信息时,Items为null。
|
7048
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7049
|
+
# @type Items: Array
|
7008
7050
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7009
7051
|
# @type RequestId: String
|
7010
7052
|
|
7011
|
-
attr_accessor :RequestId
|
7053
|
+
attr_accessor :TotalCount, :Items, :RequestId
|
7012
7054
|
|
7013
|
-
def initialize(requestid=nil)
|
7055
|
+
def initialize(totalcount=nil, items=nil, requestid=nil)
|
7056
|
+
@TotalCount = totalcount
|
7057
|
+
@Items = items
|
7014
7058
|
@RequestId = requestid
|
7015
7059
|
end
|
7016
7060
|
|
7017
7061
|
def deserialize(params)
|
7062
|
+
@TotalCount = params['TotalCount']
|
7063
|
+
unless params['Items'].nil?
|
7064
|
+
@Items = []
|
7065
|
+
params['Items'].each do |i|
|
7066
|
+
insteventinfo_tmp = InstEventInfo.new
|
7067
|
+
insteventinfo_tmp.deserialize(i)
|
7068
|
+
@Items << insteventinfo_tmp
|
7069
|
+
end
|
7070
|
+
end
|
7018
7071
|
@RequestId = params['RequestId']
|
7019
7072
|
end
|
7020
7073
|
end
|
@@ -8856,6 +8909,39 @@ module TencentCloud
|
|
8856
8909
|
end
|
8857
8910
|
end
|
8858
8911
|
|
8912
|
+
# 实例事件信息
|
8913
|
+
class InstEventInfo < TencentCloud::Common::AbstractModel
|
8914
|
+
# @param EventName: 事件名称。
|
8915
|
+
# @type EventName: String
|
8916
|
+
# @param EventStatus: 事件状态。
|
8917
|
+
# @type EventStatus: String
|
8918
|
+
# @param OccurTime: 事件发生时间。
|
8919
|
+
# @type OccurTime: String
|
8920
|
+
# @param InstanceId: 实例ID。
|
8921
|
+
# @type InstanceId: String
|
8922
|
+
# @param NodeId: 节点ID
|
8923
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8924
|
+
# @type NodeId: String
|
8925
|
+
|
8926
|
+
attr_accessor :EventName, :EventStatus, :OccurTime, :InstanceId, :NodeId
|
8927
|
+
|
8928
|
+
def initialize(eventname=nil, eventstatus=nil, occurtime=nil, instanceid=nil, nodeid=nil)
|
8929
|
+
@EventName = eventname
|
8930
|
+
@EventStatus = eventstatus
|
8931
|
+
@OccurTime = occurtime
|
8932
|
+
@InstanceId = instanceid
|
8933
|
+
@NodeId = nodeid
|
8934
|
+
end
|
8935
|
+
|
8936
|
+
def deserialize(params)
|
8937
|
+
@EventName = params['EventName']
|
8938
|
+
@EventStatus = params['EventStatus']
|
8939
|
+
@OccurTime = params['OccurTime']
|
8940
|
+
@InstanceId = params['InstanceId']
|
8941
|
+
@NodeId = params['NodeId']
|
8942
|
+
end
|
8943
|
+
end
|
8944
|
+
|
8859
8945
|
# 审计日志搜索过滤器
|
8860
8946
|
class InstanceAuditLogFilters < TencentCloud::Common::AbstractModel
|
8861
8947
|
# @param Type: 过滤项。目前支持以下搜索条件:
|
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.955
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|