tencentcloud-sdk-monitor 3.0.1169 → 3.0.1188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180724/client.rb +0 -2
- data/lib/v20180724/models.rb +111 -15
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42074e06a6fcbf687fbf3ebaa78c28bdefafa51d
|
|
4
|
+
data.tar.gz: 3e286ac3e716c07eec1ec15c8554bde1797c8aa6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31a7f31dfc7220dde5907592d4794d906be5baea13e446a92a1f0e257e2ac15679a2b58dc32f761ebd848b7982eb249aeb659c1ba8c190b7b8e388277825fe32
|
|
7
|
+
data.tar.gz: de2657d1b88f9e1a28d7be5f4a11609849f652c88fec26b4fbddcf26c54c9078b644a63edce935ea72088e56fb2e1db2c05be94099c662c1eb7d00ef54b50392
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1188
|
data/lib/v20180724/client.rb
CHANGED
|
@@ -2930,8 +2930,6 @@ module TencentCloud
|
|
|
2930
2930
|
# 传入产品的命名空间、对象维度描述和监控指标即可获得相应的监控数据。
|
|
2931
2931
|
# 接口调用限制:单请求最多可支持批量拉取10个实例的监控数据,单请求的数据点数限制为1440个。
|
|
2932
2932
|
# 若您需要调用的指标、对象较多,可能存在因限频出现拉取失败的情况,建议尽量将请求按时间维度均摊。
|
|
2933
|
-
# 参数SpecifyStatistics目前可支持返回三种统计方式(avg,max,min),分别为二进制1,2,4。
|
|
2934
|
-
# 例子:3:avg+max,5:avg+min,6:max+min,7:avg+max+min
|
|
2935
2933
|
# 拉取数据的粒度和统计方式的对应关系尽量在接入平台进行配置,如果没有配置对应统计方式,请提工单反馈。
|
|
2936
2934
|
|
|
2937
2935
|
# >?
|
data/lib/v20180724/models.rb
CHANGED
|
@@ -1006,6 +1006,82 @@ module TencentCloud
|
|
|
1006
1006
|
end
|
|
1007
1007
|
end
|
|
1008
1008
|
|
|
1009
|
+
# 绑定状态Response
|
|
1010
|
+
class BindProgressResponse < TencentCloud::Common::AbstractModel
|
|
1011
|
+
# @param Steps: 绑定步骤
|
|
1012
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1013
|
+
# @type Steps: Array
|
|
1014
|
+
# @param ClusterId: 集群id
|
|
1015
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1016
|
+
# @type ClusterId: String
|
|
1017
|
+
# @param Status: 集群绑定状态
|
|
1018
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1019
|
+
# @type Status: String
|
|
1020
|
+
|
|
1021
|
+
attr_accessor :Steps, :ClusterId, :Status
|
|
1022
|
+
|
|
1023
|
+
def initialize(steps=nil, clusterid=nil, status=nil)
|
|
1024
|
+
@Steps = steps
|
|
1025
|
+
@ClusterId = clusterid
|
|
1026
|
+
@Status = status
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
def deserialize(params)
|
|
1030
|
+
unless params['Steps'].nil?
|
|
1031
|
+
@Steps = []
|
|
1032
|
+
params['Steps'].each do |i|
|
|
1033
|
+
bindprogressstep_tmp = BindProgressStep.new
|
|
1034
|
+
bindprogressstep_tmp.deserialize(i)
|
|
1035
|
+
@Steps << bindprogressstep_tmp
|
|
1036
|
+
end
|
|
1037
|
+
end
|
|
1038
|
+
@ClusterId = params['ClusterId']
|
|
1039
|
+
@Status = params['Status']
|
|
1040
|
+
end
|
|
1041
|
+
end
|
|
1042
|
+
|
|
1043
|
+
# 绑定进度参数
|
|
1044
|
+
class BindProgressStep < TencentCloud::Common::AbstractModel
|
|
1045
|
+
# @param EndAt: 结束时间
|
|
1046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1047
|
+
# @type EndAt: String
|
|
1048
|
+
# @param FailedMsg: 错误信息
|
|
1049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1050
|
+
# @type FailedMsg: String
|
|
1051
|
+
# @param LifeState: 状态
|
|
1052
|
+
# @type LifeState: String
|
|
1053
|
+
# @param StartAt: 开始时间
|
|
1054
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1055
|
+
# @type StartAt: String
|
|
1056
|
+
# @param Step: 任务进程
|
|
1057
|
+
# "prepare_env" // 准备环境,安装instance EKS
|
|
1058
|
+
# "check_target" // 检查target是否为running
|
|
1059
|
+
# "install_crd" // 安装需要测crd
|
|
1060
|
+
# "install_rbac" // 安装rbac
|
|
1061
|
+
# "install_agent" // 安装agent
|
|
1062
|
+
# "install_cr" // 安装prometheus CR
|
|
1063
|
+
# "install_basic" // 安装基础采集信息,标记target状态为normal
|
|
1064
|
+
# @type Step: String
|
|
1065
|
+
|
|
1066
|
+
attr_accessor :EndAt, :FailedMsg, :LifeState, :StartAt, :Step
|
|
1067
|
+
|
|
1068
|
+
def initialize(endat=nil, failedmsg=nil, lifestate=nil, startat=nil, step=nil)
|
|
1069
|
+
@EndAt = endat
|
|
1070
|
+
@FailedMsg = failedmsg
|
|
1071
|
+
@LifeState = lifestate
|
|
1072
|
+
@StartAt = startat
|
|
1073
|
+
@Step = step
|
|
1074
|
+
end
|
|
1075
|
+
|
|
1076
|
+
def deserialize(params)
|
|
1077
|
+
@EndAt = params['EndAt']
|
|
1078
|
+
@FailedMsg = params['FailedMsg']
|
|
1079
|
+
@LifeState = params['LifeState']
|
|
1080
|
+
@StartAt = params['StartAt']
|
|
1081
|
+
@Step = params['Step']
|
|
1082
|
+
end
|
|
1083
|
+
end
|
|
1084
|
+
|
|
1009
1085
|
# BindPrometheusManagedGrafana请求参数结构体
|
|
1010
1086
|
class BindPrometheusManagedGrafanaRequest < TencentCloud::Common::AbstractModel
|
|
1011
1087
|
# @param InstanceId: Prometheus 实例 ID
|
|
@@ -5481,27 +5557,47 @@ module TencentCloud
|
|
|
5481
5557
|
|
|
5482
5558
|
# DescribeClusterAgentCreatingProgress请求参数结构体
|
|
5483
5559
|
class DescribeClusterAgentCreatingProgressRequest < TencentCloud::Common::AbstractModel
|
|
5560
|
+
# @param InstanceId: prom实例id
|
|
5561
|
+
# @type InstanceId: String
|
|
5562
|
+
# @param ClusterIds: 集群ids
|
|
5563
|
+
# @type ClusterIds: Array
|
|
5484
5564
|
|
|
5565
|
+
attr_accessor :InstanceId, :ClusterIds
|
|
5485
5566
|
|
|
5486
|
-
def initialize()
|
|
5567
|
+
def initialize(instanceid=nil, clusterids=nil)
|
|
5568
|
+
@InstanceId = instanceid
|
|
5569
|
+
@ClusterIds = clusterids
|
|
5487
5570
|
end
|
|
5488
5571
|
|
|
5489
5572
|
def deserialize(params)
|
|
5573
|
+
@InstanceId = params['InstanceId']
|
|
5574
|
+
@ClusterIds = params['ClusterIds']
|
|
5490
5575
|
end
|
|
5491
5576
|
end
|
|
5492
5577
|
|
|
5493
5578
|
# DescribeClusterAgentCreatingProgress返回参数结构体
|
|
5494
5579
|
class DescribeClusterAgentCreatingProgressResponse < TencentCloud::Common::AbstractModel
|
|
5580
|
+
# @param Response: 绑定状态response
|
|
5581
|
+
# @type Response: Array
|
|
5495
5582
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5496
5583
|
# @type RequestId: String
|
|
5497
5584
|
|
|
5498
|
-
attr_accessor :RequestId
|
|
5585
|
+
attr_accessor :Response, :RequestId
|
|
5499
5586
|
|
|
5500
|
-
def initialize(requestid=nil)
|
|
5587
|
+
def initialize(response=nil, requestid=nil)
|
|
5588
|
+
@Response = response
|
|
5501
5589
|
@RequestId = requestid
|
|
5502
5590
|
end
|
|
5503
5591
|
|
|
5504
5592
|
def deserialize(params)
|
|
5593
|
+
unless params['Response'].nil?
|
|
5594
|
+
@Response = []
|
|
5595
|
+
params['Response'].each do |i|
|
|
5596
|
+
bindprogressresponse_tmp = BindProgressResponse.new
|
|
5597
|
+
bindprogressresponse_tmp.deserialize(i)
|
|
5598
|
+
@Response << bindprogressresponse_tmp
|
|
5599
|
+
end
|
|
5600
|
+
end
|
|
5505
5601
|
@RequestId = params['RequestId']
|
|
5506
5602
|
end
|
|
5507
5603
|
end
|
|
@@ -11690,14 +11786,14 @@ module TencentCloud
|
|
|
11690
11786
|
|
|
11691
11787
|
attr_accessor :AlarmNotifyPeriod, :AlarmNotifyType, :EventID, :RuleID, :MetricName, :Description
|
|
11692
11788
|
extend Gem::Deprecate
|
|
11693
|
-
deprecate :AlarmNotifyPeriod, :none, 2025,
|
|
11694
|
-
deprecate :AlarmNotifyPeriod=, :none, 2025,
|
|
11695
|
-
deprecate :AlarmNotifyType, :none, 2025,
|
|
11696
|
-
deprecate :AlarmNotifyType=, :none, 2025,
|
|
11697
|
-
deprecate :EventID, :none, 2025,
|
|
11698
|
-
deprecate :EventID=, :none, 2025,
|
|
11699
|
-
deprecate :RuleID, :none, 2025,
|
|
11700
|
-
deprecate :RuleID=, :none, 2025,
|
|
11789
|
+
deprecate :AlarmNotifyPeriod, :none, 2025, 12
|
|
11790
|
+
deprecate :AlarmNotifyPeriod=, :none, 2025, 12
|
|
11791
|
+
deprecate :AlarmNotifyType, :none, 2025, 12
|
|
11792
|
+
deprecate :AlarmNotifyType=, :none, 2025, 12
|
|
11793
|
+
deprecate :EventID, :none, 2025, 12
|
|
11794
|
+
deprecate :EventID=, :none, 2025, 12
|
|
11795
|
+
deprecate :RuleID, :none, 2025, 12
|
|
11796
|
+
deprecate :RuleID=, :none, 2025, 12
|
|
11701
11797
|
|
|
11702
11798
|
def initialize(alarmnotifyperiod=nil, alarmnotifytype=nil, eventid=nil, ruleid=nil, metricname=nil, description=nil)
|
|
11703
11799
|
@AlarmNotifyPeriod = alarmnotifyperiod
|
|
@@ -14593,10 +14689,10 @@ module TencentCloud
|
|
|
14593
14689
|
|
|
14594
14690
|
attr_accessor :URL, :URLRelabelConfig, :BasicAuth, :MaxBlockSize, :Label, :Headers
|
|
14595
14691
|
extend Gem::Deprecate
|
|
14596
|
-
deprecate :MaxBlockSize, :none, 2025,
|
|
14597
|
-
deprecate :MaxBlockSize=, :none, 2025,
|
|
14598
|
-
deprecate :Label, :none, 2025,
|
|
14599
|
-
deprecate :Label=, :none, 2025,
|
|
14692
|
+
deprecate :MaxBlockSize, :none, 2025, 12
|
|
14693
|
+
deprecate :MaxBlockSize=, :none, 2025, 12
|
|
14694
|
+
deprecate :Label, :none, 2025, 12
|
|
14695
|
+
deprecate :Label=, :none, 2025, 12
|
|
14600
14696
|
|
|
14601
14697
|
def initialize(url=nil, urlrelabelconfig=nil, basicauth=nil, maxblocksize=nil, label=nil, headers=nil)
|
|
14602
14698
|
@URL = url
|
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.1188
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/tencentcloud-sdk-monitor.rb
|
|
37
36
|
- lib/v20230616/client.rb
|
|
38
37
|
- lib/v20230616/models.rb
|
|
38
|
+
- lib/tencentcloud-sdk-monitor.rb
|
|
39
39
|
- lib/v20180724/client.rb
|
|
40
40
|
- lib/v20180724/models.rb
|
|
41
41
|
- lib/VERSION
|