tencentcloud-sdk-monitor 3.0.525 → 3.0.527
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/v20180724/client.rb +1 -1
- data/lib/v20180724/models.rb +21 -5
- 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: 703a2982c7f0e3dd202a530ab02ea11e1832a8b0
|
4
|
+
data.tar.gz: 66d19c245e2594b921359f90c1c259495895e263
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13588e2c22ece5d02748ea90962a0816002443b92a0c67e4087cfb6962b54128f4a920ed148ebe75f83ed8ac932181962fbcaeed7c9be69811ba1172bd799152
|
7
|
+
data.tar.gz: 3cf6a0243e3858c903889476921e772edd63a9991a8bba017ed87108f26c70c3ac9a2712ae2cbab5a857b3a96112a2114d2c8df12c3f74571c557e95653e16ef
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.527
|
data/lib/v20180724/client.rb
CHANGED
@@ -2493,7 +2493,7 @@ module TencentCloud
|
|
2493
2493
|
|
2494
2494
|
# 获取云产品的监控数据。此接口不适用于拉取容器服务监控数据,如需拉取容器服务监控数据,请使用[根据维度条件查询监控数据](https://cloud.tencent.com/document/product/248/51845)接口。
|
2495
2495
|
# 传入产品的命名空间、对象维度描述和监控指标即可获得相应的监控数据。
|
2496
|
-
#
|
2496
|
+
# 接口调用限制:单请求最多可支持批量拉取10个实例的监控数据,单请求的数据点数限制为1440个。
|
2497
2497
|
# 若您需要调用的指标、对象较多,可能存在因限频出现拉取失败的情况,建议尽量将请求按时间维度均摊。
|
2498
2498
|
|
2499
2499
|
# >?
|
data/lib/v20180724/models.rb
CHANGED
@@ -2606,7 +2606,7 @@ module TencentCloud
|
|
2606
2606
|
# @type Module: String
|
2607
2607
|
# @param NoticeIds: 告警通知模板id列表
|
2608
2608
|
# @type NoticeIds: Array
|
2609
|
-
# @param NoticeBindPolicys:
|
2609
|
+
# @param NoticeBindPolicys: 通知模板与策略绑定关系
|
2610
2610
|
# @type NoticeBindPolicys: Array
|
2611
2611
|
|
2612
2612
|
attr_accessor :Module, :NoticeIds, :NoticeBindPolicys
|
@@ -7152,16 +7152,19 @@ module TencentCloud
|
|
7152
7152
|
# @type PodMonitors: Array
|
7153
7153
|
# @param RawJobs: 原生Job
|
7154
7154
|
# @type RawJobs: Array
|
7155
|
+
# @param Probes: Probes
|
7156
|
+
# @type Probes: Array
|
7155
7157
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7156
7158
|
# @type RequestId: String
|
7157
7159
|
|
7158
|
-
attr_accessor :Config, :ServiceMonitors, :PodMonitors, :RawJobs, :RequestId
|
7160
|
+
attr_accessor :Config, :ServiceMonitors, :PodMonitors, :RawJobs, :Probes, :RequestId
|
7159
7161
|
|
7160
|
-
def initialize(config=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, requestid=nil)
|
7162
|
+
def initialize(config=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, probes=nil, requestid=nil)
|
7161
7163
|
@Config = config
|
7162
7164
|
@ServiceMonitors = servicemonitors
|
7163
7165
|
@PodMonitors = podmonitors
|
7164
7166
|
@RawJobs = rawjobs
|
7167
|
+
@Probes = probes
|
7165
7168
|
@RequestId = requestid
|
7166
7169
|
end
|
7167
7170
|
|
@@ -7191,6 +7194,14 @@ module TencentCloud
|
|
7191
7194
|
@RawJobs << prometheusconfigitem_tmp
|
7192
7195
|
end
|
7193
7196
|
end
|
7197
|
+
unless params['Probes'].nil?
|
7198
|
+
@Probes = []
|
7199
|
+
params['Probes'].each do |i|
|
7200
|
+
prometheusconfigitem_tmp = PrometheusConfigItem.new
|
7201
|
+
prometheusconfigitem_tmp.deserialize(i)
|
7202
|
+
@Probes << prometheusconfigitem_tmp
|
7203
|
+
end
|
7204
|
+
end
|
7194
7205
|
@RequestId = params['RequestId']
|
7195
7206
|
end
|
7196
7207
|
end
|
@@ -10984,10 +10995,13 @@ module TencentCloud
|
|
10984
10995
|
# @param FailedReason: 记录关联等操作的失败信息
|
10985
10996
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10986
10997
|
# @type FailedReason: String
|
10998
|
+
# @param Name: agent名称
|
10999
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11000
|
+
# @type Name: String
|
10987
11001
|
|
10988
|
-
attr_accessor :ClusterType, :ClusterId, :Status, :ClusterName, :ExternalLabels, :Region, :VpcId, :FailedReason
|
11002
|
+
attr_accessor :ClusterType, :ClusterId, :Status, :ClusterName, :ExternalLabels, :Region, :VpcId, :FailedReason, :Name
|
10989
11003
|
|
10990
|
-
def initialize(clustertype=nil, clusterid=nil, status=nil, clustername=nil, externallabels=nil, region=nil, vpcid=nil, failedreason=nil)
|
11004
|
+
def initialize(clustertype=nil, clusterid=nil, status=nil, clustername=nil, externallabels=nil, region=nil, vpcid=nil, failedreason=nil, name=nil)
|
10991
11005
|
@ClusterType = clustertype
|
10992
11006
|
@ClusterId = clusterid
|
10993
11007
|
@Status = status
|
@@ -10996,6 +11010,7 @@ module TencentCloud
|
|
10996
11010
|
@Region = region
|
10997
11011
|
@VpcId = vpcid
|
10998
11012
|
@FailedReason = failedreason
|
11013
|
+
@Name = name
|
10999
11014
|
end
|
11000
11015
|
|
11001
11016
|
def deserialize(params)
|
@@ -11014,6 +11029,7 @@ module TencentCloud
|
|
11014
11029
|
@Region = params['Region']
|
11015
11030
|
@VpcId = params['VpcId']
|
11016
11031
|
@FailedReason = params['FailedReason']
|
11032
|
+
@Name = params['Name']
|
11017
11033
|
end
|
11018
11034
|
end
|
11019
11035
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.527
|
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-03-
|
11
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|