tencentcloud-sdk-monitor 3.0.615 → 3.0.617

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: d2aa1b3e9343865851c16e6a0283d7843cdd7821
4
- data.tar.gz: 307eee58e4d67f4bab05600255f625d5bf3f5f8a
3
+ metadata.gz: 75d2a636d7d7b6baaede28bd5cba10e07941c7f8
4
+ data.tar.gz: 7977fe0340423faea4bfe343bacab921d0baaf35
5
5
  SHA512:
6
- metadata.gz: 7051be16b2062113ec859efbd47a39b6fd6efc087dc6cee5d5732e6e81d061adbe5e7a2ece715de0a0f9cf38855b5738f7e186c122044b0b5d250a71b68cd772
7
- data.tar.gz: 3715f2872d07bb510d3b3b1e159b711b70fc0c91686c056c33b9f8cbe1db24e1f8e1004153e7ecda656d580c59437ff87c236ef0062081022b01515a3add658c
6
+ metadata.gz: 13ed18d01c49bdb394cefa46d25750020f9b2b5f59e5ef1e23400ec40e2e0c3b28852c7ae5648e9f387fb9b78a304ec56a1b67ceafcd3f71b1668bb1b9b88f81
7
+ data.tar.gz: 9cde8a593a739f5c7db1170c6a24d0ac24327141d13545ba125290e5d0970b388b16c3cbf5dcf77812d8352772ead257b5833e39fe1e9b5c56ab3cf4cedb8c4f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.615
1
+ 3.0.617
@@ -2977,38 +2977,6 @@ module TencentCloud
2977
2977
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2978
2978
  end
2979
2979
 
2980
- # 对应的功能控制台及后端服务已于2年前下线,剩余该API接口未下线。
2981
-
2982
- # 默认接口请求频率限制:50次/秒。
2983
- # 默认单租户指标上限:100个。
2984
- # 单次上报最多 30 个指标/值对,请求返回错误时,请求中所有的指标/值均不会被保存。
2985
-
2986
- # 上报的时间戳为期望保存的时间戳,建议构造整数分钟时刻的时间戳。
2987
- # 时间戳时间范围必须为当前时间到 300 秒前之间。
2988
- # 同一 IP 指标对的数据需按分钟先后顺序上报。
2989
-
2990
- # @param request: Request instance for PutMonitorData.
2991
- # @type request: :class:`Tencentcloud::monitor::V20180724::PutMonitorDataRequest`
2992
- # @rtype: :class:`Tencentcloud::monitor::V20180724::PutMonitorDataResponse`
2993
- def PutMonitorData(request)
2994
- body = send_request('PutMonitorData', request.serialize)
2995
- response = JSON.parse(body)
2996
- if response['Response'].key?('Error') == false
2997
- model = PutMonitorDataResponse.new
2998
- model.deserialize(response['Response'])
2999
- model
3000
- else
3001
- code = response['Response']['Error']['Code']
3002
- message = response['Response']['Error']['Message']
3003
- reqid = response['Response']['RequestId']
3004
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3005
- end
3006
- rescue TencentCloud::Common::TencentCloudSDKException => e
3007
- raise e
3008
- rescue StandardError => e
3009
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3010
- end
3011
-
3012
2980
  # 本接口(ResumeGrafanaInstance)用于 Grafana 包年包月实例的停服续费,调用后按原版本续费一个月。仍在运行中的实例无法使用该接口进行续费。
3013
2981
 
3014
2982
  # @param request: Request instance for ResumeGrafanaInstance.
@@ -9632,26 +9632,6 @@ module TencentCloud
9632
9632
  end
9633
9633
  end
9634
9634
 
9635
- # 指标名称和值的封装
9636
- class MetricDatum < TencentCloud::Common::AbstractModel
9637
- # @param MetricName: 指标名称
9638
- # @type MetricName: String
9639
- # @param Value: 指标的值
9640
- # @type Value: Integer
9641
-
9642
- attr_accessor :MetricName, :Value
9643
-
9644
- def initialize(metricname=nil, value=nil)
9645
- @MetricName = metricname
9646
- @Value = value
9647
- end
9648
-
9649
- def deserialize(params)
9650
- @MetricName = params['MetricName']
9651
- @Value = params['Value']
9652
- end
9653
- end
9654
-
9655
9635
  # 指标数据的解释
9656
9636
  class MetricObjectMeaning < TencentCloud::Common::AbstractModel
9657
9637
  # @param En: 指标英文解释
@@ -12361,57 +12341,6 @@ module TencentCloud
12361
12341
  end
12362
12342
  end
12363
12343
 
12364
- # PutMonitorData请求参数结构体
12365
- class PutMonitorDataRequest < TencentCloud::Common::AbstractModel
12366
- # @param Metrics: 一组指标和数据
12367
- # @type Metrics: Array
12368
- # @param AnnounceIp: 上报时自行指定的 IP
12369
- # @type AnnounceIp: String
12370
- # @param AnnounceTimestamp: 上报时自行指定的时间戳
12371
- # @type AnnounceTimestamp: Integer
12372
- # @param AnnounceInstance: 上报时自行指定的 IP 或 产品实例ID
12373
- # @type AnnounceInstance: String
12374
-
12375
- attr_accessor :Metrics, :AnnounceIp, :AnnounceTimestamp, :AnnounceInstance
12376
-
12377
- def initialize(metrics=nil, announceip=nil, announcetimestamp=nil, announceinstance=nil)
12378
- @Metrics = metrics
12379
- @AnnounceIp = announceip
12380
- @AnnounceTimestamp = announcetimestamp
12381
- @AnnounceInstance = announceinstance
12382
- end
12383
-
12384
- def deserialize(params)
12385
- unless params['Metrics'].nil?
12386
- @Metrics = []
12387
- params['Metrics'].each do |i|
12388
- metricdatum_tmp = MetricDatum.new
12389
- metricdatum_tmp.deserialize(i)
12390
- @Metrics << metricdatum_tmp
12391
- end
12392
- end
12393
- @AnnounceIp = params['AnnounceIp']
12394
- @AnnounceTimestamp = params['AnnounceTimestamp']
12395
- @AnnounceInstance = params['AnnounceInstance']
12396
- end
12397
- end
12398
-
12399
- # PutMonitorData返回参数结构体
12400
- class PutMonitorDataResponse < TencentCloud::Common::AbstractModel
12401
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12402
- # @type RequestId: String
12403
-
12404
- attr_accessor :RequestId
12405
-
12406
- def initialize(requestid=nil)
12407
- @RequestId = requestid
12408
- end
12409
-
12410
- def deserialize(params)
12411
- @RequestId = params['RequestId']
12412
- end
12413
- end
12414
-
12415
12344
  # 接收人信息
12416
12345
  class ReceiverInfo < TencentCloud::Common::AbstractModel
12417
12346
  # @param StartTime: 告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"
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.615
4
+ version: 3.0.617
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-07-18 00:00:00.000000000 Z
11
+ date: 2023-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common