tencentcloud-sdk-monitor 3.0.724 → 3.0.726
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 +5 -5
- data/lib/v20180724/models.rb +27 -18
- 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: dc819b0fb8c7ead7de3a95b43c9d9d112d0e9658
|
4
|
+
data.tar.gz: aa3ab92dee01085ec58ad59073e29eec62ca496b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5588d4ee96c3d1f7cbc1f4e16a4069ec62ed506c042582fa73a784dc63d851f299e7296a36add9d55685c55cd32f7299a6e18c12ded40f81d8db87696cf9e9f
|
7
|
+
data.tar.gz: 379c4899805a49e503cbf824ec74c033d6325a4f8c0c3986654b75d83c479c22b8d3d4946c7a7890600f5f73aff58bb7417e114cceba5a5b35607bf9046fb2af
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.726
|
data/lib/v20180724/client.rb
CHANGED
@@ -223,7 +223,7 @@ module TencentCloud
|
|
223
223
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
224
224
|
end
|
225
225
|
|
226
|
-
#
|
226
|
+
# 创建集成中心 exporter 集成,因集成较多,建议控制台创建集成。(前提:已授权创建托管 EKS 集群,验证方式:1. 控制台界面确认,未提示授权则表示已授权创建;2. 通过 DescribePrometheusInstanceInitStatus 接口查询集群状态,如果托管集群不存在,可通过 RunPrometheusInstance 接口创建)
|
227
227
|
|
228
228
|
# @param request: Request instance for CreateExporterIntegration.
|
229
229
|
# @type request: :class:`Tencentcloud::monitor::V20180724::CreateExporterIntegrationRequest`
|
@@ -511,7 +511,7 @@ module TencentCloud
|
|
511
511
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
512
512
|
end
|
513
513
|
|
514
|
-
# 创建 Prometheus 抓取任务
|
514
|
+
# 创建 Prometheus Agent 抓取任务
|
515
515
|
|
516
516
|
# @param request: Request instance for CreatePrometheusScrapeJob.
|
517
517
|
# @type request: :class:`Tencentcloud::monitor::V20180724::CreatePrometheusScrapeJobRequest`
|
@@ -705,7 +705,7 @@ module TencentCloud
|
|
705
705
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
706
706
|
end
|
707
707
|
|
708
|
-
#
|
708
|
+
# 删除集成中心 exporter 集成
|
709
709
|
|
710
710
|
# @param request: Request instance for DeleteExporterIntegration.
|
711
711
|
# @type request: :class:`Tencentcloud::monitor::V20180724::DeleteExporterIntegrationRequest`
|
@@ -921,7 +921,7 @@ module TencentCloud
|
|
921
921
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
922
922
|
end
|
923
923
|
|
924
|
-
# 删除 Prometheus 抓取任务
|
924
|
+
# 删除 Prometheus Agent 抓取任务
|
925
925
|
|
926
926
|
# @param request: Request instance for DeletePrometheusScrapeJobs.
|
927
927
|
# @type request: :class:`Tencentcloud::monitor::V20180724::DeletePrometheusScrapeJobsRequest`
|
@@ -2443,7 +2443,7 @@ module TencentCloud
|
|
2443
2443
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2444
2444
|
end
|
2445
2445
|
|
2446
|
-
# 彻底删除 Prometheus 实例相关数据,给定的实例必须先被 Terminate
|
2446
|
+
# 彻底删除 Prometheus 实例相关数据,给定的实例必须先被 Terminate(该接口是异步接口,实例是否释放需要通过 DescribePrometheusInstances 接口返回的状态来判断)。
|
2447
2447
|
|
2448
2448
|
# @param request: Request instance for DestroyPrometheusInstance.
|
2449
2449
|
# @type request: :class:`Tencentcloud::monitor::V20180724::DestroyPrometheusInstanceRequest`
|
data/lib/v20180724/models.rb
CHANGED
@@ -1718,16 +1718,16 @@ module TencentCloud
|
|
1718
1718
|
class CreateExporterIntegrationRequest < TencentCloud::Common::AbstractModel
|
1719
1719
|
# @param InstanceId: 实例 ID
|
1720
1720
|
# @type InstanceId: String
|
1721
|
-
# @param Kind: 类型
|
1721
|
+
# @param Kind: 类型(可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)
|
1722
1722
|
# @type Kind: String
|
1723
1723
|
# @param Content: 集成配置
|
1724
1724
|
# @type Content: String
|
1725
|
-
# @param KubeType: Kubernetes
|
1725
|
+
# @param KubeType: Kubernetes 集群类型,可不填,取值如下:
|
1726
1726
|
# <li> 1= 容器集群(TKE) </li>
|
1727
|
-
# <li> 2
|
1728
|
-
# <li> 3= Prometheus
|
1727
|
+
# <li> 2=弹性集群(EKS) </li>
|
1728
|
+
# <li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
1729
1729
|
# @type KubeType: Integer
|
1730
|
-
# @param ClusterId: 集群 ID
|
1730
|
+
# @param ClusterId: 集群 ID,可不填
|
1731
1731
|
# @type ClusterId: String
|
1732
1732
|
|
1733
1733
|
attr_accessor :InstanceId, :Kind, :Content, :KubeType, :ClusterId
|
@@ -2347,13 +2347,13 @@ module TencentCloud
|
|
2347
2347
|
class CreatePrometheusMultiTenantInstancePostPayModeRequest < TencentCloud::Common::AbstractModel
|
2348
2348
|
# @param InstanceName: 实例名
|
2349
2349
|
# @type InstanceName: String
|
2350
|
-
# @param VpcId: VPC ID
|
2350
|
+
# @param VpcId: VPC ID(可通过 vpc:DescribeVpcs 接口获取,与实例同地域)
|
2351
2351
|
# @type VpcId: String
|
2352
|
-
# @param SubnetId: 子网 ID
|
2352
|
+
# @param SubnetId: 子网 ID(可通过 vpc:DescribeSubnets 接口获取)
|
2353
2353
|
# @type SubnetId: String
|
2354
2354
|
# @param DataRetentionTime: 数据存储时间(单位天),限制值为15,30,45之一
|
2355
2355
|
# @type DataRetentionTime: Integer
|
2356
|
-
# @param Zone: 可用区
|
2356
|
+
# @param Zone: 可用区(与子网同可用区)
|
2357
2357
|
# @type Zone: String
|
2358
2358
|
# @param TagSpecification: 实例的标签
|
2359
2359
|
# @type TagSpecification: Array
|
@@ -2452,11 +2452,11 @@ module TencentCloud
|
|
2452
2452
|
|
2453
2453
|
# CreatePrometheusScrapeJob请求参数结构体
|
2454
2454
|
class CreatePrometheusScrapeJobRequest < TencentCloud::Common::AbstractModel
|
2455
|
-
# @param InstanceId: Prometheus 实例 ID
|
2455
|
+
# @param InstanceId: Prometheus 实例 ID
|
2456
2456
|
# @type InstanceId: String
|
2457
|
-
# @param AgentId: Agent ID
|
2457
|
+
# @param AgentId: Agent ID(可通过DescribePrometheusAgents 接口获取)
|
2458
2458
|
# @type AgentId: String
|
2459
|
-
# @param Config:
|
2459
|
+
# @param Config: 抓取任务配置
|
2460
2460
|
# @type Config: String
|
2461
2461
|
|
2462
2462
|
attr_accessor :InstanceId, :AgentId, :Config
|
@@ -2537,7 +2537,7 @@ module TencentCloud
|
|
2537
2537
|
class CreateRecordingRuleRequest < TencentCloud::Common::AbstractModel
|
2538
2538
|
# @param Name: 聚合规则名称
|
2539
2539
|
# @type Name: String
|
2540
|
-
# @param Group: 聚合规则组内容,格式为 yaml
|
2540
|
+
# @param Group: 聚合规则组内容,格式为 yaml,通过 base64 进行编码。
|
2541
2541
|
# @type Group: String
|
2542
2542
|
# @param InstanceId: Prometheus 实例 ID
|
2543
2543
|
# @type InstanceId: String
|
@@ -2854,16 +2854,16 @@ module TencentCloud
|
|
2854
2854
|
class DeleteExporterIntegrationRequest < TencentCloud::Common::AbstractModel
|
2855
2855
|
# @param InstanceId: 实例 ID
|
2856
2856
|
# @type InstanceId: String
|
2857
|
-
# @param Kind: 类型
|
2857
|
+
# @param Kind: 类型(可通过 DescribeExporterIntegrations获取)
|
2858
2858
|
# @type Kind: String
|
2859
2859
|
# @param Name: 名字
|
2860
2860
|
# @type Name: String
|
2861
2861
|
# @param KubeType: Kubernetes 集群类型,取值如下:
|
2862
2862
|
# <li> 1= 容器集群(TKE) </li>
|
2863
|
-
# <li> 2
|
2864
|
-
# <li> 3= Prometheus
|
2863
|
+
# <li> 2=弹性集群(EKS) </li>
|
2864
|
+
# <li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
2865
2865
|
# @type KubeType: Integer
|
2866
|
-
# @param ClusterId: 集群 ID
|
2866
|
+
# @param ClusterId: 集群 ID,可不填
|
2867
2867
|
# @type ClusterId: String
|
2868
2868
|
|
2869
2869
|
attr_accessor :InstanceId, :Kind, :Name, :KubeType, :ClusterId
|
@@ -3216,9 +3216,9 @@ module TencentCloud
|
|
3216
3216
|
class DeletePrometheusScrapeJobsRequest < TencentCloud::Common::AbstractModel
|
3217
3217
|
# @param InstanceId: 实例 ID
|
3218
3218
|
# @type InstanceId: String
|
3219
|
-
# @param AgentId: Agent ID
|
3219
|
+
# @param AgentId: Agent ID(可通过 DescribePrometheusAgents 接口获取)
|
3220
3220
|
# @type AgentId: String
|
3221
|
-
# @param JobIds: 任务 ID 列表
|
3221
|
+
# @param JobIds: 任务 ID 列表(可通过 DescribePrometheusScrapeJobs 接口获取)
|
3222
3222
|
# @type JobIds: Array
|
3223
3223
|
|
3224
3224
|
attr_accessor :InstanceId, :AgentId, :JobIds
|
@@ -14132,6 +14132,13 @@ module TencentCloud
|
|
14132
14132
|
# @param InstanceId: 实例 ID
|
14133
14133
|
# @type InstanceId: String
|
14134
14134
|
# @param IntegrationCodes: Prometheus 集成项 Code,升级对应的 Dashboard,取值如下:
|
14135
|
+
# <li>qcloud</li>
|
14136
|
+
# <li>cvm_process_exporter</li>
|
14137
|
+
# <li>cvm_node_exporter</li>
|
14138
|
+
# <li>cvm</li>
|
14139
|
+
# <li>kubernetes</li>
|
14140
|
+
# <li>cdwch</li>
|
14141
|
+
# <li>rocketmq</li>
|
14135
14142
|
# <li>spring_mvc</li>
|
14136
14143
|
# <li>mysql</li>
|
14137
14144
|
# <li>go</li>
|
@@ -14149,6 +14156,8 @@ module TencentCloud
|
|
14149
14156
|
# <li>tps</li>
|
14150
14157
|
# <li>istio</li>
|
14151
14158
|
# <li>etcd</li>
|
14159
|
+
# <li>pts</li>
|
14160
|
+
# <li>kong</li>
|
14152
14161
|
# @type IntegrationCodes: Array
|
14153
14162
|
|
14154
14163
|
attr_accessor :InstanceId, :IntegrationCodes
|
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.726
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|