tencentcloud-sdk-monitor 3.0.799 → 3.0.801

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: 95c4952a5ee4f2c7f6666a0b3f931cfb37b1ab8c
4
- data.tar.gz: 810ec9b573e37d2c646299946af59e8d33e9aa43
3
+ metadata.gz: 29afad962073a02ed9ef7fb8c0ea0e7b8556103b
4
+ data.tar.gz: ff45bc5c89e8e179863b5774e7c2898f133f405d
5
5
  SHA512:
6
- metadata.gz: da8c20d411a2542ecf18b13544644c456e3ccb9ee567f0594586a198491a154950f55964f1faabc733f888bc4dd163a10b8df27b3300726305d5d582a5284439
7
- data.tar.gz: 32ee9e5b82af0231bbbe242c2f0860f522fc1df7a61e778fe82ef63d517ce221ab2919807ab2d3d0c5a9115648b65370424cb3ecc84c1898176049bd23912397
6
+ metadata.gz: 2820d585f3b8fa2e2def4b5216bba2e8c1c5655f6c4be8a12b79021e5652f6c00f520078eac2c9034cc3a34016278cfe8e34afc7f7d417a20bd1a08ce6b975fb
7
+ data.tar.gz: a41075fd4ed923d0084d97d0a3456e997de4e09173487e2d2ff128073b0bad4e64c9d9b7a9b451e3129ebe0fc3f8da92444001015985c73618f1f3798c77493a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.799
1
+ 3.0.801
@@ -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.799
4
+ version: 3.0.801
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-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common