tencentcloud-sdk-cls 3.0.1184 → 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.
@@ -901,6 +901,64 @@ module TencentCloud
901
901
  end
902
902
  end
903
903
 
904
+ # 元数据Pod label标签结构体
905
+ class AppointLabel < TencentCloud::Common::AbstractModel
906
+ # @param Type: 指定标签类型。
907
+
908
+ # - 0:所有Pod label,Keys字段无效
909
+ # - 1:指定Pod label,Keys字段不能为空
910
+ # 注意:此字段可能返回 null,表示取不到有效值。
911
+ # @type Type: Integer
912
+ # @param Keys: 元数据Pod标签的键。有效标签键有两个部分:可选前缀和名称,以斜杠 (/) 分隔。名称部分是必需的,并且必须不超过 63 个字符,以字母数字字符 ([a-z0-9A-Z]) 开头和结尾,中间有破折号(-)、下划线(_)、点(.) 和字母数字。前缀是可选的。如果指定,前缀必须是 DNS 子域:一系列以点 (.) 分隔的 DNS 标签,总长度不超过 253 个字符,后跟斜杠 ( /)。
913
+
914
+ # - prefix 格式 `[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*`
915
+ # - name 格式 `([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]`
916
+ # - key不能重复
917
+ # 注意:此字段可能返回 null,表示取不到有效值。
918
+ # @type Keys: Array
919
+
920
+ attr_accessor :Type, :Keys
921
+
922
+ def initialize(type=nil, keys=nil)
923
+ @Type = type
924
+ @Keys = keys
925
+ end
926
+
927
+ def deserialize(params)
928
+ @Type = params['Type']
929
+ @Keys = params['Keys']
930
+ end
931
+ end
932
+
933
+ # 指标采集配置
934
+ class BaseMetricCollectConfig < TencentCloud::Common::AbstractModel
935
+ # @param GroupId: 机器组id
936
+ # 注意:此字段可能返回 null,表示取不到有效值。
937
+ # @type GroupId: String
938
+ # @param Configs: 基础监控采集配置信息
939
+ # 注意:此字段可能返回 null,表示取不到有效值。
940
+ # @type Configs: Array
941
+
942
+ attr_accessor :GroupId, :Configs
943
+
944
+ def initialize(groupid=nil, configs=nil)
945
+ @GroupId = groupid
946
+ @Configs = configs
947
+ end
948
+
949
+ def deserialize(params)
950
+ @GroupId = params['GroupId']
951
+ unless params['Configs'].nil?
952
+ @Configs = []
953
+ params['Configs'].each do |i|
954
+ metriccollectconfig_tmp = MetricCollectConfig.new
955
+ metriccollectconfig_tmp.deserialize(i)
956
+ @Configs << metriccollectconfig_tmp
957
+ end
958
+ end
959
+ end
960
+ end
961
+
904
962
  # 回调配置
905
963
  class CallBackInfo < TencentCloud::Common::AbstractModel
906
964
  # @param Body: 回调时的Body。
@@ -1272,6 +1330,57 @@ module TencentCloud
1272
1330
  end
1273
1331
  end
1274
1332
 
1333
+ # CommitConsumerOffsets请求参数结构体
1334
+ class CommitConsumerOffsetsRequest < TencentCloud::Common::AbstractModel
1335
+ # @param ConsumerGroup: 消费组标识
1336
+ # @type ConsumerGroup: String
1337
+ # @param Consumer: 消费机器名称
1338
+ # @type Consumer: String
1339
+ # @param LogsetId: 日志集id
1340
+ # @type LogsetId: String
1341
+ # @param TopicPartitionOffsetsInfo: topic分区点位信息
1342
+ # @type TopicPartitionOffsetsInfo: Array
1343
+
1344
+ attr_accessor :ConsumerGroup, :Consumer, :LogsetId, :TopicPartitionOffsetsInfo
1345
+
1346
+ def initialize(consumergroup=nil, consumer=nil, logsetid=nil, topicpartitionoffsetsinfo=nil)
1347
+ @ConsumerGroup = consumergroup
1348
+ @Consumer = consumer
1349
+ @LogsetId = logsetid
1350
+ @TopicPartitionOffsetsInfo = topicpartitionoffsetsinfo
1351
+ end
1352
+
1353
+ def deserialize(params)
1354
+ @ConsumerGroup = params['ConsumerGroup']
1355
+ @Consumer = params['Consumer']
1356
+ @LogsetId = params['LogsetId']
1357
+ unless params['TopicPartitionOffsetsInfo'].nil?
1358
+ @TopicPartitionOffsetsInfo = []
1359
+ params['TopicPartitionOffsetsInfo'].each do |i|
1360
+ topicpartitionoffsetinfo_tmp = TopicPartitionOffsetInfo.new
1361
+ topicpartitionoffsetinfo_tmp.deserialize(i)
1362
+ @TopicPartitionOffsetsInfo << topicpartitionoffsetinfo_tmp
1363
+ end
1364
+ end
1365
+ end
1366
+ end
1367
+
1368
+ # CommitConsumerOffsets返回参数结构体
1369
+ class CommitConsumerOffsetsResponse < TencentCloud::Common::AbstractModel
1370
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1371
+ # @type RequestId: String
1372
+
1373
+ attr_accessor :RequestId
1374
+
1375
+ def initialize(requestid=nil)
1376
+ @RequestId = requestid
1377
+ end
1378
+
1379
+ def deserialize(params)
1380
+ @RequestId = params['RequestId']
1381
+ end
1382
+ end
1383
+
1275
1384
  # 投递日志的压缩配置
1276
1385
  class CompressInfo < TencentCloud::Common::AbstractModel
1277
1386
  # @param Format: 压缩格式,支持gzip、lzop、snappy和none不压缩
@@ -1783,6 +1892,105 @@ module TencentCloud
1783
1892
  end
1784
1893
  end
1785
1894
 
1895
+ # 消费组信息
1896
+ class ConsumerGroupInfo < TencentCloud::Common::AbstractModel
1897
+ # @param ConsumerGroup: 消费组标识
1898
+ # @type ConsumerGroup: String
1899
+ # @param Timeout: 消费者心跳超时时间(秒)
1900
+ # @type Timeout: Integer
1901
+ # @param Topics: topic列表
1902
+ # @type Topics: Array
1903
+
1904
+ attr_accessor :ConsumerGroup, :Timeout, :Topics
1905
+
1906
+ def initialize(consumergroup=nil, timeout=nil, topics=nil)
1907
+ @ConsumerGroup = consumergroup
1908
+ @Timeout = timeout
1909
+ @Topics = topics
1910
+ end
1911
+
1912
+ def deserialize(params)
1913
+ @ConsumerGroup = params['ConsumerGroup']
1914
+ @Timeout = params['Timeout']
1915
+ @Topics = params['Topics']
1916
+ end
1917
+ end
1918
+
1919
+ # 投递规则
1920
+ class ConsumerInfo < TencentCloud::Common::AbstractModel
1921
+ # @param ConsumerId: 投递规则ID
1922
+ # @type ConsumerId: String
1923
+ # @param TopicId: 日志主题ID
1924
+ # @type TopicId: String
1925
+ # @param Effective: 投递任务是否生效
1926
+ # @type Effective: Boolean
1927
+ # @param Ckafka: CKafka的描述
1928
+ # @type Ckafka: :class:`Tencentcloud::Cls.v20201016.models.Ckafka`
1929
+ # @param NeedContent: 是否投递日志的元数据信息
1930
+ # @type NeedContent: Boolean
1931
+ # @param Content: 如果需要投递元数据信息,元数据信息的描述
1932
+ # 注意:此字段可能返回 null,表示取不到有效值。
1933
+ # @type Content: :class:`Tencentcloud::Cls.v20201016.models.ConsumerContent`
1934
+ # @param Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
1935
+ # 注意:此字段可能返回 null,表示取不到有效值。
1936
+ # @type Compression: Integer
1937
+ # @param CreateTime: 投递任务创建毫秒时间戳
1938
+ # 注意:此字段可能返回 null,表示取不到有效值。
1939
+ # @type CreateTime: Integer
1940
+ # @param RoleArn: 角色访问描述名 [创建角色](https://cloud.tencent.com/document/product/598/19381)
1941
+ # 注意:此字段可能返回 null,表示取不到有效值。
1942
+ # @type RoleArn: String
1943
+ # @param ExternalId: 外部ID
1944
+ # 注意:此字段可能返回 null,表示取不到有效值。
1945
+ # @type ExternalId: String
1946
+ # @param TaskStatus: 任务运行状态。支持`0`,`1`,`2` - `0`: 停止 - `1`: 运行中 - `2`: 异常
1947
+ # 注意:此字段可能返回 null,表示取不到有效值。
1948
+ # @type TaskStatus: Integer
1949
+ # @param AdvancedConfig: 高级配置
1950
+ # @type AdvancedConfig: :class:`Tencentcloud::Cls.v20201016.models.AdvancedConsumerConfiguration`
1951
+
1952
+ attr_accessor :ConsumerId, :TopicId, :Effective, :Ckafka, :NeedContent, :Content, :Compression, :CreateTime, :RoleArn, :ExternalId, :TaskStatus, :AdvancedConfig
1953
+
1954
+ def initialize(consumerid=nil, topicid=nil, effective=nil, ckafka=nil, needcontent=nil, content=nil, compression=nil, createtime=nil, rolearn=nil, externalid=nil, taskstatus=nil, advancedconfig=nil)
1955
+ @ConsumerId = consumerid
1956
+ @TopicId = topicid
1957
+ @Effective = effective
1958
+ @Ckafka = ckafka
1959
+ @NeedContent = needcontent
1960
+ @Content = content
1961
+ @Compression = compression
1962
+ @CreateTime = createtime
1963
+ @RoleArn = rolearn
1964
+ @ExternalId = externalid
1965
+ @TaskStatus = taskstatus
1966
+ @AdvancedConfig = advancedconfig
1967
+ end
1968
+
1969
+ def deserialize(params)
1970
+ @ConsumerId = params['ConsumerId']
1971
+ @TopicId = params['TopicId']
1972
+ @Effective = params['Effective']
1973
+ unless params['Ckafka'].nil?
1974
+ @Ckafka = Ckafka.new
1975
+ @Ckafka.deserialize(params['Ckafka'])
1976
+ end
1977
+ @NeedContent = params['NeedContent']
1978
+ unless params['Content'].nil?
1979
+ @Content = ConsumerContent.new
1980
+ @Content.deserialize(params['Content'])
1981
+ end
1982
+ @Compression = params['Compression']
1983
+ @CreateTime = params['CreateTime']
1984
+ @RoleArn = params['RoleArn']
1985
+ @ExternalId = params['ExternalId']
1986
+ @TaskStatus = params['TaskStatus']
1987
+ unless params['AdvancedConfig'].nil?
1988
+ @AdvancedConfig = AdvancedConsumerConfiguration.new
1989
+ @AdvancedConfig.deserialize(params['AdvancedConfig'])
1990
+ end
1991
+ end
1992
+ end
1993
+
1786
1994
  # 自建k8s-容器文件路径信息
1787
1995
  class ContainerFileInfo < TencentCloud::Common::AbstractModel
1788
1996
  # @param Namespace: namespace可以多个,用分隔号分割,例如A,B
@@ -2249,8 +2457,8 @@ module TencentCloud
2249
2457
 
2250
2458
  attr_accessor :Name, :AlarmTargets, :MonitorTime, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Condition, :AlarmLevel, :MultiConditions, :Status, :Enable, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType, :Classifications
2251
2459
  extend Gem::Deprecate
2252
- deprecate :Enable, :none, 2025, 12
2253
- deprecate :Enable=, :none, 2025, 12
2460
+ deprecate :Enable, :none, 2026, 1
2461
+ deprecate :Enable=, :none, 2026, 1
2254
2462
 
2255
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)
2256
2464
  @Name = name
@@ -2589,8 +2797,8 @@ module TencentCloud
2589
2797
 
2590
2798
  attr_accessor :Name, :TopicId, :Type, :LogType, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :HostFile, :ContainerFile, :ContainerStdout, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :GroupId, :GroupIds, :CollectInfos, :AdvancedConfig
2591
2799
  extend Gem::Deprecate
2592
- deprecate :LogFormat, :none, 2025, 12
2593
- deprecate :LogFormat=, :none, 2025, 12
2800
+ deprecate :LogFormat, :none, 2026, 1
2801
+ deprecate :LogFormat=, :none, 2026, 1
2594
2802
 
2595
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)
2596
2804
  @Name = name
@@ -2826,6 +3034,55 @@ module TencentCloud
2826
3034
  end
2827
3035
  end
2828
3036
 
3037
+ # CreateConsumerGroup请求参数结构体
3038
+ class CreateConsumerGroupRequest < TencentCloud::Common::AbstractModel
3039
+ # @param ConsumerGroup: 创建的消费者组标识
3040
+ # 限制: 字母数字下划线,不允许数字开头,长度限制256
3041
+ # @type ConsumerGroup: String
3042
+ # @param Timeout: 消费者心跳超时时间(秒)
3043
+ # @type Timeout: Integer
3044
+ # @param Topics: 创建的消费者组包含的日志主题列表
3045
+ # @type Topics: Array
3046
+ # @param LogsetId: 日志集Id(日志主题所属的日志集)
3047
+ # @type LogsetId: String
3048
+
3049
+ attr_accessor :ConsumerGroup, :Timeout, :Topics, :LogsetId
3050
+
3051
+ def initialize(consumergroup=nil, timeout=nil, topics=nil, logsetid=nil)
3052
+ @ConsumerGroup = consumergroup
3053
+ @Timeout = timeout
3054
+ @Topics = topics
3055
+ @LogsetId = logsetid
3056
+ end
3057
+
3058
+ def deserialize(params)
3059
+ @ConsumerGroup = params['ConsumerGroup']
3060
+ @Timeout = params['Timeout']
3061
+ @Topics = params['Topics']
3062
+ @LogsetId = params['LogsetId']
3063
+ end
3064
+ end
3065
+
3066
+ # CreateConsumerGroup返回参数结构体
3067
+ class CreateConsumerGroupResponse < TencentCloud::Common::AbstractModel
3068
+ # @param ConsumerGroup: 消费组标识
3069
+ # @type ConsumerGroup: String
3070
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3071
+ # @type RequestId: String
3072
+
3073
+ attr_accessor :ConsumerGroup, :RequestId
3074
+
3075
+ def initialize(consumergroup=nil, requestid=nil)
3076
+ @ConsumerGroup = consumergroup
3077
+ @RequestId = requestid
3078
+ end
3079
+
3080
+ def deserialize(params)
3081
+ @ConsumerGroup = params['ConsumerGroup']
3082
+ @RequestId = params['RequestId']
3083
+ end
3084
+ end
3085
+
2829
3086
  # CreateConsumer请求参数结构体
2830
3087
  class CreateConsumerRequest < TencentCloud::Common::AbstractModel
2831
3088
  # @param TopicId: 投递任务绑定的日志主题Id。
@@ -2985,6 +3242,57 @@ module TencentCloud
2985
3242
  end
2986
3243
  end
2987
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
+
2988
3296
  # CreateDashboardSubscribe请求参数结构体
2989
3297
  class CreateDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
2990
3298
  # @param Name: 仪表盘订阅名称。
@@ -3326,46 +3634,121 @@ module TencentCloud
3326
3634
  end
3327
3635
  end
3328
3636
 
3329
- # CreateExport请求参数结构体
3330
- class CreateExportRequest < TencentCloud::Common::AbstractModel
3331
- # @param TopicId: 日志主题Id
3332
- # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
3637
+ # CreateEsRecharge请求参数结构体
3638
+ class CreateEsRechargeRequest < TencentCloud::Common::AbstractModel
3639
+ # @param TopicId: 日志主题id。
3640
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
3641
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
3333
3642
  # @type TopicId: String
3334
- # @param Count: 日志导出数量, 最大值5000万
3335
- # @type Count: Integer
3336
- # @param Query: 日志导出检索语句,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>
3643
+ # @param Name: 名称:长度不超过64字符。
3644
+ # @type Name: String
3645
+ # @param Index: 索引信息。不同索引可以通过英文逗号分隔,支持*通配符
3646
+ # @type Index: String
3647
+ # @param Query: es查询语句。
3337
3648
  # @type Query: String
3338
- # @param From: 日志导出起始时间,毫秒时间戳
3339
- # @type From: Integer
3340
- # @param To: 日志导出结束时间,毫秒时间戳
3341
- # @type To: Integer
3342
- # @param Order: 日志导出时间排序。desc,asc,默认为desc
3343
- # @type Order: String
3344
- # @param Format: 日志导出数据格式。json,csv,默认为json
3345
- # @type Format: String
3346
- # @param SyntaxRule: 语法规则, 默认值为0。
3347
- # 0:Lucene语法,1:CQL语法。
3348
- # @type SyntaxRule: Integer
3349
- # @param DerivedFields: 导出字段
3350
- # @type DerivedFields: Array
3649
+ # @param EsInfo: es集群配置信息。
3650
+ # @type EsInfo: :class:`Tencentcloud::Cls.v20201016.models.EsInfo`
3651
+ # @param ImportInfo: es导入信息。
3652
+ # @type ImportInfo: :class:`Tencentcloud::Cls.v20201016.models.EsImportInfo`
3653
+ # @param TimeInfo: es导入时间字段信息。
3654
+ # @type TimeInfo: :class:`Tencentcloud::Cls.v20201016.models.EsTimeInfo`
3655
+ # @param HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。默认开启。
3656
+ # @type HasServicesLog: Integer
3351
3657
 
3352
- attr_accessor :TopicId, :Count, :Query, :From, :To, :Order, :Format, :SyntaxRule, :DerivedFields
3658
+ attr_accessor :TopicId, :Name, :Index, :Query, :EsInfo, :ImportInfo, :TimeInfo, :HasServicesLog
3353
3659
 
3354
- def initialize(topicid=nil, count=nil, query=nil, from=nil, to=nil, order=nil, format=nil, syntaxrule=nil, derivedfields=nil)
3660
+ def initialize(topicid=nil, name=nil, index=nil, query=nil, esinfo=nil, importinfo=nil, timeinfo=nil, hasserviceslog=nil)
3355
3661
  @TopicId = topicid
3356
- @Count = count
3662
+ @Name = name
3663
+ @Index = index
3357
3664
  @Query = query
3358
- @From = from
3359
- @To = to
3360
- @Order = order
3361
- @Format = format
3362
- @SyntaxRule = syntaxrule
3363
- @DerivedFields = derivedfields
3665
+ @EsInfo = esinfo
3666
+ @ImportInfo = importinfo
3667
+ @TimeInfo = timeinfo
3668
+ @HasServicesLog = hasserviceslog
3364
3669
  end
3365
3670
 
3366
3671
  def deserialize(params)
3367
3672
  @TopicId = params['TopicId']
3368
- @Count = params['Count']
3673
+ @Name = params['Name']
3674
+ @Index = params['Index']
3675
+ @Query = params['Query']
3676
+ unless params['EsInfo'].nil?
3677
+ @EsInfo = EsInfo.new
3678
+ @EsInfo.deserialize(params['EsInfo'])
3679
+ end
3680
+ unless params['ImportInfo'].nil?
3681
+ @ImportInfo = EsImportInfo.new
3682
+ @ImportInfo.deserialize(params['ImportInfo'])
3683
+ end
3684
+ unless params['TimeInfo'].nil?
3685
+ @TimeInfo = EsTimeInfo.new
3686
+ @TimeInfo.deserialize(params['TimeInfo'])
3687
+ end
3688
+ @HasServicesLog = params['HasServicesLog']
3689
+ end
3690
+ end
3691
+
3692
+ # CreateEsRecharge返回参数结构体
3693
+ class CreateEsRechargeResponse < TencentCloud::Common::AbstractModel
3694
+ # @param TaskId: 配置id
3695
+ # @type TaskId: String
3696
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3697
+ # @type RequestId: String
3698
+
3699
+ attr_accessor :TaskId, :RequestId
3700
+
3701
+ def initialize(taskid=nil, requestid=nil)
3702
+ @TaskId = taskid
3703
+ @RequestId = requestid
3704
+ end
3705
+
3706
+ def deserialize(params)
3707
+ @TaskId = params['TaskId']
3708
+ @RequestId = params['RequestId']
3709
+ end
3710
+ end
3711
+
3712
+ # CreateExport请求参数结构体
3713
+ class CreateExportRequest < TencentCloud::Common::AbstractModel
3714
+ # @param TopicId: 日志主题Id
3715
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
3716
+ # @type TopicId: String
3717
+ # @param Count: 日志导出数量, 最大值5000万
3718
+ # @type Count: Integer
3719
+ # @param Query: 日志导出检索语句,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>
3720
+ # @type Query: String
3721
+ # @param From: 日志导出起始时间,毫秒时间戳
3722
+ # @type From: Integer
3723
+ # @param To: 日志导出结束时间,毫秒时间戳
3724
+ # @type To: Integer
3725
+ # @param Order: 日志导出时间排序。desc,asc,默认为desc
3726
+ # @type Order: String
3727
+ # @param Format: 日志导出数据格式。json,csv,默认为json
3728
+ # @type Format: String
3729
+ # @param SyntaxRule: 语法规则, 默认值为0。
3730
+ # 0:Lucene语法,1:CQL语法。
3731
+ # @type SyntaxRule: Integer
3732
+ # @param DerivedFields: 导出字段
3733
+ # @type DerivedFields: Array
3734
+
3735
+ attr_accessor :TopicId, :Count, :Query, :From, :To, :Order, :Format, :SyntaxRule, :DerivedFields
3736
+
3737
+ def initialize(topicid=nil, count=nil, query=nil, from=nil, to=nil, order=nil, format=nil, syntaxrule=nil, derivedfields=nil)
3738
+ @TopicId = topicid
3739
+ @Count = count
3740
+ @Query = query
3741
+ @From = from
3742
+ @To = to
3743
+ @Order = order
3744
+ @Format = format
3745
+ @SyntaxRule = syntaxrule
3746
+ @DerivedFields = derivedfields
3747
+ end
3748
+
3749
+ def deserialize(params)
3750
+ @TopicId = params['TopicId']
3751
+ @Count = params['Count']
3369
3752
  @Query = params['Query']
3370
3753
  @From = params['From']
3371
3754
  @To = params['To']
@@ -3396,6 +3779,74 @@ module TencentCloud
3396
3779
  end
3397
3780
  end
3398
3781
 
3782
+ # CreateHostMetricConfig请求参数结构体
3783
+ class CreateHostMetricConfigRequest < TencentCloud::Common::AbstractModel
3784
+ # @param TopicId: 指标日志主题id。
3785
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
3786
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
3787
+ # @type TopicId: String
3788
+ # @param Name: 名称。
3789
+
3790
+ # - 长度不超过 64字符。
3791
+ # @type Name: String
3792
+ # @param MachineGroupIds: 机器组id列表。最多支持100个机器组。
3793
+ # @type MachineGroupIds: Array
3794
+ # @param Interval: 采集频率。单位:ms。 最小支持5000ms
3795
+ # @type Interval: Integer
3796
+ # @param HostMetricItems: 采集项。支持"cpu","mem","net","disk","system"。**目前仅支持:所有采集项都需配置**。
3797
+ # - cpu:CPU
3798
+ # - mem:内存
3799
+ # - net:网络
3800
+ # - disk:磁盘
3801
+ # - system:系统
3802
+ # @type HostMetricItems: Array
3803
+
3804
+ attr_accessor :TopicId, :Name, :MachineGroupIds, :Interval, :HostMetricItems
3805
+
3806
+ def initialize(topicid=nil, name=nil, machinegroupids=nil, interval=nil, hostmetricitems=nil)
3807
+ @TopicId = topicid
3808
+ @Name = name
3809
+ @MachineGroupIds = machinegroupids
3810
+ @Interval = interval
3811
+ @HostMetricItems = hostmetricitems
3812
+ end
3813
+
3814
+ def deserialize(params)
3815
+ @TopicId = params['TopicId']
3816
+ @Name = params['Name']
3817
+ @MachineGroupIds = params['MachineGroupIds']
3818
+ @Interval = params['Interval']
3819
+ unless params['HostMetricItems'].nil?
3820
+ @HostMetricItems = []
3821
+ params['HostMetricItems'].each do |i|
3822
+ hostmetricitem_tmp = HostMetricItem.new
3823
+ hostmetricitem_tmp.deserialize(i)
3824
+ @HostMetricItems << hostmetricitem_tmp
3825
+ end
3826
+ end
3827
+ end
3828
+ end
3829
+
3830
+ # CreateHostMetricConfig返回参数结构体
3831
+ class CreateHostMetricConfigResponse < TencentCloud::Common::AbstractModel
3832
+ # @param ConfigId: 主机指标采集配置id
3833
+ # @type ConfigId: String
3834
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3835
+ # @type RequestId: String
3836
+
3837
+ attr_accessor :ConfigId, :RequestId
3838
+
3839
+ def initialize(configid=nil, requestid=nil)
3840
+ @ConfigId = configid
3841
+ @RequestId = requestid
3842
+ end
3843
+
3844
+ def deserialize(params)
3845
+ @ConfigId = params['ConfigId']
3846
+ @RequestId = params['RequestId']
3847
+ end
3848
+ end
3849
+
3399
3850
  # CreateIndex请求参数结构体
3400
3851
  class CreateIndexRequest < TencentCloud::Common::AbstractModel
3401
3852
  # @param TopicId: 日志主题Id。
@@ -3708,6 +4159,186 @@ module TencentCloud
3708
4159
  end
3709
4160
  end
3710
4161
 
4162
+ # CreateMetricConfig请求参数结构体
4163
+ class CreateMetricConfigRequest < TencentCloud::Common::AbstractModel
4164
+ # @param TopicId: 指标日志主题id。
4165
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
4166
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
4167
+ # @type TopicId: String
4168
+ # @param Source: 采集配置来源。支持 :`0`、`1`
4169
+ # - 0:自建k8s
4170
+ # - 1:TKE
4171
+ # @type Source: Integer
4172
+ # @param GroupIds: 机器组id。
4173
+ # @type GroupIds: Array
4174
+ # @param Type: 监控类型。支持 :`0`、`1`,不支持修改
4175
+ # - 0:基础监控
4176
+ # - 1:自定义监控,
4177
+ # @type Type: Integer
4178
+ # @param Flag: 采集配置方式。支持 :`0`、`1`,不支持修改
4179
+ # - 0:普通配置方式,Type字段只能为:``1`
4180
+ # - 1:YAML导入方式, Type 可以是:`0`或者`1`
4181
+ # @type Flag: Integer
4182
+ # @param Name: 名称:长度不超过253字符,校验格式 ` [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*`。
4183
+ # @type Name: String
4184
+ # @param Spec: 采集对象, Flag=0时生效
4185
+ # @type Spec: :class:`Tencentcloud::Cls.v20201016.models.MetricSpec`
4186
+ # @param MetricRelabels: 标签处理, Flag=0时生效
4187
+ # @type MetricRelabels: Array
4188
+ # @param MetricLabel: 自定义元数据, Flag=0时生效
4189
+ # @type MetricLabel: :class:`Tencentcloud::Cls.v20201016.models.MetricConfigLabel`
4190
+ # @param Scheme: 通信协议 http、https; Flag=0时生效
4191
+ # @type Scheme: String
4192
+ # @param ScrapeInterval: 采集频率, Flag=0时生效
4193
+ # - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
4194
+ # - 默认:60s
4195
+ # @type ScrapeInterval: String
4196
+ # @param ScrapeTimeout: 采集超时时间, Flag=0时生效
4197
+ # - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
4198
+ # - 默认:30s
4199
+ # @type ScrapeTimeout: String
4200
+ # @param HonorLabels: Prometheus如何处理标签之间的冲突。当Flag=0时生效,支持`true`,`false`
4201
+ # - `false`:配置数据中冲突的标签重命名
4202
+ # - `true`:忽略冲突的服务器端标签
4203
+ # @type HonorLabels: Boolean
4204
+ # @param YamlSpec: 采集配置yaml格式字符串, Flag=1时必填
4205
+ # @type YamlSpec: :class:`Tencentcloud::Cls.v20201016.models.MetricYamlSpec`
4206
+
4207
+ attr_accessor :TopicId, :Source, :GroupIds, :Type, :Flag, :Name, :Spec, :MetricRelabels, :MetricLabel, :Scheme, :ScrapeInterval, :ScrapeTimeout, :HonorLabels, :YamlSpec
4208
+
4209
+ def initialize(topicid=nil, source=nil, groupids=nil, type=nil, flag=nil, name=nil, spec=nil, metricrelabels=nil, metriclabel=nil, scheme=nil, scrapeinterval=nil, scrapetimeout=nil, honorlabels=nil, yamlspec=nil)
4210
+ @TopicId = topicid
4211
+ @Source = source
4212
+ @GroupIds = groupids
4213
+ @Type = type
4214
+ @Flag = flag
4215
+ @Name = name
4216
+ @Spec = spec
4217
+ @MetricRelabels = metricrelabels
4218
+ @MetricLabel = metriclabel
4219
+ @Scheme = scheme
4220
+ @ScrapeInterval = scrapeinterval
4221
+ @ScrapeTimeout = scrapetimeout
4222
+ @HonorLabels = honorlabels
4223
+ @YamlSpec = yamlspec
4224
+ end
4225
+
4226
+ def deserialize(params)
4227
+ @TopicId = params['TopicId']
4228
+ @Source = params['Source']
4229
+ @GroupIds = params['GroupIds']
4230
+ @Type = params['Type']
4231
+ @Flag = params['Flag']
4232
+ @Name = params['Name']
4233
+ unless params['Spec'].nil?
4234
+ @Spec = MetricSpec.new
4235
+ @Spec.deserialize(params['Spec'])
4236
+ end
4237
+ unless params['MetricRelabels'].nil?
4238
+ @MetricRelabels = []
4239
+ params['MetricRelabels'].each do |i|
4240
+ relabeling_tmp = Relabeling.new
4241
+ relabeling_tmp.deserialize(i)
4242
+ @MetricRelabels << relabeling_tmp
4243
+ end
4244
+ end
4245
+ unless params['MetricLabel'].nil?
4246
+ @MetricLabel = MetricConfigLabel.new
4247
+ @MetricLabel.deserialize(params['MetricLabel'])
4248
+ end
4249
+ @Scheme = params['Scheme']
4250
+ @ScrapeInterval = params['ScrapeInterval']
4251
+ @ScrapeTimeout = params['ScrapeTimeout']
4252
+ @HonorLabels = params['HonorLabels']
4253
+ unless params['YamlSpec'].nil?
4254
+ @YamlSpec = MetricYamlSpec.new
4255
+ @YamlSpec.deserialize(params['YamlSpec'])
4256
+ end
4257
+ end
4258
+ end
4259
+
4260
+ # CreateMetricConfig返回参数结构体
4261
+ class CreateMetricConfigResponse < TencentCloud::Common::AbstractModel
4262
+ # @param ConfigIds: 指标采集配置id列表。
4263
+ # @type ConfigIds: Array
4264
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4265
+ # @type RequestId: String
4266
+
4267
+ attr_accessor :ConfigIds, :RequestId
4268
+
4269
+ def initialize(configids=nil, requestid=nil)
4270
+ @ConfigIds = configids
4271
+ @RequestId = requestid
4272
+ end
4273
+
4274
+ def deserialize(params)
4275
+ @ConfigIds = params['ConfigIds']
4276
+ @RequestId = params['RequestId']
4277
+ end
4278
+ end
4279
+
4280
+ # CreateMetricSubscribe请求参数结构体
4281
+ class CreateMetricSubscribeRequest < TencentCloud::Common::AbstractModel
4282
+ # @param Name: 名称:长度不超过64字符,以字母开头,接受0-9,a-z,A-Z, _,-,中文字符。
4283
+ # @type Name: String
4284
+ # @param TopicId: 日志主题id。
4285
+ # @type TopicId: String
4286
+ # @param Namespace: 云产品命名空间。
4287
+ # @type Namespace: String
4288
+ # @param Metrics: 数据库配置信息。
4289
+ # @type Metrics: Array
4290
+ # @param InstanceInfo: 实例配置配置。
4291
+ # @type InstanceInfo: :class:`Tencentcloud::Cls.v20201016.models.InstanceConfig`
4292
+
4293
+ attr_accessor :Name, :TopicId, :Namespace, :Metrics, :InstanceInfo
4294
+
4295
+ def initialize(name=nil, topicid=nil, namespace=nil, metrics=nil, instanceinfo=nil)
4296
+ @Name = name
4297
+ @TopicId = topicid
4298
+ @Namespace = namespace
4299
+ @Metrics = metrics
4300
+ @InstanceInfo = instanceinfo
4301
+ end
4302
+
4303
+ def deserialize(params)
4304
+ @Name = params['Name']
4305
+ @TopicId = params['TopicId']
4306
+ @Namespace = params['Namespace']
4307
+ unless params['Metrics'].nil?
4308
+ @Metrics = []
4309
+ params['Metrics'].each do |i|
4310
+ metricconfig_tmp = MetricConfig.new
4311
+ metricconfig_tmp.deserialize(i)
4312
+ @Metrics << metricconfig_tmp
4313
+ end
4314
+ end
4315
+ unless params['InstanceInfo'].nil?
4316
+ @InstanceInfo = InstanceConfig.new
4317
+ @InstanceInfo.deserialize(params['InstanceInfo'])
4318
+ end
4319
+ end
4320
+ end
4321
+
4322
+ # CreateMetricSubscribe返回参数结构体
4323
+ class CreateMetricSubscribeResponse < TencentCloud::Common::AbstractModel
4324
+ # @param TaskId: 配置id
4325
+ # @type TaskId: String
4326
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4327
+ # @type RequestId: String
4328
+
4329
+ attr_accessor :TaskId, :RequestId
4330
+
4331
+ def initialize(taskid=nil, requestid=nil)
4332
+ @TaskId = taskid
4333
+ @RequestId = requestid
4334
+ end
4335
+
4336
+ def deserialize(params)
4337
+ @TaskId = params['TaskId']
4338
+ @RequestId = params['RequestId']
4339
+ end
4340
+ end
4341
+
3711
4342
  # CreateNoticeContent请求参数结构体
3712
4343
  class CreateNoticeContentRequest < TencentCloud::Common::AbstractModel
3713
4344
  # @param Name: 模板名称。最大支持255个字节
@@ -3972,6 +4603,91 @@ module TencentCloud
3972
4603
  end
3973
4604
  end
3974
4605
 
4606
+ # CreateSplunkDeliver请求参数结构体
4607
+ class CreateSplunkDeliverRequest < TencentCloud::Common::AbstractModel
4608
+ # @param TopicId: 日志主题id
4609
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
4610
+ # @type TopicId: String
4611
+ # @param Name: splunk投递任务名称;
4612
+ # name有如下限制:
4613
+ # - 不能为空
4614
+ # - 长度不大于64
4615
+ # - 只能包含aA-zZ、下划线、-、0-9
4616
+ # @type Name: String
4617
+ # @param NetInfo: Splunk投递任务-目标配置-网络信息
4618
+ # @type NetInfo: :class:`Tencentcloud::Cls.v20201016.models.NetInfo`
4619
+ # @param MetadataInfo: Splunk投递任务元信息
4620
+ # @type MetadataInfo: :class:`Tencentcloud::Cls.v20201016.models.MetadataInfo`
4621
+ # @param HasServiceLog: 是否开启服务日志 1:关闭;2:开启 ;默认开启
4622
+ # @type HasServiceLog: Integer
4623
+ # @param IndexAck: 高级配置-是否启用索引器;1-不启用;2-启用;
4624
+ # 默认:1
4625
+ # @type IndexAck: Integer
4626
+ # @param Source: 高级配置-数据来源;不超过64个字符
4627
+ # @type Source: String
4628
+ # @param SourceType: 高级配置-数据来源类型;不超过64个字符
4629
+ # @type SourceType: String
4630
+ # @param Index: 高级配置-Splunk写入的索引;不超过64个字符
4631
+ # @type Index: String
4632
+ # @param Channel: 高级配置-通道
4633
+ # 需满足限制:如果启用索引器,那么Channel必填
4634
+ # @type Channel: String
4635
+
4636
+ attr_accessor :TopicId, :Name, :NetInfo, :MetadataInfo, :HasServiceLog, :IndexAck, :Source, :SourceType, :Index, :Channel
4637
+
4638
+ def initialize(topicid=nil, name=nil, netinfo=nil, metadatainfo=nil, hasservicelog=nil, indexack=nil, source=nil, sourcetype=nil, index=nil, channel=nil)
4639
+ @TopicId = topicid
4640
+ @Name = name
4641
+ @NetInfo = netinfo
4642
+ @MetadataInfo = metadatainfo
4643
+ @HasServiceLog = hasservicelog
4644
+ @IndexAck = indexack
4645
+ @Source = source
4646
+ @SourceType = sourcetype
4647
+ @Index = index
4648
+ @Channel = channel
4649
+ end
4650
+
4651
+ def deserialize(params)
4652
+ @TopicId = params['TopicId']
4653
+ @Name = params['Name']
4654
+ unless params['NetInfo'].nil?
4655
+ @NetInfo = NetInfo.new
4656
+ @NetInfo.deserialize(params['NetInfo'])
4657
+ end
4658
+ unless params['MetadataInfo'].nil?
4659
+ @MetadataInfo = MetadataInfo.new
4660
+ @MetadataInfo.deserialize(params['MetadataInfo'])
4661
+ end
4662
+ @HasServiceLog = params['HasServiceLog']
4663
+ @IndexAck = params['IndexAck']
4664
+ @Source = params['Source']
4665
+ @SourceType = params['SourceType']
4666
+ @Index = params['Index']
4667
+ @Channel = params['Channel']
4668
+ end
4669
+ end
4670
+
4671
+ # CreateSplunkDeliver返回参数结构体
4672
+ class CreateSplunkDeliverResponse < TencentCloud::Common::AbstractModel
4673
+ # @param TaskId: splunk投递任务id
4674
+ # @type TaskId: String
4675
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4676
+ # @type RequestId: String
4677
+
4678
+ attr_accessor :TaskId, :RequestId
4679
+
4680
+ def initialize(taskid=nil, requestid=nil)
4681
+ @TaskId = taskid
4682
+ @RequestId = requestid
4683
+ end
4684
+
4685
+ def deserialize(params)
4686
+ @TaskId = params['TaskId']
4687
+ @RequestId = params['RequestId']
4688
+ end
4689
+ end
4690
+
3975
4691
  # CreateTopic请求参数结构体
3976
4692
  class CreateTopicRequest < TencentCloud::Common::AbstractModel
3977
4693
  # @param LogsetId: 日志集ID
@@ -4187,35 +4903,105 @@ module TencentCloud
4187
4903
  end
4188
4904
  end
4189
4905
 
4190
- # 仪表盘信息
4191
- class DashboardInfo < TencentCloud::Common::AbstractModel
4192
- # @param DashboardId: 仪表盘id
4193
- # @type DashboardId: String
4194
- # @param DashboardName: 仪表盘名字
4195
- # @type DashboardName: String
4196
- # @param Data: 仪表盘数据
4197
- # @type Data: String
4198
- # @param CreateTime: 创建仪表盘的时间。格式:YYYY-MM-DD HH:MM:SS
4199
- # @type CreateTime: String
4200
- # @param AssumerUin: AssumerUin非空则表示创建该日志主题的服务方Uin
4201
- # @type AssumerUin: Integer
4202
- # @param RoleName: RoleName非空则表示创建该日志主题的服务方使用的角色
4203
- # @type RoleName: String
4204
- # @param AssumerName: AssumerName非空则表示创建该日志主题的服务方名称
4205
- # @type AssumerName: String
4206
- # @param Tags: 日志主题绑定的标签信息
4207
- # @type Tags: Array
4208
- # @param DashboardRegion: 仪表盘所在地域: 为了兼容老的地域。
4209
- # @type DashboardRegion: String
4210
- # @param UpdateTime: 修改仪表盘的时间。格式:YYYY-MM-DD HH:MM:SS
4211
- # @type UpdateTime: String
4212
- # @param DashboardTopicInfos: 仪表盘对应的topic相关信息
4213
- # @type DashboardTopicInfos: Array
4906
+ # 自定义标签结构体
4907
+ class CustomLabel < TencentCloud::Common::AbstractModel
4908
+ # @param Key: 标签的键。
4909
+ # - 必须以字母或下划线开头,但不可以双下划线(__)开头,后面可以跟任意字母,数字或下划线。
4910
+ # - 最大支持256个字符。
4911
+ # - key不能重复
4912
+ # 注意:此字段可能返回 null,表示取不到有效值。
4913
+ # @type Key: String
4914
+ # @param Value: 标签的值。
4915
+ # - 最大支持256个字符。
4916
+ # 注意:此字段可能返回 null,表示取不到有效值。
4917
+ # @type Value: String
4214
4918
 
4215
- attr_accessor :DashboardId, :DashboardName, :Data, :CreateTime, :AssumerUin, :RoleName, :AssumerName, :Tags, :DashboardRegion, :UpdateTime, :DashboardTopicInfos
4919
+ attr_accessor :Key, :Value
4216
4920
 
4217
- def initialize(dashboardid=nil, dashboardname=nil, data=nil, createtime=nil, assumeruin=nil, rolename=nil, assumername=nil, tags=nil, dashboardregion=nil, updatetime=nil, dashboardtopicinfos=nil)
4218
- @DashboardId = dashboardid
4921
+ def initialize(key=nil, value=nil)
4922
+ @Key = key
4923
+ @Value = value
4924
+ end
4925
+
4926
+ def deserialize(params)
4927
+ @Key = params['Key']
4928
+ @Value = params['Value']
4929
+ end
4930
+ end
4931
+
4932
+ # 自定义指标采集对象
4933
+ class CustomMetricSpec < TencentCloud::Common::AbstractModel
4934
+ # @param Port: 端口。取值范围 [1,65535]
4935
+ # 注意:此字段可能返回 null,表示取不到有效值。
4936
+ # @type Port: String
4937
+ # @param Path: Metric地址。校验格式:`^/[a-zA-Z0-9-_./]*$`
4938
+ # 注意:此字段可能返回 null,表示取不到有效值。
4939
+ # @type Path: String
4940
+ # @param Namespaces: 命名空间列表。
4941
+ # - 最大支持100个
4942
+ # - namespace 校验格式 `[a-z0-9]([-a-z0-9]*[a-z0-9])?` , 长度不能超过63
4943
+ # - namespace 不能重复
4944
+ # 注意:此字段可能返回 null,表示取不到有效值。
4945
+ # @type Namespaces: Array
4946
+ # @param PodLabel: Pod标签。
4947
+ # - 最大支持100个
4948
+
4949
+ # 注意:此字段可能返回 null,表示取不到有效值。
4950
+ # @type PodLabel: Array
4951
+
4952
+ attr_accessor :Port, :Path, :Namespaces, :PodLabel
4953
+
4954
+ def initialize(port=nil, path=nil, namespaces=nil, podlabel=nil)
4955
+ @Port = port
4956
+ @Path = path
4957
+ @Namespaces = namespaces
4958
+ @PodLabel = podlabel
4959
+ end
4960
+
4961
+ def deserialize(params)
4962
+ @Port = params['Port']
4963
+ @Path = params['Path']
4964
+ @Namespaces = params['Namespaces']
4965
+ unless params['PodLabel'].nil?
4966
+ @PodLabel = []
4967
+ params['PodLabel'].each do |i|
4968
+ label_tmp = Label.new
4969
+ label_tmp.deserialize(i)
4970
+ @PodLabel << label_tmp
4971
+ end
4972
+ end
4973
+ end
4974
+ end
4975
+
4976
+ # 仪表盘信息
4977
+ class DashboardInfo < TencentCloud::Common::AbstractModel
4978
+ # @param DashboardId: 仪表盘id
4979
+ # @type DashboardId: String
4980
+ # @param DashboardName: 仪表盘名字
4981
+ # @type DashboardName: String
4982
+ # @param Data: 仪表盘数据
4983
+ # @type Data: String
4984
+ # @param CreateTime: 创建仪表盘的时间。格式:YYYY-MM-DD HH:MM:SS
4985
+ # @type CreateTime: String
4986
+ # @param AssumerUin: AssumerUin非空则表示创建该日志主题的服务方Uin
4987
+ # @type AssumerUin: Integer
4988
+ # @param RoleName: RoleName非空则表示创建该日志主题的服务方使用的角色
4989
+ # @type RoleName: String
4990
+ # @param AssumerName: AssumerName非空则表示创建该日志主题的服务方名称
4991
+ # @type AssumerName: String
4992
+ # @param Tags: 日志主题绑定的标签信息
4993
+ # @type Tags: Array
4994
+ # @param DashboardRegion: 仪表盘所在地域: 为了兼容老的地域。
4995
+ # @type DashboardRegion: String
4996
+ # @param UpdateTime: 修改仪表盘的时间。格式:YYYY-MM-DD HH:MM:SS
4997
+ # @type UpdateTime: String
4998
+ # @param DashboardTopicInfos: 仪表盘对应的topic相关信息
4999
+ # @type DashboardTopicInfos: Array
5000
+
5001
+ attr_accessor :DashboardId, :DashboardName, :Data, :CreateTime, :AssumerUin, :RoleName, :AssumerName, :Tags, :DashboardRegion, :UpdateTime, :DashboardTopicInfos
5002
+
5003
+ def initialize(dashboardid=nil, dashboardname=nil, data=nil, createtime=nil, assumeruin=nil, rolename=nil, assumername=nil, tags=nil, dashboardregion=nil, updatetime=nil, dashboardtopicinfos=nil)
5004
+ @DashboardId = dashboardid
4219
5005
  @DashboardName = dashboardname
4220
5006
  @Data = data
4221
5007
  @CreateTime = createtime
@@ -4975,6 +5761,42 @@ module TencentCloud
4975
5761
  end
4976
5762
  end
4977
5763
 
5764
+ # DeleteConsumerGroup请求参数结构体
5765
+ class DeleteConsumerGroupRequest < TencentCloud::Common::AbstractModel
5766
+ # @param ConsumerGroup: 需要删除的消费者组标识
5767
+ # @type ConsumerGroup: String
5768
+ # @param LogsetId: 日志集id
5769
+ # @type LogsetId: String
5770
+
5771
+ attr_accessor :ConsumerGroup, :LogsetId
5772
+
5773
+ def initialize(consumergroup=nil, logsetid=nil)
5774
+ @ConsumerGroup = consumergroup
5775
+ @LogsetId = logsetid
5776
+ end
5777
+
5778
+ def deserialize(params)
5779
+ @ConsumerGroup = params['ConsumerGroup']
5780
+ @LogsetId = params['LogsetId']
5781
+ end
5782
+ end
5783
+
5784
+ # DeleteConsumerGroup返回参数结构体
5785
+ class DeleteConsumerGroupResponse < TencentCloud::Common::AbstractModel
5786
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5787
+ # @type RequestId: String
5788
+
5789
+ attr_accessor :RequestId
5790
+
5791
+ def initialize(requestid=nil)
5792
+ @RequestId = requestid
5793
+ end
5794
+
5795
+ def deserialize(params)
5796
+ @RequestId = params['RequestId']
5797
+ end
5798
+ end
5799
+
4978
5800
  # DeleteConsumer请求参数结构体
4979
5801
  class DeleteConsumerRequest < TencentCloud::Common::AbstractModel
4980
5802
  # @param TopicId: 投递任务绑定的日志主题Id。
@@ -5047,6 +5869,38 @@ module TencentCloud
5047
5869
  end
5048
5870
  end
5049
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
+
5050
5904
  # DeleteDashboardSubscribe请求参数结构体
5051
5905
  class DeleteDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
5052
5906
  # @param Id: 仪表盘订阅记录id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
@@ -5148,6 +6002,44 @@ module TencentCloud
5148
6002
  end
5149
6003
  end
5150
6004
 
6005
+ # DeleteEsRecharge请求参数结构体
6006
+ class DeleteEsRechargeRequest < TencentCloud::Common::AbstractModel
6007
+ # @param TaskId: 任务id
6008
+ # @type TaskId: String
6009
+ # @param TopicId: 任务配置的日志主题id。
6010
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
6011
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
6012
+ # @type TopicId: String
6013
+
6014
+ attr_accessor :TaskId, :TopicId
6015
+
6016
+ def initialize(taskid=nil, topicid=nil)
6017
+ @TaskId = taskid
6018
+ @TopicId = topicid
6019
+ end
6020
+
6021
+ def deserialize(params)
6022
+ @TaskId = params['TaskId']
6023
+ @TopicId = params['TopicId']
6024
+ end
6025
+ end
6026
+
6027
+ # DeleteEsRecharge返回参数结构体
6028
+ class DeleteEsRechargeResponse < TencentCloud::Common::AbstractModel
6029
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6030
+ # @type RequestId: String
6031
+
6032
+ attr_accessor :RequestId
6033
+
6034
+ def initialize(requestid=nil)
6035
+ @RequestId = requestid
6036
+ end
6037
+
6038
+ def deserialize(params)
6039
+ @RequestId = params['RequestId']
6040
+ end
6041
+ end
6042
+
5151
6043
  # DeleteExport请求参数结构体
