tencentcloud-sdk-monitor 3.0.720 → 3.0.722
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 +3 -3
- data/lib/v20180724/models.rb +28 -28
- 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: c3a44560a1dcc4fe1ea755dc546b705775ac2f46
|
4
|
+
data.tar.gz: 7a2606c3976debac888daea4a1a161468180bb80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d5e22111a2fac321b1dbe8c3eb0db3804774634c73cc73c7c34680d2febcef2a6c448d7ed0177389e113a666bcec27b88c627d3e71e24278d2d969c2ace8808
|
7
|
+
data.tar.gz: f309ed1d2c6996320935137c3ccccf1d3b7c80007176b3b8556c11b84be366a8aa5f8b1b5e55f59c5c11f1fb3917e0c43b2fa6cd85688bde10a8c6347a889dcd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.722
|
data/lib/v20180724/client.rb
CHANGED
@@ -1477,7 +1477,7 @@ module TencentCloud
|
|
1477
1477
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1478
1478
|
end
|
1479
1479
|
|
1480
|
-
#
|
1480
|
+
# 查询集成中心 exporter 集成列表
|
1481
1481
|
|
1482
1482
|
# @param request: Request instance for DescribeExporterIntegrations.
|
1483
1483
|
# @type request: :class:`Tencentcloud::monitor::V20180724::DescribeExporterIntegrationsRequest`
|
@@ -3266,7 +3266,7 @@ module TencentCloud
|
|
3266
3266
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3267
3267
|
end
|
3268
3268
|
|
3269
|
-
# 更新 Prometheus
|
3269
|
+
# 更新 Prometheus 的告警规则。
|
3270
3270
|
|
3271
3271
|
# 请注意,**告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description**,,请参考 [Prometheus Rule更多配置请参考](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/)。
|
3272
3272
|
|
@@ -3508,7 +3508,7 @@ module TencentCloud
|
|
3508
3508
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3509
3509
|
end
|
3510
3510
|
|
3511
|
-
# 更新 Prometheus 抓取任务
|
3511
|
+
# 更新 Prometheus Agent 抓取任务
|
3512
3512
|
|
3513
3513
|
# @param request: Request instance for UpdatePrometheusScrapeJob.
|
3514
3514
|
# @type request: :class:`Tencentcloud::monitor::V20180724::UpdatePrometheusScrapeJobRequest`
|
data/lib/v20180724/models.rb
CHANGED
@@ -3260,7 +3260,7 @@ module TencentCloud
|
|
3260
3260
|
|
3261
3261
|
# DeleteRecordingRules请求参数结构体
|
3262
3262
|
class DeleteRecordingRulesRequest < TencentCloud::Common::AbstractModel
|
3263
|
-
# @param RuleIds: 规则 ID 列表
|
3263
|
+
# @param RuleIds: 规则 ID 列表(规则 ID 可通过 DescribeRecordingRules 接口获取)
|
3264
3264
|
# @type RuleIds: Array
|
3265
3265
|
# @param InstanceId: Prometheus 实例 ID
|
3266
3266
|
# @type InstanceId: String
|
@@ -4929,14 +4929,14 @@ module TencentCloud
|
|
4929
4929
|
class DescribeExporterIntegrationsRequest < TencentCloud::Common::AbstractModel
|
4930
4930
|
# @param InstanceId: 实例 ID
|
4931
4931
|
# @type InstanceId: String
|
4932
|
-
# @param KubeType: Kubernetes
|
4932
|
+
# @param KubeType: Kubernetes 集群类型,可不填。取值如下:
|
4933
4933
|
# <li> 1= 容器集群(TKE) </li>
|
4934
|
-
# <li> 2
|
4935
|
-
# <li> 3= Prometheus
|
4934
|
+
# <li> 2=弹性集群(EKS) </li>
|
4935
|
+
# <li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
4936
4936
|
# @type KubeType: Integer
|
4937
|
-
# @param ClusterId: 集群 ID
|
4937
|
+
# @param ClusterId: 集群 ID,可不填
|
4938
4938
|
# @type ClusterId: String
|
4939
|
-
# @param Kind: 类型
|
4939
|
+
# @param Kind: 类型(不填返回全部集成。可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)
|
4940
4940
|
# @type Kind: String
|
4941
4941
|
# @param Name: 名字
|
4942
4942
|
# @type Name: String
|
@@ -11131,11 +11131,11 @@ module TencentCloud
|
|
11131
11131
|
|
11132
11132
|
# 托管Prometheus agent信息
|
11133
11133
|
class PrometheusAgentInfo < TencentCloud::Common::AbstractModel
|
11134
|
-
# @param ClusterType:
|
11134
|
+
# @param ClusterType: 集群类型。可填入tke、eks、tkeedge、tdcc,分别代表标准集群、弹性集群、边缘集群、注册集群
|
11135
11135
|
# @type ClusterType: String
|
11136
|
-
# @param ClusterId:
|
11136
|
+
# @param ClusterId: 集成容器服务中关联的集群ID
|
11137
11137
|
# @type ClusterId: String
|
11138
|
-
# @param Describe:
|
11138
|
+
# @param Describe: 该参数未使用,不需要填写
|
11139
11139
|
# @type Describe: String
|
11140
11140
|
|
11141
11141
|
attr_accessor :ClusterType, :ClusterId, :Describe
|
@@ -13380,7 +13380,7 @@ module TencentCloud
|
|
13380
13380
|
|
13381
13381
|
# UpdateAlertRule请求参数结构体
|
13382
13382
|
class UpdateAlertRuleRequest < TencentCloud::Common::AbstractModel
|
13383
|
-
# @param RuleId: Prometheus
|
13383
|
+
# @param RuleId: Prometheus 高警规则 ID
|
13384
13384
|
# @type RuleId: String
|
13385
13385
|
# @param InstanceId: Prometheus 实例 ID
|
13386
13386
|
# @type InstanceId: String
|
@@ -13390,13 +13390,13 @@ module TencentCloud
|
|
13390
13390
|
# <li>3=RuleDisabled</li>
|
13391
13391
|
# 默认状态码为 2 启用。
|
13392
13392
|
# @type RuleState: Integer
|
13393
|
-
# @param RuleName:
|
13393
|
+
# @param RuleName: 告警规则名称
|
13394
13394
|
# @type RuleName: String
|
13395
|
-
# @param Expr:
|
13395
|
+
# @param Expr: 告警规则表达式
|
13396
13396
|
# @type Expr: String
|
13397
|
-
# @param Duration:
|
13397
|
+
# @param Duration: 告警规则持续时间
|
13398
13398
|
# @type Duration: String
|
13399
|
-
# @param Receivers:
|
13399
|
+
# @param Receivers: 告警规则接收组列表(当前规则绑定的接收组列表可通过 DescribeAlertRules 接口获取;用户已有的接收组列表可通过 DescribeAlarmNotices 接口获取)
|
13400
13400
|
# @type Receivers: Array
|
13401
13401
|
# @param Labels: 报警规则标签列表
|
13402
13402
|
# @type Labels: Array
|
@@ -13404,7 +13404,7 @@ module TencentCloud
|
|
13404
13404
|
|
13405
13405
|
# 告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
13406
13406
|
# @type Annotations: Array
|
13407
|
-
# @param Type: 报警策略模板分类
|
13407
|
+
# @param Type: 报警策略模板分类(自定义,可不填)
|
13408
13408
|
# @type Type: String
|
13409
13409
|
|
13410
13410
|
attr_accessor :RuleId, :InstanceId, :RuleState, :RuleName, :Expr, :Duration, :Receivers, :Labels, :Annotations, :Type
|
@@ -13551,18 +13551,18 @@ module TencentCloud
|
|
13551
13551
|
|
13552
13552
|
# UpdateExporterIntegration请求参数结构体
|
13553
13553
|
class UpdateExporterIntegrationRequest < TencentCloud::Common::AbstractModel
|
13554
|
-
# @param InstanceId: 实例 ID
|
13554
|
+
# @param InstanceId: Prometheus 实例 ID
|
13555
13555
|
# @type InstanceId: String
|
13556
|
-
# @param Kind: 类型
|
13556
|
+
# @param Kind: 类型(可通过 DescribeExporterIntegrations 获取对应集成的 Kind)
|
13557
13557
|
# @type Kind: String
|
13558
|
-
# @param Content: 配置内容
|
13558
|
+
# @param Content: 配置内容(可通过 DescribeExporterIntegrations 接口获取对应集成的 Content,并在此基础上做修改)
|
13559
13559
|
# @type Content: String
|
13560
|
-
# @param KubeType: Kubernetes
|
13560
|
+
# @param KubeType: Kubernetes 集群类型,可不填。取值如下:
|
13561
13561
|
# <li> 1= 容器集群(TKE) </li>
|
13562
|
-
# <li> 2
|
13563
|
-
# <li> 3= Prometheus
|
13562
|
+
# <li> 2=弹性集群(EKS) </li>
|
13563
|
+
# <li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
13564
13564
|
# @type KubeType: Integer
|
13565
|
-
# @param ClusterId: 集群 ID
|
13565
|
+
# @param ClusterId: 集群 ID,可不填
|
13566
13566
|
# @type ClusterId: String
|
13567
13567
|
|
13568
13568
|
attr_accessor :InstanceId, :Kind, :Content, :KubeType, :ClusterId
|
@@ -13849,13 +13849,13 @@ module TencentCloud
|
|
13849
13849
|
|
13850
13850
|
# UpdatePrometheusScrapeJob请求参数结构体
|
13851
13851
|
class UpdatePrometheusScrapeJobRequest < TencentCloud::Common::AbstractModel
|
13852
|
-
# @param InstanceId: Prometheus 实例 ID
|
13852
|
+
# @param InstanceId: Prometheus 实例 ID(可通过 DescribePrometheusInstances 接口获取)
|
13853
13853
|
# @type InstanceId: String
|
13854
|
-
# @param AgentId: Agent ID
|
13854
|
+
# @param AgentId: Agent ID(可通过DescribePrometheusAgents 接口获取)
|
13855
13855
|
# @type AgentId: String
|
13856
|
-
# @param JobId: 抓取任务 ID
|
13856
|
+
# @param JobId: 抓取任务 ID(可通过 DescribePrometheusScrapeJobs 接口获取)
|
13857
13857
|
# @type JobId: String
|
13858
|
-
# @param Config:
|
13858
|
+
# @param Config: 抓取任务配置
|
13859
13859
|
# @type Config: String
|
13860
13860
|
|
13861
13861
|
attr_accessor :InstanceId, :AgentId, :JobId, :Config
|
@@ -13897,9 +13897,9 @@ module TencentCloud
|
|
13897
13897
|
# @type Name: String
|
13898
13898
|
# @param Group: 聚合规则组内容,格式为 yaml,通过 base64 进行编码。
|
13899
13899
|
# @type Group: String
|
13900
|
-
# @param InstanceId: Prometheus 实例 ID
|
13900
|
+
# @param InstanceId: Prometheus 实例 ID(可通过 DescribePrometheusInstances 接口获取)
|
13901
13901
|
# @type InstanceId: String
|
13902
|
-
# @param RuleId: Prometheus 聚合规则 ID
|
13902
|
+
# @param RuleId: Prometheus 聚合规则 ID(可通过 DescribeRecordingRules 接口获取)
|
13903
13903
|
# @type RuleId: String
|
13904
13904
|
# @param RuleState: 规则状态码,取值如下:
|
13905
13905
|
# <li>1=RuleDeleted</li>
|
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.722
|
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-12-
|
11
|
+
date: 2023-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|