tencentcloud-sdk-cls 3.0.1187 → 3.0.1201

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: 99ea03373bb6727afe59bfb0757e69f2342ccb81
4
- data.tar.gz: ff467b3cb9845cf3af99ad599fff41fa047d7236
3
+ metadata.gz: 0fe18d88e752eff8d3deb4026e5a2d17ff5f0076
4
+ data.tar.gz: b6a0eb3bd3bcc1c0ec83ddca8e8b33c58541ad83
5
5
  SHA512:
6
- metadata.gz: 1307f8637cd9c0774d9108da79c2a9dadefc6a7791641d48a4b8c35cda8fcdf3a6a90962ec650fca09e905fdd3ec81caba3c60c75cd9764995eef91e640ea4bb
7
- data.tar.gz: b9b5828e41fe963abfd46c07c5473b1f2fe948da949d778494e4eb42eb763c11b2bf2628d52db3ff2b8c7639ef58c63290717ef8b02d0aecbf9979d040f7a431
6
+ metadata.gz: cfc3a1c756540ca0bb7131a2223e2402b6f796558810299756af628efdf97352c60a9d4dbfaa36d0fbbe26f4f2aa71add591811b08c94a6d63236806fd748dfe
7
+ data.tar.gz: 7108db380151b814ce80b2f3a92e1c882d40349019a666f284db11210aae8766ab2e7f9ef1a5d327de76f787329786bd4a5568a4784bd19faeb20d2eea8caa26
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1187
1
+ 3.0.1201
@@ -420,6 +420,30 @@ module TencentCloud
420
420
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
421
421
  end
422
422
 
423
+ # 本接口用于创建仪表盘
424
+
425
+ # @param request: Request instance for CreateDashboard.
426
+ # @type request: :class:`Tencentcloud::cls::V20201016::CreateDashboardRequest`
427
+ # @rtype: :class:`Tencentcloud::cls::V20201016::CreateDashboardResponse`
428
+ def CreateDashboard(request)
429
+ body = send_request('CreateDashboard', request.serialize)
430
+ response = JSON.parse(body)
431
+ if response['Response'].key?('Error') == false
432
+ model = CreateDashboardResponse.new
433
+ model.deserialize(response['Response'])
434
+ model
435
+ else
436
+ code = response['Response']['Error']['Code']
437
+ message = response['Response']['Error']['Message']
438
+ reqid = response['Response']['RequestId']
439
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
440
+ end
441
+ rescue TencentCloud::Common::TencentCloudSDKException => e
442
+ raise e
443
+ rescue StandardError => e
444
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
445
+ end
446
+
423
447
  # 此接口用于创建仪表盘订阅
424
448
 
425
449
  # @param request: Request instance for CreateDashboardSubscribe.
@@ -1140,6 +1164,30 @@ module TencentCloud
1140
1164
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1141
1165
  end
1142
1166
 
