tencentcloud-sdk-monitor 3.0.1153 → 3.0.1160

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: c5461ea8054971c34d63c15db31c5c5e7754b289
4
- data.tar.gz: 7356443d9490902a5424ad8e9cf6e260d901110e
3
+ metadata.gz: 7bf16a524ab2ab0314221cff2178461b82e9d038
4
+ data.tar.gz: 8a16fde6e87e42bfd515003a915ce85f98899d1f
5
5
  SHA512:
6
- metadata.gz: 21888bdeabced102c8917dad1b464928772355cfc04dbe01ff104683cfd0a684bb7a974bc7b7e8dcee15674261a40c845ae664abb519da3cd44e18d0b6229381
7
- data.tar.gz: 662ff82cc0cb92929e8c66446c9ee6f24c0d709c8a495c917e727057370b293c7f8d3058efa87fe34a7417978bdf5cc0b2568c0a3a4e8d790bceb7cd0b957cff
6
+ metadata.gz: a8eb5e333808ec8ab31d7f88d19c367694927381d69f7a54ac82306f59f9ba48f35a28c23de29d02bcdd373592fa5edaaabdae5c8d535ae58318e0ae434996d6
7
+ data.tar.gz: bd24163d40e97c25578c19f6ca1b73f8a46020bbf3effbc5333de978429a35f9e6bce87719685bebc1e30b0d9e0d26eda55c59e7358f4c45c2b5a66956d93f35
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1153
1
+ 3.0.1160
@@ -2708,6 +2708,30 @@ module TencentCloud
2708
2708
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2709
2709
  end
2710
2710
 
2711
+ # 查询安装的 Agent 列表
2712
+
2713
+ # @param request: Request instance for DescribeRemoteWrites.
2714
+ # @type request: :class:`Tencentcloud::monitor::V20180724::DescribeRemoteWritesRequest`
2715
+ # @rtype: :class:`Tencentcloud::monitor::V20180724::DescribeRemoteWritesResponse`
2716
+ def DescribeRemoteWrites(request)
2717
+ body = send_request('DescribeRemoteWrites', request.serialize)
2718
+ response = JSON.parse(body)
2719
+ if response['Response'].key?('Error') == false
2720
+ model = DescribeRemoteWritesResponse.new
2721
+ model.deserialize(response['Response'])
2722
+ model
2723
+ else
2724
+ code = response['Response']['Error']['Code']
2725
+ message = response['Response']['Error']['Message']
2726
+ reqid = response['Response']['RequestId']
2727
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2728
+ end
2729
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2730
+ raise e
2731
+ rescue StandardError => e
2732
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2733
+ end
2734
+
2711
2735
  # 列出当前grafana实例的所有授权账号
2712
2736
 
2713
2737
  # @param request: Request instance for DescribeSSOAccount.
@@ -9044,17 +9044,29 @@ module TencentCloud
9044
9044
 
9045
9045
  # DescribePrometheusScrapeStatistics请求参数结构体
9046
9046
  class DescribePrometheusScrapeStatisticsRequest < TencentCloud::Common::AbstractModel
9047
+ # @param InstanceIds: 实例ID列表
9048
+ # @type InstanceIds: Array
9049
+ # @param ClusterId: 集群ID
9050
+ # @type ClusterId: String
9047
9051
  # @param JobType: job 类型
9048
9052
  # @type JobType: String
9053
+ # @param Job: job 过滤,不写就是全部 job
9054
+ # @type Job: String
9049
9055
 
9050
- attr_accessor :JobType
9056
+ attr_accessor :InstanceIds, :ClusterId, :JobType, :Job
9051
9057
 
9052
- def initialize(jobtype=nil)
9058
+ def initialize(instanceids=nil, clusterid=nil, jobtype=nil, job=nil)
9059
+ @InstanceIds = instanceids
9060
+ @ClusterId = clusterid
9053
9061
  @JobType = jobtype
9062
+ @Job = job
9054
9063
  end
9055
9064
 
9056
9065
  def deserialize(params)
9066
+ @InstanceIds = params['InstanceIds']
9067
+ @ClusterId = params['ClusterId']
9057
9068
  @JobType = params['JobType']
9069
+ @Job = params['Job']
9058
9070
  end
9059
9071
  end
9060
9072
 
@@ -9442,6 +9454,61 @@ module TencentCloud
9442
9454
  end
9443
9455
  end
9444
9456
 