5152
6044
  class DeleteExportRequest < TencentCloud::Common::AbstractModel
5153
6045
  # @param ExportId: 日志导出任务Id
@@ -5181,6 +6073,44 @@ module TencentCloud
5181
6073
  end
5182
6074
  end
5183
6075
 
6076
+ # DeleteHostMetricConfig请求参数结构体
6077
+ class DeleteHostMetricConfigRequest < TencentCloud::Common::AbstractModel
6078
+ # @param TopicId: 指标日志主题id。
6079
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
6080
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
6081
+ # @type TopicId: String
6082
+ # @param ConfigId: 采集配置id。
6083
+ # @type ConfigId: String
6084
+
6085
+ attr_accessor :TopicId, :ConfigId
6086
+
6087
+ def initialize(topicid=nil, configid=nil)
6088
+ @TopicId = topicid
6089
+ @ConfigId = configid
6090
+ end
6091
+
6092
+ def deserialize(params)
6093
+ @TopicId = params['TopicId']
6094
+ @ConfigId = params['ConfigId']
6095
+ end
6096
+ end
6097
+
6098
+ # DeleteHostMetricConfig返回参数结构体
6099
+ class DeleteHostMetricConfigResponse < TencentCloud::Common::AbstractModel
6100
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6101
+ # @type RequestId: String
6102
+
6103
+ attr_accessor :RequestId
6104
+
6105
+ def initialize(requestid=nil)
6106
+ @RequestId = requestid
6107
+ end
6108
+
6109
+ def deserialize(params)
6110
+ @RequestId = params['RequestId']
6111
+ end
6112
+ end
6113
+
5184
6114
  # DeleteIndex请求参数结构体
5185
6115
  class DeleteIndexRequest < TencentCloud::Common::AbstractModel
5186
6116
  # @param TopicId: 日志主题Id。
@@ -5360,6 +6290,80 @@ module TencentCloud
5360
6290
  end
5361
6291
  end
5362
6292
 
6293
+ # DeleteMetricConfig请求参数结构体
6294
+ class DeleteMetricConfigRequest < TencentCloud::Common::AbstractModel
6295
+ # @param TopicId: 指标日志主题id。
6296
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
6297
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
6298
+ # @type TopicId: String
6299
+ # @param ConfigId: 指标采集配置id。
6300
+ # @type ConfigId: String
6301
+
6302
+ attr_accessor :TopicId, :ConfigId
6303
+
6304
+ def initialize(topicid=nil, configid=nil)
6305
+ @TopicId = topicid
6306
+ @ConfigId = configid
6307
+ end
6308
+
6309
+ def deserialize(params)
6310
+ @TopicId = params['TopicId']
6311
+ @ConfigId = params['ConfigId']
6312
+ end
6313
+ end
6314
+
6315
+ # DeleteMetricConfig返回参数结构体
6316
+ class DeleteMetricConfigResponse < TencentCloud::Common::AbstractModel
6317
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6318
+ # @type RequestId: String
6319
+
6320
+ attr_accessor :RequestId
6321
+
6322
+ def initialize(requestid=nil)
6323
+ @RequestId = requestid
6324
+ end
6325
+
6326
+ def deserialize(params)
6327
+ @RequestId = params['RequestId']
6328
+ end
6329
+ end
6330
+
6331
+ # DeleteMetricSubscribe请求参数结构体
6332
+ class DeleteMetricSubscribeRequest < TencentCloud::Common::AbstractModel
6333
+ # @param TaskId: 指标采集任务id
6334
+ # @type TaskId: String
6335
+ # @param TopicId: 指标采集任务配置的日志主题id。
6336
+ # @type TopicId: String
6337
+
6338
+ attr_accessor :TaskId, :TopicId
6339
+
6340
+ def initialize(taskid=nil, topicid=nil)
6341
+ @TaskId = taskid
6342
+ @TopicId = topicid
6343
+ end
6344
+
6345
+ def deserialize(params)
6346
+ @TaskId = params['TaskId']
6347
+ @TopicId = params['TopicId']
6348
+ end
6349
+ end
6350
+
6351
+ # DeleteMetricSubscribe返回参数结构体
6352
+ class DeleteMetricSubscribeResponse < TencentCloud::Common::AbstractModel
6353
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6354
+ # @type RequestId: String
6355
+
6356
+ attr_accessor :RequestId
6357
+
6358
+ def initialize(requestid=nil)
6359
+ @RequestId = requestid
6360
+ end
6361
+
6362
+ def deserialize(params)
6363
+ @RequestId = params['RequestId']
6364
+ end
6365
+ end
6366
+
5363
6367
  # DeleteNoticeContent请求参数结构体
5364
6368
  class DeleteNoticeContentRequest < TencentCloud::Common::AbstractModel
5365
6369
  # @param NoticeContentId: 通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知内容模版ID
@@ -5461,6 +6465,43 @@ module TencentCloud
5461
6465
  end
5462
6466
  end
5463
6467
 
6468
+ # DeleteSplunkDeliver请求参数结构体
6469
+ class DeleteSplunkDeliverRequest < TencentCloud::Common::AbstractModel
6470
+ # @param TaskId: 任务id
6471
+ # @type TaskId: String
6472
+ # @param TopicId: 日志主题id
6473
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
6474
+ # @type TopicId: String
6475
+
6476
+ attr_accessor :TaskId, :TopicId
6477
+
6478
+ def initialize(taskid=nil, topicid=nil)
6479
+ @TaskId = taskid
6480
+ @TopicId = topicid
6481
+ end
6482
+
6483
+ def deserialize(params)
6484
+ @TaskId = params['TaskId']
6485
+ @TopicId = params['TopicId']
6486
+ end
6487
+ end
6488
+
6489
+ # DeleteSplunkDeliver返回参数结构体
6490
+ class DeleteSplunkDeliverResponse < TencentCloud::Common::AbstractModel
6491
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6492
+ # @type RequestId: String
6493
+
6494
+ attr_accessor :RequestId
6495
+
6496
+ def initialize(requestid=nil)
6497
+ @RequestId = requestid
6498
+ end
6499
+
6500
+ def deserialize(params)
6501
+ @RequestId = params['RequestId']
6502
+ end
6503
+ end
6504
+
5464
6505
  # DeleteTopic请求参数结构体
5465
6506
  class DeleteTopicRequest < TencentCloud::Common::AbstractModel
5466
6507
  # @param TopicId: 主题ID- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
@@ -5960,6 +7001,143 @@ module TencentCloud
5960
7001
  end
5961
7002
  end
5962
7003
 
7004
+ # DescribeClusterBaseMetricConfigs请求参数结构体
7005
+ class DescribeClusterBaseMetricConfigsRequest < TencentCloud::Common::AbstractModel
7006
+ # @param GroupId: 机器组id
7007
+ # @type GroupId: String
7008
+ # @param Filters: <li> topicId按照【指标主题id】进行过滤。类型:String 必选:否</li>
7009
+ # <li> 每次请求的Filters的上限为10,所有Filter.Values总和上限为100。</li>
7010
+ # @type Filters: Array
7011
+ # @param Offset: 分页的偏移量,默认值为0。
7012
+ # @type Offset: Integer
7013
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
7014
+ # @type Limit: Integer
7015
+
7016
+ attr_accessor :GroupId, :Filters, :Offset, :Limit
7017
+
7018
+ def initialize(groupid=nil, filters=nil, offset=nil, limit=nil)
7019
+ @GroupId = groupid
7020
+ @Filters = filters
7021
+ @Offset = offset
7022
+ @Limit = limit
7023
+ end
7024
+
7025
+ def deserialize(params)
7026
+ @GroupId = params['GroupId']
7027
+ unless params['Filters'].nil?
7028
+ @Filters = []
7029
+ params['Filters'].each do |i|
7030
+ filter_tmp = Filter.new
7031
+ filter_tmp.deserialize(i)
7032
+ @Filters << filter_tmp
7033
+ end
7034
+ end
7035
+ @Offset = params['Offset']
7036
+ @Limit = params['Limit']
7037
+ end
7038
+ end
7039
+
7040
+ # DescribeClusterBaseMetricConfigs返回参数结构体
7041
+ class DescribeClusterBaseMetricConfigsResponse < TencentCloud::Common::AbstractModel
7042
+ # @param TotalCount: 总数目
7043
+ # @type TotalCount: Integer
7044
+ # @param Datas: 指标采集配置列表
7045
+ # 注意:此字段可能返回 null,表示取不到有效值。
7046
+ # @type Datas: Array
7047
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7048
+ # @type RequestId: String
7049
+
7050
+ attr_accessor :TotalCount, :Datas, :RequestId
7051
+
7052
+ def initialize(totalcount=nil, datas=nil, requestid=nil)
7053
+ @TotalCount = totalcount
7054
+ @Datas = datas
7055
+ @RequestId = requestid
7056
+ end
7057
+
7058
+ def deserialize(params)
7059
+ @TotalCount = params['TotalCount']
7060
+ unless params['Datas'].nil?
7061
+ @Datas = []
7062
+ params['Datas'].each do |i|
7063
+ basemetriccollectconfig_tmp = BaseMetricCollectConfig.new
7064
+ basemetriccollectconfig_tmp.deserialize(i)
7065
+ @Datas << basemetriccollectconfig_tmp
7066
+ end
7067
+ end
7068
+ @RequestId = params['RequestId']
7069
+ end
7070
+ end
7071
+
7072
+ # DescribeClusterMetricConfigs请求参数结构体
7073
+ class DescribeClusterMetricConfigsRequest < TencentCloud::Common::AbstractModel
7074
+ # @param GroupId: 机器组id
7075
+ # @type GroupId: String
7076
+ # @param Filters: <li> configId按照【指标采集配置id】进行过滤。类型:String 必选:否</li>
7077
+ # <li> name按照【配置名称】进行过滤。类型:String 必选:否</li>
7078
+ # <li> 每次请求的Filters的上限为10,所有Filter.Values总和上限为100。</li>
7079
+ # @type Filters: Array
7080
+ # @param Offset: 分页的偏移量,默认值为0。
7081
+ # @type Offset: Integer
7082
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
7083
+ # @type Limit: Integer
7084
+
7085
+ attr_accessor :GroupId, :Filters, :Offset, :Limit
7086
+
7087
+ def initialize(groupid=nil, filters=nil, offset=nil, limit=nil)
7088
+ @GroupId = groupid
7089
+ @Filters = filters
7090
+ @Offset = offset
7091
+ @Limit = limit
7092
+ end
7093
+
7094
+ def deserialize(params)
7095
+ @GroupId = params['GroupId']
7096
+ unless params['Filters'].nil?
7097
+ @Filters = []
7098
+ params['Filters'].each do |i|
7099
+ filter_tmp = Filter.new
7100
+ filter_tmp.deserialize(i)
7101
+ @Filters << filter_tmp
7102
+ end
7103
+ end
7104
+ @Offset = params['Offset']
7105
+ @Limit = params['Limit']
7106
+ end
7107
+ end
7108
+
7109
+ # DescribeClusterMetricConfigs返回参数结构体
7110
+ class DescribeClusterMetricConfigsResponse < TencentCloud::Common::AbstractModel
7111
+ # @param TotalCount: 总数目
7112
+ # @type TotalCount: Integer
7113
+ # @param Datas: 指标采集配置列表
7114
+ # 注意:此字段可能返回 null,表示取不到有效值。
7115
+ # @type Datas: Array
7116
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7117
+ # @type RequestId: String
7118
+
7119
+ attr_accessor :TotalCount, :Datas, :RequestId
7120
+
7121
+ def initialize(totalcount=nil, datas=nil, requestid=nil)
7122
+ @TotalCount = totalcount
7123
+ @Datas = datas
7124
+ @RequestId = requestid
7125
+ end
7126
+
7127
+ def deserialize(params)
7128
+ @TotalCount = params['TotalCount']
7129
+ unless params['Datas'].nil?
7130
+ @Datas = []
7131
+ params['Datas'].each do |i|
7132
+ metriccollectconfig_tmp = MetricCollectConfig.new
7133
+ metriccollectconfig_tmp.deserialize(i)
7134
+ @Datas << metriccollectconfig_tmp
7135
+ end
7136
+ end
7137
+ @RequestId = params['RequestId']
7138
+ end
7139
+ end
7140
+
5963
7141
  # DescribeConfigExtras请求参数结构体
5964
7142
  class DescribeConfigExtrasRequest < TencentCloud::Common::AbstractModel
5965
7143
  # @param Filters: 过滤器,支持如下选项:
@@ -6213,6 +7391,143 @@ module TencentCloud
6213
7391
  end
6214
7392
  end
6215
7393
 
7394
+ # DescribeConsumerGroups请求参数结构体
7395
+ class DescribeConsumerGroupsRequest < TencentCloud::Common::AbstractModel
7396
+ # @param LogsetId: 日志集Id(日志主题所属的日志集)
7397
+ # @type LogsetId: String
7398
+ # @param Topics: topic列表
7399
+ # @type Topics: Array
7400
+
7401
+ attr_accessor :LogsetId, :Topics
7402
+
7403
+ def initialize(logsetid=nil, topics=nil)
7404
+ @LogsetId = logsetid
7405
+ @Topics = topics
7406
+ end
7407
+
7408
+ def deserialize(params)
7409
+ @LogsetId = params['LogsetId']
7410
+ @Topics = params['Topics']
7411
+ end
7412
+ end
7413
+
7414
+ # DescribeConsumerGroups返回参数结构体
7415
+ class DescribeConsumerGroupsResponse < TencentCloud::Common::AbstractModel
7416
+ # @param ConsumerGroupsInfo: 消费组详情列表
7417
+ # @type ConsumerGroupsInfo: Array
7418
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7419
+ # @type RequestId: String
7420
+
7421
+ attr_accessor :ConsumerGroupsInfo, :RequestId
7422
+
7423
+ def initialize(consumergroupsinfo=nil, requestid=nil)
7424
+ @ConsumerGroupsInfo = consumergroupsinfo
7425
+ @RequestId = requestid
7426
+ end
7427
+
7428
+ def deserialize(params)
7429
+ unless params['ConsumerGroupsInfo'].nil?
7430
+ @ConsumerGroupsInfo = []
7431
+ params['ConsumerGroupsInfo'].each do |i|
7432
+ consumergroupinfo_tmp = ConsumerGroupInfo.new
7433
+ consumergroupinfo_tmp.deserialize(i)
7434
+ @ConsumerGroupsInfo << consumergroupinfo_tmp
7435
+ end
7436
+ end
7437
+ @RequestId = params['RequestId']
7438
+ end
7439
+ end
7440
+
7441
+ # DescribeConsumerOffsets请求参数结构体
7442
+ class DescribeConsumerOffsetsRequest < TencentCloud::Common::AbstractModel
7443
+ # @param ConsumerGroup: 日志主题对应的消费组标识
7444
+ # @type ConsumerGroup: String
7445
+ # @param From: 时间戳(秒级时间戳)
7446
+ # @type From: String
7447
+ # @param LogsetId: 日志集id(日志主题对应的id)
7448
+ # @type LogsetId: String
7449
+ # @param TopicId: 日志主题id
7450
+ # @type TopicId: String
7451
+ # @param PartitionId: 分区id
7452
+ # @type PartitionId: String
7453
+
7454
+ attr_accessor :ConsumerGroup, :From, :LogsetId, :TopicId, :PartitionId
7455
+
7456
+ def initialize(consumergroup=nil, from=nil, logsetid=nil, topicid=nil, partitionid=nil)
7457
+ @ConsumerGroup = consumergroup
7458
+ @From = from
7459
+ @LogsetId = logsetid
7460
+ @TopicId = topicid
7461
+ @PartitionId = partitionid
7462
+ end
7463
+
7464
+ def deserialize(params)
7465
+ @ConsumerGroup = params['ConsumerGroup']
7466
+ @From = params['From']
7467
+ @LogsetId = params['LogsetId']
7468
+ @TopicId = params['TopicId']
7469
+ @PartitionId = params['PartitionId']
7470
+ end
7471
+ end
7472
+
7473
+ # DescribeConsumerOffsets返回参数结构体
7474
+ class DescribeConsumerOffsetsResponse < TencentCloud::Common::AbstractModel
7475
+ # @param ConsumerGroup: 消费者组标识
7476
+ # @type ConsumerGroup: String
7477
+ # @param TopicPartitionOffsetsInfo: 消费点位信息
7478
+ # @type TopicPartitionOffsetsInfo: Array
7479
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7480
+ # @type RequestId: String
7481
+
7482
+ attr_accessor :ConsumerGroup, :TopicPartitionOffsetsInfo, :RequestId
7483
+
7484
+ def initialize(consumergroup=nil, topicpartitionoffsetsinfo=nil, requestid=nil)
7485
+ @ConsumerGroup = consumergroup
7486
+ @TopicPartitionOffsetsInfo = topicpartitionoffsetsinfo
7487
+ @RequestId = requestid
7488
+ end
7489
+
7490
+ def deserialize(params)
7491
+ @ConsumerGroup = params['ConsumerGroup']
7492
+ unless params['TopicPartitionOffsetsInfo'].nil?
7493
+ @TopicPartitionOffsetsInfo = []
7494
+ params['TopicPartitionOffsetsInfo'].each do |i|
7495
+ topicpartitionoffsetinfo_tmp = TopicPartitionOffsetInfo.new
7496
+ topicpartitionoffsetinfo_tmp.deserialize(i)
7497
+ @TopicPartitionOffsetsInfo << topicpartitionoffsetinfo_tmp
7498
+ end
7499
+ end
7500
+ @RequestId = params['RequestId']
7501
+ end
7502
+ end
7503
+
7504
+ # DescribeConsumerPreview请求参数结构体
7505
+ class DescribeConsumerPreviewRequest < TencentCloud::Common::AbstractModel
7506
+
7507
+
7508
+ def initialize()
7509
+ end
7510
+
7511
+ def deserialize(params)
7512
+ end
7513
+ end
7514
+
7515
+ # DescribeConsumerPreview返回参数结构体
7516
+ class DescribeConsumerPreviewResponse < TencentCloud::Common::AbstractModel
7517
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7518
+ # @type RequestId: String
7519
+
7520
+ attr_accessor :RequestId
7521
+
7522
+ def initialize(requestid=nil)
7523
+ @RequestId = requestid
7524
+ end
7525
+
7526
+ def deserialize(params)
7527
+ @RequestId = params['RequestId']
7528
+ end
7529
+ end
7530
+
6216
7531
  # DescribeConsumer请求参数结构体
6217
7532
  class DescribeConsumerRequest < TencentCloud::Common::AbstractModel
6218
7533
  # @param TopicId: 投递任务绑定的日志主题Id。
@@ -6274,6 +7589,85 @@ module TencentCloud
6274
7589
  end
6275
7590
  end
6276
7591
 
7592
+ # DescribeConsumers请求参数结构体
7593
+ class DescribeConsumersRequest < TencentCloud::Common::AbstractModel
7594
+ # @param Filters: - consumerId
7595
+ # 按照【投递规则ID】进行过滤。
7596
+ # 类型:String
7597
+ # 必选:否
7598
+
7599
+ # - topicId
7600
+ # 按照【日志主题】进行过滤。
7601
+ # 类型:String
7602
+ # 必选:否
7603
+
7604
+ # - taskStatus
7605
+ # 按照【任务运行状态】进行过滤。 支持`0`:停止,`1`:运行中,`2`:异常
7606
+ # 类型:String
7607
+ # 必选:否
7608
+
7609
+
7610
+ # 每次请求的Filters的上限为10,Filter.Values的上限为10。
7611
+ # @type Filters: Array
7612
+ # @param Offset: 分页的偏移量,默认值为0
7613
+ # @type Offset: Integer
7614
+ # @param Limit: 分页单页的限制数目,默认值为20,最大值100
7615
+ # @type Limit: Integer
7616
+
7617
+ attr_accessor :Filters, :Offset, :Limit
7618
+
7619
+ def initialize(filters=nil, offset=nil, limit=nil)
7620
+ @Filters = filters
7621
+ @Offset = offset
7622
+ @Limit = limit
7623
+ end
7624
+
7625
+ def deserialize(params)
7626
+ unless params['Filters'].nil?
7627
+ @Filters = []
7628
+ params['Filters'].each do |i|
7629
+ filter_tmp = Filter.new
7630
+ filter_tmp.deserialize(i)
7631
+ @Filters << filter_tmp
7632
+ end
7633
+ end
7634
+ @Offset = params['Offset']
7635
+ @Limit = params['Limit']
7636
+ end
7637
+ end
7638
+
7639
+ # DescribeConsumers返回参数结构体
7640
+ class DescribeConsumersResponse < TencentCloud::Common::AbstractModel
7641
+ # @param Consumers: 投递规则列表
7642
+ # 注意:此字段可能返回 null,表示取不到有效值。
7643
+ # @type Consumers: Array
7644
+ # @param TotalCount: 本次查询获取到的总数
7645
+ # @type TotalCount: Integer
7646
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7647
+ # @type RequestId: String
7648
+
7649
+ attr_accessor :Consumers, :TotalCount, :RequestId
7650
+
7651
+ def initialize(consumers=nil, totalcount=nil, requestid=nil)
7652
+ @Consumers = consumers
7653
+ @TotalCount = totalcount
7654
+ @RequestId = requestid
7655
+ end
7656
+
7657
+ def deserialize(params)
7658
+ unless params['Consumers'].nil?
7659
+ @Consumers = []
7660
+ params['Consumers'].each do |i|
7661
+ consumerinfo_tmp = ConsumerInfo.new
7662
+ consumerinfo_tmp.deserialize(i)
7663
+ @Consumers << consumerinfo_tmp
7664
+ end
7665
+ end
7666
+ @TotalCount = params['TotalCount']
7667
+ @RequestId = params['RequestId']
7668
+ end
7669
+ end
7670
+
6277
7671
  # DescribeCosRecharges请求参数结构体
6278
7672
  class DescribeCosRechargesRequest < TencentCloud::Common::AbstractModel
6279
7673
  # @param TopicId: 日志主题Id。
@@ -6722,15 +8116,157 @@ module TencentCloud
6722
8116
  end
6723
8117
  end
6724
8118
 
6725
- # DescribeExports请求参数结构体
6726
- class DescribeExportsRequest < TencentCloud::Common::AbstractModel
6727
- # @param TopicId: 日志主题Id
6728
- # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
8119
+ # DescribeEsRechargePreview请求参数结构体
8120
+ class DescribeEsRechargePreviewRequest < TencentCloud::Common::AbstractModel
8121
+ # @param Name: 名称:长度不超过64字符。
8122
+ # @type Name: String
8123
+ # @param TopicId: 日志主题id。
8124
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
8125
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
6729
8126
  # @type TopicId: String
6730
- # @param Offset: 分页的偏移量,默认值为0
6731
- # @type Offset: Integer
6732
- # @param Limit: 分页单页限制数目,默认值为20,最大值100
6733
- # @type Limit: Integer
8127
+ # @param Index: 索引信息。不同索引可以通过英文逗号分隔,支持*通配符
8128
+ # @type Index: String
8129
+ # @param Query: es查询语句。
8130
+ # @type Query: String
8131
+ # @param EsInfo: es集群配置信息。
8132
+ # @type EsInfo: :class:`Tencentcloud::Cls.v20201016.models.EsInfo`
8133
+ # @param ImportInfo: es导入信息。
8134
+ # @type ImportInfo: :class:`Tencentcloud::Cls.v20201016.models.EsImportInfo`
8135
+ # @param TimeInfo: es导入时间字段信息。
8136
+ # @type TimeInfo: :class:`Tencentcloud::Cls.v20201016.models.EsTimeInfo`
8137
+
8138
+ attr_accessor :Name, :TopicId, :Index, :Query, :EsInfo, :ImportInfo, :TimeInfo
8139
+
8140
+ def initialize(name=nil, topicid=nil, index=nil, query=nil, esinfo=nil, importinfo=nil, timeinfo=nil)
8141
+ @Name = name
8142
+ @TopicId = topicid
8143
+ @Index = index
8144
+ @Query = query
8145
+ @EsInfo = esinfo
8146
+ @ImportInfo = importinfo
8147
+ @TimeInfo = timeinfo
8148
+ end
8149
+
8150
+ def deserialize(params)
8151
+ @Name = params['Name']
8152
+ @TopicId = params['TopicId']
8153
+ @Index = params['Index']
8154
+ @Query = params['Query']
8155
+ unless params['EsInfo'].nil?
8156
+ @EsInfo = EsInfo.new
8157
+ @EsInfo.deserialize(params['EsInfo'])
8158
+ end
8159
+ unless params['ImportInfo'].nil?
8160
+ @ImportInfo = EsImportInfo.new
8161
+ @ImportInfo.deserialize(params['ImportInfo'])
8162
+ end
8163
+ unless params['TimeInfo'].nil?
8164
+ @TimeInfo = EsTimeInfo.new
8165
+ @TimeInfo.deserialize(params['TimeInfo'])
8166
+ end
8167
+ end
8168
+ end
8169
+
8170
+ # DescribeEsRechargePreview返回参数结构体
8171
+ class DescribeEsRechargePreviewResponse < TencentCloud::Common::AbstractModel
8172
+ # @param Data: 预览数据信息
8173
+ # @type Data: Array
8174
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8175
+ # @type RequestId: String
8176
+
8177
+ attr_accessor :Data, :RequestId
8178
+
8179
+ def initialize(data=nil, requestid=nil)
8180
+ @Data = data
8181
+ @RequestId = requestid
8182
+ end
8183
+
8184
+ def deserialize(params)
8185
+ @Data = params['Data']
8186
+ @RequestId = params['RequestId']
8187
+ end
8188
+ end
8189
+
8190
+ # DescribeEsRecharges请求参数结构体
8191
+ class DescribeEsRechargesRequest < TencentCloud::Common::AbstractModel
8192
+ # @param TopicId: 日志主题id。
8193
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
8194
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
8195
+ # @type TopicId: String
8196
+ # @param Filters: - taskId按照【配置id】进行过滤。类型:String 必选:否
8197
+ # - name按照【配置名称】进行过滤。类型:String 必选:否
8198
+ # - statusFlag按照【配置状态标记】进行过滤。类型:String 必选:否
8199
+ # - 每次请求的Filters的上限为10,Filter.Values的上限为100。
8200
+ # @type Filters: Array
8201
+ # @param Offset: 分页的偏移量,默认值为0。
8202
+ # @type Offset: Integer
8203
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
8204
+ # @type Limit: Integer
8205
+
8206
+ attr_accessor :TopicId, :Filters, :Offset, :Limit
8207
+
8208
+ def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
8209
+ @TopicId = topicid
8210
+ @Filters = filters
8211
+ @Offset = offset
8212
+ @Limit = limit
8213
+ end
8214
+
8215
+ def deserialize(params)
8216
+ @TopicId = params['TopicId']
8217
+ unless params['Filters'].nil?
8218
+ @Filters = []
8219
+ params['Filters'].each do |i|
8220
+ filter_tmp = Filter.new
8221
+ filter_tmp.deserialize(i)
8222
+ @Filters << filter_tmp
8223
+ end
8224
+ end
8225
+ @Offset = params['Offset']
8226
+ @Limit = params['Limit']
8227
+ end
8228
+ end
8229
+
8230
+ # DescribeEsRecharges返回参数结构体
8231
+ class DescribeEsRechargesResponse < TencentCloud::Common::AbstractModel
8232
+ # @param TotalCount: 总数目
8233
+ # @type TotalCount: Integer
8234
+ # @param Infos: es导入配置信息
8235
+ # @type Infos: Array
8236
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8237
+ # @type RequestId: String
8238
+
8239
+ attr_accessor :TotalCount, :Infos, :RequestId
8240
+
8241
+ def initialize(totalcount=nil, infos=nil, requestid=nil)
8242
+ @TotalCount = totalcount
8243
+ @Infos = infos
8244
+ @RequestId = requestid
8245
+ end
8246
+
8247
+ def deserialize(params)
8248
+ @TotalCount = params['TotalCount']
8249
+ unless params['Infos'].nil?
8250
+ @Infos = []
8251
+ params['Infos'].each do |i|
8252
+ esrechargeinfo_tmp = EsRechargeInfo.new
8253
+ esrechargeinfo_tmp.deserialize(i)
8254
+ @Infos << esrechargeinfo_tmp
8255
+ end
8256
+ end
8257
+ @RequestId = params['RequestId']
8258
+ end
8259
+ end
8260
+
8261
+ # DescribeExports请求参数结构体
8262
+ class DescribeExportsRequest < TencentCloud::Common::AbstractModel
8263
+ # @param TopicId: 日志主题Id
8264
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
8265
+ # @type TopicId: String
8266
+ # @param Offset: 分页的偏移量,默认值为0
8267
+ # @type Offset: Integer
8268
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100
8269
+ # @type Limit: Integer
6734
8270
 
6735
8271
  attr_accessor :TopicId, :Offset, :Limit
6736
8272
 
@@ -6778,6 +8314,77 @@ module TencentCloud
6778
8314
  end
6779
8315
  end
6780
8316
 
8317
+ # DescribeHostMetricConfigs请求参数结构体
8318
+ class DescribeHostMetricConfigsRequest < TencentCloud::Common::AbstractModel
8319
+ # @param TopicId: 指标日志主题id。
8320
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
8321
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
8322
+ # @type TopicId: String
8323
+ # @param Filters: - configId按照【配置id】进行过滤。类型:String 必选:否
8324
+ # - name按照【配置名称】进行过滤。类型:String 必选:否
8325
+
8326
+ # 每次请求的Filters的上限为10,Filter.Values的上限为10。
8327
+ # @type Filters: Array
8328
+ # @param Offset: 分页的偏移量,默认值为0。
8329
+ # @type Offset: Integer
8330
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
8331
+ # @type Limit: Integer
8332
+
8333
+ attr_accessor :TopicId, :Filters, :Offset, :Limit
8334
+
8335
+ def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
8336
+ @TopicId = topicid
8337
+ @Filters = filters
8338
+ @Offset = offset
8339
+ @Limit = limit
8340
+ end
8341
+
8342
+ def deserialize(params)
8343
+ @TopicId = params['TopicId']
8344
+ unless params['Filters'].nil?
8345
+ @Filters = []
8346
+ params['Filters'].each do |i|
8347
+ filter_tmp = Filter.new
8348
+ filter_tmp.deserialize(i)
8349
+ @Filters << filter_tmp
8350
+ end
8351
+ end
8352
+ @Offset = params['Offset']
8353
+ @Limit = params['Limit']
8354
+ end
8355
+ end
8356
+
8357
+ # DescribeHostMetricConfigs返回参数结构体
8358
+ class DescribeHostMetricConfigsResponse < TencentCloud::Common::AbstractModel
8359
+ # @param TotalCount: 总数目
8360
+ # @type TotalCount: Integer
8361
+ # @param Infos: 指标订阅配置信息
8362
+ # @type Infos: Array
8363
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8364
+ # @type RequestId: String
8365
+
8366
+ attr_accessor :TotalCount, :Infos, :RequestId
8367
+
8368
+ def initialize(totalcount=nil, infos=nil, requestid=nil)
8369
+ @TotalCount = totalcount
8370
+ @Infos = infos
8371
+ @RequestId = requestid
8372
+ end
8373
+
8374
+ def deserialize(params)
8375
+ @TotalCount = params['TotalCount']
8376
+ unless params['Infos'].nil?
8377
+ @Infos = []
8378
+ params['Infos'].each do |i|
8379
+ hostmetricconfig_tmp = HostMetricConfig.new
8380
+ hostmetricconfig_tmp.deserialize(i)
8381
+ @Infos << hostmetricconfig_tmp
8382
+ end
8383
+ end
8384
+ @RequestId = params['RequestId']
8385
+ end
8386
+ end
8387
+
6781
8388
  # DescribeIndex请求参数结构体
6782
8389
  class DescribeIndexRequest < TencentCloud::Common::AbstractModel
6783
8390
  # @param TopicId: 日志主题Id。
@@ -6994,6 +8601,33 @@ module TencentCloud
6994
8601
  end
6995
8602
  end
6996
8603
 
8604
+ # DescribeKafkaConsumerPreview请求参数结构体
8605
+ class DescribeKafkaConsumerPreviewRequest < TencentCloud::Common::AbstractModel
8606
+
8607
+
8608
+ def initialize()
8609
+ end
8610
+
8611
+ def deserialize(params)
8612
+ end
8613
+ end
8614
+
8615
+ # DescribeKafkaConsumerPreview返回参数结构体
8616
+ class DescribeKafkaConsumerPreviewResponse < TencentCloud::Common::AbstractModel
8617
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8618
+ # @type RequestId: String
8619
+
8620
+ attr_accessor :RequestId
8621
+
8622
+ def initialize(requestid=nil)
8623
+ @RequestId = requestid
8624
+ end
8625
+
8626
+ def deserialize(params)
8627
+ @RequestId = params['RequestId']
8628
+ end
8629
+ end
8630
+
6997
8631
  # DescribeKafkaConsumer请求参数结构体
6998
8632
  class DescribeKafkaConsumerRequest < TencentCloud::Common::AbstractModel
6999
8633
  # @param FromTopicId: 日志主题Id。
@@ -7047,6 +8681,33 @@ module TencentCloud
7047
8681
  end
7048
8682
  end
7049
8683
 
8684
+ # DescribeKafkaConsumerTopics请求参数结构体
8685
+ class DescribeKafkaConsumerTopicsRequest < TencentCloud::Common::AbstractModel
8686
+
8687
+
8688
+ def initialize()
8689
+ end
8690
+
8691
+ def deserialize(params)
8692
+ end
8693
+ end
8694
+
8695
+ # DescribeKafkaConsumerTopics返回参数结构体
8696
+ class DescribeKafkaConsumerTopicsResponse < TencentCloud::Common::AbstractModel
8697
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8698
+ # @type RequestId: String
8699
+
8700
+ attr_accessor :RequestId
8701
+
8702
+ def initialize(requestid=nil)
8703
+ @RequestId = requestid
8704
+ end
8705
+
8706
+ def deserialize(params)
8707
+ @RequestId = params['RequestId']
8708
+ end
8709
+ end
8710
+
7050
8711
  # DescribeKafkaRecharges请求参数结构体
7051
8712
  class DescribeKafkaRechargesRequest < TencentCloud::Common::AbstractModel
7052
8713
  # @param TopicId: 日志主题Id。
@@ -7606,6 +9267,186 @@ module TencentCloud
7606
9267
  end
7607
9268
  end
7608
9269
 
9270
+ # DescribeMetricCorrectDimension请求参数结构体
9271
+ class DescribeMetricCorrectDimensionRequest < TencentCloud::Common::AbstractModel
9272
+
9273
+
9274
+ def initialize()
9275
+ end
9276
+
9277
+ def deserialize(params)
9278
+ end
9279
+ end
9280
+
9281
+ # DescribeMetricCorrectDimension返回参数结构体
9282
+ class DescribeMetricCorrectDimensionResponse < TencentCloud::Common::AbstractModel
9283
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9284
+ # @type RequestId: String
9285
+
9286
+ attr_accessor :RequestId
9287
+
9288
+ def initialize(requestid=nil)
9289
+ @RequestId = requestid
9290
+ end
9291
+
9292
+ def deserialize(params)
9293
+ @RequestId = params['RequestId']
9294
+ end
9295
+ end
9296
+
9297
+ # DescribeMetricSubscribePreview请求参数结构体
9298
+ class DescribeMetricSubscribePreviewRequest < TencentCloud::Common::AbstractModel
9299
+ # @param Namespace: 云产品命名空间。
9300
+ # @type Namespace: String
9301
+ # @param Metrics: 数据库配置信息。
9302
+ # @type Metrics: Array
9303
+ # @param InstanceInfo: 实例配置配置。
9304
+ # @type InstanceInfo: :class:`Tencentcloud::Cls.v20201016.models.InstanceConfig`
9305
+
9306
+ attr_accessor :Namespace, :Metrics, :InstanceInfo
9307
+
9308
+ def initialize(namespace=nil, metrics=nil, instanceinfo=nil)
9309
+ @Namespace = namespace
9310
+ @Metrics = metrics
9311
+ @InstanceInfo = instanceinfo
9312
+ end
9313
+
9314
+ def deserialize(params)
9315
+ @Namespace = params['Namespace']
9316
+ unless params['Metrics'].nil?
9317
+ @Metrics = []
9318
+ params['Metrics'].each do |i|
9319
+ metricconfig_tmp = MetricConfig.new
9320
+ metricconfig_tmp.deserialize(i)
9321
+ @Metrics << metricconfig_tmp
9322
+ end
9323
+ end
9324
+ unless params['InstanceInfo'].nil?
9325
+ @InstanceInfo = InstanceConfig.new
9326
+ @InstanceInfo.deserialize(params['InstanceInfo'])
9327
+ end
9328
+ end
9329
+ end
9330
+
9331
+ # DescribeMetricSubscribePreview返回参数结构体
9332
+ class DescribeMetricSubscribePreviewResponse < TencentCloud::Common::AbstractModel
9333
+ # @param TotalCount: 总数量
9334
+ # @type TotalCount: Integer
9335
+ # @param SuccessCount: 成功数量
9336
+ # @type SuccessCount: Integer
9337
+ # @param FailCount: 失败数量
9338
+ # @type FailCount: Integer
9339
+ # @param SuccessInstances: 成功实例数据
9340
+ # @type SuccessInstances: Array
9341
+ # @param FailInstances: 失败实例数据
9342
+ # @type FailInstances: Array
9343
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9344
+ # @type RequestId: String
9345
+
9346
+ attr_accessor :TotalCount, :SuccessCount, :FailCount, :SuccessInstances, :FailInstances, :RequestId
9347
+
9348
+ def initialize(totalcount=nil, successcount=nil, failcount=nil, successinstances=nil, failinstances=nil, requestid=nil)
9349
+ @TotalCount = totalcount
9350
+ @SuccessCount = successcount
9351
+ @FailCount = failcount
9352
+ @SuccessInstances = successinstances
9353
+ @FailInstances = failinstances
9354
+ @RequestId = requestid
9355
+ end
9356
+
9357
+ def deserialize(params)
9358
+ @TotalCount = params['TotalCount']
9359
+ @SuccessCount = params['SuccessCount']
9360
+ @FailCount = params['FailCount']
9361
+ unless params['SuccessInstances'].nil?
9362
+ @SuccessInstances = []
9363
+ params['SuccessInstances'].each do |i|
9364
+ instancedata_tmp = InstanceData.new
9365
+ instancedata_tmp.deserialize(i)
9366
+ @SuccessInstances << instancedata_tmp
9367
+ end
9368
+ end
9369
+ unless params['FailInstances'].nil?
9370
+ @FailInstances = []
9371
+ params['FailInstances'].each do |i|
9372
+ instancedata_tmp = InstanceData.new
9373
+ instancedata_tmp.deserialize(i)
9374
+ @FailInstances << instancedata_tmp
9375
+ end
9376
+ end
9377
+ @RequestId = params['RequestId']
9378
+ end
9379
+ end
9380
+
9381
+ # DescribeMetricSubscribes请求参数结构体
9382
+ class DescribeMetricSubscribesRequest < TencentCloud::Common::AbstractModel
9383
+ # @param TopicId: 日志主题id
9384
+ # @type TopicId: String
9385
+ # @param Filters: <br><li> taskId按照【配置id】进行过滤。类型:String 必选:否</li>
9386
+ # <br><li> name按照【配置名称】进行过滤。类型:String 必选:否</li>
9387
+ # <br><li> status按照【配置状态标记】进行过滤。类型:String 必选:否</li>
9388
+ # <br><li> 每次请求的Filters的上限为10,Filter.Values的上限为100。</li>
9389
+ # @type Filters: Array
9390
+ # @param Offset: 分页的偏移量,默认值为0。
9391
+ # @type Offset: Integer
9392
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
9393
+ # @type Limit: Integer
9394
+
9395
+ attr_accessor :TopicId, :Filters, :Offset, :Limit
9396
+
9397
+ def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
9398
+ @TopicId = topicid
9399
+ @Filters = filters
9400
+ @Offset = offset
9401
+ @Limit = limit
9402
+ end
9403
+
9404
+ def deserialize(params)
9405
+ @TopicId = params['TopicId']
9406
+ unless params['Filters'].nil?
9407
+ @Filters = []
9408
+ params['Filters'].each do |i|
9409
+ filter_tmp = Filter.new
9410
+ filter_tmp.deserialize(i)
9411
+ @Filters << filter_tmp
9412
+ end
9413
+ end
9414
+ @Offset = params['Offset']
9415
+ @Limit = params['Limit']
9416
+ end
9417
+ end
9418
+
9419
+ # DescribeMetricSubscribes返回参数结构体
9420
+ class DescribeMetricSubscribesResponse < TencentCloud::Common::AbstractModel
9421
+ # @param TotalCount: 总数目
9422
+ # @type TotalCount: Integer
9423
+ # @param Datas: 指标订阅配置信息
9424
+ # @type Datas: Array
9425
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9426
+ # @type RequestId: String
9427
+
9428
+ attr_accessor :TotalCount, :Datas, :RequestId
9429
+
9430
+ def initialize(totalcount=nil, datas=nil, requestid=nil)
9431
+ @TotalCount = totalcount
9432
+ @Datas = datas
9433
+ @RequestId = requestid
9434
+ end
9435
+
9436
+ def deserialize(params)
9437
+ @TotalCount = params['TotalCount']
9438
+ unless params['Datas'].nil?
9439
+ @Datas = []
9440
+ params['Datas'].each do |i|
9441
+ metricsubscribeinfo_tmp = MetricSubscribeInfo.new
9442
+ metricsubscribeinfo_tmp.deserialize(i)
9443
+ @Datas << metricsubscribeinfo_tmp
9444
+ end
9445
+ end
9446
+ @RequestId = params['RequestId']
9447
+ end
9448
+ end
9449
+
7609
9450
  # DescribeNoticeContents请求参数结构体
7610
9451
  class DescribeNoticeContentsRequest < TencentCloud::Common::AbstractModel
7611
9452
  # @param Filters: <li> name
@@ -7934,6 +9775,261 @@ module TencentCloud
7934
9775
  end
7935
9776
  end
7936
9777
 
9778
+ # DescribeSplunkDelivers请求参数结构体
9779
+ class DescribeSplunkDeliversRequest < TencentCloud::Common::AbstractModel
9780
+ # @param TopicId: 日志主题Id
9781
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
9782
+ # @type TopicId: String
9783
+ # @param Filters: - taskId 按照【任务id】进行过滤。 类型:String 必选:否
9784
+ # - name 按照【任务名称】进行过滤。 类型:String 必选:否
9785
+ # - statusFlag 按照【状态】进行过滤。 类型:String 必选:否
9786
+ # 每次请求的Filters的上限为10,Filter.Values的上限为10。
9787
+ # @type Filters: Array
9788
+ # @param Offset: 分页的偏移量,默认值为0。
9789
+ # @type Offset: Integer
9790
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
9791
+ # @type Limit: Integer
9792
+
9793
+ attr_accessor :TopicId, :Filters, :Offset, :Limit
9794
+
9795
+ def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
9796
+ @TopicId = topicid
9797
+ @Filters = filters
9798
+ @Offset = offset
9799
+ @Limit = limit
9800
+ end
9801
+
9802
+ def deserialize(params)
9803
+ @TopicId = params['TopicId']
9804
+ unless params['Filters'].nil?
9805
+ @Filters = []
9806
+ params['Filters'].each do |i|
9807
+ filter_tmp = Filter.new
9808
+ filter_tmp.deserialize(i)
9809
+ @Filters << filter_tmp
9810
+ end
9811
+ end
9812
+ @Offset = params['Offset']
9813
+ @Limit = params['Limit']
9814
+ end
9815
+ end
9816
+
9817
+ # DescribeSplunkDelivers返回参数结构体
9818
+ class DescribeSplunkDeliversResponse < TencentCloud::Common::AbstractModel
9819
+ # @param Infos: Splunk投递任务信息列表
9820
+ # @type Infos: Array
9821
+ # @param Total: 符合条件的任务总数。
9822
+ # @type Total: Integer
9823
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9824
+ # @type RequestId: String
9825
+
9826
+ attr_accessor :Infos, :Total, :RequestId
9827
+
9828
+ def initialize(infos=nil, total=nil, requestid=nil)
9829
+ @Infos = infos
9830
+ @Total = total
9831
+ @RequestId = requestid
9832
+ end
9833
+
9834
+ def deserialize(params)
9835
+ unless params['Infos'].nil?
9836
+ @Infos = []
9837
+ params['Infos'].each do |i|
9838
+ splunkdeliverinfo_tmp = SplunkDeliverInfo.new
9839
+ splunkdeliverinfo_tmp.deserialize(i)
9840
+ @Infos << splunkdeliverinfo_tmp
9841
+ end
9842
+ end
9843
+ @Total = params['Total']
9844
+ @RequestId = params['RequestId']
9845
+ end
9846
+ end
9847
+
9848
+ # DescribeSplunkPreview请求参数结构体
9849
+ class DescribeSplunkPreviewRequest < TencentCloud::Common::AbstractModel
9850
+ # @param TopicId: 日志主题id。
9851
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
9852
+ # @type TopicId: String
9853
+ # @param MetadataInfo: splunk投递任务-元信息
9854
+ # @type MetadataInfo: :class:`Tencentcloud::Cls.v20201016.models.MetadataInfo`
9855
+
9856
+ attr_accessor :TopicId, :MetadataInfo
9857
+
9858
+ def initialize(topicid=nil, metadatainfo=nil)
9859
+ @TopicId = topicid
9860
+ @MetadataInfo = metadatainfo
9861
+ end
9862
+
9863
+ def deserialize(params)
9864
+ @TopicId = params['TopicId']
9865
+ unless params['MetadataInfo'].nil?
9866
+ @MetadataInfo = MetadataInfo.new
9867
+ @MetadataInfo.deserialize(params['MetadataInfo'])
9868
+ end
9869
+ end
9870
+ end
9871
+
9872
+ # DescribeSplunkPreview返回参数结构体
9873
+ class DescribeSplunkPreviewResponse < TencentCloud::Common::AbstractModel
9874
+ # @param PreviewInfos: 预览结果
9875
+ # @type PreviewInfos: Array
9876
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9877
+ # @type RequestId: String
9878
+
9879
+ attr_accessor :PreviewInfos, :RequestId
9880
+
9881
+ def initialize(previewinfos=nil, requestid=nil)
9882
+ @PreviewInfos = previewinfos
9883
+ @RequestId = requestid
9884
+ end
9885
+
9886
+ def deserialize(params)
9887
+ @PreviewInfos = params['PreviewInfos']
9888
+ @RequestId = params['RequestId']
9889
+ end
9890
+ end
9891
+
9892
+ # DescribeTopicBaseMetricConfigs请求参数结构体
9893
+ class DescribeTopicBaseMetricConfigsRequest < TencentCloud::Common::AbstractModel
9894
+ # @param TopicId: 指标日志主题id。
9895
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
9896
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
9897
+ # @type TopicId: String
9898
+ # @param Filters: groupId按照【机器组id】进行过滤。类型:String 必选:否
9899
+ # 每次请求的Filters的上限为10,所有Filter.Values总和上限为100。
9900
+ # @type Filters: Array
9901
+ # @param Offset: 分页的偏移量,默认值为0。
9902
+ # @type Offset: Integer
9903
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
9904
+ # @type Limit: Integer
9905
+
9906
+ attr_accessor :TopicId, :Filters, :Offset, :Limit
9907
+
9908
+ def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
9909
+ @TopicId = topicid
9910
+ @Filters = filters
9911
+ @Offset = offset
9912
+ @Limit = limit
9913
+ end
9914
+
9915
+ def deserialize(params)
9916
+ @TopicId = params['TopicId']
9917
+ unless params['Filters'].nil?
9918
+ @Filters = []
9919
+ params['Filters'].each do |i|
9920
+ filter_tmp = Filter.new
9921
+ filter_tmp.deserialize(i)
9922
+ @Filters << filter_tmp
9923
+ end
9924
+ end
9925
+ @Offset = params['Offset']
9926
+ @Limit = params['Limit']
9927
+ end
9928
+ end
9929
+
9930
+ # DescribeTopicBaseMetricConfigs返回参数结构体
9931
+ class DescribeTopicBaseMetricConfigsResponse < TencentCloud::Common::AbstractModel
9932
+ # @param TotalCount: 总数目
9933
+ # @type TotalCount: Integer
9934
+ # @param Datas: 指标采集配置列表
9935
+ # 注意:此字段可能返回 null,表示取不到有效值。
9936
+ # @type Datas: Array
9937
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9938
+ # @type RequestId: String
9939
+
9940
+ attr_accessor :TotalCount, :Datas, :RequestId
9941
+
9942
+ def initialize(totalcount=nil, datas=nil, requestid=nil)
9943
+ @TotalCount = totalcount
9944
+ @Datas = datas
9945
+ @RequestId = requestid
9946
+ end
9947
+
9948
+ def deserialize(params)
9949
+ @TotalCount = params['TotalCount']
9950
+ unless params['Datas'].nil?
9951
+ @Datas = []
9952
+ params['Datas'].each do |i|
9953
+ basemetriccollectconfig_tmp = BaseMetricCollectConfig.new
9954
+ basemetriccollectconfig_tmp.deserialize(i)
9955
+ @Datas << basemetriccollectconfig_tmp
9956
+ end
9957
+ end
9958
+ @RequestId = params['RequestId']
9959
+ end
9960
+ end
9961
+
9962
+ # DescribeTopicMetricConfigs请求参数结构体
9963
+ class DescribeTopicMetricConfigsRequest < TencentCloud::Common::AbstractModel
9964
+ # @param TopicId: 指标日志主题id。
9965
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
9966
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
9967
+ # @type TopicId: String
9968
+ # @param Filters: configId按照【指标采集配置id】进行过滤。类型:String 必选:否
9969
+ # name按照【配置名称】进行过滤。类型:String 必选:否
9970
+ # 每次请求的Filters的上限为10,所有Filter.Values总和上限为100。
9971
+ # @type Filters: Array
9972
+ # @param Offset: 分页的偏移量,默认值为0。
9973
+ # @type Offset: Integer
9974
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
9975
+ # @type Limit: Integer
9976
+
9977
+ attr_accessor :TopicId, :Filters, :Offset, :Limit
9978
+
9979
+ def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
9980
+ @TopicId = topicid
9981
+ @Filters = filters
9982
+ @Offset = offset
9983
+ @Limit = limit
9984
+ end
9985
+
9986
+ def deserialize(params)
9987
+ @TopicId = params['TopicId']
9988
+ unless params['Filters'].nil?
9989
+ @Filters = []
9990
+ params['Filters'].each do |i|
9991
+ filter_tmp = Filter.new
9992
+ filter_tmp.deserialize(i)
9993
+ @Filters << filter_tmp
9994
+ end
9995
+ end
9996
+ @Offset = params['Offset']
9997
+ @Limit = params['Limit']
9998
+ end
9999
+ end
10000
+
10001
+ # DescribeTopicMetricConfigs返回参数结构体
10002
+ class DescribeTopicMetricConfigsResponse < TencentCloud::Common::AbstractModel
10003
+ # @param TotalCount: 总数目
10004
+ # @type TotalCount: Integer
10005
+ # @param Datas: 指标采集配置列表
10006
+ # 注意:此字段可能返回 null,表示取不到有效值。
10007
+ # @type Datas: Array
10008
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10009
+ # @type RequestId: String
10010
+
10011
+ attr_accessor :TotalCount, :Datas, :RequestId
10012
+
10013
+ def initialize(totalcount=nil, datas=nil, requestid=nil)
10014
+ @TotalCount = totalcount
10015
+ @Datas = datas
10016
+ @RequestId = requestid
10017
+ end
10018
+
10019
+ def deserialize(params)
10020
+ @TotalCount = params['TotalCount']
10021
+ unless params['Datas'].nil?
10022
+ @Datas = []
10023
+ params['Datas'].each do |i|
10024
+ metriccollectconfig_tmp = MetricCollectConfig.new
10025
+ metriccollectconfig_tmp.deserialize(i)
10026
+ @Datas << metriccollectconfig_tmp
10027
+ end
10028
+ end
10029
+ @RequestId = params['RequestId']
10030
+ end
10031
+ end
10032
+
7937
10033
  # DescribeTopics请求参数结构体
7938
10034
  class DescribeTopicsRequest < TencentCloud::Common::AbstractModel
7939
10035
  # @param Filters: <ul><li>topicName 按照【主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
@@ -8094,6 +10190,28 @@ module TencentCloud
8094
10190
  end
8095
10191
  end
8096
10192
 
10193
+ # 云产品实例维度信息
10194
+ class Dimension < TencentCloud::Common::AbstractModel
10195
+ # @param Name: 实例维度名称,此字段可能返回 null,表示取不到有效值。
10196
+ # 注意:此字段可能返回 null,表示取不到有效值。
10197
+ # @type Name: String
10198
+ # @param Value: 实例维度值,此字段可能返回 null,表示取不到有效值。
10199
+ # 注意:此字段可能返回 null,表示取不到有效值。
10200
+ # @type Value: String
10201
+
10202
+ attr_accessor :Name, :Value
10203
+
10204
+ def initialize(name=nil, value=nil)
10205
+ @Name = name
10206
+ @Value = value
10207
+ end
10208
+
10209
+ def deserialize(params)
10210
+ @Name = params['Name']
10211
+ @Value = params['Value']
10212
+ end
10213
+ end
10214
+
8097
10215
  # 投递DLC任务配置信息
8098
10216
  class DlcDeliverInfo < TencentCloud::Common::AbstractModel
8099
10217
  # @param TaskId: 任务id。
@@ -8357,6 +10475,214 @@ module TencentCloud
8357
10475
  end
8358
10476
  end
8359
10477
 
10478
+ # Es导入信息
10479
+ class EsImportInfo < TencentCloud::Common::AbstractModel
10480
+ # @param Type: 导入模式。
10481
+ # 1. 导入历史数据
10482
+ # 2. 导入实时数据
10483
+ # @type Type: Integer
10484
+ # @param StartTime: 开始时间。 单位:秒级时间戳。
10485
+ # @type StartTime: Integer
10486
+ # @param EndTime: 结束时间。 单位:秒级时间戳。
10487
+ # @type EndTime: Integer
10488
+ # @param MaxDelay: 最大延迟时间。单位:s
10489
+
10490
+ # 导入模式为 2: 导入实时数据时必填
10491
+ # @type MaxDelay: Integer
10492
+ # @param CheckInterval: 检查间隔。单位:s
10493
+
10494
+ # 导入模式为 2: 导入实时数据时必填
10495
+ # @type CheckInterval: Integer
10496
+
10497
+ attr_accessor :Type, :StartTime, :EndTime, :MaxDelay, :CheckInterval
10498
+
10499
+ def initialize(type=nil, starttime=nil, endtime=nil, maxdelay=nil, checkinterval=nil)
10500
+ @Type = type
10501
+ @StartTime = starttime
10502
+ @EndTime = endtime
10503
+ @MaxDelay = maxdelay
10504
+ @CheckInterval = checkinterval
10505
+ end
10506
+
10507
+ def deserialize(params)
10508
+ @Type = params['Type']
10509
+ @StartTime = params['StartTime']
10510
+ @EndTime = params['EndTime']
10511
+ @MaxDelay = params['MaxDelay']
10512
+ @CheckInterval = params['CheckInterval']
10513
+ end
10514
+ end
10515
+
10516
+ # es集群配置信息
10517
+ class EsInfo < TencentCloud::Common::AbstractModel
10518
+ # @param EsType: es类型。 1:云es, 2:自建es
10519
+ # @type EsType: Integer
10520
+ # @param AccessMode: 访问方式 1:内网, 2:外网。自建es必填
10521
+ # @type AccessMode: Integer
10522
+ # @param InstanceId: 实例id。云es实例必填
10523
+ # @type InstanceId: String
10524
+ # @param User: 用户名。
10525
+ # @type User: String
10526
+ # @param Address: 访问地址。自建es必填
10527
+ # @type Address: String
10528
+ # @param Port: 访问端口。自建es必填
10529
+ # @type Port: Integer
10530
+ # @param VpcId: 所属网络。自建es且访问方式为内网访问时必填
10531
+ # @type VpcId: String
10532
+ # @param VirtualGatewayType: 网络服务类型。自建es且访问方式为内网访问时必填。
10533
+ # 负载均衡 CLB:1025 云服务器CVM:0
10534
+ # @type VirtualGatewayType: Integer
10535
+ # @param Password: 密码。
10536
+ # @type Password: String
10537
+
10538
+ attr_accessor :EsType, :AccessMode, :InstanceId, :User, :Address, :Port, :VpcId, :VirtualGatewayType, :Password
10539
+
10540
+ def initialize(estype=nil, accessmode=nil, instanceid=nil, user=nil, address=nil, port=nil, vpcid=nil, virtualgatewaytype=nil, password=nil)
10541
+ @EsType = estype
10542
+ @AccessMode = accessmode
10543
+ @InstanceId = instanceid
10544
+ @User = user
10545
+ @Address = address
10546
+ @Port = port
10547
+ @VpcId = vpcid
10548
+ @VirtualGatewayType = virtualgatewaytype
10549
+ @Password = password
10550
+ end
10551
+
10552
+ def deserialize(params)
10553
+ @EsType = params['EsType']
10554
+ @AccessMode = params['AccessMode']
10555
+ @InstanceId = params['InstanceId']
10556
+ @User = params['User']
10557
+ @Address = params['Address']
10558
+ @Port = params['Port']
10559
+ @VpcId = params['VpcId']
10560
+ @VirtualGatewayType = params['VirtualGatewayType']
10561
+ @Password = params['Password']
10562
+ end
10563
+ end
10564
+
10565
+ # es导入配置信息
10566
+ class EsRechargeInfo < TencentCloud::Common::AbstractModel
10567
+ # @param TaskId: 任务id。
10568
+ # @type TaskId: String
10569
+ # @param Uin: 主账号id。
10570
+ # @type Uin: Integer
10571
+ # @param TopicId: 日志主题id。
10572
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
10573
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
10574
+ # @type TopicId: String
10575
+ # @param Name: 配置名称。
10576
+ # @type Name: String
10577
+ # @param Index: es索引。
10578
+ # @type Index: String
10579
+ # @param Query: es查询语句。
10580
+ # @type Query: String
10581
+ # @param EsInfo: es集群信息。
10582
+ # @type EsInfo: :class:`Tencentcloud::Cls.v20201016.models.EsInfo`
10583
+ # @param ImportInfo: es导入信息。
10584
+ # @type ImportInfo: :class:`Tencentcloud::Cls.v20201016.models.EsImportInfo`
10585
+ # @param TimeInfo: es导入时间配置信息。
10586
+ # @type TimeInfo: :class:`Tencentcloud::Cls.v20201016.models.EsTimeInfo`
10587
+ # @param Status: 任务状态。
10588
+ # 1. 运行中
10589
+ # 2. 暂停
10590
+ # 3. 完成
10591
+ # 4. 异常
10592
+ # @type Status: Integer
10593
+ # @param Progress: 任务进度 0~100 百分比。100:表示完成。
10594
+ # @type Progress: Integer
10595
+ # @param SubUin: 子账号id。
10596
+ # @type SubUin: Integer
10597
+ # @param CreateTime: 创建时间。
10598
+ # @type CreateTime: Integer
10599
+ # @param UpdateTime: 修改时间。
10600
+ # @type UpdateTime: Integer
10601
+ # @param HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
10602
+ # @type HasServicesLog: Integer
10603
+
10604
+ attr_accessor :TaskId, :Uin, :TopicId, :Name, :Index, :Query, :EsInfo, :ImportInfo, :TimeInfo, :Status, :Progress, :SubUin, :CreateTime, :UpdateTime, :HasServicesLog
10605
+
10606
+ def initialize(taskid=nil, uin=nil, topicid=nil, name=nil, index=nil, query=nil, esinfo=nil, importinfo=nil, timeinfo=nil, status=nil, progress=nil, subuin=nil, createtime=nil, updatetime=nil, hasserviceslog=nil)
10607
+ @TaskId = taskid
10608
+ @Uin = uin
10609
+ @TopicId = topicid
10610
+ @Name = name
10611
+ @Index = index
10612
+ @Query = query
10613
+ @EsInfo = esinfo
10614
+ @ImportInfo = importinfo
10615
+ @TimeInfo = timeinfo
10616
+ @Status = status
10617
+ @Progress = progress
10618
+ @SubUin = subuin
10619
+ @CreateTime = createtime
10620
+ @UpdateTime = updatetime
10621
+ @HasServicesLog = hasserviceslog
10622
+ end
10623
+
10624
+ def deserialize(params)
10625
+ @TaskId = params['TaskId']
10626
+ @Uin = params['Uin']
10627
+ @TopicId = params['TopicId']
10628
+ @Name = params['Name']
10629
+ @Index = params['Index']
10630
+ @Query = params['Query']
10631
+ unless params['EsInfo'].nil?
10632
+ @EsInfo = EsInfo.new
10633
+ @EsInfo.deserialize(params['EsInfo'])
10634
+ end
10635
+ unless params['ImportInfo'].nil?
10636
+ @ImportInfo = EsImportInfo.new
10637
+ @ImportInfo.deserialize(params['ImportInfo'])
10638
+ end
10639
+ unless params['TimeInfo'].nil?
10640
+ @TimeInfo = EsTimeInfo.new
10641
+ @TimeInfo.deserialize(params['TimeInfo'])
10642
+ end
10643
+ @Status = params['Status']
10644
+ @Progress = params['Progress']
10645
+ @SubUin = params['SubUin']
10646
+ @CreateTime = params['CreateTime']
10647
+ @UpdateTime = params['UpdateTime']
10648
+ @HasServicesLog = params['HasServicesLog']
10649
+ end
10650
+ end
10651
+
10652
+ # Es导入时间字段信息
10653
+ class EsTimeInfo < TencentCloud::Common::AbstractModel
10654
+ # @param Type: 时间类型 1: 日志采集时间 2: 指定日志字段
10655
+ # @type Type: Integer
10656
+ # @param TimeKey: 日志时间字段。
10657
+
10658
+ # 时间类型为 2: 指定日志字段时必填
10659
+ # @type TimeKey: String
10660
+ # @param TimeFormat: 日志时间格式。
10661
+
10662
+ # 时间类型为 2: 指定日志字段时必填
10663
+ # @type TimeFormat: String
10664
+ # @param TimeZone: 时间字段时区。
10665
+
10666
+ # 时间类型为 2: 指定日志字段时必填
10667
+ # @type TimeZone: String
10668
+
10669
+ attr_accessor :Type, :TimeKey, :TimeFormat, :TimeZone
10670
+
10671
+ def initialize(type=nil, timekey=nil, timeformat=nil, timezone=nil)
10672
+ @Type = type
10673
+ @TimeKey = timekey
10674
+ @TimeFormat = timeformat
10675
+ @TimeZone = timezone
10676
+ end
10677
+
10678
+ def deserialize(params)
10679
+ @Type = params['Type']
10680
+ @TimeKey = params['TimeKey']
10681
+ @TimeFormat = params['TimeFormat']
10682
+ @TimeZone = params['TimeZone']
10683
+ end
10684
+ end
10685
+
8360
10686
  # 升级通知
8361
10687
  class EscalateNoticeInfo < TencentCloud::Common::AbstractModel
8362
10688
  # @param NoticeReceivers: 告警通知模板接收者信息。
@@ -8931,6 +11257,37 @@ module TencentCloud
8931
11257
  end
8932
11258
  end
8933
11259
 
11260
+ # GetMetricLabelValues请求参数结构体
11261
+ class GetMetricLabelValuesRequest < TencentCloud::Common::AbstractModel
11262
+
11263
+
11264
+ def initialize()
11265
+ end
11266
+
11267
+ def deserialize(params)
11268
+ end
11269
+ end
11270
+
11271
+ # GetMetricLabelValues返回参数结构体
11272
+ class GetMetricLabelValuesResponse < TencentCloud::Common::AbstractModel
11273
+ # @param Values: 时序metric label values
11274
+ # @type Values: Array
11275
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11276
+ # @type RequestId: String
11277
+
11278
+ attr_accessor :Values, :RequestId
11279
+
11280
+ def initialize(values=nil, requestid=nil)
11281
+ @Values = values
11282
+ @RequestId = requestid
11283
+ end
11284
+
11285
+ def deserialize(params)
11286
+ @Values = params['Values']
11287
+ @RequestId = params['RequestId']
11288
+ end
11289
+ end
11290
+
8934
11291
  # kafka协议消费组区分信息
8935
11292
  class GroupPartitionInfo < TencentCloud::Common::AbstractModel
8936
11293
  # @param PartitionId: 分区id
@@ -8970,73 +11327,239 @@ module TencentCloud
8970
11327
  end
8971
11328
 
8972
11329
  def deserialize(params)
8973
- @Key = params['Key']
8974
- @Value = params['Value']
11330
+ @Key = params['Key']
11331
+ @Value = params['Value']
11332
+ end
11333
+ end
11334
+
11335
+ # 符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
11336
+ class HighLightItem < TencentCloud::Common::AbstractModel
11337
+ # @param Key: 高亮的日志字段名称
11338
+ # @type Key: String
11339
+ # @param Values: 高亮的关键词
11340
+ # @type Values: Array
11341
+
11342
+ attr_accessor :Key, :Values
11343
+
11344
+ def initialize(key=nil, values=nil)
11345
+ @Key = key
11346
+ @Values = values
11347
+ end
11348
+
11349
+ def deserialize(params)
11350
+ @Key = params['Key']
11351
+ @Values = params['Values']
11352
+ end
11353
+ end
11354
+
11355
+ # 直方图详细信息
11356
+ class HistogramInfo < TencentCloud::Common::AbstractModel
11357
+ # @param Count: 统计周期内的日志条数
11358
+ # @type Count: Integer
11359
+ # @param BTime: 按 period 取整后的 unix timestamp: 单位毫秒
11360
+ # @type BTime: Integer
11361
+
11362
+ attr_accessor :Count, :BTime
11363
+
11364
+ def initialize(count=nil, btime=nil)
11365
+ @Count = count
11366
+ @BTime = btime
11367
+ end
11368
+
11369
+ def deserialize(params)
11370
+ @Count = params['Count']
11371
+ @BTime = params['BTime']
11372
+ end
11373
+ end
11374
+
11375
+ # 自建k8s-节点文件配置信息
11376
+ class HostFileInfo < TencentCloud::Common::AbstractModel
11377
+ # @param LogPath: 日志文件夹
11378
+ # @type LogPath: String
11379
+ # @param FilePattern: 日志文件名
11380
+ # @type FilePattern: String
11381
+ # @param CustomLabels: metadata信息
11382
+ # 注意:此字段可能返回 null,表示取不到有效值。
11383
+ # @type CustomLabels: Array
11384
+
11385
+ attr_accessor :LogPath, :FilePattern, :CustomLabels
11386
+
11387
+ def initialize(logpath=nil, filepattern=nil, customlabels=nil)
11388
+ @LogPath = logpath
11389
+ @FilePattern = filepattern
11390
+ @CustomLabels = customlabels
11391
+ end
11392
+
11393
+ def deserialize(params)
11394
+ @LogPath = params['LogPath']
11395
+ @FilePattern = params['FilePattern']
11396
+ @CustomLabels = params['CustomLabels']
11397
+ end
11398
+ end
11399
+
11400
+ # 主机指标采集配置
11401
+ class HostMetricConfig < TencentCloud::Common::AbstractModel
11402
+ # @param ConfigId: 采集配置 id
11403
+ # @type ConfigId: String
11404
+ # @param Name: 采集配置名称
11405
+ # @type Name: String
11406
+ # @param Interval: 采集频率,单位ms
11407
+ # @type Interval: Integer
11408
+ # @param HostMetricItems: 采集项.
11409
+ # @type HostMetricItems: Array
11410
+ # @param MachineGroupIds: 机器组 id 列表
11411
+ # @type MachineGroupIds: Array
11412
+ # @param CreateTime: 创建时间
11413
+ # @type CreateTime: Integer
11414
+ # @param UpdateTime: 修改时间
11415
+ # @type UpdateTime: Integer
11416
+
11417
+ attr_accessor :ConfigId, :Name, :Interval, :HostMetricItems, :MachineGroupIds, :CreateTime, :UpdateTime
11418
+
11419
+ def initialize(configid=nil, name=nil, interval=nil, hostmetricitems=nil, machinegroupids=nil, createtime=nil, updatetime=nil)
11420
+ @ConfigId = configid
11421
+ @Name = name
11422
+ @Interval = interval
11423
+ @HostMetricItems = hostmetricitems
11424
+ @MachineGroupIds = machinegroupids
11425
+ @CreateTime = createtime
11426
+ @UpdateTime = updatetime
11427
+ end
11428
+
11429
+ def deserialize(params)
11430
+ @ConfigId = params['ConfigId']
11431
+ @Name = params['Name']
11432
+ @Interval = params['Interval']
11433
+ unless params['HostMetricItems'].nil?
11434
+ @HostMetricItems = []
11435
+ params['HostMetricItems'].each do |i|
11436
+ hostmetricitem_tmp = HostMetricItem.new
11437
+ hostmetricitem_tmp.deserialize(i)
11438
+ @HostMetricItems << hostmetricitem_tmp
11439
+ end
11440
+ end
11441
+ @MachineGroupIds = params['MachineGroupIds']
11442
+ @CreateTime = params['CreateTime']
11443
+ @UpdateTime = params['UpdateTime']
11444
+ end
11445
+ end
11446
+
11447
+ # 主机指标采集项
11448
+ class HostMetricItem < TencentCloud::Common::AbstractModel
11449
+ # @param Type: 主机指标采集项类型。支持"cpu","mem","net","disk","system"。
11450
+
11451
+ # - cpu:CPU
11452
+ # - mem:内存
11453
+ # - net:网络
11454
+ # - disk:磁盘
11455
+ # - system:系统
11456
+ # @type Type: String
11457
+
11458
+ attr_accessor :Type
11459
+
11460
+ def initialize(type=nil)
11461
+ @Type = type
11462
+ end
11463
+
11464
+ def deserialize(params)
11465
+ @Type = params['Type']
8975
11466
  end
8976
11467
  end
8977
11468
 
8978
- # 符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
8979
- class HighLightItem < TencentCloud::Common::AbstractModel
8980
- # @param Key: 高亮的日志字段名称
8981
- # @type Key: String
8982
- # @param Values: 高亮的关键词
11469
+ # 实例信息
11470
+ class Instance < TencentCloud::Common::AbstractModel
11471
+ # @param Values: 实例信息
8983
11472
  # @type Values: Array
8984
11473
 
8985
- attr_accessor :Key, :Values
11474
+ attr_accessor :Values
8986
11475
 
8987
- def initialize(key=nil, values=nil)
8988
- @Key = key
11476
+ def initialize(values=nil)
8989
11477
  @Values = values
8990
11478
  end
8991
11479
 
8992
11480
  def deserialize(params)
8993
- @Key = params['Key']
8994
11481
  @Values = params['Values']
8995
11482
  end
8996
11483
  end
8997
11484
 
8998
- # 直方图详细信息
8999
- class HistogramInfo < TencentCloud::Common::AbstractModel
9000
- # @param Count: 统计周期内的日志条数
9001
- # @type Count: Integer
9002
- # @param BTime: 按 period 取整后的 unix timestamp: 单位毫秒
9003
- # @type BTime: Integer
11485
+ # 实例配置信息
11486
+ class InstanceConfig < TencentCloud::Common::AbstractModel
11487
+ # @param InstanceDimension: 实例维度
11488
+ # @type InstanceDimension: Array
11489
+ # @param Instances: 实例值
11490
+ # @type Instances: Array
9004
11491
 
9005
- attr_accessor :Count, :BTime
11492
+ attr_accessor :InstanceDimension, :Instances
9006
11493
 
9007
- def initialize(count=nil, btime=nil)
9008
- @Count = count
9009
- @BTime = btime
11494
+ def initialize(instancedimension=nil, instances=nil)
11495
+ @InstanceDimension = instancedimension
11496
+ @Instances = instances
9010
11497
  end
9011
11498
 
9012
11499
  def deserialize(params)
9013
- @Count = params['Count']
9014
- @BTime = params['BTime']
11500
+ @InstanceDimension = params['InstanceDimension']
11501
+ unless params['Instances'].nil?
11502
+ @Instances = []
11503
+ params['Instances'].each do |i|
11504
+ instance_tmp = Instance.new
11505
+ instance_tmp.deserialize(i)
11506
+ @Instances << instance_tmp
11507
+ end
11508
+ end
9015
11509
  end
9016
11510
  end
9017
11511
 
9018
- # 自建k8s-节点文件配置信息
9019
- class HostFileInfo < TencentCloud::Common::AbstractModel
9020
- # @param LogPath: 日志文件夹
9021
- # @type LogPath: String
9022
- # @param FilePattern: 日志文件名
9023
- # @type FilePattern: String
9024
- # @param CustomLabels: metadata信息
11512
+ # 云产品指标订阅预览结果实例信息
11513
+ class InstanceData < TencentCloud::Common::AbstractModel
11514
+ # @param MetricName: 云监控指标名称
9025
11515
  # 注意:此字段可能返回 null,表示取不到有效值。
9026
- # @type CustomLabels: Array
11516
+ # @type MetricName: String
11517
+ # @param CLSMetricName: CLS指标名称
11518
+ # 注意:此字段可能返回 null,表示取不到有效值。
11519
+ # @type CLSMetricName: String
11520
+ # @param Namespace: 云产品命名空间
11521
+ # 注意:此字段可能返回 null,表示取不到有效值。
11522
+ # @type Namespace: String
11523
+ # @param Dimensions: 实例信息
11524
+ # 注意:此字段可能返回 null,表示取不到有效值。
11525
+ # @type Dimensions: Array
11526
+ # @param Period: 周期,单位:秒
11527
+ # 注意:此字段可能返回 null,表示取不到有效值。
11528
+ # @type Period: Integer
11529
+ # @param Value: 指标统计值
11530
+ # 注意:此字段可能返回 null,表示取不到有效值。
11531
+ # @type Value: Float
11532
+ # @param ErrMsg: 错误信息
11533
+ # 注意:此字段可能返回 null,表示取不到有效值。
11534
+ # @type ErrMsg: String
9027
11535
 
9028
- attr_accessor :LogPath, :FilePattern, :CustomLabels
11536
+ attr_accessor :MetricName, :CLSMetricName, :Namespace, :Dimensions, :Period, :Value, :ErrMsg
9029
11537
 
9030
- def initialize(logpath=nil, filepattern=nil, customlabels=nil)
9031
- @LogPath = logpath
9032
- @FilePattern = filepattern
9033
- @CustomLabels = customlabels
11538
+ def initialize(metricname=nil, clsmetricname=nil, namespace=nil, dimensions=nil, period=nil, value=nil, errmsg=nil)
11539
+ @MetricName = metricname
11540
+ @CLSMetricName = clsmetricname
11541
+ @Namespace = namespace
11542
+ @Dimensions = dimensions
11543
+ @Period = period
11544
+ @Value = value
11545
+ @ErrMsg = errmsg
9034
11546
  end
9035
11547
 
9036
11548
  def deserialize(params)
9037
- @LogPath = params['LogPath']
9038
- @FilePattern = params['FilePattern']
9039
- @CustomLabels = params['CustomLabels']
11549
+ @MetricName = params['MetricName']
11550
+ @CLSMetricName = params['CLSMetricName']
11551
+ @Namespace = params['Namespace']
11552
+ unless params['Dimensions'].nil?
11553
+ @Dimensions = []
11554
+ params['Dimensions'].each do |i|
11555
+ dimension_tmp = Dimension.new
11556
+ dimension_tmp.deserialize(i)
11557
+ @Dimensions << dimension_tmp
11558
+ end
11559
+ end
11560
+ @Period = params['Period']
11561
+ @Value = params['Value']
11562
+ @ErrMsg = params['ErrMsg']
9040
11563
  end
9041
11564
  end
9042
11565
 
@@ -9301,6 +11824,40 @@ module TencentCloud
9301
11824
  end
9302
11825
  end
9303
11826
 
11827
+ # 标签结构体
11828
+ class Label < TencentCloud::Common::AbstractModel
11829
+ # @param Key: 标签的键。有效标签键有两个部分:可选前缀和名称,以斜杠 (/) 分隔。名称部分是必需的,并且必须不超过 63 个字符,以字母数字字符 ([a-z0-9A-Z]) 开头和结尾,中间有破折号(-)、下划线(_)、点(.) 和字母数字。前缀是可选的。如果指定,前缀必须是 DNS 子域:一系列以点 (.) 分隔的 DNS 标签,总长度不超过 253 个字符,后跟斜杠 ( /)。
11830
+
11831
+ # - prefix 格式 `[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*`
11832
+ # - name 格式 `([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]`
11833
+ # - key不能重复
11834
+ # 注意:此字段可能返回 null,表示取不到有效值。
11835
+ # @type Key: String
11836
+ # @param Operate: 标签键值直接的比较关系。 不同业务场景支持的比较符不同,具体支持那些参考接口业务描述。
11837
+ # 例如:`in`、`notin`
11838
+ # 注意:此字段可能返回 null,表示取不到有效值。
11839
+ # @type Operate: String
11840
+ # @param Values: 标签的值.
11841
+ # - 最大支持63个字符。
11842
+ # - 格式:`([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]`
11843
+ # 注意:此字段可能返回 null,表示取不到有效值。
11844
+ # @type Values: Array
11845
+
11846
+ attr_accessor :Key, :Operate, :Values
11847
+
11848
+ def initialize(key=nil, operate=nil, values=nil)
11849
+ @Key = key
11850
+ @Operate = operate
11851
+ @Values = values
11852
+ end
11853
+
11854
+ def deserialize(params)
11855
+ @Key = params['Key']
11856
+ @Operate = params['Operate']
11857
+ @Values = params['Values']
11858
+ end
11859
+ end
11860
+
9304
11861
  # 日志上下文信息
9305
11862
  class LogContextInfo < TencentCloud::Common::AbstractModel
9306
11863
  # @param Source: 日志来源设备
@@ -9913,6 +12470,236 @@ module TencentCloud
9913
12470
  end
9914
12471
  end
9915
12472
 
12473
+ # Splunk任务投递元信息
12474
+ class MetadataInfo < TencentCloud::Common::AbstractModel
12475
+ # @param Format: 数据格式,rawlog/json
12476
+ # @type Format: String
12477
+ # @param MetaFields: 投递字段,包括\_\_SOURCE\_\_、\_\_FILENAME\_\_
12478
+ # 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKG\_ID\_\_
12479
+ # @type MetaFields: Array
12480
+ # @param EnableTag: 是否投递__TAG__字段
12481
+ # @type EnableTag: Boolean
12482
+ # @param TagJsonTiled: JSON是否平铺,投递__TAG__字段时必填
12483
+ # @type TagJsonTiled: Boolean
12484
+
12485
+ attr_accessor :Format, :MetaFields, :EnableTag, :TagJsonTiled
12486
+
12487
+ def initialize(format=nil, metafields=nil, enabletag=nil, tagjsontiled=nil)
12488
+ @Format = format
12489
+ @MetaFields = metafields
12490
+ @EnableTag = enabletag
12491
+ @TagJsonTiled = tagjsontiled
12492
+ end
12493
+
12494
+ def deserialize(params)
12495
+ @Format = params['Format']
12496
+ @MetaFields = params['MetaFields']
12497
+ @EnableTag = params['EnableTag']
12498
+ @TagJsonTiled = params['TagJsonTiled']
12499
+ end
12500
+ end
12501
+
12502
+ # 指标采集配置
12503
+ class MetricCollectConfig < TencentCloud::Common::AbstractModel
12504
+ # @param ConfigId: 采集配置id
12505
+ # @type ConfigId: String
12506
+ # @param TopicIds: 日志主题id。
12507
+ # @type TopicIds: Array
12508
+ # @param Source: 采集配置来源。支持 :`0`、`1`
12509
+ # - 0:自建k8s
12510
+ # - 1:TKE
12511
+ # @type Source: Integer
12512
+ # @param GroupIds: 机器组id。
12513
+ # @type GroupIds: Array
12514
+ # @param Type: 监控类型。支持 :`0`、`1`,不支持修改
12515
+
12516
+ # - 0:基础监控
12517
+ # - 1:自定义监控,
12518
+ # @type Type: Integer
12519
+ # @param Flag: 采集配置方式。支持 :`0`、`1`,不支持修改
12520
+ # - 0:普通配置方式,Type字段只能为:`1`
12521
+ # - 1:YAML导入方式,Type 可以是:`0`或者`1`
12522
+ # @type Flag: Integer
12523
+ # @param Name: 名称:长度不超过253字符,校验格式 ` [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*`。
12524
+ # 注意:此字段可能返回 null,表示取不到有效值。
12525
+ # @type Name: String
12526
+ # @param Spec: 采集对象, Flag=0时生效
12527
+ # 注意:此字段可能返回 null,表示取不到有效值。
12528
+ # @type Spec: :class:`Tencentcloud::Cls.v20201016.models.MetricSpec`
12529
+ # @param MetricRelabels: 标签处理, Flag=0时生效
12530
+ # 注意:此字段可能返回 null,表示取不到有效值。
12531
+ # @type MetricRelabels: Array
12532
+ # @param MetricLabel: 自定义元数据, Flag=0时生效
12533
+ # 注意:此字段可能返回 null,表示取不到有效值。
12534
+ # @type MetricLabel: :class:`Tencentcloud::Cls.v20201016.models.MetricConfigLabel`
12535
+ # @param Scheme: 通信协议 `http`、`https`;Flag=0时生效
12536
+ # 注意:此字段可能返回 null,表示取不到有效值。
12537
+ # @type Scheme: String
12538
+ # @param ScrapeInterval: 采集频率, Flag=0时生效
12539
+ # - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
12540
+ # 注意:此字段可能返回 null,表示取不到有效值。
12541
+ # @type ScrapeInterval: String
12542
+ # @param ScrapeTimeout: 采集超时时间。 Flag=0 && Type=1时生效
12543
+ # - format:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
12544
+
12545
+ # 注意:此字段可能返回 null,表示取不到有效值。
12546
+ # @type ScrapeTimeout: String
12547
+ # @param HonorLabels: Prometheus如何处理标签之间的冲突。当Flag=0生效,支持`true`,`false`
12548
+
12549
+ # - `false`:配置数据中冲突的标签重命名
12550
+ # - `true`:忽略冲突的服务器端标签
12551
+ # 注意:此字段可能返回 null,表示取不到有效值。
12552
+ # @type HonorLabels: Boolean
12553
+ # @param YamlSpec: 采集配置yaml格式字符串, Flag=1时必填
12554
+ # 注意:此字段可能返回 null,表示取不到有效值。
12555
+ # @type YamlSpec: :class:`Tencentcloud::Cls.v20201016.models.MetricYamlSpec`
12556
+ # @param Operate: 操作状态,0:应用,1:暂停
12557
+ # @type Operate: Integer
12558
+ # @param CreateTime: 创建时间戳 秒级
12559
+ # @type CreateTime: Integer
12560
+ # @param UpdateTime: 更新时间戳 秒级
12561
+ # @type UpdateTime: Integer
12562
+
12563
+ attr_accessor :ConfigId, :TopicIds, :Source, :GroupIds, :Type, :Flag, :Name, :Spec, :MetricRelabels, :MetricLabel, :Scheme, :ScrapeInterval, :ScrapeTimeout, :HonorLabels, :YamlSpec, :Operate, :CreateTime, :UpdateTime
12564
+
12565
+ def initialize(configid=nil, topicids=nil, source=nil, groupids=nil, type=nil, flag=nil, name=nil, spec=nil, metricrelabels=nil, metriclabel=nil, scheme=nil, scrapeinterval=nil, scrapetimeout=nil, honorlabels=nil, yamlspec=nil, operate=nil, createtime=nil, updatetime=nil)
12566
+ @ConfigId = configid
12567
+ @TopicIds = topicids
12568
+ @Source = source
12569
+ @GroupIds = groupids
12570
+ @Type = type
12571
+ @Flag = flag
12572
+ @Name = name
12573
+ @Spec = spec
12574
+ @MetricRelabels = metricrelabels
12575
+ @MetricLabel = metriclabel
12576
+ @Scheme = scheme
12577
+ @ScrapeInterval = scrapeinterval
12578
+ @ScrapeTimeout = scrapetimeout
12579
+ @HonorLabels = honorlabels
12580
+ @YamlSpec = yamlspec
12581
+ @Operate = operate
12582
+ @CreateTime = createtime
12583
+ @UpdateTime = updatetime
12584
+ end
12585
+
12586
+ def deserialize(params)
12587
+ @ConfigId = params['ConfigId']
12588
+ @TopicIds = params['TopicIds']
12589
+ @Source = params['Source']
12590
+ @GroupIds = params['GroupIds']
12591
+ @Type = params['Type']
12592
+ @Flag = params['Flag']
12593
+ @Name = params['Name']
12594
+ unless params['Spec'].nil?
12595
+ @Spec = MetricSpec.new
12596
+ @Spec.deserialize(params['Spec'])
12597
+ end
12598
+ unless params['MetricRelabels'].nil?
12599
+ @MetricRelabels = []
12600
+ params['MetricRelabels'].each do |i|
12601
+ relabeling_tmp = Relabeling.new
12602
+ relabeling_tmp.deserialize(i)
12603
+ @MetricRelabels << relabeling_tmp
12604
+ end
12605
+ end
12606
+ unless params['MetricLabel'].nil?
12607
+ @MetricLabel = MetricConfigLabel.new
12608
+ @MetricLabel.deserialize(params['MetricLabel'])
12609
+ end
12610
+ @Scheme = params['Scheme']
12611
+ @ScrapeInterval = params['ScrapeInterval']
12612
+ @ScrapeTimeout = params['ScrapeTimeout']
12613
+ @HonorLabels = params['HonorLabels']
12614
+ unless params['YamlSpec'].nil?
12615
+ @YamlSpec = MetricYamlSpec.new
12616
+ @YamlSpec.deserialize(params['YamlSpec'])
12617
+ end
12618
+ @Operate = params['Operate']
12619
+ @CreateTime = params['CreateTime']
12620
+ @UpdateTime = params['UpdateTime']
12621
+ end
12622
+ end
12623
+
12624
+ # 指标配置信息
12625
+ class MetricConfig < TencentCloud::Common::AbstractModel
12626
+ # @param MetricName: 指标名称
12627
+ # @type MetricName: String
12628
+ # @param Periods: 统计周期,单位:秒(s)
12629
+ # @type Periods: Array
12630
+ # @param MetricLabels: 自定义指标标签
12631
+ # @type MetricLabels: Array
12632
+
12633
+ attr_accessor :MetricName, :Periods, :MetricLabels
12634
+
12635
+ def initialize(metricname=nil, periods=nil, metriclabels=nil)
12636
+ @MetricName = metricname
12637
+ @Periods = periods
12638
+ @MetricLabels = metriclabels
12639
+ end
12640
+
12641
+ def deserialize(params)
12642
+ @MetricName = params['MetricName']
12643
+ @Periods = params['Periods']
12644
+ unless params['MetricLabels'].nil?
12645
+ @MetricLabels = []
12646
+ params['MetricLabels'].each do |i|
12647
+ metriclabel_tmp = MetricLabel.new
12648
+ metriclabel_tmp.deserialize(i)
12649
+ @MetricLabels << metriclabel_tmp
12650
+ end
12651
+ end
12652
+ end
12653
+ end
12654
+
12655
+ # 指标采集label配置信息
12656
+ class MetricConfigLabel < TencentCloud::Common::AbstractModel
12657
+ # @param Metadata: 元数据。
12658
+ # 支持
12659
+ # - `namespace`
12660
+ # - `pod_name`
12661
+ # - `pod_ip`
12662
+ # - `pod_uid`
12663
+ # - `container_name`
12664
+ # - `container_id`
12665
+ # - `image_name`
12666
+ # - `cluster_id`
12667
+ # - `node_id`
12668
+ # - `node_ip`
12669
+ # 注意:此字段可能返回 null,表示取不到有效值。
12670
+ # @type Metadata: Array
12671
+ # @param Label: 元数据Pod Label信息。
12672
+ # 注意:此字段可能返回 null,表示取不到有效值。
12673
+ # @type Label: :class:`Tencentcloud::Cls.v20201016.models.AppointLabel`
12674
+ # @param CustomLabels: 自定义label信息。
12675
+ # 注意:此字段可能返回 null,表示取不到有效值。
12676
+ # @type CustomLabels: Array
12677
+
12678
+ attr_accessor :Metadata, :Label, :CustomLabels
12679
+
12680
+ def initialize(metadata=nil, label=nil, customlabels=nil)
12681
+ @Metadata = metadata
12682
+ @Label = label
12683
+ @CustomLabels = customlabels
12684
+ end
12685
+
12686
+ def deserialize(params)
12687
+ @Metadata = params['Metadata']
12688
+ unless params['Label'].nil?
12689
+ @Label = AppointLabel.new
12690
+ @Label.deserialize(params['Label'])
12691
+ end
12692
+ unless params['CustomLabels'].nil?
12693
+ @CustomLabels = []
12694
+ params['CustomLabels'].each do |i|
12695
+ customlabel_tmp = CustomLabel.new
12696
+ customlabel_tmp.deserialize(i)
12697
+ @CustomLabels << customlabel_tmp
12698
+ end
12699
+ end
12700
+ end
12701
+ end
12702
+
9916
12703
  # 过滤器
9917
12704
  class MetricLabel < TencentCloud::Common::AbstractModel
9918
12705
  # @param Key: 指标名称
@@ -9920,16 +12707,168 @@ module TencentCloud
9920
12707
  # @param Value: 指标内容
9921
12708
  # @type Value: String
9922
12709
 
9923
- attr_accessor :Key, :Value
12710
+ attr_accessor :Key, :Value
12711
+
12712
+ def initialize(key=nil, value=nil)
12713
+ @Key = key
12714
+ @Value = value
12715
+ end
12716
+
12717
+ def deserialize(params)
12718
+ @Key = params['Key']
12719
+ @Value = params['Value']
12720
+ end
12721
+ end
12722
+
12723
+ # 采集对象
12724
+ class MetricSpec < TencentCloud::Common::AbstractModel
12725
+ # @param CustomSpecs: 自定义指标采集配置项
12726
+ # 注意:此字段可能返回 null,表示取不到有效值。
12727
+ # @type CustomSpecs: Array
12728
+
12729
+ attr_accessor :CustomSpecs
12730
+
12731
+ def initialize(customspecs=nil)
12732
+ @CustomSpecs = customspecs
12733
+ end
12734
+
12735
+ def deserialize(params)
12736
+ unless params['CustomSpecs'].nil?
12737
+ @CustomSpecs = []
12738
+ params['CustomSpecs'].each do |i|
12739
+ custommetricspec_tmp = CustomMetricSpec.new
12740
+ custommetricspec_tmp.deserialize(i)
12741
+ @CustomSpecs << custommetricspec_tmp
12742
+ end
12743
+ end
12744
+ end
12745
+ end
12746
+
12747
+ # 指标订阅配置信息
12748
+ class MetricSubscribeInfo < TencentCloud::Common::AbstractModel
12749
+ # @param TaskId: 订阅任务id。
12750
+ # @type TaskId: String
12751
+ # @param TopicId: 日志主题id。
12752
+ # @type TopicId: String
12753
+ # @param Name: 订阅任务名称。
12754
+ # @type Name: String
12755
+ # @param Namespace: 云产品命名空间。
12756
+ # @type Namespace: String
12757
+ # @param Metrics: 指标配置信息。
12758
+ # @type Metrics: Array
12759
+ # @param InstanceInfo: 实例配置信息。
12760
+ # @type InstanceInfo: :class:`Tencentcloud::Cls.v20201016.models.InstanceConfig`
12761
+ # @param Enable: 订阅任务开关。1:暂停 2:启用
12762
+ # @type Enable: Integer
12763
+ # @param Status: 订阅任务运行状态。0:创建中 1:暂停 2:运行中 3:异常
12764
+ # @type Status: Integer
12765
+ # @param ErrMsg: 订阅任务运行异常时的错误信息。
12766
+ # 注意:此字段可能返回 null,表示取不到有效值。
12767
+ # @type ErrMsg: String
12768
+ # @param CreateTime: 创建时间(秒级时间戳)
12769
+ # 注意:此字段可能返回 null,表示取不到有效值。
12770
+ # @type CreateTime: Integer
12771
+ # @param UpdateTime: 更新时间(秒级时间戳)
12772
+ # 注意:此字段可能返回 null,表示取不到有效值。
12773
+ # @type UpdateTime: Integer
12774
+
12775
+ attr_accessor :TaskId, :TopicId, :Name, :Namespace, :Metrics, :InstanceInfo, :Enable, :Status, :ErrMsg, :CreateTime, :UpdateTime
12776
+
12777
+ def initialize(taskid=nil, topicid=nil, name=nil, namespace=nil, metrics=nil, instanceinfo=nil, enable=nil, status=nil, errmsg=nil, createtime=nil, updatetime=nil)
12778
+ @TaskId = taskid
12779
+ @TopicId = topicid
12780
+ @Name = name
12781
+ @Namespace = namespace
12782
+ @Metrics = metrics
12783
+ @InstanceInfo = instanceinfo
12784
+ @Enable = enable
12785
+ @Status = status
12786
+ @ErrMsg = errmsg
12787
+ @CreateTime = createtime
12788
+ @UpdateTime = updatetime
12789
+ end
12790
+
12791
+ def deserialize(params)
12792
+ @TaskId = params['TaskId']
12793
+ @TopicId = params['TopicId']
12794
+ @Name = params['Name']
12795
+ @Namespace = params['Namespace']
12796
+ unless params['Metrics'].nil?
12797
+ @Metrics = []
12798
+ params['Metrics'].each do |i|
12799
+ metricconfig_tmp = MetricConfig.new
12800
+ metricconfig_tmp.deserialize(i)
12801
+ @Metrics << metricconfig_tmp
12802
+ end
12803
+ end
12804
+ unless params['InstanceInfo'].nil?
12805
+ @InstanceInfo = InstanceConfig.new
12806
+ @InstanceInfo.deserialize(params['InstanceInfo'])
12807
+ end
12808
+ @Enable = params['Enable']
12809
+ @Status = params['Status']
12810
+ @ErrMsg = params['ErrMsg']
12811
+ @CreateTime = params['CreateTime']
12812
+ @UpdateTime = params['UpdateTime']
12813
+ end
12814
+ end
12815
+
12816
+ # 指标采集yaml格式配置
12817
+ class MetricYamlSpec < TencentCloud::Common::AbstractModel
12818
+ # @param Type: yaml监控类型。
12819
+ # 支持:
12820
+ # - PodMonitor
12821
+ # - ServiceMonitor
12822
+ # - ScrapeConfig
12823
+ # - ScrapeConfig-prometheus
12824
+
12825
+ # `PodMonitor `,`ServiceMonitor `,`ScrapeConfig ` 属于prometheus-operator
12826
+ # `ScrapeConfig-prometheus` 属于prometheus
12827
+ # 注意:此字段可能返回 null,表示取不到有效值。
12828
+ # @type Type: String
12829
+ # @param Spec: 配置yaml格式。
12830
+ # 例如:Type: ServiceMonitor
12831
+
12832
+
12833
+ # ```
12834
+ # apiVersion: monitoring.coreos.com/v1
12835
+ # kind: ServiceMonitor
12836
+ # metadata:
12837
+ # name: test
12838
+ # namespace: test
12839
+ # labels:
12840
+ # k8s-app1: test
12841
+ # k8s-app2: test
12842
+ # spec:
12843
+ # endpoints:
12844
+ # - interval: 15s
12845
+ # port: 8080-8080-tcp
12846
+ # path: /metrics
12847
+ # relabelings:
12848
+ # - action: replace
12849
+ # sourceLabels:
12850
+ # - __meta_kubernetes_pod_label_app
12851
+ # targetLabel: application
12852
+ # namespaceSelector:
12853
+ # matchNames:
12854
+ # - test
12855
+ # selector:
12856
+ # matchLabels:
12857
+ # app: test
12858
+ # ```
12859
+ # 注意:此字段可能返回 null,表示取不到有效值。
12860
+ # @type Spec: String
12861
+
12862
+ attr_accessor :Type, :Spec
9924
12863
 
9925
- def initialize(key=nil, value=nil)
9926
- @Key = key
9927
- @Value = value
12864
+ def initialize(type=nil, spec=nil)
12865
+ @Type = type
12866
+ @Spec = spec
9928
12867
  end
9929
12868
 
