tencentcloud-sdk-monitor 3.0.615 → 3.0.616
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 +0 -32
- data/lib/v20180724/models.rb +0 -71
- 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: bb69c1b34148beefc422444b82762ebdf7a7d42d
|
4
|
+
data.tar.gz: 761883b515997425c0b9c3ba0b3e559429b54c0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dc06e45533140b96793bb4f0fe695f0e2086a80af728fc12c9d0bc9b3fe34cfcc2bbc143d477ebc333f1500410bb0cd45f69f5fd6e8e037d4fb12dac1acd4f1
|
7
|
+
data.tar.gz: 508d36e0d0c677e659ec2dc8e72b661531206b0f2ae6980d7ebcaf7ce3145a46bc1cb4754896bebc5fc7865e1a39c317005960852c5e2fa47f6f2aa9eb058b07
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.616
|
data/lib/v20180724/client.rb
CHANGED
@@ -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.
|
data/lib/v20180724/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.616
|
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-
|
11
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|