tencentcloud-sdk-monitor 3.0.800 → 3.0.802

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: 5999ca4aa9d93c9354e1dd6f7afbf17de8345e4f
4
- data.tar.gz: 752f8211bdb04b10bac53c76cf2b2a6321dd4bc9
3
+ metadata.gz: 779bbb103fa5a6518f318cb02409e193bdcb98b2
4
+ data.tar.gz: 2e279a20fcb192c162158e8f492a4bd8d92e8a44
5
5
  SHA512:
6
- metadata.gz: 23ce7c85a71e0a77d62e612db1b2e004c6d956a634851a518036a1fa7b9e40327b665a97e52e06d1c05e8ef3f9c249159fedbb4ca6201ae1ded75adce1702fda
7
- data.tar.gz: 2486876b411bbfe56763581d99945bd5418edacb9121694d177ce45472f6aef49298f6228d24a8509aa10500b942f872a31a404391eff980728c7f74440b724a
6
+ metadata.gz: 15d6015d33d41039a7b34e594fc493a950786916af5740d34b0b03a7678cdc0c4bc081e08b6595dd4bfd9011edcbf7297ad58c81dc417a84ddbe88d85d77cc1e
7
+ data.tar.gz: 38b57769318bcab6c7cb5de14333b8cb4668ff2fcc721f6d6cbc428678acd16d0f355fd6fcbd3578a8861f7854094dac05b9edc357c618f6d2d48b982c7e6aa2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.800
1
+ 3.0.802
@@ -3199,30 +3199,6 @@ module TencentCloud
3199
3199
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3200
3200
  end
3201
3201
 
3202
- # 发送自定义消息告警
3203
-
3204
- # @param request: Request instance for SendCustomAlarmMsg.
3205
- # @type request: :class:`Tencentcloud::monitor::V20180724::SendCustomAlarmMsgRequest`
3206
- # @rtype: :class:`Tencentcloud::monitor::V20180724::SendCustomAlarmMsgResponse`
3207
- def SendCustomAlarmMsg(request)
3208
- body = send_request('SendCustomAlarmMsg', request.serialize)
3209
- response = JSON.parse(body)
3210
- if response['Response'].key?('Error') == false
3211
- model = SendCustomAlarmMsgResponse.new
3212
- model.deserialize(response['Response'])
3213
- model
3214
- else
3215
- code = response['Response']['Error']['Code']
3216
- message = response['Response']['Error']['Message']
3217
- reqid = response['Response']['RequestId']
3218
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3219
- end
3220
- rescue TencentCloud::Common::TencentCloudSDKException => e
3221
- raise e
3222
- rescue StandardError => e
3223
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3224
- end
3225
-
3226
3202
  # 设置一个策略为该告警策略类型、该项目的默认告警策略。
3227
3203
  # 同一项目下相同的告警策略类型,就会被设置为非默认。
3228
3204
 
@@ -13384,46 +13384,6 @@ module TencentCloud
13384
13384
  end
13385
13385
  end
13386
13386
 
13387
- # SendCustomAlarmMsg请求参数结构体
13388
- class SendCustomAlarmMsgRequest < TencentCloud::Common::AbstractModel
13389
- # @param Module: 接口模块名,当前取值monitor
13390
- # @type Module: String
13391
- # @param PolicyId: 消息策略ID,在自定义消息页面配置
13392
- # @type PolicyId: String
13393
- # @param Msg: 用户想要发送的自定义消息内容
13394
- # @type Msg: String
13395
-
13396
- attr_accessor :Module, :PolicyId, :Msg
13397
-
13398
- def initialize(_module=nil, policyid=nil, msg=nil)
13399
- @Module = _module
13400
- @PolicyId = policyid
13401
- @Msg = msg
13402
- end
13403
-
13404
- def deserialize(params)
13405
- @Module = params['Module']
13406
- @PolicyId = params['PolicyId']
13407
- @Msg = params['Msg']
13408
- end
13409
- end
13410
-
13411
- # SendCustomAlarmMsg返回参数结构体
13412
- class SendCustomAlarmMsgResponse < TencentCloud::Common::AbstractModel
13413
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13414
- # @type RequestId: String
13415
-
13416
- attr_accessor :RequestId
13417
-
13418
- def initialize(requestid=nil)
13419
- @RequestId = requestid
13420
- end
13421
-
13422
- def deserialize(params)
13423
- @RequestId = params['RequestId']
13424
- end
13425
- end
13426
-
13427
13387
  # Prometheus 服务发现信息
13428
13388
  class ServiceDiscoveryItem < TencentCloud::Common::AbstractModel
13429
13389
  # @param Name: 服务发现名称
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.800
4
+ version: 3.0.802
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-09 00:00:00.000000000 Z
11
+ date: 2024-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common