9930
12869
  def deserialize(params)
9931
- @Key = params['Key']
9932
- @Value = params['Value']
12870
+ @Type = params['Type']
12871
+ @Spec = params['Spec']
9933
12872
  end
9934
12873
  end
9935
12874
 
@@ -10119,8 +13058,8 @@ module TencentCloud
10119
13058
 
10120
13059
  attr_accessor :AlarmId, :Name, :MonitorTime, :Condition, :AlarmLevel, :MultiConditions, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :AlarmTargets, :Status, :Enable, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType, :Classifications
10121
13060
  extend Gem::Deprecate
10122
- deprecate :Enable, :none, 2025, 12
10123
- deprecate :Enable=, :none, 2025, 12
13061
+ deprecate :Enable, :none, 2026, 1
13062
+ deprecate :Enable=, :none, 2026, 1
10124
13063
 
10125
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)
10126
13065
  @AlarmId = alarmid
@@ -10418,8 +13357,8 @@ module TencentCloud
10418
13357
 
10419
13358
  attr_accessor :ConfigExtraId, :Name, :TopicId, :HostFile, :ContainerFile, :ContainerStdout, :LogType, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :Type, :GroupId, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :AdvancedConfig
10420
13359
  extend Gem::Deprecate
10421
- deprecate :LogFormat, :none, 2025, 12
10422
- deprecate :LogFormat=, :none, 2025, 12
13360
+ deprecate :LogFormat, :none, 2026, 1
13361
+ deprecate :LogFormat=, :none, 2026, 1
10423
13362
 
10424
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)
10425
13364
  @ConfigExtraId = configextraid
@@ -10636,6 +13575,50 @@ module TencentCloud
10636
13575
  end
10637
13576
  end
10638
13577
 
13578
+ # ModifyConsumerGroup请求参数结构体
13579
+ class ModifyConsumerGroupRequest < TencentCloud::Common::AbstractModel
13580
+ # @param ConsumerGroup: 更新的目标消费者组标识
13581
+ # @type ConsumerGroup: String
13582
+ # @param Timeout: 消费者心跳超时时间(秒)
13583
+ # @type Timeout: Integer
13584
+ # @param Topics: 更新的消费者组包含的日志主题列表
13585
+ # @type Topics: Array
13586
+ # @param LogsetId: 日志集Id(日志主题所属的日志集)
13587
+ # @type LogsetId: String
13588
+
13589
+ attr_accessor :ConsumerGroup, :Timeout, :Topics, :LogsetId
13590
+
13591
+ def initialize(consumergroup=nil, timeout=nil, topics=nil, logsetid=nil)
13592
+ @ConsumerGroup = consumergroup
13593
+ @Timeout = timeout
13594
+ @Topics = topics
13595
+ @LogsetId = logsetid
13596
+ end
13597
+
13598
+ def deserialize(params)
13599
+ @ConsumerGroup = params['ConsumerGroup']
13600
+ @Timeout = params['Timeout']
13601
+ @Topics = params['Topics']
13602
+ @LogsetId = params['LogsetId']
13603
+ end
13604
+ end
13605
+
13606
+ # ModifyConsumerGroup返回参数结构体
13607
+ class ModifyConsumerGroupResponse < TencentCloud::Common::AbstractModel
13608
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13609
+ # @type RequestId: String
13610
+
13611
+ attr_accessor :RequestId
13612
+
13613
+ def initialize(requestid=nil)
13614
+ @RequestId = requestid
13615
+ end
13616
+
13617
+ def deserialize(params)
13618
+ @RequestId = params['RequestId']
13619
+ end
13620
+ end
13621
+
10639
13622
  # ModifyConsumer请求参数结构体
10640
13623
  class ModifyConsumerRequest < TencentCloud::Common::AbstractModel
10641
13624
  # @param TopicId: 投递任务绑定的日志主题Id。
@@ -10798,6 +13781,57 @@ module TencentCloud
10798
13781
  end
10799
13782
  end
10800
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
+
10801
13835
  # ModifyDashboardSubscribe请求参数结构体
10802
13836
  class ModifyDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
10803
13837
  # @param Id: 仪表盘订阅id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
@@ -11030,6 +14064,153 @@ module TencentCloud
11030
14064
  end
11031
14065
  end
11032
14066
 
14067
+ # ModifyEsRecharge请求参数结构体
14068
+ class ModifyEsRechargeRequest < TencentCloud::Common::AbstractModel
14069
+ # @param TaskId: 导入任务id。
14070
+ # @type TaskId: String
14071
+ # @param TopicId: 日志主题id。
14072
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
14073
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
14074
+ # @type TopicId: String
14075
+ # @param Name: 名称:长度不超过64字符。
14076
+ # @type Name: String
14077
+ # @param Index: 索引信息。不同索引可以通过英文逗号分隔,支持*通配符
14078
+ # @type Index: String
14079
+ # @param Query: es查询语句。
14080
+ # @type Query: String
14081
+ # @param EsInfo: es集群配置信息。
14082
+ # @type EsInfo: :class:`Tencentcloud::Cls.v20201016.models.EsInfo`
14083
+ # @param ImportInfo: es导入信息。
14084
+ # @type ImportInfo: :class:`Tencentcloud::Cls.v20201016.models.EsImportInfo`
14085
+ # @param TimeInfo: es导入时间字段信息。
14086
+ # @type TimeInfo: :class:`Tencentcloud::Cls.v20201016.models.EsTimeInfo`
14087
+ # @param Status: 任务状态。1:运行, 2:暂停
14088
+ # @type Status: Integer
14089
+ # @param HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
14090
+ # @type HasServicesLog: Integer
14091
+
14092
+ attr_accessor :TaskId, :TopicId, :Name, :Index, :Query, :EsInfo, :ImportInfo, :TimeInfo, :Status, :HasServicesLog
14093
+
14094
+ def initialize(taskid=nil, topicid=nil, name=nil, index=nil, query=nil, esinfo=nil, importinfo=nil, timeinfo=nil, status=nil, hasserviceslog=nil)
14095
+ @TaskId = taskid
14096
+ @TopicId = topicid
14097
+ @Name = name
14098
+ @Index = index
14099
+ @Query = query
14100
+ @EsInfo = esinfo
14101
+ @ImportInfo = importinfo
14102
+ @TimeInfo = timeinfo
14103
+ @Status = status
14104
+ @HasServicesLog = hasserviceslog
14105
+ end
14106
+
14107
+ def deserialize(params)
14108
+ @TaskId = params['TaskId']
14109
+ @TopicId = params['TopicId']
14110
+ @Name = params['Name']
14111
+ @Index = params['Index']
14112
+ @Query = params['Query']
14113
+ unless params['EsInfo'].nil?
14114
+ @EsInfo = EsInfo.new
14115
+ @EsInfo.deserialize(params['EsInfo'])
14116
+ end
14117
+ unless params['ImportInfo'].nil?
14118
+ @ImportInfo = EsImportInfo.new
14119
+ @ImportInfo.deserialize(params['ImportInfo'])
14120
+ end
14121
+ unless params['TimeInfo'].nil?
14122
+ @TimeInfo = EsTimeInfo.new
14123
+ @TimeInfo.deserialize(params['TimeInfo'])
14124
+ end
14125
+ @Status = params['Status']
14126
+ @HasServicesLog = params['HasServicesLog']
14127
+ end
14128
+ end
14129
+
14130
+ # ModifyEsRecharge返回参数结构体
14131
+ class ModifyEsRechargeResponse < TencentCloud::Common::AbstractModel
14132
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14133
+ # @type RequestId: String
14134
+
14135
+ attr_accessor :RequestId
14136
+
14137
+ def initialize(requestid=nil)
14138
+ @RequestId = requestid
14139
+ end
14140
+
14141
+ def deserialize(params)
14142
+ @RequestId = params['RequestId']
14143
+ end
14144
+ end
14145
+
14146
+ # ModifyHostMetricConfig请求参数结构体
14147
+ class ModifyHostMetricConfigRequest < TencentCloud::Common::AbstractModel
14148
+ # @param TopicId: 指标日志主题id。
14149
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
14150
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
14151
+ # @type TopicId: String
14152
+ # @param ConfigId: 采集配置id
14153
+ # @type ConfigId: String
14154
+ # @param Name: 名称。
14155
+
14156
+ # - 长度不超过 64字符。
14157
+ # @type Name: String
14158
+ # @param MachineGroupIds: 机器组id列表。最多支持100个机器组。
14159
+ # @type MachineGroupIds: Array
14160
+ # @param Interval: 采集频率。单位:ms。 最小支持5000ms
14161
+ # @type Interval: Integer
14162
+ # @param HostMetricItems: 采集项。支持"cpu","mem","net","disk","system"。**目前仅支持:所有采集项都需配置**。
14163
+ # - cpu:CPU
14164
+ # - mem:内存
14165
+ # - net:网络
14166
+ # - disk:磁盘
14167
+ # - system:系统
14168
+ # @type HostMetricItems: Array
14169
+
14170
+ attr_accessor :TopicId, :ConfigId, :Name, :MachineGroupIds, :Interval, :HostMetricItems
14171
+
14172
+ def initialize(topicid=nil, configid=nil, name=nil, machinegroupids=nil, interval=nil, hostmetricitems=nil)
14173
+ @TopicId = topicid
14174
+ @ConfigId = configid
14175
+ @Name = name
14176
+ @MachineGroupIds = machinegroupids
14177
+ @Interval = interval
14178
+ @HostMetricItems = hostmetricitems
14179
+ end
14180
+
14181
+ def deserialize(params)
14182
+ @TopicId = params['TopicId']
14183
+ @ConfigId = params['ConfigId']
14184
+ @Name = params['Name']
14185
+ @MachineGroupIds = params['MachineGroupIds']
14186
+ @Interval = params['Interval']
14187
+ unless params['HostMetricItems'].nil?
14188
+ @HostMetricItems = []
14189
+ params['HostMetricItems'].each do |i|
14190
+ hostmetricitem_tmp = HostMetricItem.new
14191
+ hostmetricitem_tmp.deserialize(i)
14192
+ @HostMetricItems << hostmetricitem_tmp
14193
+ end
14194
+ end
14195
+ end
14196
+ end
14197
+
14198
+ # ModifyHostMetricConfig返回参数结构体
14199
+ class ModifyHostMetricConfigResponse < TencentCloud::Common::AbstractModel
14200
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14201
+ # @type RequestId: String
14202
+
14203
+ attr_accessor :RequestId
14204
+
14205
+ def initialize(requestid=nil)
14206
+ @RequestId = requestid
14207
+ end
14208
+
14209
+ def deserialize(params)
14210
+ @RequestId = params['RequestId']
14211
+ end
14212
+ end
14213
+
11033
14214
  # ModifyIndex请求参数结构体
11034
14215
  class ModifyIndexRequest < TencentCloud::Common::AbstractModel
11035
14216
  # @param TopicId: 日志主题Id。
@@ -11342,54 +14523,229 @@ module TencentCloud
11342
14523
  # @param MetaTags: 机器组元数据信息列表
11343
14524
  # @type MetaTags: Array
11344
14525
 
11345
- attr_accessor :GroupId, :GroupName, :MachineGroupType, :Tags, :AutoUpdate, :UpdateStartTime, :UpdateEndTime, :ServiceLogging, :DelayCleanupTime, :MetaTags
14526
+ attr_accessor :GroupId, :GroupName, :MachineGroupType, :Tags, :AutoUpdate, :UpdateStartTime, :UpdateEndTime, :ServiceLogging, :DelayCleanupTime, :MetaTags
14527
+
14528
+ def initialize(groupid=nil, groupname=nil, machinegrouptype=nil, tags=nil, autoupdate=nil, updatestarttime=nil, updateendtime=nil, servicelogging=nil, delaycleanuptime=nil, metatags=nil)
14529
+ @GroupId = groupid
14530
+ @GroupName = groupname
14531
+ @MachineGroupType = machinegrouptype
14532
+ @Tags = tags
14533
+ @AutoUpdate = autoupdate
14534
+ @UpdateStartTime = updatestarttime
14535
+ @UpdateEndTime = updateendtime
14536
+ @ServiceLogging = servicelogging
14537
+ @DelayCleanupTime = delaycleanuptime
14538
+ @MetaTags = metatags
14539
+ end
14540
+
14541
+ def deserialize(params)
14542
+ @GroupId = params['GroupId']
14543
+ @GroupName = params['GroupName']
14544
+ unless params['MachineGroupType'].nil?
14545
+ @MachineGroupType = MachineGroupTypeInfo.new
14546
+ @MachineGroupType.deserialize(params['MachineGroupType'])
14547
+ end
14548
+ unless params['Tags'].nil?
14549
+ @Tags = []
14550
+ params['Tags'].each do |i|
14551
+ tag_tmp = Tag.new
14552
+ tag_tmp.deserialize(i)
14553
+ @Tags << tag_tmp
14554
+ end
14555
+ end
14556
+ @AutoUpdate = params['AutoUpdate']
14557
+ @UpdateStartTime = params['UpdateStartTime']
14558
+ @UpdateEndTime = params['UpdateEndTime']
14559
+ @ServiceLogging = params['ServiceLogging']
14560
+ @DelayCleanupTime = params['DelayCleanupTime']
14561
+ unless params['MetaTags'].nil?
14562
+ @MetaTags = []
14563
+ params['MetaTags'].each do |i|
14564
+ metataginfo_tmp = MetaTagInfo.new
14565
+ metataginfo_tmp.deserialize(i)
14566
+ @MetaTags << metataginfo_tmp
14567
+ end
14568
+ end
14569
+ end
14570
+ end
14571
+
14572
+ # ModifyMachineGroup返回参数结构体
14573
+ class ModifyMachineGroupResponse < TencentCloud::Common::AbstractModel
14574
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14575
+ # @type RequestId: String
14576
+
14577
+ attr_accessor :RequestId
14578
+
14579
+ def initialize(requestid=nil)
14580
+ @RequestId = requestid
14581
+ end
14582
+
14583
+ def deserialize(params)
14584
+ @RequestId = params['RequestId']
14585
+ end
14586
+ end
14587
+
14588
+ # ModifyMetricConfig请求参数结构体
14589
+ class ModifyMetricConfigRequest < TencentCloud::Common::AbstractModel
14590
+ # @param TopicId: 指标日志主题id。
14591
+ # - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
14592
+ # - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
14593
+ # @type TopicId: String
14594
+ # @param ConfigId: 指标采集配置id
14595
+ # @type ConfigId: String
14596
+ # @param Source: 采集配置来源。支持 :`0`、`1`
14597
+ # - 0:自建k8s
14598
+ # - 1:TKE
14599
+ # @type Source: Integer
14600
+ # @param GroupIds: 机器组id。
14601
+ # @type GroupIds: Array
14602
+ # @param Operate: 操作状态,0:应用,1:暂停
14603
+ # @type Operate: Integer
14604
+ # @param Spec: 采集对象, Flag=0时生效
14605
+ # @type Spec: :class:`Tencentcloud::Cls.v20201016.models.MetricSpec`
14606
+ # @param MetricRelabels: 标签处理, Flag=0时生效
14607
+ # @type MetricRelabels: Array
14608
+ # @param MetricLabel: 自定义元数据, Flag=0时生效
14609
+ # @type MetricLabel: :class:`Tencentcloud::Cls.v20201016.models.MetricConfigLabel`
14610
+ # @param Scheme: 通信协议 `http`、`https`;Flag=0时生效
14611
+ # @type Scheme: String
14612
+ # @param ScrapeInterval: 采集频率, Flag=0时生效
14613
+ # - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
14614
+ # - 默认:60s
14615
+ # @type ScrapeInterval: String
14616
+ # @param ScrapeTimeout: 采集超时时间。 Flag=0时生效
14617
+ # - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
14618
+ # @type ScrapeTimeout: String
14619
+ # @param HonorLabels: Prometheus如何处理标签之间的冲突。当Flag=0 && Type=1时生效,支持`true`,`false`
14620
+ # - `false`:配置数据中冲突的标签重命名
14621
+ # - `true`:忽略冲突的服务器端标签
14622
+ # @type HonorLabels: Boolean
14623
+ # @param YamlSpec: 采集配置yaml格式字符串, Flag=1时必填
14624
+ # @type YamlSpec: :class:`Tencentcloud::Cls.v20201016.models.MetricYamlSpec`
14625
+
14626
+ attr_accessor :TopicId, :ConfigId, :Source, :GroupIds, :Operate, :Spec, :MetricRelabels, :MetricLabel, :Scheme, :ScrapeInterval, :ScrapeTimeout, :HonorLabels, :YamlSpec
14627
+
14628
+ def initialize(topicid=nil, configid=nil, source=nil, groupids=nil, operate=nil, spec=nil, metricrelabels=nil, metriclabel=nil, scheme=nil, scrapeinterval=nil, scrapetimeout=nil, honorlabels=nil, yamlspec=nil)
14629
+ @TopicId = topicid
14630
+ @ConfigId = configid
14631
+ @Source = source
14632
+ @GroupIds = groupids
14633
+ @Operate = operate
14634
+ @Spec = spec
14635
+ @MetricRelabels = metricrelabels
14636
+ @MetricLabel = metriclabel
14637
+ @Scheme = scheme
14638
+ @ScrapeInterval = scrapeinterval
14639
+ @ScrapeTimeout = scrapetimeout
14640
+ @HonorLabels = honorlabels
14641
+ @YamlSpec = yamlspec
14642
+ end
14643
+
14644
+ def deserialize(params)
14645
+ @TopicId = params['TopicId']
14646
+ @ConfigId = params['ConfigId']
14647
+ @Source = params['Source']
14648
+ @GroupIds = params['GroupIds']
14649
+ @Operate = params['Operate']
14650
+ unless params['Spec'].nil?
14651
+ @Spec = MetricSpec.new
14652
+ @Spec.deserialize(params['Spec'])
14653
+ end
14654
+ unless params['MetricRelabels'].nil?
14655
+ @MetricRelabels = []
14656
+ params['MetricRelabels'].each do |i|
14657
+ relabeling_tmp = Relabeling.new
14658
+ relabeling_tmp.deserialize(i)
14659
+ @MetricRelabels << relabeling_tmp
14660
+ end
14661
+ end
14662
+ unless params['MetricLabel'].nil?
14663
+ @MetricLabel = MetricConfigLabel.new
14664
+ @MetricLabel.deserialize(params['MetricLabel'])
14665
+ end
14666
+ @Scheme = params['Scheme']
14667
+ @ScrapeInterval = params['ScrapeInterval']
14668
+ @ScrapeTimeout = params['ScrapeTimeout']
14669
+ @HonorLabels = params['HonorLabels']
14670
+ unless params['YamlSpec'].nil?
14671
+ @YamlSpec = MetricYamlSpec.new
14672
+ @YamlSpec.deserialize(params['YamlSpec'])
14673
+ end
14674
+ end
14675
+ end
14676
+
14677
+ # ModifyMetricConfig返回参数结构体
14678
+ class ModifyMetricConfigResponse < TencentCloud::Common::AbstractModel
14679
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14680
+ # @type RequestId: String
14681
+
14682
+ attr_accessor :RequestId
14683
+
14684
+ def initialize(requestid=nil)
14685
+ @RequestId = requestid
14686
+ end
11346
14687
 
11347
- def initialize(groupid=nil, groupname=nil, machinegrouptype=nil, tags=nil, autoupdate=nil, updatestarttime=nil, updateendtime=nil, servicelogging=nil, delaycleanuptime=nil, metatags=nil)
11348
- @GroupId = groupid
11349
- @GroupName = groupname
11350
- @MachineGroupType = machinegrouptype
11351
- @Tags = tags
11352
- @AutoUpdate = autoupdate
11353
- @UpdateStartTime = updatestarttime
11354
- @UpdateEndTime = updateendtime
11355
- @ServiceLogging = servicelogging
11356
- @DelayCleanupTime = delaycleanuptime
11357
- @MetaTags = metatags
14688
+ def deserialize(params)
14689
+ @RequestId = params['RequestId']
14690
+ end
14691
+ end
14692
+
14693
+ # ModifyMetricSubscribe请求参数结构体
14694
+ class ModifyMetricSubscribeRequest < TencentCloud::Common::AbstractModel
14695
+ # @param TopicId: 指标采集任务的日志主题id。必填字段
14696
+ # @type TopicId: String
14697
+ # @param TaskId: 指标采集任务id。必填字段
14698
+ # @type TaskId: String
14699
+ # @param Name: 名称:长度不超过64字符,以字母开头,接受0-9,a-z,A-Z, _,-,中文字符。
14700
+ # @type Name: String
14701
+ # @param Namespace: 云产品命名空间。
14702
+ # @type Namespace: String
14703
+ # @param Metrics: 指标配置信息。
14704
+ # @type Metrics: Array
14705
+ # @param InstanceInfo: 实例配置信息。
14706
+ # @type InstanceInfo: :class:`Tencentcloud::Cls.v20201016.models.InstanceConfig`
14707
+ # @param Enable: 任务状态。
14708
+
14709
+ # 1: 未启用
14710
+
14711
+ # 2: 启用
14712
+ # @type Enable: Integer
14713
+
14714
+ attr_accessor :TopicId, :TaskId, :Name, :Namespace, :Metrics, :InstanceInfo, :Enable
14715
+
14716
+ def initialize(topicid=nil, taskid=nil, name=nil, namespace=nil, metrics=nil, instanceinfo=nil, enable=nil)
14717
+ @TopicId = topicid
14718
+ @TaskId = taskid
14719
+ @Name = name
14720
+ @Namespace = namespace
14721
+ @Metrics = metrics
14722
+ @InstanceInfo = instanceinfo
14723
+ @Enable = enable
11358
14724
  end
11359
14725
 
11360
14726
  def deserialize(params)
11361
- @GroupId = params['GroupId']
11362
- @GroupName = params['GroupName']
11363
- unless params['MachineGroupType'].nil?
11364
- @MachineGroupType = MachineGroupTypeInfo.new
11365
- @MachineGroupType.deserialize(params['MachineGroupType'])
11366
- end
11367
- unless params['Tags'].nil?
11368
- @Tags = []
11369
- params['Tags'].each do |i|
11370
- tag_tmp = Tag.new
11371
- tag_tmp.deserialize(i)
11372
- @Tags << tag_tmp
14727
+ @TopicId = params['TopicId']
14728
+ @TaskId = params['TaskId']
14729
+ @Name = params['Name']
14730
+ @Namespace = params['Namespace']
14731
+ unless params['Metrics'].nil?
14732
+ @Metrics = []
14733
+ params['Metrics'].each do |i|
14734
+ metricconfig_tmp = MetricConfig.new
14735
+ metricconfig_tmp.deserialize(i)
14736
+ @Metrics << metricconfig_tmp
11373
14737
  end
11374
14738
  end
11375
- @AutoUpdate = params['AutoUpdate']
11376
- @UpdateStartTime = params['UpdateStartTime']
11377
- @UpdateEndTime = params['UpdateEndTime']
11378
- @ServiceLogging = params['ServiceLogging']
11379
- @DelayCleanupTime = params['DelayCleanupTime']
11380
- unless params['MetaTags'].nil?
11381
- @MetaTags = []
11382
- params['MetaTags'].each do |i|
11383
- metataginfo_tmp = MetaTagInfo.new
11384
- metataginfo_tmp.deserialize(i)
11385
- @MetaTags << metataginfo_tmp
11386
- end
14739
+ unless params['InstanceInfo'].nil?
14740
+ @InstanceInfo = InstanceConfig.new
14741
+ @InstanceInfo.deserialize(params['InstanceInfo'])
11387
14742
  end
14743
+ @Enable = params['Enable']
11388
14744
  end
11389
14745
  end
11390
14746
 
11391
- # ModifyMachineGroup返回参数结构体
11392
- class ModifyMachineGroupResponse < TencentCloud::Common::AbstractModel
14747
+ # ModifyMetricSubscribe返回参数结构体
14748
+ class ModifyMetricSubscribeResponse < TencentCloud::Common::AbstractModel
11393
14749
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11394
14750
  # @type RequestId: String
11395
14751
 
@@ -11649,6 +15005,95 @@ module TencentCloud
11649
15005
  end
11650
15006
  end
11651
15007
 
