tencentcloud-sdk-cdb 3.0.954 → 3.0.955

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170320/models.rb +89 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53d22bbc76258ebcdc1ca46081170e69f2e0abf6
4
- data.tar.gz: 038c8b1da5a5d6855d062e553cdca1464d00b260
3
+ metadata.gz: e1569b62e02a0036bf65815690b94f2d8d1c3787
4
+ data.tar.gz: 57d556ef8e822f31f952a8b2835f33068eb625a5
5
5
  SHA512:
6
- metadata.gz: 14b49925aa5e4c1b47fdd0a3f229ef915eaad42cf000edc90029643fbde2d3f7791a44236d0412a56fd6c13d0a5e1c6c0b16cc235f7420e7abf9b5ec69676ec8
7
- data.tar.gz: 71f642e3ee6cd84e8b43d2a14ab97b0821ea9339224e9b2f39df8c23545477abde0bf6ff9cda521a2bb9484c0670ba6df7e437f472c6772724bb58b8267a54d6
6
+ metadata.gz: 9d73cf7c10f2ba688400a2d8d07d537e6b5dd2ec311a48205c94f9dc6122213587ea9c9fd4a79324763836dcdc459e08156b4954b36fbae09fa2a12b26d8c963
7
+ data.tar.gz: eb425faae8efcfa7c1ef153437f9302e69a55edcf6518806250ac186b1c184303fb3e3c8910a8b6f500eb5e583f529914d39f2e022b909bfd24519dc01732fd5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.954
1
+ 3.0.955
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.954
4
+ version: 3.0.955
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud