tencentcloud-sdk-monitor 3.0.535 → 3.0.537

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf8bf58025137c62c0f94f52ff6a1ed34f5de7f3
4
- data.tar.gz: a1ab41bd5f7187f5d37ea6664db55f28d52e79b8
3
+ metadata.gz: ddad0060d55870ec77c944b666eb02d396a68775
4
+ data.tar.gz: 1032b1c0a57fd41af316edc470a118c7da6808ba
5
5
  SHA512:
6
- metadata.gz: f01cbb22771ecfb1f6e73c794806b8d101992d2ef27b27219d9a8a1c544b781aab0cbb6f0192a77d1c4aeeaa9cb6f507841130ea2f44ad617add28dabbdded68
7
- data.tar.gz: 37552b1281121d781e0437749d231adfbc4d07e59fe8ceee59ebf04644a72b9113b5f7d0c26f8ced6f448aa611d9a568dd24226da7a263aa18b9ae91b3f9b102
6
+ metadata.gz: 150b055681c5fadedf384f2438eeeacf9478bc9c2d7bb2e238523efed85cd7725ef761d3f0b6f1b132f557a4ab0ce1dd4374b6f3b35698d66800b66f81e5a2d4
7
+ data.tar.gz: 5756258446961a08ac4c696f070ad88ed702d2b6552f01f3c18e012e33d92fcccd76b67d8ead5953e085eaf25c83f10b324a47004b2f44018988d5b7aaf09253
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.535
1
+ 3.0.537
@@ -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
- # 与云监控融合的2.0实例关联集群
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
- # 云监控告警获取告警通知模板所有回调URL
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
- # 查询云监控产品列表,支持云服务器CVM、云数据库、云消息队列、负载均衡、容器服务、专线等云产品。
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
- # 云监控告警修改告警策略的触发任务,TriggerTasks字段放触发任务列表,TriggerTasks传空数组时,代表解绑该策略的所有触发任务。
2692
+ # 修改告警策略的触发任务,TriggerTasks字段放触发任务列表,TriggerTasks传空数组时,代表解绑该策略的所有触发任务。
2693
2693
 
2694
2694
  # @param request: Request instance for ModifyAlarmPolicyTasks.
2695
2695
  # @type request: :class:`Tencentcloud::monitor::V20180724::ModifyAlarmPolicyTasksRequest`
@@ -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
 
@@ -11197,10 +11208,12 @@ module TencentCloud
11197
11208
  # @type NotInstallBasicScrape: Boolean
11198
11209
  # @param NotScrape: 是否采集指标,true代表drop所有指标,false代表采集默认指标
11199
11210
  # @type NotScrape: Boolean
11211
+ # @param OpenDefaultRecord: 是否开启默认预聚合规则
11212
+ # @type OpenDefaultRecord: Boolean
11200
11213
 
11201
- attr_accessor :Region, :ClusterType, :ClusterId, :EnableExternal, :InClusterPodConfig, :ExternalLabels, :NotInstallBasicScrape, :NotScrape
11214
+ attr_accessor :Region, :ClusterType, :ClusterId, :EnableExternal, :InClusterPodConfig, :ExternalLabels, :NotInstallBasicScrape, :NotScrape, :OpenDefaultRecord
11202
11215
 
11203
- def initialize(region=nil, clustertype=nil, clusterid=nil, enableexternal=nil, inclusterpodconfig=nil, externallabels=nil, notinstallbasicscrape=nil, notscrape=nil)
11216
+ def initialize(region=nil, clustertype=nil, clusterid=nil, enableexternal=nil, inclusterpodconfig=nil, externallabels=nil, notinstallbasicscrape=nil, notscrape=nil, opendefaultrecord=nil)
11204
11217
  @Region = region
11205
11218
  @ClusterType = clustertype
11206
11219
  @ClusterId = clusterid
@@ -11209,6 +11222,7 @@ module TencentCloud
11209
11222
  @ExternalLabels = externallabels
11210
11223
  @NotInstallBasicScrape = notinstallbasicscrape
11211
11224
  @NotScrape = notscrape
11225
+ @OpenDefaultRecord = opendefaultrecord
11212
11226
  end
11213
11227
 
11214
11228
  def deserialize(params)
@@ -11230,6 +11244,7 @@ module TencentCloud
11230
11244
  end
11231
11245
  @NotInstallBasicScrape = params['NotInstallBasicScrape']
11232
11246
  @NotScrape = params['NotScrape']
11247
+ @OpenDefaultRecord = params['OpenDefaultRecord']
11233
11248
  end
11234
11249
  end
11235
11250
 
@@ -12465,7 +12480,7 @@ module TencentCloud
12465
12480
  class SendCustomAlarmMsgRequest < TencentCloud::Common::AbstractModel
12466
12481
  # @param Module: 接口模块名,当前取值monitor
12467
12482
  # @type Module: String
12468
- # @param PolicyId: 消息策略ID,在云监控自定义消息页面配置
12483
+ # @param PolicyId: 消息策略ID,在自定义消息页面配置
12469
12484
  # @type PolicyId: String
12470
12485
  # @param Msg: 用户想要发送的自定义消息内容
12471
12486
  # @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.535
4
+ version: 3.0.537
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-22 00:00:00.000000000 Z
11
+ date: 2023-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common