9457
+ # DescribeRemoteWrites请求参数结构体
9458
+ class DescribeRemoteWritesRequest < TencentCloud::Common::AbstractModel
9459
+ # @param InstanceId: 实例 ID
9460
+ # @type InstanceId: String
9461
+ # @param Offset: 列表 offset
9462
+ # @type Offset: Integer
9463
+ # @param Limit: 返回 limit
9464
+ # @type Limit: Integer
9465
+
9466
+ attr_accessor :InstanceId, :Offset, :Limit
9467
+
9468
+ def initialize(instanceid=nil, offset=nil, limit=nil)
9469
+ @InstanceId = instanceid
9470
+ @Offset = offset
9471
+ @Limit = limit
9472
+ end
9473
+
9474
+ def deserialize(params)
9475
+ @InstanceId = params['InstanceId']
9476
+ @Offset = params['Offset']
9477
+ @Limit = params['Limit']
9478
+ end
9479
+ end
9480
+
9481
+ # DescribeRemoteWrites返回参数结构体
9482
+ class DescribeRemoteWritesResponse < TencentCloud::Common::AbstractModel
9483
+ # @param Count: 存储数据
9484
+ # @type Count: Integer
9485
+ # @param RemoteWrites: 多写信息
9486
+ # @type RemoteWrites: Array
9487
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9488
+ # @type RequestId: String
9489
+
9490
+ attr_accessor :Count, :RemoteWrites, :RequestId
9491
+
9492
+ def initialize(count=nil, remotewrites=nil, requestid=nil)
9493
+ @Count = count
9494
+ @RemoteWrites = remotewrites
9495
+ @RequestId = requestid
9496
+ end
9497
+
9498
+ def deserialize(params)
9499
+ @Count = params['Count']
9500
+ unless params['RemoteWrites'].nil?
9501
+ @RemoteWrites = []
9502
+ params['RemoteWrites'].each do |i|
9503
+ writedestination_tmp = WriteDestination.new
9504
+ writedestination_tmp.deserialize(i)
9505
+ @RemoteWrites << writedestination_tmp
9506
+ end
9507
+ end
9508
+ @RequestId = params['RequestId']
9509
+ end
9510
+ end
9511
+
9445
9512
  # DescribeSSOAccount请求参数结构体
9446
9513
  class DescribeSSOAccountRequest < TencentCloud::Common::AbstractModel
9447
9514
  # @param InstanceId: Grafana 实例 ID,例如:grafana-abcdefgh
@@ -9996,7 +10063,7 @@ module TencentCloud
9996
10063
  # @type StartTime: String
9997
10064
  # @param EndTime: 结束时间,如2018-09-22T20:51:23+08:00,默认为当前时间。 EndTime不能小于StartTime
9998
10065
  # @type EndTime: String
9999
- # @param SpecifyStatistics: 返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。注意: 仅支持对API配置文档中展示的统计方式返回对应的统计数据。如所需的统计方式不满足您的查询需求,请提工单反馈。
10066
+ # @param SpecifyStatistics: 返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。特别说明:建议查询时严格参考API配置文档中提供的统计方式。如选择其他未提供的统计方式,可能有数据统计误差。
10000
10067
  # @type SpecifyStatistics: Integer
10001
10068
 
10002
10069
  attr_accessor :Namespace, :MetricName, :Instances, :Period, :StartTime, :EndTime, :SpecifyStatistics
@@ -16302,6 +16369,22 @@ module TencentCloud
16302
16369
  end
16303
16370
  end
16304
16371
 
16372
+ # 数据写向目标
16373
+ class WriteDestination < TencentCloud::Common::AbstractModel
16374
+ # @param Destination: 存储标识
16375
+ # @type Destination: String
16376
+
16377
+ attr_accessor :Destination
16378
+
16379
+ def initialize(destination=nil)
16380
+ @Destination = destination
16381
+ end
16382
+
16383
+ def deserialize(params)
16384
+ @Destination = params['Destination']
16385
+ end
16386
+ end
16387
+
16305
16388
  end
16306
16389
  end
16307
16390
  end
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.1153
4
+ version: 3.0.1160
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-10-15 00:00:00.000000000 Z
11
+ date: 2025-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20230616/models.rb
37
- - lib/v20230616/client.rb
38
36
  - lib/tencentcloud-sdk-monitor.rb
39
37
  - lib/v20180724/models.rb
40
38
  - lib/v20180724/client.rb
39
+ - lib/v20230616/models.rb
40
+ - lib/v20230616/client.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: