tencentcloud-sdk-monitor 3.0.1072 → 3.0.1073
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 +24 -0
- data/lib/v20180724/models.rb +45 -5
- 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: 8ce38f2d26a780e36f1cbbd2f86e54145ee6a106
|
4
|
+
data.tar.gz: 84b98cfda0561f8ce8ab6f29adfbbbbf91b89178
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd113ce3bb799e13e4d36dd346f593cf2bcd6fb781e5d7234945c62815c1bba4779866382a2318a89fd18644a294aa77ac7567eb64e0c4f0f54a250fe54abbf2
|
7
|
+
data.tar.gz: 7b4740f35c9ffd7f19e9795ca29a129cb7fd0c58209ab90b7d7a867bdb72f061ae7a1615a55dd664b0348bb373699e5798e2553cbb7f0f4b72b693f263673b88
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1073
|
data/lib/v20180724/client.rb
CHANGED
@@ -1600,6 +1600,30 @@ module TencentCloud
|
|
1600
1600
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1601
1601
|
end
|
1602
1602
|
|
1603
|
+
# 查看外部集群注册命令
|
1604
|
+
|
1605
|
+
# @param request: Request instance for DescribeExternalClusterRegisterCommand.
|
1606
|
+
# @type request: :class:`Tencentcloud::monitor::V20180724::DescribeExternalClusterRegisterCommandRequest`
|
1607
|
+
# @rtype: :class:`Tencentcloud::monitor::V20180724::DescribeExternalClusterRegisterCommandResponse`
|
1608
|
+
def DescribeExternalClusterRegisterCommand(request)
|
1609
|
+
body = send_request('DescribeExternalClusterRegisterCommand', request.serialize)
|
1610
|
+
response = JSON.parse(body)
|
1611
|
+
if response['Response'].key?('Error') == false
|
1612
|
+
model = DescribeExternalClusterRegisterCommandResponse.new
|
1613
|
+
model.deserialize(response['Response'])
|
1614
|
+
model
|
1615
|
+
else
|
1616
|
+
code = response['Response']['Error']['Code']
|
1617
|
+
message = response['Response']['Error']['Message']
|
1618
|
+
reqid = response['Response']['RequestId']
|
1619
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1620
|
+
end
|
1621
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1622
|
+
raise e
|
1623
|
+
rescue StandardError => e
|
1624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1625
|
+
end
|
1626
|
+
|
1603
1627
|
# 列出 Grafana 所有告警通道
|
1604
1628
|
|
1605
1629
|
# @param request: Request instance for DescribeGrafanaChannels.
|
data/lib/v20180724/models.rb
CHANGED
@@ -5564,6 +5564,46 @@ module TencentCloud
|
|
5564
5564
|
end
|
5565
5565
|
end
|
5566
5566
|
|
5567
|
+
# DescribeExternalClusterRegisterCommand请求参数结构体
|
5568
|
+
class DescribeExternalClusterRegisterCommandRequest < TencentCloud::Common::AbstractModel
|
5569
|
+
# @param InstanceId: 实例 ID
|
5570
|
+
# @type InstanceId: String
|
5571
|
+
# @param ClusterId: 集群 ID
|
5572
|
+
# @type ClusterId: String
|
5573
|
+
|
5574
|
+
attr_accessor :InstanceId, :ClusterId
|
5575
|
+
|
5576
|
+
def initialize(instanceid=nil, clusterid=nil)
|
5577
|
+
@InstanceId = instanceid
|
5578
|
+
@ClusterId = clusterid
|
5579
|
+
end
|
5580
|
+
|
5581
|
+
def deserialize(params)
|
5582
|
+
@InstanceId = params['InstanceId']
|
5583
|
+
@ClusterId = params['ClusterId']
|
5584
|
+
end
|
5585
|
+
end
|
5586
|
+
|
5587
|
+
# DescribeExternalClusterRegisterCommand返回参数结构体
|
5588
|
+
class DescribeExternalClusterRegisterCommandResponse < TencentCloud::Common::AbstractModel
|
5589
|
+
# @param Command: 注册命令
|
5590
|
+
# @type Command: String
|
5591
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5592
|
+
# @type RequestId: String
|
5593
|
+
|
5594
|
+
attr_accessor :Command, :RequestId
|
5595
|
+
|
5596
|
+
def initialize(command=nil, requestid=nil)
|
5597
|
+
@Command = command
|
5598
|
+
@RequestId = requestid
|
5599
|
+
end
|
5600
|
+
|
5601
|
+
def deserialize(params)
|
5602
|
+
@Command = params['Command']
|
5603
|
+
@RequestId = params['RequestId']
|
5604
|
+
end
|
5605
|
+
end
|
5606
|
+
|
5567
5607
|
# DescribeGrafanaChannels请求参数结构体
|
5568
5608
|
class DescribeGrafanaChannelsRequest < TencentCloud::Common::AbstractModel
|
5569
5609
|
# @param InstanceId: Grafana 实例 ID,例如:grafana-12345678
|
@@ -12773,7 +12813,7 @@ module TencentCloud
|
|
12773
12813
|
class PrometheusClusterAgentBasic < TencentCloud::Common::AbstractModel
|
12774
12814
|
# @param Region: 地域
|
12775
12815
|
# @type Region: String
|
12776
|
-
# @param ClusterType: 集群类型。可填入tke、eks、tkeedge、tdcc,分别代表标准集群、弹性集群、边缘集群、注册集群
|
12816
|
+
# @param ClusterType: 集群类型。可填入tke、eks、tkeedge、tdcc、external,分别代表标准集群、弹性集群、边缘集群、注册集群 和外部集群
|
12777
12817
|
# @type ClusterType: String
|
12778
12818
|
# @param ClusterId: 集群 ID
|
12779
12819
|
# @type ClusterId: String
|
@@ -14107,10 +14147,10 @@ module TencentCloud
|
|
14107
14147
|
|
14108
14148
|
attr_accessor :URL, :URLRelabelConfig, :BasicAuth, :MaxBlockSize, :Label, :Headers
|
14109
14149
|
extend Gem::Deprecate
|
14110
|
-
deprecate :MaxBlockSize, :none, 2025,
|
14111
|
-
deprecate :MaxBlockSize=, :none, 2025,
|
14112
|
-
deprecate :Label, :none, 2025,
|
14113
|
-
deprecate :Label=, :none, 2025,
|
14150
|
+
deprecate :MaxBlockSize, :none, 2025, 6
|
14151
|
+
deprecate :MaxBlockSize=, :none, 2025, 6
|
14152
|
+
deprecate :Label, :none, 2025, 6
|
14153
|
+
deprecate :Label=, :none, 2025, 6
|
14114
14154
|
|
14115
14155
|
def initialize(url=nil, urlrelabelconfig=nil, basicauth=nil, maxblocksize=nil, label=nil, headers=nil)
|
14116
14156
|
@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.1073
|
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-06-
|
11
|
+
date: 2025-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|