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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5156cdc48b15ef355027b450547e0c6ade79ba06
4
- data.tar.gz: c4059be87913f73dfcba7f7b0a1ead79c7b07e2f
3
+ metadata.gz: 8ce38f2d26a780e36f1cbbd2f86e54145ee6a106
4
+ data.tar.gz: 84b98cfda0561f8ce8ab6f29adfbbbbf91b89178
5
5
  SHA512:
6
- metadata.gz: 7a1e4625009e973bcdf1ea1f741c493bf757cbdae63075762e24329713f92a8e25127eddf9ec64d8b7590484c1590f13047abae7c2acba19076c6f47aa8155c3
7
- data.tar.gz: 3c68a99f979f1299f578b5f4121ce487f209bb5069e9168dc70bb878430cc7ede48d7f9cf7fdad6fa2a4fe9eb297aa4f938d415ca9f9efbd8b3be557b7477aed
6
+ metadata.gz: dd113ce3bb799e13e4d36dd346f593cf2bcd6fb781e5d7234945c62815c1bba4779866382a2318a89fd18644a294aa77ac7567eb64e0c4f0f54a250fe54abbf2
7
+ data.tar.gz: 7b4740f35c9ffd7f19e9795ca29a129cb7fd0c58209ab90b7d7a867bdb72f061ae7a1615a55dd664b0348bb373699e5798e2553cbb7f0f4b72b693f263673b88
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1072
1
+ 3.0.1073
@@ -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.
@@ -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, 5
14111
- deprecate :MaxBlockSize=, :none, 2025, 5
14112
- deprecate :Label, :none, 2025, 5
14113
- deprecate :Label=, :none, 2025, 5
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.1072
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-01 00:00:00.000000000 Z
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