tencentcloud-sdk-monitor 3.0.534 → 3.0.536
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 +8 -8
- data/lib/v20180724/models.rb +14 -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: 734bfa8b5ecfea2a08f051b17025db4afe93b1e4
|
4
|
+
data.tar.gz: 6a9fb6dfec6cc1b6d659c792c1ff251842bfcafe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4de022ed50ba033ce8bef12f2995111ccc09edcfe8a14635810346bc8cee144ae2adebada70bae7387375e222d11562f36887455dea8678d89cdb4f631e698ad
|
7
|
+
data.tar.gz: ad4131b67c005bcebefa8703c30ac67e7462fb1dbade16e24cce74bad86d01f6f0c682bf2a1f4b697d7e94fc44aa317abdc4f91ed4bfa3eb63659abeae8b321d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.536
|
data/lib/v20180724/client.rb
CHANGED
@@ -173,7 +173,7 @@ module TencentCloud
|
|
173
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
174
|
end
|
175
175
|
|
176
|
-
#
|
176
|
+
# 创建告警策略
|
177
177
|
|
178
178
|
# @param request: Request instance for CreateAlarmPolicy.
|
179
179
|
# @type request: :class:`Tencentcloud::monitor::V20180724::CreateAlarmPolicyRequest`
|
@@ -391,7 +391,7 @@ module TencentCloud
|
|
391
391
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
392
392
|
end
|
393
393
|
|
394
|
-
#
|
394
|
+
# 与腾讯云可观测融合的2.0实例关联集群
|
395
395
|
|
396
396
|
# @param request: Request instance for CreatePrometheusClusterAgent.
|
397
397
|
# @type request: :class:`Tencentcloud::monitor::V20180724::CreatePrometheusClusterAgentRequest`
|
@@ -633,7 +633,7 @@ module TencentCloud
|
|
633
633
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
634
634
|
end
|
635
635
|
|
636
|
-
#
|
636
|
+
# 删除告警通知模板
|
637
637
|
|
638
638
|
# @param request: Request instance for DeleteAlarmNotices.
|
639
639
|
# @type request: :class:`Tencentcloud::monitor::V20180724::DeleteAlarmNoticesRequest`
|
@@ -1189,7 +1189,7 @@ module TencentCloud
|
|
1189
1189
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1190
1190
|
end
|
1191
1191
|
|
1192
|
-
#
|
1192
|
+
# 获取告警通知模板所有回调URL
|
1193
1193
|
|
1194
1194
|
# @param request: Request instance for DescribeAlarmNoticeCallbacks.
|
1195
1195
|
# @type request: :class:`Tencentcloud::monitor::V20180724::DescribeAlarmNoticeCallbacksRequest`
|
@@ -1669,7 +1669,7 @@ module TencentCloud
|
|
1669
1669
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1670
1670
|
end
|
1671
1671
|
|
1672
|
-
#
|
1672
|
+
# 腾讯云可观测平台支持多种类型的监控,此接口列出支持的所有类型
|
1673
1673
|
|
1674
1674
|
# @param request: Request instance for DescribeMonitorTypes.
|
1675
1675
|
# @type request: :class:`Tencentcloud::monitor::V20180724::DescribeMonitorTypesRequest`
|
@@ -1813,7 +1813,7 @@ module TencentCloud
|
|
1813
1813
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1814
1814
|
end
|
1815
1815
|
|
1816
|
-
#
|
1816
|
+
# 查询腾讯云可观测平台云产品列表,支持云服务器CVM、云数据库、云消息队列、负载均衡、容器服务、专线等云产品。
|
1817
1817
|
|
1818
1818
|
# @param request: Request instance for DescribeProductList.
|
1819
1819
|
# @type request: :class:`Tencentcloud::monitor::V20180724::DescribeProductListRequest`
|
@@ -2641,7 +2641,7 @@ module TencentCloud
|
|
2641
2641
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2642
2642
|
end
|
2643
2643
|
|
2644
|
-
#
|
2644
|
+
# 告警修改告警策略绑定的告警通知模板
|
2645
2645
|
|
2646
2646
|
# @param request: Request instance for ModifyAlarmPolicyNotice.
|
2647
2647
|
# @type request: :class:`Tencentcloud::monitor::V20180724::ModifyAlarmPolicyNoticeRequest`
|
@@ -2689,7 +2689,7 @@ module TencentCloud
|
|
2689
2689
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2690
2690
|
end
|
2691
2691
|
|
2692
|
-
#
|
2692
|
+
# 修改告警策略的触发任务,TriggerTasks字段放触发任务列表,TriggerTasks传空数组时,代表解绑该策略的所有触发任务。
|
2693
2693
|
|
2694
2694
|
# @param request: Request instance for ModifyAlarmPolicyTasks.
|
2695
2695
|
# @type request: :class:`Tencentcloud::monitor::V20180724::ModifyAlarmPolicyTasksRequest`
|
data/lib/v20180724/models.rb
CHANGED
@@ -9906,14 +9906,17 @@ module TencentCloud
|
|
9906
9906
|
# @type NoticeIds: Array
|
9907
9907
|
# @param PolicyIds: 告警策略ID数组,支持给多个告警策略批量绑定通知模板。最多30个。
|
9908
9908
|
# @type PolicyIds: Array
|
9909
|
+
# @param HierarchicalNotices: 告警分级通知规则配置
|
9910
|
+
# @type HierarchicalNotices: Array
|
9909
9911
|
|
9910
|
-
attr_accessor :Module, :PolicyId, :NoticeIds, :PolicyIds
|
9912
|
+
attr_accessor :Module, :PolicyId, :NoticeIds, :PolicyIds, :HierarchicalNotices
|
9911
9913
|
|
9912
|
-
def initialize(_module=nil, policyid=nil, noticeids=nil, policyids=nil)
|
9914
|
+
def initialize(_module=nil, policyid=nil, noticeids=nil, policyids=nil, hierarchicalnotices=nil)
|
9913
9915
|
@Module = _module
|
9914
9916
|
@PolicyId = policyid
|
9915
9917
|
@NoticeIds = noticeids
|
9916
9918
|
@PolicyIds = policyids
|
9919
|
+
@HierarchicalNotices = hierarchicalnotices
|
9917
9920
|
end
|
9918
9921
|
|
9919
9922
|
def deserialize(params)
|
@@ -9921,6 +9924,14 @@ module TencentCloud
|
|
9921
9924
|
@PolicyId = params['PolicyId']
|
9922
9925
|
@NoticeIds = params['NoticeIds']
|
9923
9926
|
@PolicyIds = params['PolicyIds']
|
9927
|
+
unless params['HierarchicalNotices'].nil?
|
9928
|
+
@HierarchicalNotices = []
|
9929
|
+
params['HierarchicalNotices'].each do |i|
|
9930
|
+
alarmhierarchicalnotice_tmp = AlarmHierarchicalNotice.new
|
9931
|
+
alarmhierarchicalnotice_tmp.deserialize(i)
|
9932
|
+
@HierarchicalNotices << alarmhierarchicalnotice_tmp
|
9933
|
+
end
|
9934
|
+
end
|
9924
9935
|
end
|
9925
9936
|
end
|
9926
9937
|
|
@@ -12465,7 +12476,7 @@ module TencentCloud
|
|
12465
12476
|
class SendCustomAlarmMsgRequest < TencentCloud::Common::AbstractModel
|
12466
12477
|
# @param Module: 接口模块名,当前取值monitor
|
12467
12478
|
# @type Module: String
|
12468
|
-
# @param PolicyId: 消息策略ID
|
12479
|
+
# @param PolicyId: 消息策略ID,在自定义消息页面配置
|
12469
12480
|
# @type PolicyId: String
|
12470
12481
|
# @param Msg: 用户想要发送的自定义消息内容
|
12471
12482
|
# @type Msg: String
|
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.536
|
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-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|