1167
+ # 本接口用于删除仪表盘
1168
+
1169
+ # @param request: Request instance for DeleteDashboard.
1170
+ # @type request: :class:`Tencentcloud::cls::V20201016::DeleteDashboardRequest`
1171
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DeleteDashboardResponse`
1172
+ def DeleteDashboard(request)
1173
+ body = send_request('DeleteDashboard', request.serialize)
1174
+ response = JSON.parse(body)
1175
+ if response['Response'].key?('Error') == false
1176
+ model = DeleteDashboardResponse.new
1177
+ model.deserialize(response['Response'])
1178
+ model
1179
+ else
1180
+ code = response['Response']['Error']['Code']
1181
+ message = response['Response']['Error']['Message']
1182
+ reqid = response['Response']['RequestId']
1183
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1184
+ end
1185
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1186
+ raise e
1187
+ rescue StandardError => e
1188
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1189
+ end
1190
+
1143
1191
  # 此接口用于删除仪表盘订阅
1144
1192
 
1145
1193
  # @param request: Request instance for DeleteDashboardSubscribe.
@@ -3157,6 +3205,30 @@ module TencentCloud
3157
3205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3158
3206
  end
3159
3207
 
3208
+ # 本接口用于修改仪表盘
3209
+
3210
+ # @param request: Request instance for ModifyDashboard.
3211
+ # @type request: :class:`Tencentcloud::cls::V20201016::ModifyDashboardRequest`
3212
+ # @rtype: :class:`Tencentcloud::cls::V20201016::ModifyDashboardResponse`
3213
+ def ModifyDashboard(request)
3214
+ body = send_request('ModifyDashboard', request.serialize)
3215
+ response = JSON.parse(body)
3216
+ if response['Response'].key?('Error') == false
3217
+ model = ModifyDashboardResponse.new
3218
+ model.deserialize(response['Response'])
3219
+ model
3220
+ else
3221
+ code = response['Response']['Error']['Code']
3222
+ message = response['Response']['Error']['Message']
3223
+ reqid = response['Response']['RequestId']
3224
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3225
+ end
3226
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3227
+ raise e
3228
+ rescue StandardError => e
3229
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3230
+ end
3231
+
3160
3232
  # 此接口用于修改仪表盘订阅
3161
3233
 
3162
3234
  # @param request: Request instance for ModifyDashboardSubscribe.
@@ -2457,8 +2457,8 @@ module TencentCloud
2457
2457
 
2458
2458
  attr_accessor :Name, :AlarmTargets, :MonitorTime, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Condition, :AlarmLevel, :MultiConditions, :Status, :Enable, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType, :Classifications
2459
2459
  extend Gem::Deprecate
2460
- deprecate :Enable, :none, 2025, 12
2461
- deprecate :Enable=, :none, 2025, 12
2460
+ deprecate :Enable, :none, 2026, 1
2461
+ deprecate :Enable=, :none, 2026, 1
2462
2462
 
2463
2463
  def initialize(name=nil, alarmtargets=nil, monitortime=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, condition=nil, alarmlevel=nil, multiconditions=nil, status=nil, enable=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, tags=nil, monitorobjecttype=nil, classifications=nil)
2464
2464
  @Name = name
@@ -2797,8 +2797,8 @@ module TencentCloud
2797
2797
 
2798
2798
  attr_accessor :Name, :TopicId, :Type, :LogType, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :HostFile, :ContainerFile, :ContainerStdout, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :GroupId, :GroupIds, :CollectInfos, :AdvancedConfig
2799
2799
  extend Gem::Deprecate
2800
- deprecate :LogFormat, :none, 2025, 12
2801
- deprecate :LogFormat=, :none, 2025, 12
2800
+ deprecate :LogFormat, :none, 2026, 1
2801
+ deprecate :LogFormat=, :none, 2026, 1
2802
2802
 
2803
2803
  def initialize(name=nil, topicid=nil, type=nil, logtype=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logformat=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, groupid=nil, groupids=nil, collectinfos=nil, advancedconfig=nil)
2804
2804
  @Name = name
@@ -3242,6 +3242,57 @@ module TencentCloud
3242
3242
  end
3243
3243
  end
3244
3244
 
3245
+ # CreateDashboard请求参数结构体
3246
+ class CreateDashboardRequest < TencentCloud::Common::AbstractModel
3247
+ # @param DashboardName: 仪表盘名称
3248
+ # @type DashboardName: String
3249
+ # @param Data: 仪表盘配置数据
3250
+ # @type Data: String
3251
+ # @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
3252
+ # @type Tags: Array
3253
+
3254
+ attr_accessor :DashboardName, :Data, :Tags
3255
+
3256
+ def initialize(dashboardname=nil, data=nil, tags=nil)
3257
+ @DashboardName = dashboardname
3258
+ @Data = data
3259
+ @Tags = tags
3260
+ end
3261
+
3262
+ def deserialize(params)
3263
+ @DashboardName = params['DashboardName']
3264
+ @Data = params['Data']
3265
+ unless params['Tags'].nil?
3266
+ @Tags = []
3267
+ params['Tags'].each do |i|
3268
+ tag_tmp = Tag.new
3269
+ tag_tmp.deserialize(i)
3270
+ @Tags << tag_tmp
3271
+ end
3272
+ end
3273
+ end
3274
+ end
3275
+
3276
+ # CreateDashboard返回参数结构体
3277
+ class CreateDashboardResponse < TencentCloud::Common::AbstractModel
3278
+ # @param DashboardId: 仪表盘id
3279
+ # @type DashboardId: String
3280
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3281
+ # @type RequestId: String
3282
+
3283
+ attr_accessor :DashboardId, :RequestId
3284
+
3285
+ def initialize(dashboardid=nil, requestid=nil)
3286
+ @DashboardId = dashboardid
3287
+ @RequestId = requestid
3288
+ end
3289
+
3290
+ def deserialize(params)
3291
+ @DashboardId = params['DashboardId']
3292
+ @RequestId = params['RequestId']
3293
+ end
3294
+ end
3295
+
3245
3296
  # CreateDashboardSubscribe请求参数结构体
3246
3297
  class CreateDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
3247
3298
  # @param Name: 仪表盘订阅名称。
@@ -5818,6 +5869,38 @@ module TencentCloud
5818
5869
  end
5819
5870
  end
5820
5871
 
5872
+ # DeleteDashboard请求参数结构体
5873
+ class DeleteDashboardRequest < TencentCloud::Common::AbstractModel
5874
+ # @param DashboardId: 仪表盘id
5875
+ # @type DashboardId: String
5876
+
5877
+ attr_accessor :DashboardId
5878
+
5879
+ def initialize(dashboardid=nil)
5880
+ @DashboardId = dashboardid
5881
+ end
5882
+
5883
+ def deserialize(params)
5884
+ @DashboardId = params['DashboardId']
5885
+ end
5886
+ end
5887
+
5888
+ # DeleteDashboard返回参数结构体
5889
+ class DeleteDashboardResponse < TencentCloud::Common::AbstractModel
5890
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5891
+ # @type RequestId: String
5892
+
5893
+ attr_accessor :RequestId
5894
+
5895
+ def initialize(requestid=nil)
5896
+ @RequestId = requestid
5897
+ end
5898
+
5899
+ def deserialize(params)
5900
+ @RequestId = params['RequestId']
5901
+ end
5902
+ end
5903
+
5821
5904
  # DeleteDashboardSubscribe请求参数结构体
5822
5905
  class DeleteDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
5823
5906
  # @param Id: 仪表盘订阅记录id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
@@ -12975,8 +13058,8 @@ module TencentCloud
12975
13058
 
12976
13059
  attr_accessor :AlarmId, :Name, :MonitorTime, :Condition, :AlarmLevel, :MultiConditions, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :AlarmTargets, :Status, :Enable, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType, :Classifications
12977
13060
  extend Gem::Deprecate
12978
- deprecate :Enable, :none, 2025, 12
12979
- deprecate :Enable=, :none, 2025, 12
13061
+ deprecate :Enable, :none, 2026, 1
13062
+ deprecate :Enable=, :none, 2026, 1
12980
13063
 
12981
13064
  def initialize(alarmid=nil, name=nil, monitortime=nil, condition=nil, alarmlevel=nil, multiconditions=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, alarmtargets=nil, status=nil, enable=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, tags=nil, monitorobjecttype=nil, classifications=nil)
12982
13065
  @AlarmId = alarmid
@@ -13274,8 +13357,8 @@ module TencentCloud
13274
13357
 
13275
13358
  attr_accessor :ConfigExtraId, :Name, :TopicId, :HostFile, :ContainerFile, :ContainerStdout, :LogType, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :Type, :GroupId, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :AdvancedConfig
13276
13359
  extend Gem::Deprecate
13277
- deprecate :LogFormat, :none, 2025, 12
13278
- deprecate :LogFormat=, :none, 2025, 12
13360
+ deprecate :LogFormat, :none, 2026, 1
13361
+ deprecate :LogFormat=, :none, 2026, 1
13279
13362
 
13280
13363
  def initialize(configextraid=nil, name=nil, topicid=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logtype=nil, logformat=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, type=nil, groupid=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil, advancedconfig=nil)
13281
13364
  @ConfigExtraId = configextraid
@@ -13698,6 +13781,57 @@ module TencentCloud
13698
13781
  end
13699
13782
  end
13700
13783
 
13784
+ # ModifyDashboard请求参数结构体
13785
+ class ModifyDashboardRequest < TencentCloud::Common::AbstractModel
13786
+ # @param DashboardId: 仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
13787
+ # @type DashboardId: String
13788
+ # @param DashboardName: 仪表盘名称
13789
+ # @type DashboardName: String
13790
+ # @param Data: 仪表盘配置数据
13791
+ # @type Data: String
13792
+ # @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
13793
+ # @type Tags: Array
13794
+
13795
+ attr_accessor :DashboardId, :DashboardName, :Data, :Tags
13796
+
13797
+ def initialize(dashboardid=nil, dashboardname=nil, data=nil, tags=nil)
13798
+ @DashboardId = dashboardid
13799
+ @DashboardName = dashboardname
13800
+ @Data = data
13801
+ @Tags = tags
13802
+ end
13803
+
13804
+ def deserialize(params)
13805
+ @DashboardId = params['DashboardId']
13806
+ @DashboardName = params['DashboardName']
13807
+ @Data = params['Data']
13808
+ unless params['Tags'].nil?
13809
+ @Tags = []
13810
+ params['Tags'].each do |i|
13811
+ tag_tmp = Tag.new
13812
+ tag_tmp.deserialize(i)
13813
+ @Tags << tag_tmp
13814
+ end
13815
+ end
13816
+ end
13817
+ end
13818
+
13819
+ # ModifyDashboard返回参数结构体
13820
+ class ModifyDashboardResponse < TencentCloud::Common::AbstractModel
13821
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13822
+ # @type RequestId: String
13823
+
13824
+ attr_accessor :RequestId
13825
+
13826
+ def initialize(requestid=nil)
13827
+ @RequestId = requestid
13828
+ end
13829
+
13830
+ def deserialize(params)
13831
+ @RequestId = params['RequestId']
13832
+ end
13833
+ end
13834
+
13701
13835
  # ModifyDashboardSubscribe请求参数结构体
13702
13836
  class ModifyDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
13703
13837
  # @param Id: 仪表盘订阅id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
@@ -15862,8 +15996,8 @@ module TencentCloud
15862
15996
 
15863
15997
  attr_accessor :LogContent, :LineNum, :DstTopicId, :FailReason, :Time, :DstTopicName
15864
15998
  extend Gem::Deprecate
15865
- deprecate :DstTopicName, :none, 2025, 12
15866
- deprecate :DstTopicName=, :none, 2025, 12
15999
+ deprecate :DstTopicName, :none, 2026, 1
16000
+ deprecate :DstTopicName=, :none, 2026, 1
15867
16001
 
15868
16002
  def initialize(logcontent=nil, linenum=nil, dsttopicid=nil, failreason=nil, time=nil, dsttopicname=nil)
15869
16003
  @LogContent = logcontent
@@ -17449,8 +17583,8 @@ module TencentCloud
17449
17583
 
17450
17584
  attr_accessor :TopicId, :HashKey, :CompressType
17451
17585
  extend Gem::Deprecate
17452
- deprecate :HashKey, :none, 2025, 12
17453
- deprecate :HashKey=, :none, 2025, 12
17586
+ deprecate :HashKey, :none, 2026, 1
17587
+ deprecate :HashKey=, :none, 2026, 1
17454
17588
 
17455
17589
  def initialize(topicid=nil, hashkey=nil, compresstype=nil)
17456
17590
  @TopicId = topicid
@@ -17585,10 +17719,10 @@ module TencentCloud
17585
17719
 
17586
17720
  attr_accessor :CallbackType, :Url, :WebCallbackId, :Method, :NoticeContentId, :RemindType, :Mobiles, :UserIds, :Headers, :Body, :Index
17587
17721
  extend Gem::Deprecate
17588
- deprecate :Headers, :none, 2025, 12
17589
- deprecate :Headers=, :none, 2025, 12
17590
- deprecate :Body, :none, 2025, 12
17591
- deprecate :Body=, :none, 2025, 12
17722
+ deprecate :Headers, :none, 2026, 1
17723
+ deprecate :Headers=, :none, 2026, 1
17724
+ deprecate :Body, :none, 2026, 1
17725
+ deprecate :Body=, :none, 2026, 1
17592
17726
 
17593
17727
  def initialize(callbacktype=nil, url=nil, webcallbackid=nil, method=nil, noticecontentid=nil, remindtype=nil, mobiles=nil, userids=nil, headers=nil, body=nil, index=nil)
17594
17728
  @CallbackType = callbacktype
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1187
4
+ version: 3.0.1201
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-12-22 00:00:00.000000000 Z
11
+ date: 2026-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common