tencentcloud-sdk-monitor 3.0.1101 → 3.0.1102
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/v20180724/models.rb +27 -10
- 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: 895880f5d37a2bf68f9cdff9e040543f034898d9
|
4
|
+
data.tar.gz: 7769e0d6d3ca514ed199fbbfa689c57fbbc58bb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 567cdd46672021a046d04ad4a37c290cbde725effaea72b89fe26b449aa7352c8c7a96ca646b09fb5025979fe71b1f84260da5012ce79ba49913b26917de8239
|
7
|
+
data.tar.gz: 00d17cff0d4f2732267f18d933b5e4d88c292f0185219719dea7cfe95ccc6748bb48bed1d548d6d8e6784f71deb9544a1cd9dcdda9b8a66c7c5d232fa1d5ce6a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1102
|
data/lib/v20180724/models.rb
CHANGED
@@ -2503,7 +2503,7 @@ module TencentCloud
|
|
2503
2503
|
# 3 -- 禁用
|
2504
2504
|
# 不为空时会覆盖 `Rules`字段下所有告警规则状态
|
2505
2505
|
# @type GroupState: Integer
|
2506
|
-
# @param AMPReceivers:
|
2506
|
+
# @param AMPReceivers: 腾讯云可观测平台告警通知模板ID列表,形如Consumer-xxxx或notice-xxxx
|
2507
2507
|
# @type AMPReceivers: Array
|
2508
2508
|
# @param CustomReceiver: 自定义告警通知模板
|
2509
2509
|
# @type CustomReceiver: :class:`Tencentcloud::Monitor.v20180724.models.PrometheusAlertCustomReceiver`
|
@@ -11550,14 +11550,29 @@ module TencentCloud
|
|
11550
11550
|
# @type EventID: String
|
11551
11551
|
# @param RuleID: 规则ID
|
11552
11552
|
# @type RuleID: Integer
|
11553
|
+
# @param MetricName: 重构后的eventType
|
11554
|
+
# @type MetricName: String
|
11555
|
+
# @param Description: 事件描述信息
|
11556
|
+
# @type Description: String
|
11553
11557
|
|
11554
|
-
attr_accessor :AlarmNotifyPeriod, :AlarmNotifyType, :EventID, :RuleID
|
11555
|
-
|
11556
|
-
|
11558
|
+
attr_accessor :AlarmNotifyPeriod, :AlarmNotifyType, :EventID, :RuleID, :MetricName, :Description
|
11559
|
+
extend Gem::Deprecate
|
11560
|
+
deprecate :AlarmNotifyPeriod, :none, 2025, 7
|
11561
|
+
deprecate :AlarmNotifyPeriod=, :none, 2025, 7
|
11562
|
+
deprecate :AlarmNotifyType, :none, 2025, 7
|
11563
|
+
deprecate :AlarmNotifyType=, :none, 2025, 7
|
11564
|
+
deprecate :EventID, :none, 2025, 7
|
11565
|
+
deprecate :EventID=, :none, 2025, 7
|
11566
|
+
deprecate :RuleID, :none, 2025, 7
|
11567
|
+
deprecate :RuleID=, :none, 2025, 7
|
11568
|
+
|
11569
|
+
def initialize(alarmnotifyperiod=nil, alarmnotifytype=nil, eventid=nil, ruleid=nil, metricname=nil, description=nil)
|
11557
11570
|
@AlarmNotifyPeriod = alarmnotifyperiod
|
11558
11571
|
@AlarmNotifyType = alarmnotifytype
|
11559
11572
|
@EventID = eventid
|
11560
11573
|
@RuleID = ruleid
|
11574
|
+
@MetricName = metricname
|
11575
|
+
@Description = description
|
11561
11576
|
end
|
11562
11577
|
|
11563
11578
|
def deserialize(params)
|
@@ -11565,6 +11580,8 @@ module TencentCloud
|
|
11565
11580
|
@AlarmNotifyType = params['AlarmNotifyType']
|
11566
11581
|
@EventID = params['EventID']
|
11567
11582
|
@RuleID = params['RuleID']
|
11583
|
+
@MetricName = params['MetricName']
|
11584
|
+
@Description = params['Description']
|
11568
11585
|
end
|
11569
11586
|
end
|
11570
11587
|
|
@@ -12751,7 +12768,7 @@ module TencentCloud
|
|
12751
12768
|
# @param GroupName: 告警分组名称
|
12752
12769
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12753
12770
|
# @type GroupName: String
|
12754
|
-
# @param AMPReceivers:
|
12771
|
+
# @param AMPReceivers: 腾讯云可观测平台告警模板ID ,返回告警模板转换后的notice ID。
|
12755
12772
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12756
12773
|
# @type AMPReceivers: Array
|
12757
12774
|
# @param CustomReceiver: 自定义告警模板
|
@@ -14290,10 +14307,10 @@ module TencentCloud
|
|
14290
14307
|
|
14291
14308
|
attr_accessor :URL, :URLRelabelConfig, :BasicAuth, :MaxBlockSize, :Label, :Headers
|
14292
14309
|
extend Gem::Deprecate
|
14293
|
-
deprecate :MaxBlockSize, :none, 2025,
|
14294
|
-
deprecate :MaxBlockSize=, :none, 2025,
|
14295
|
-
deprecate :Label, :none, 2025,
|
14296
|
-
deprecate :Label=, :none, 2025,
|
14310
|
+
deprecate :MaxBlockSize, :none, 2025, 7
|
14311
|
+
deprecate :MaxBlockSize=, :none, 2025, 7
|
14312
|
+
deprecate :Label, :none, 2025, 7
|
14313
|
+
deprecate :Label=, :none, 2025, 7
|
14297
14314
|
|
14298
14315
|
def initialize(url=nil, urlrelabelconfig=nil, basicauth=nil, maxblocksize=nil, label=nil, headers=nil)
|
14299
14316
|
@URL = url
|
@@ -15607,7 +15624,7 @@ module TencentCloud
|
|
15607
15624
|
# 3 -- 禁用
|
15608
15625
|
# 不为空时会覆盖 `Rules`字段下所有告警规则状态
|
15609
15626
|
# @type GroupState: Integer
|
15610
|
-
# @param AMPReceivers:
|
15627
|
+
# @param AMPReceivers: 腾讯云可观测平台告警通知模板ID列表,形如Consumer-xxxx或notice-xxxx
|
15611
15628
|
# @type AMPReceivers: Array
|
15612
15629
|
# @param CustomReceiver: 自定义告警通知模板
|
15613
15630
|
# @type CustomReceiver: :class:`Tencentcloud::Monitor.v20180724.models.PrometheusAlertCustomReceiver`
|
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.1102
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|