15008
+ # ModifySplunkDeliver请求参数结构体
15009
+ class ModifySplunkDeliverRequest < TencentCloud::Common::AbstractModel
15010
+ # @param TaskId: 任务id
15011
+ # @type TaskId: String
15012
+ # @param TopicId: 日志主题id
15013
+ # - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
15014
+ # @type TopicId: String
15015
+ # @param Name: 投递任务名称
15016
+ # name有以下限制:
15017
+ # - 不能为空
15018
+ # - 长度不大于64
15019
+ # - 只能包含aA-zZ、下划线、-、0-9
15020
+ # @type Name: String
15021
+ # @param Enable: 投递任务启用状态;0:禁用;1:启用
15022
+ # @type Enable: Integer
15023
+ # @param NetInfo: splunk投递任务-目标配置
15024
+ # @type NetInfo: :class:`Tencentcloud::Cls.v20201016.models.NetInfo`
15025
+ # @param MetadataInfo: splunk投递任务元信息
15026
+ # @type MetadataInfo: :class:`Tencentcloud::Cls.v20201016.models.MetadataInfo`
15027
+ # @param HasServiceLog: 是否启用服务日志;1:关闭;2:开启
15028
+ # @type HasServiceLog: Integer
15029
+ # @param IndexAck: 高级配置-是否启用索引器;
15030
+ # 1-不开启;2-开启;默认为:1
15031
+ # @type IndexAck: Integer
15032
+ # @param Source: 高级配置-数据来源;不超过64个字符
15033
+ # @type Source: String
15034
+ # @param SourceType: 高级配置-数据来源类型;不超过64个字符
15035
+ # @type SourceType: String
15036
+ # @param Index: 高级配置-Splunk写入的索引;不超过64个字符
15037
+ # @type Index: String
15038
+ # @param Channel: 高级配置-通道。
15039
+ # 需满足限制:如果启用索引器,该值不能为空
15040
+ # @type Channel: String
15041
+
15042
+ attr_accessor :TaskId, :TopicId, :Name, :Enable, :NetInfo, :MetadataInfo, :HasServiceLog, :IndexAck, :Source, :SourceType, :Index, :Channel
15043
+
15044
+ def initialize(taskid=nil, topicid=nil, name=nil, enable=nil, netinfo=nil, metadatainfo=nil, hasservicelog=nil, indexack=nil, source=nil, sourcetype=nil, index=nil, channel=nil)
15045
+ @TaskId = taskid
15046
+ @TopicId = topicid
15047
+ @Name = name
15048
+ @Enable = enable
15049
+ @NetInfo = netinfo
15050
+ @MetadataInfo = metadatainfo
15051
+ @HasServiceLog = hasservicelog
15052
+ @IndexAck = indexack
15053
+ @Source = source
15054
+ @SourceType = sourcetype
15055
+ @Index = index
15056
+ @Channel = channel
15057
+ end
15058
+
15059
+ def deserialize(params)
15060
+ @TaskId = params['TaskId']
15061
+ @TopicId = params['TopicId']
15062
+ @Name = params['Name']
15063
+ @Enable = params['Enable']
15064
+ unless params['NetInfo'].nil?
15065
+ @NetInfo = NetInfo.new
15066
+ @NetInfo.deserialize(params['NetInfo'])
15067
+ end
15068
+ unless params['MetadataInfo'].nil?
15069
+ @MetadataInfo = MetadataInfo.new
15070
+ @MetadataInfo.deserialize(params['MetadataInfo'])
15071
+ end
15072
+ @HasServiceLog = params['HasServiceLog']
15073
+ @IndexAck = params['IndexAck']
15074
+ @Source = params['Source']
15075
+ @SourceType = params['SourceType']
15076
+ @Index = params['Index']
15077
+ @Channel = params['Channel']
15078
+ end
15079
+ end
15080
+
15081
+ # ModifySplunkDeliver返回参数结构体
15082
+ class ModifySplunkDeliverResponse < TencentCloud::Common::AbstractModel
15083
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15084
+ # @type RequestId: String
15085
+
15086
+ attr_accessor :RequestId
15087
+
15088
+ def initialize(requestid=nil)
15089
+ @RequestId = requestid
15090
+ end
15091
+
15092
+ def deserialize(params)
15093
+ @RequestId = params['RequestId']
15094
+ end
15095
+ end
15096
+
11652
15097
  # ModifyTopic请求参数结构体
11653
15098
  class ModifyTopicRequest < TencentCloud::Common::AbstractModel
11654
15099
  # @param TopicId: 主题ID- 通过[获取主题列表](https://cloud.tencent.com/document/product/614/56454)获取主题Id。
@@ -11945,6 +15390,50 @@ module TencentCloud
11945
15390
  end
11946
15391
  end
11947
15392
 
15393
+ # Splunk投递任务-目标配置网络信息相关
15394
+ class NetInfo < TencentCloud::Common::AbstractModel
15395
+ # @param Host: 网络地址
15396
+ # @type Host: String
15397
+ # @param Port: 端口
15398
+ # @type Port: Integer
15399
+ # @param Token: 认证token
15400
+ # @type Token: String
15401
+ # @param NetType: 网络类型;1:内网;2:外网
15402
+ # @type NetType: Integer
15403
+ # @param VpcId: 所属网络;如果网络类型为内网,该字段必填
15404
+ # @type VpcId: String
15405
+ # @param VirtualGatewayType: 网络服务类型;如果网络类型为内网,该字段必填
15406
+ # - 0:云上cvm
15407
+ # - 3:云上专线网关
15408
+ # - 11:云联网
15409
+ # - 1025:云上clb
15410
+ # @type VirtualGatewayType: Integer
15411
+ # @param IsSSL: 认证机制,是否使用SSL,默认不使用
15412
+ # @type IsSSL: Boolean
15413
+
15414
+ attr_accessor :Host, :Port, :Token, :NetType, :VpcId, :VirtualGatewayType, :IsSSL
15415
+
15416
+ def initialize(host=nil, port=nil, token=nil, nettype=nil, vpcid=nil, virtualgatewaytype=nil, isssl=nil)
15417
+ @Host = host
15418
+ @Port = port
15419
+ @Token = token
15420
+ @NetType = nettype
15421
+ @VpcId = vpcid
15422
+ @VirtualGatewayType = virtualgatewaytype
15423
+ @IsSSL = isssl
15424
+ end
15425
+
15426
+ def deserialize(params)
15427
+ @Host = params['Host']
15428
+ @Port = params['Port']
15429
+ @Token = params['Token']
15430
+ @NetType = params['NetType']
15431
+ @VpcId = params['VpcId']
15432
+ @VirtualGatewayType = params['VirtualGatewayType']
15433
+ @IsSSL = params['IsSSL']
15434
+ end
15435
+ end
15436
+
11948
15437
  # 通知内容模板详细配置
11949
15438
  class NoticeContent < TencentCloud::Common::AbstractModel
11950
15439
  # @param Type: 渠道类型
@@ -12367,6 +15856,28 @@ module TencentCloud
12367
15856
  end
12368
15857
  end
12369
15858
 
15859
+ # PartitionOffsetInfo
15860
+ class PartitionOffsetInfo < TencentCloud::Common::AbstractModel
15861
+ # @param PartitionId: 分区id
15862
+ # 注意:此字段可能返回 null,表示取不到有效值。
15863
+ # @type PartitionId: Integer
15864
+ # @param Offset: offset点位
15865
+ # 注意:此字段可能返回 null,表示取不到有效值。
15866
+ # @type Offset: Integer
15867
+
15868
+ attr_accessor :PartitionId, :Offset
15869
+
15870
+ def initialize(partitionid=nil, offset=nil)
15871
+ @PartitionId = partitionid
15872
+ @Offset = offset
15873
+ end
15874
+
15875
+ def deserialize(params)
15876
+ @PartitionId = params['PartitionId']
15877
+ @Offset = params['Offset']
15878
+ end
15879
+ end
15880
+
12370
15881
  # PreviewKafkaRecharge请求参数结构体
12371
15882
  class PreviewKafkaRechargeRequest < TencentCloud::Common::AbstractModel
12372
15883
  # @param PreviewType: 预览类型,1:源数据预览;2:导出结果预览。
@@ -12485,8 +15996,8 @@ module TencentCloud
12485
15996
 
12486
15997
  attr_accessor :LogContent, :LineNum, :DstTopicId, :FailReason, :Time, :DstTopicName
12487
15998
  extend Gem::Deprecate
12488
- deprecate :DstTopicName, :none, 2025, 12
12489
- deprecate :DstTopicName=, :none, 2025, 12
15999
+ deprecate :DstTopicName, :none, 2026, 1
16000
+ deprecate :DstTopicName=, :none, 2026, 1
12490
16001
 
12491
16002
  def initialize(logcontent=nil, linenum=nil, dsttopicid=nil, failreason=nil, time=nil, dsttopicname=nil)
12492
16003
  @LogContent = logcontent
@@ -12623,6 +16134,67 @@ module TencentCloud
12623
16134
  end
12624
16135
  end
12625
16136
 
16137
+ # 标签重新标记配置。
16138
+ # 允许动态重写目标、警报、抓取样本和远程写入样本的标签集。
16139
+ class Relabeling < TencentCloud::Common::AbstractModel
16140
+ # @param Action: 基于正则表达式匹配执行的动作。
16141
+ # - replace: Label替换, 必填: SourceLabels, Separator, Regex, TargetLabel, Replacement
16142
+ # - labeldrop: 丢弃Label, 必填: Regex
16143
+ # - labelkeep: 保留Label, 必填: Regex
16144
+ # - lowercase: 小写化, 必填: SourceLabels, Separator, TargetLabel
16145
+ # - uppercase: 大写化, 必填: SourceLabels, Separator, TargetLabel
16146
+ # - dropequal: 丢弃指标-完全匹配, 必填: SourceLabels, Separator, TargetLabel
16147
+ # - keepequal: 保留指标-完全匹配, 必填: SourceLabels, Separator, TargetLabel
16148
+ # - drop: 丢弃指标-正则匹配, 必填: SourceLabels, Separator, Regex
16149
+ # - keep: 保留指标-正则匹配, 必填: SourceLabels, Separator, Regex
16150
+ # - hashmod:哈希取模, 必填: SourceLabels, Separator, TargetLabel, Modulus
16151
+ # - labelmap:Label映射, 必填: Regex, Replacement
16152
+ # 注意:此字段可能返回 null,表示取不到有效值。
16153
+ # @type Action: String
16154
+ # @param SourceLabels: 原始label
16155
+ # 注意:此字段可能返回 null,表示取不到有效值。
16156
+ # @type SourceLabels: Array
16157
+ # @param Separator: 原始label连接符。 必填时不能为空串, 长度不能超过256
16158
+ # 注意:此字段可能返回 null,表示取不到有效值。
16159
+ # @type Separator: String
16160
+ # @param TargetLabel: 目标label。必填时不能为空串,校验格式:`^[a-zA-Z_][a-zA-Z0-9_]*$` , 长度不能超过256
16161
+ # 注意:此字段可能返回 null,表示取不到有效值。
16162
+ # @type TargetLabel: String
16163
+ # @param Replacement: 替换值。如果正则表达式匹配,则对其执行替换操作。
16164
+ # - 必填时不能为空串,长度不能超过256
16165
+ # - 当action为LabelMap时, Replacement 校验格式:`^(?:(?:[a-zA-Z_]|\$(?:\{\w+\}|\w+))+\w*)+$`
16166
+ # 注意:此字段可能返回 null,表示取不到有效值。
16167
+ # @type Replacement: String
16168
+ # @param Regex: 正则表达式。提取与之匹配值。必填时不能为空串,校验必须是一个合法的 RE2
16169
+ # 注意:此字段可能返回 null,表示取不到有效值。
16170
+ # @type Regex: String
16171
+ # @param Modulus: 获取源标签值的哈希值。必填时不能为空,不能为0
16172
+ # 注意:此字段可能返回 null,表示取不到有效值。
16173
+ # @type Modulus: Integer
16174
+
16175
+ attr_accessor :Action, :SourceLabels, :Separator, :TargetLabel, :Replacement, :Regex, :Modulus
16176
+
16177
+ def initialize(action=nil, sourcelabels=nil, separator=nil, targetlabel=nil, replacement=nil, regex=nil, modulus=nil)
16178
+ @Action = action
16179
+ @SourceLabels = sourcelabels
16180
+ @Separator = separator
16181
+ @TargetLabel = targetlabel
16182
+ @Replacement = replacement
16183
+ @Regex = regex
16184
+ @Modulus = modulus
16185
+ end
16186
+
16187
+ def deserialize(params)
16188
+ @Action = params['Action']
16189
+ @SourceLabels = params['SourceLabels']
16190
+ @Separator = params['Separator']
16191
+ @TargetLabel = params['TargetLabel']
16192
+ @Replacement = params['Replacement']
16193
+ @Regex = params['Regex']
16194
+ @Modulus = params['Modulus']
16195
+ end
16196
+ end
16197
+
12626
16198
  # RetryShipperTask请求参数结构体
12627
16199
  class RetryShipperTaskRequest < TencentCloud::Common::AbstractModel
12628
16200
  # @param ShipperId: 投递规则Id。
@@ -13331,6 +16903,73 @@ module TencentCloud
13331
16903
  end
13332
16904
  end
13333
16905
 
16906
+ # SendConsumerHeartbeat请求参数结构体
16907
+ class SendConsumerHeartbeatRequest < TencentCloud::Common::AbstractModel
16908
+ # @param ConsumerGroup: 上报心跳的消费组标识
16909
+ # @type ConsumerGroup: String
16910
+ # @param Consumer: 上报心跳的消费者名称
16911
+ # (字母数字下划线,不允许数字、_开头, 长度小于256)
16912
+ # @type Consumer: String
16913
+ # @param LogsetId: 日志集ID
16914
+ # @type LogsetId: String
16915
+ # @param TopicPartitionsInfo: topic 分区信息
16916
+ # @type TopicPartitionsInfo: Array
16917
+
16918
+ attr_accessor :ConsumerGroup, :Consumer, :LogsetId, :TopicPartitionsInfo
16919
+
16920
+ def initialize(consumergroup=nil, consumer=nil, logsetid=nil, topicpartitionsinfo=nil)
16921
+ @ConsumerGroup = consumergroup
16922
+ @Consumer = consumer
16923
+ @LogsetId = logsetid
16924
+ @TopicPartitionsInfo = topicpartitionsinfo
16925
+ end
16926
+
16927
+ def deserialize(params)
16928
+ @ConsumerGroup = params['ConsumerGroup']
16929
+ @Consumer = params['Consumer']
16930
+ @LogsetId = params['LogsetId']
16931
+ unless params['TopicPartitionsInfo'].nil?
16932
+ @TopicPartitionsInfo = []
16933
+ params['TopicPartitionsInfo'].each do |i|
16934
+ topicpartitioninfo_tmp = TopicPartitionInfo.new
16935
+ topicpartitioninfo_tmp.deserialize(i)
16936
+ @TopicPartitionsInfo << topicpartitioninfo_tmp
16937
+ end
16938
+ end
16939
+ end
16940
+ end
16941
+
16942
+ # SendConsumerHeartbeat返回参数结构体
16943
+ class SendConsumerHeartbeatResponse < TencentCloud::Common::AbstractModel
16944
+ # @param ConsumerGroup: 日志主题对应的消费组标识
16945
+ # @type ConsumerGroup: String
16946
+ # @param TopicPartitionsInfo: 分区信息
16947
+ # @type TopicPartitionsInfo: Array
16948
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16949
+ # @type RequestId: String
16950
+
16951
+ attr_accessor :ConsumerGroup, :TopicPartitionsInfo, :RequestId
16952
+
16953
+ def initialize(consumergroup=nil, topicpartitionsinfo=nil, requestid=nil)
16954
+ @ConsumerGroup = consumergroup
16955
+ @TopicPartitionsInfo = topicpartitionsinfo
16956
+ @RequestId = requestid
16957
+ end
16958
+
16959
+ def deserialize(params)
16960
+ @ConsumerGroup = params['ConsumerGroup']
16961
+ unless params['TopicPartitionsInfo'].nil?
16962
+ @TopicPartitionsInfo = []
16963
+ params['TopicPartitionsInfo'].each do |i|
16964
+ topicpartitioninfo_tmp = TopicPartitionInfo.new
16965
+ topicpartitioninfo_tmp.deserialize(i)
16966
+ @TopicPartitionsInfo << topicpartitioninfo_tmp
16967
+ end
16968
+ end
16969
+ @RequestId = params['RequestId']
16970
+ end
16971
+ end
16972
+
13334
16973
  # 投递规则
13335
16974
  class ShipperInfo < TencentCloud::Common::AbstractModel
13336
16975
  # @param ShipperId: 投递规则ID
@@ -13575,6 +17214,88 @@ module TencentCloud
13575
17214
  end
13576
17215
  end
13577
17216
 
17217
+ # Splunk投递任务信息
17218
+ class SplunkDeliverInfo < TencentCloud::Common::AbstractModel
17219
+ # @param TaskId: 任务id
17220
+ # @type TaskId: String
17221
+ # @param Name: 任务名称
17222
+ # @type Name: String
17223
+ # @param Uin: 用户id
17224
+ # @type Uin: Integer
17225
+ # @param TopicId: 日志主题id
17226
+ # @type TopicId: String
17227
+ # @param Status: 任务状态;1.运行中;2:暂停;3:异常
17228
+ # @type Status: Integer
17229
+ # @param Enable: 启用状态;0:禁用;1:启用
17230
+ # @type Enable: Integer
17231
+ # @param CreateTime: 创建时间;单位:秒
17232
+ # @type CreateTime: Integer
17233
+ # @param UpdateTime: 更新时间;单位:秒
17234
+ # @type UpdateTime: Integer
17235
+ # @param NetInfo: splunk投递任务-目标配置
17236
+ # @type NetInfo: :class:`Tencentcloud::Cls.v20201016.models.NetInfo`
17237
+ # @param Metadata: splunk投递任务元信息
17238
+ # @type Metadata: :class:`Tencentcloud::Cls.v20201016.models.MetadataInfo`
17239
+ # @param HasServiceLog: 是否启用服务日志;1:关闭;2:开启
17240
+ # @type HasServiceLog: Integer
17241
+ # @param Source: 高级配置-数据来源;
17242
+ # @type Source: String
17243
+ # @param SourceType: 高级配置-数据来源类型;
17244
+ # @type SourceType: String
17245
+ # @param Index: 高级配置-Splunk写入的索引
17246
+ # @type Index: String
17247
+ # @param IndexAck: 高级配置-是否启用索引器;1-不开启;2-开启;
17248
+ # @type IndexAck: Integer
17249
+ # @param Channel: 高级配置-通道
17250
+ # @type Channel: String
17251
+
17252
+ attr_accessor :TaskId, :Name, :Uin, :TopicId, :Status, :Enable, :CreateTime, :UpdateTime, :NetInfo, :Metadata, :HasServiceLog, :Source, :SourceType, :Index, :IndexAck, :Channel
17253
+
17254
+ def initialize(taskid=nil, name=nil, uin=nil, topicid=nil, status=nil, enable=nil, createtime=nil, updatetime=nil, netinfo=nil, metadata=nil, hasservicelog=nil, source=nil, sourcetype=nil, index=nil, indexack=nil, channel=nil)
17255
+ @TaskId = taskid
17256
+ @Name = name
17257
+ @Uin = uin
17258
+ @TopicId = topicid
17259
+ @Status = status
17260
+ @Enable = enable
17261
+ @CreateTime = createtime
17262
+ @UpdateTime = updatetime
17263
+ @NetInfo = netinfo
17264
+ @Metadata = metadata
17265
+ @HasServiceLog = hasservicelog
17266
+ @Source = source
17267
+ @SourceType = sourcetype
17268
+ @Index = index
17269
+ @IndexAck = indexack
17270
+ @Channel = channel
17271
+ end
17272
+
17273
+ def deserialize(params)
17274
+ @TaskId = params['TaskId']
17275
+ @Name = params['Name']
17276
+ @Uin = params['Uin']
17277
+ @TopicId = params['TopicId']
17278
+ @Status = params['Status']
17279
+ @Enable = params['Enable']
17280
+ @CreateTime = params['CreateTime']
17281
+ @UpdateTime = params['UpdateTime']
17282
+ unless params['NetInfo'].nil?
17283
+ @NetInfo = NetInfo.new
17284
+ @NetInfo.deserialize(params['NetInfo'])
17285
+ end
17286
+ unless params['Metadata'].nil?
17287
+ @Metadata = MetadataInfo.new
17288
+ @Metadata.deserialize(params['Metadata'])
17289
+ end
17290
+ @HasServiceLog = params['HasServiceLog']
17291
+ @Source = params['Source']
17292
+ @SourceType = params['SourceType']
17293
+ @Index = params['Index']
17294
+ @IndexAck = params['IndexAck']
17295
+ @Channel = params['Channel']
17296
+ end
17297
+ end
17298
+
13578
17299
  # 创建资源实例时同时绑定的标签对说明
13579
17300
  class Tag < TencentCloud::Common::AbstractModel
13580
17301
  # @param Key: 标签键
@@ -13797,6 +17518,57 @@ module TencentCloud
13797
17518
  end
13798
17519
  end
13799
17520
 
17521
+ # Partitions
17522
+ class TopicPartitionInfo < TencentCloud::Common::AbstractModel
17523
+ # @param TopicID: 日志主题ID
17524
+ # 注意:此字段可能返回 null,表示取不到有效值。
17525
+ # @type TopicID: String
17526
+ # @param Partitions: 分区id列表
17527
+ # 注意:此字段可能返回 null,表示取不到有效值。
17528
+ # @type Partitions: Array
17529
+
17530
+ attr_accessor :TopicID, :Partitions
17531
+
17532
+ def initialize(topicid=nil, partitions=nil)
17533
+ @TopicID = topicid
17534
+ @Partitions = partitions
17535
+ end
17536
+
17537
+ def deserialize(params)
17538
+ @TopicID = params['TopicID']
17539
+ @Partitions = params['Partitions']
17540
+ end
17541
+ end
17542
+
17543
+ # TopicPartitionOffsetInfo
17544
+ class TopicPartitionOffsetInfo < TencentCloud::Common::AbstractModel
17545
+ # @param TopicID: 日志主题id
17546
+ # 注意:此字段可能返回 null,表示取不到有效值。
17547
+ # @type TopicID: String
17548
+ # @param PartitionOffsets: 分区点位信息
17549
+ # 注意:此字段可能返回 null,表示取不到有效值。
17550
+ # @type PartitionOffsets: Array
17551
+
17552
+ attr_accessor :TopicID, :PartitionOffsets
17553
+
17554
+ def initialize(topicid=nil, partitionoffsets=nil)
17555
+ @TopicID = topicid
17556
+ @PartitionOffsets = partitionoffsets
17557
+ end
17558
+
17559
+ def deserialize(params)
17560
+ @TopicID = params['TopicID']
17561
+ unless params['PartitionOffsets'].nil?
17562
+ @PartitionOffsets = []
17563
+ params['PartitionOffsets'].each do |i|
17564
+ partitionoffsetinfo_tmp = PartitionOffsetInfo.new
17565
+ partitionoffsetinfo_tmp.deserialize(i)
17566
+ @PartitionOffsets << partitionoffsetinfo_tmp
17567
+ end
17568
+ end
17569
+ end
17570
+ end
17571
+
13800
17572
  # UploadLog请求参数结构体
13801
17573
  class UploadLogRequest < TencentCloud::Common::AbstractModel
13802
17574
  # @param TopicId: 日志主题id
@@ -13811,8 +17583,8 @@ module TencentCloud
13811
17583
 
13812
17584
  attr_accessor :TopicId, :HashKey, :CompressType
13813
17585
  extend Gem::Deprecate
13814
- deprecate :HashKey, :none, 2025, 12
13815
- deprecate :HashKey=, :none, 2025, 12
17586
+ deprecate :HashKey, :none, 2026, 1
17587
+ deprecate :HashKey=, :none, 2026, 1
13816
17588
 
13817
17589
  def initialize(topicid=nil, hashkey=nil, compresstype=nil)
13818
17590
  @TopicId = topicid
@@ -13947,10 +17719,10 @@ module TencentCloud
13947
17719
 
13948
17720
  attr_accessor :CallbackType, :Url, :WebCallbackId, :Method, :NoticeContentId, :RemindType, :Mobiles, :UserIds, :Headers, :Body, :Index
13949
17721
  extend Gem::Deprecate
13950
- deprecate :Headers, :none, 2025, 12
13951
- deprecate :Headers=, :none, 2025, 12
13952
- deprecate :Body, :none, 2025, 12
13953
- 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
13954
17726
 
13955
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)
13956
17728
  @CallbackType = callbacktype