tencentcloud-sdk-cls 3.0.1184 → 3.0.1187
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/client.rb +937 -1
- data/lib/v20201016/models.rb +3795 -157
- metadata +4 -4
data/lib/v20201016/models.rb
CHANGED
|
@@ -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
|
|
@@ -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。
|
|
@@ -3326,6 +3583,81 @@ module TencentCloud
|
|
|
3326
3583
|
end
|
|
3327
3584
|
end
|
|
3328
3585
|
|
|
3586
|
+
# CreateEsRecharge请求参数结构体
|
|
3587
|
+
class CreateEsRechargeRequest < TencentCloud::Common::AbstractModel
|
|
3588
|
+
# @param TopicId: 日志主题id。
|
|
3589
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
3590
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
3591
|
+
# @type TopicId: String
|
|
3592
|
+
# @param Name: 名称:长度不超过64字符。
|
|
3593
|
+
# @type Name: String
|
|
3594
|
+
# @param Index: 索引信息。不同索引可以通过英文逗号分隔,支持*通配符
|
|
3595
|
+
# @type Index: String
|
|
3596
|
+
# @param Query: es查询语句。
|
|
3597
|
+
# @type Query: String
|
|
3598
|
+
# @param EsInfo: es集群配置信息。
|
|
3599
|
+
# @type EsInfo: :class:`Tencentcloud::Cls.v20201016.models.EsInfo`
|
|
3600
|
+
# @param ImportInfo: es导入信息。
|
|
3601
|
+
# @type ImportInfo: :class:`Tencentcloud::Cls.v20201016.models.EsImportInfo`
|
|
3602
|
+
# @param TimeInfo: es导入时间字段信息。
|
|
3603
|
+
# @type TimeInfo: :class:`Tencentcloud::Cls.v20201016.models.EsTimeInfo`
|
|
3604
|
+
# @param HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。默认开启。
|
|
3605
|
+
# @type HasServicesLog: Integer
|
|
3606
|
+
|
|
3607
|
+
attr_accessor :TopicId, :Name, :Index, :Query, :EsInfo, :ImportInfo, :TimeInfo, :HasServicesLog
|
|
3608
|
+
|
|
3609
|
+
def initialize(topicid=nil, name=nil, index=nil, query=nil, esinfo=nil, importinfo=nil, timeinfo=nil, hasserviceslog=nil)
|
|
3610
|
+
@TopicId = topicid
|
|
3611
|
+
@Name = name
|
|
3612
|
+
@Index = index
|
|
3613
|
+
@Query = query
|
|
3614
|
+
@EsInfo = esinfo
|
|
3615
|
+
@ImportInfo = importinfo
|
|
3616
|
+
@TimeInfo = timeinfo
|
|
3617
|
+
@HasServicesLog = hasserviceslog
|
|
3618
|
+
end
|
|
3619
|
+
|
|
3620
|
+
def deserialize(params)
|
|
3621
|
+
@TopicId = params['TopicId']
|
|
3622
|
+
@Name = params['Name']
|
|
3623
|
+
@Index = params['Index']
|
|
3624
|
+
@Query = params['Query']
|
|
3625
|
+
unless params['EsInfo'].nil?
|
|
3626
|
+
@EsInfo = EsInfo.new
|
|
3627
|
+
@EsInfo.deserialize(params['EsInfo'])
|
|
3628
|
+
end
|
|
3629
|
+
unless params['ImportInfo'].nil?
|
|
3630
|
+
@ImportInfo = EsImportInfo.new
|
|
3631
|
+
@ImportInfo.deserialize(params['ImportInfo'])
|
|
3632
|
+
end
|
|
3633
|
+
unless params['TimeInfo'].nil?
|
|
3634
|
+
@TimeInfo = EsTimeInfo.new
|
|
3635
|
+
@TimeInfo.deserialize(params['TimeInfo'])
|
|
3636
|
+
end
|
|
3637
|
+
@HasServicesLog = params['HasServicesLog']
|
|
3638
|
+
end
|
|
3639
|
+
end
|
|
3640
|
+
|
|
3641
|
+
# CreateEsRecharge返回参数结构体
|
|
3642
|
+
class CreateEsRechargeResponse < TencentCloud::Common::AbstractModel
|
|
3643
|
+
# @param TaskId: 配置id
|
|
3644
|
+
# @type TaskId: String
|
|
3645
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3646
|
+
# @type RequestId: String
|
|
3647
|
+
|
|
3648
|
+
attr_accessor :TaskId, :RequestId
|
|
3649
|
+
|
|
3650
|
+
def initialize(taskid=nil, requestid=nil)
|
|
3651
|
+
@TaskId = taskid
|
|
3652
|
+
@RequestId = requestid
|
|
3653
|
+
end
|
|
3654
|
+
|
|
3655
|
+
def deserialize(params)
|
|
3656
|
+
@TaskId = params['TaskId']
|
|
3657
|
+
@RequestId = params['RequestId']
|
|
3658
|
+
end
|
|
3659
|
+
end
|
|
3660
|
+
|
|
3329
3661
|
# CreateExport请求参数结构体
|
|
3330
3662
|
class CreateExportRequest < TencentCloud::Common::AbstractModel
|
|
3331
3663
|
# @param TopicId: 日志主题Id
|
|
@@ -3396,43 +3728,111 @@ module TencentCloud
|
|
|
3396
3728
|
end
|
|
3397
3729
|
end
|
|
3398
3730
|
|
|
3399
|
-
#
|
|
3400
|
-
class
|
|
3401
|
-
# @param TopicId:
|
|
3402
|
-
# - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id
|
|
3731
|
+
# CreateHostMetricConfig请求参数结构体
|
|
3732
|
+
class CreateHostMetricConfigRequest < TencentCloud::Common::AbstractModel
|
|
3733
|
+
# @param TopicId: 指标日志主题id。
|
|
3734
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
3735
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
3403
3736
|
# @type TopicId: String
|
|
3404
|
-
# @param
|
|
3405
|
-
# @type Rule: :class:`Tencentcloud::Cls.v20201016.models.RuleInfo`
|
|
3406
|
-
# @param Status: 是否生效,默认为true
|
|
3407
|
-
# @type Status: Boolean
|
|
3408
|
-
# @param IncludeInternalFields: 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true
|
|
3409
|
-
# * false:不包含
|
|
3410
|
-
# * true:包含
|
|
3411
|
-
# @type IncludeInternalFields: Boolean
|
|
3412
|
-
# @param MetadataFlag: 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1
|
|
3413
|
-
# * 0:仅包含开启键值索引的元数据字段
|
|
3414
|
-
# * 1:包含所有元数据字段
|
|
3415
|
-
# * 2:不包含任何元数据字段
|
|
3416
|
-
# @type MetadataFlag: Integer
|
|
3417
|
-
# @param CoverageField: 自定义日志解析异常存储字段。
|
|
3418
|
-
# @type CoverageField: String
|
|
3737
|
+
# @param Name: 名称。
|
|
3419
3738
|
|
|
3420
|
-
|
|
3739
|
+
# - 长度不超过 64字符。
|
|
3740
|
+
# @type Name: String
|
|
3741
|
+
# @param MachineGroupIds: 机器组id列表。最多支持100个机器组。
|
|
3742
|
+
# @type MachineGroupIds: Array
|
|
3743
|
+
# @param Interval: 采集频率。单位:ms。 最小支持5000ms
|
|
3744
|
+
# @type Interval: Integer
|
|
3745
|
+
# @param HostMetricItems: 采集项。支持"cpu","mem","net","disk","system"。**目前仅支持:所有采集项都需配置**。
|
|
3746
|
+
# - cpu:CPU
|
|
3747
|
+
# - mem:内存
|
|
3748
|
+
# - net:网络
|
|
3749
|
+
# - disk:磁盘
|
|
3750
|
+
# - system:系统
|
|
3751
|
+
# @type HostMetricItems: Array
|
|
3421
3752
|
|
|
3422
|
-
|
|
3753
|
+
attr_accessor :TopicId, :Name, :MachineGroupIds, :Interval, :HostMetricItems
|
|
3754
|
+
|
|
3755
|
+
def initialize(topicid=nil, name=nil, machinegroupids=nil, interval=nil, hostmetricitems=nil)
|
|
3423
3756
|
@TopicId = topicid
|
|
3424
|
-
@
|
|
3425
|
-
@
|
|
3426
|
-
@
|
|
3427
|
-
@
|
|
3428
|
-
@CoverageField = coveragefield
|
|
3757
|
+
@Name = name
|
|
3758
|
+
@MachineGroupIds = machinegroupids
|
|
3759
|
+
@Interval = interval
|
|
3760
|
+
@HostMetricItems = hostmetricitems
|
|
3429
3761
|
end
|
|
3430
3762
|
|
|
3431
3763
|
def deserialize(params)
|
|
3432
3764
|
@TopicId = params['TopicId']
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3765
|
+
@Name = params['Name']
|
|
3766
|
+
@MachineGroupIds = params['MachineGroupIds']
|
|
3767
|
+
@Interval = params['Interval']
|
|
3768
|
+
unless params['HostMetricItems'].nil?
|
|
3769
|
+
@HostMetricItems = []
|
|
3770
|
+
params['HostMetricItems'].each do |i|
|
|
3771
|
+
hostmetricitem_tmp = HostMetricItem.new
|
|
3772
|
+
hostmetricitem_tmp.deserialize(i)
|
|
3773
|
+
@HostMetricItems << hostmetricitem_tmp
|
|
3774
|
+
end
|
|
3775
|
+
end
|
|
3776
|
+
end
|
|
3777
|
+
end
|
|
3778
|
+
|
|
3779
|
+
# CreateHostMetricConfig返回参数结构体
|
|
3780
|
+
class CreateHostMetricConfigResponse < TencentCloud::Common::AbstractModel
|
|
3781
|
+
# @param ConfigId: 主机指标采集配置id
|
|
3782
|
+
# @type ConfigId: String
|
|
3783
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3784
|
+
# @type RequestId: String
|
|
3785
|
+
|
|
3786
|
+
attr_accessor :ConfigId, :RequestId
|
|
3787
|
+
|
|
3788
|
+
def initialize(configid=nil, requestid=nil)
|
|
3789
|
+
@ConfigId = configid
|
|
3790
|
+
@RequestId = requestid
|
|
3791
|
+
end
|
|
3792
|
+
|
|
3793
|
+
def deserialize(params)
|
|
3794
|
+
@ConfigId = params['ConfigId']
|
|
3795
|
+
@RequestId = params['RequestId']
|
|
3796
|
+
end
|
|
3797
|
+
end
|
|
3798
|
+
|
|
3799
|
+
# CreateIndex请求参数结构体
|
|
3800
|
+
class CreateIndexRequest < TencentCloud::Common::AbstractModel
|
|
3801
|
+
# @param TopicId: 日志主题Id。
|
|
3802
|
+
# - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
3803
|
+
# @type TopicId: String
|
|
3804
|
+
# @param Rule: 索引规则
|
|
3805
|
+
# @type Rule: :class:`Tencentcloud::Cls.v20201016.models.RuleInfo`
|
|
3806
|
+
# @param Status: 是否生效,默认为true
|
|
3807
|
+
# @type Status: Boolean
|
|
3808
|
+
# @param IncludeInternalFields: 内置保留字段(`__FILENAME__`,`__HOSTNAME__`及`__SOURCE__`)是否包含至全文索引,默认为false,推荐设置为true
|
|
3809
|
+
# * false:不包含
|
|
3810
|
+
# * true:包含
|
|
3811
|
+
# @type IncludeInternalFields: Boolean
|
|
3812
|
+
# @param MetadataFlag: 元数据字段(前缀为`__TAG__`的字段)是否包含至全文索引,默认为0,推荐设置为1
|
|
3813
|
+
# * 0:仅包含开启键值索引的元数据字段
|
|
3814
|
+
# * 1:包含所有元数据字段
|
|
3815
|
+
# * 2:不包含任何元数据字段
|
|
3816
|
+
# @type MetadataFlag: Integer
|
|
3817
|
+
# @param CoverageField: 自定义日志解析异常存储字段。
|
|
3818
|
+
# @type CoverageField: String
|
|
3819
|
+
|
|
3820
|
+
attr_accessor :TopicId, :Rule, :Status, :IncludeInternalFields, :MetadataFlag, :CoverageField
|
|
3821
|
+
|
|
3822
|
+
def initialize(topicid=nil, rule=nil, status=nil, includeinternalfields=nil, metadataflag=nil, coveragefield=nil)
|
|
3823
|
+
@TopicId = topicid
|
|
3824
|
+
@Rule = rule
|
|
3825
|
+
@Status = status
|
|
3826
|
+
@IncludeInternalFields = includeinternalfields
|
|
3827
|
+
@MetadataFlag = metadataflag
|
|
3828
|
+
@CoverageField = coveragefield
|
|
3829
|
+
end
|
|
3830
|
+
|
|
3831
|
+
def deserialize(params)
|
|
3832
|
+
@TopicId = params['TopicId']
|
|
3833
|
+
unless params['Rule'].nil?
|
|
3834
|
+
@Rule = RuleInfo.new
|
|
3835
|
+
@Rule.deserialize(params['Rule'])
|
|
3436
3836
|
end
|
|
3437
3837
|
@Status = params['Status']
|
|
3438
3838
|
@IncludeInternalFields = params['IncludeInternalFields']
|
|
@@ -3708,6 +4108,186 @@ module TencentCloud
|
|
|
3708
4108
|
end
|
|
3709
4109
|
end
|
|
3710
4110
|
|
|
4111
|
+
# CreateMetricConfig请求参数结构体
|
|
4112
|
+
class CreateMetricConfigRequest < TencentCloud::Common::AbstractModel
|
|
4113
|
+
# @param TopicId: 指标日志主题id。
|
|
4114
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
4115
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
4116
|
+
# @type TopicId: String
|
|
4117
|
+
# @param Source: 采集配置来源。支持 :`0`、`1`
|
|
4118
|
+
# - 0:自建k8s
|
|
4119
|
+
# - 1:TKE
|
|
4120
|
+
# @type Source: Integer
|
|
4121
|
+
# @param GroupIds: 机器组id。
|
|
4122
|
+
# @type GroupIds: Array
|
|
4123
|
+
# @param Type: 监控类型。支持 :`0`、`1`,不支持修改
|
|
4124
|
+
# - 0:基础监控
|
|
4125
|
+
# - 1:自定义监控,
|
|
4126
|
+
# @type Type: Integer
|
|
4127
|
+
# @param Flag: 采集配置方式。支持 :`0`、`1`,不支持修改
|
|
4128
|
+
# - 0:普通配置方式,Type字段只能为:``1`
|
|
4129
|
+
# - 1:YAML导入方式, Type 可以是:`0`或者`1`
|
|
4130
|
+
# @type Flag: Integer
|
|
4131
|
+
# @param Name: 名称:长度不超过253字符,校验格式 ` [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*`。
|
|
4132
|
+
# @type Name: String
|
|
4133
|
+
# @param Spec: 采集对象, Flag=0时生效
|
|
4134
|
+
# @type Spec: :class:`Tencentcloud::Cls.v20201016.models.MetricSpec`
|
|
4135
|
+
# @param MetricRelabels: 标签处理, Flag=0时生效
|
|
4136
|
+
# @type MetricRelabels: Array
|
|
4137
|
+
# @param MetricLabel: 自定义元数据, Flag=0时生效
|
|
4138
|
+
# @type MetricLabel: :class:`Tencentcloud::Cls.v20201016.models.MetricConfigLabel`
|
|
4139
|
+
# @param Scheme: 通信协议 http、https; Flag=0时生效
|
|
4140
|
+
# @type Scheme: String
|
|
4141
|
+
# @param ScrapeInterval: 采集频率, Flag=0时生效
|
|
4142
|
+
# - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
|
|
4143
|
+
# - 默认:60s
|
|
4144
|
+
# @type ScrapeInterval: String
|
|
4145
|
+
# @param ScrapeTimeout: 采集超时时间, Flag=0时生效
|
|
4146
|
+
# - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
|
|
4147
|
+
# - 默认:30s
|
|
4148
|
+
# @type ScrapeTimeout: String
|
|
4149
|
+
# @param HonorLabels: Prometheus如何处理标签之间的冲突。当Flag=0时生效,支持`true`,`false`
|
|
4150
|
+
# - `false`:配置数据中冲突的标签重命名
|
|
4151
|
+
# - `true`:忽略冲突的服务器端标签
|
|
4152
|
+
# @type HonorLabels: Boolean
|
|
4153
|
+
# @param YamlSpec: 采集配置yaml格式字符串, Flag=1时必填
|
|
4154
|
+
# @type YamlSpec: :class:`Tencentcloud::Cls.v20201016.models.MetricYamlSpec`
|
|
4155
|
+
|
|
4156
|
+
attr_accessor :TopicId, :Source, :GroupIds, :Type, :Flag, :Name, :Spec, :MetricRelabels, :MetricLabel, :Scheme, :ScrapeInterval, :ScrapeTimeout, :HonorLabels, :YamlSpec
|
|
4157
|
+
|
|
4158
|
+
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)
|
|
4159
|
+
@TopicId = topicid
|
|
4160
|
+
@Source = source
|
|
4161
|
+
@GroupIds = groupids
|
|
4162
|
+
@Type = type
|
|
4163
|
+
@Flag = flag
|
|
4164
|
+
@Name = name
|
|
4165
|
+
@Spec = spec
|
|
4166
|
+
@MetricRelabels = metricrelabels
|
|
4167
|
+
@MetricLabel = metriclabel
|
|
4168
|
+
@Scheme = scheme
|
|
4169
|
+
@ScrapeInterval = scrapeinterval
|
|
4170
|
+
@ScrapeTimeout = scrapetimeout
|
|
4171
|
+
@HonorLabels = honorlabels
|
|
4172
|
+
@YamlSpec = yamlspec
|
|
4173
|
+
end
|
|
4174
|
+
|
|
4175
|
+
def deserialize(params)
|
|
4176
|
+
@TopicId = params['TopicId']
|
|
4177
|
+
@Source = params['Source']
|
|
4178
|
+
@GroupIds = params['GroupIds']
|
|
4179
|
+
@Type = params['Type']
|
|
4180
|
+
@Flag = params['Flag']
|
|
4181
|
+
@Name = params['Name']
|
|
4182
|
+
unless params['Spec'].nil?
|
|
4183
|
+
@Spec = MetricSpec.new
|
|
4184
|
+
@Spec.deserialize(params['Spec'])
|
|
4185
|
+
end
|
|
4186
|
+
unless params['MetricRelabels'].nil?
|
|
4187
|
+
@MetricRelabels = []
|
|
4188
|
+
params['MetricRelabels'].each do |i|
|
|
4189
|
+
relabeling_tmp = Relabeling.new
|
|
4190
|
+
relabeling_tmp.deserialize(i)
|
|
4191
|
+
@MetricRelabels << relabeling_tmp
|
|
4192
|
+
end
|
|
4193
|
+
end
|
|
4194
|
+
unless params['MetricLabel'].nil?
|
|
4195
|
+
@MetricLabel = MetricConfigLabel.new
|
|
4196
|
+
@MetricLabel.deserialize(params['MetricLabel'])
|
|
4197
|
+
end
|
|
4198
|
+
@Scheme = params['Scheme']
|
|
4199
|
+
@ScrapeInterval = params['ScrapeInterval']
|
|
4200
|
+
@ScrapeTimeout = params['ScrapeTimeout']
|
|
4201
|
+
@HonorLabels = params['HonorLabels']
|
|
4202
|
+
unless params['YamlSpec'].nil?
|
|
4203
|
+
@YamlSpec = MetricYamlSpec.new
|
|
4204
|
+
@YamlSpec.deserialize(params['YamlSpec'])
|
|
4205
|
+
end
|
|
4206
|
+
end
|
|
4207
|
+
end
|
|
4208
|
+
|
|
4209
|
+
# CreateMetricConfig返回参数结构体
|
|
4210
|
+
class CreateMetricConfigResponse < TencentCloud::Common::AbstractModel
|
|
4211
|
+
# @param ConfigIds: 指标采集配置id列表。
|
|
4212
|
+
# @type ConfigIds: Array
|
|
4213
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4214
|
+
# @type RequestId: String
|
|
4215
|
+
|
|
4216
|
+
attr_accessor :ConfigIds, :RequestId
|
|
4217
|
+
|
|
4218
|
+
def initialize(configids=nil, requestid=nil)
|
|
4219
|
+
@ConfigIds = configids
|
|
4220
|
+
@RequestId = requestid
|
|
4221
|
+
end
|
|
4222
|
+
|
|
4223
|
+
def deserialize(params)
|
|
4224
|
+
@ConfigIds = params['ConfigIds']
|
|
4225
|
+
@RequestId = params['RequestId']
|
|
4226
|
+
end
|
|
4227
|
+
end
|
|
4228
|
+
|
|
4229
|
+
# CreateMetricSubscribe请求参数结构体
|
|
4230
|
+
class CreateMetricSubscribeRequest < TencentCloud::Common::AbstractModel
|
|
4231
|
+
# @param Name: 名称:长度不超过64字符,以字母开头,接受0-9,a-z,A-Z, _,-,中文字符。
|
|
4232
|
+
# @type Name: String
|
|
4233
|
+
# @param TopicId: 日志主题id。
|
|
4234
|
+
# @type TopicId: String
|
|
4235
|
+
# @param Namespace: 云产品命名空间。
|
|
4236
|
+
# @type Namespace: String
|
|
4237
|
+
# @param Metrics: 数据库配置信息。
|
|
4238
|
+
# @type Metrics: Array
|
|
4239
|
+
# @param InstanceInfo: 实例配置配置。
|
|
4240
|
+
# @type InstanceInfo: :class:`Tencentcloud::Cls.v20201016.models.InstanceConfig`
|
|
4241
|
+
|
|
4242
|
+
attr_accessor :Name, :TopicId, :Namespace, :Metrics, :InstanceInfo
|
|
4243
|
+
|
|
4244
|
+
def initialize(name=nil, topicid=nil, namespace=nil, metrics=nil, instanceinfo=nil)
|
|
4245
|
+
@Name = name
|
|
4246
|
+
@TopicId = topicid
|
|
4247
|
+
@Namespace = namespace
|
|
4248
|
+
@Metrics = metrics
|
|
4249
|
+
@InstanceInfo = instanceinfo
|
|
4250
|
+
end
|
|
4251
|
+
|
|
4252
|
+
def deserialize(params)
|
|
4253
|
+
@Name = params['Name']
|
|
4254
|
+
@TopicId = params['TopicId']
|
|
4255
|
+
@Namespace = params['Namespace']
|
|
4256
|
+
unless params['Metrics'].nil?
|
|
4257
|
+
@Metrics = []
|
|
4258
|
+
params['Metrics'].each do |i|
|
|
4259
|
+
metricconfig_tmp = MetricConfig.new
|
|
4260
|
+
metricconfig_tmp.deserialize(i)
|
|
4261
|
+
@Metrics << metricconfig_tmp
|
|
4262
|
+
end
|
|
4263
|
+
end
|
|
4264
|
+
unless params['InstanceInfo'].nil?
|
|
4265
|
+
@InstanceInfo = InstanceConfig.new
|
|
4266
|
+
@InstanceInfo.deserialize(params['InstanceInfo'])
|
|
4267
|
+
end
|
|
4268
|
+
end
|
|
4269
|
+
end
|
|
4270
|
+
|
|
4271
|
+
# CreateMetricSubscribe返回参数结构体
|
|
4272
|
+
class CreateMetricSubscribeResponse < TencentCloud::Common::AbstractModel
|
|
4273
|
+
# @param TaskId: 配置id
|
|
4274
|
+
# @type TaskId: String
|
|
4275
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4276
|
+
# @type RequestId: String
|
|
4277
|
+
|
|
4278
|
+
attr_accessor :TaskId, :RequestId
|
|
4279
|
+
|
|
4280
|
+
def initialize(taskid=nil, requestid=nil)
|
|
4281
|
+
@TaskId = taskid
|
|
4282
|
+
@RequestId = requestid
|
|
4283
|
+
end
|
|
4284
|
+
|
|
4285
|
+
def deserialize(params)
|
|
4286
|
+
@TaskId = params['TaskId']
|
|
4287
|
+
@RequestId = params['RequestId']
|
|
4288
|
+
end
|
|
4289
|
+
end
|
|
4290
|
+
|
|
3711
4291
|
# CreateNoticeContent请求参数结构体
|
|
3712
4292
|
class CreateNoticeContentRequest < TencentCloud::Common::AbstractModel
|
|
3713
4293
|
# @param Name: 模板名称。最大支持255个字节
|
|
@@ -3972,6 +4552,91 @@ module TencentCloud
|
|
|
3972
4552
|
end
|
|
3973
4553
|
end
|
|
3974
4554
|
|
|
4555
|
+
# CreateSplunkDeliver请求参数结构体
|
|
4556
|
+
class CreateSplunkDeliverRequest < TencentCloud::Common::AbstractModel
|
|
4557
|
+
# @param TopicId: 日志主题id
|
|
4558
|
+
# - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
4559
|
+
# @type TopicId: String
|
|
4560
|
+
# @param Name: splunk投递任务名称;
|
|
4561
|
+
# name有如下限制:
|
|
4562
|
+
# - 不能为空
|
|
4563
|
+
# - 长度不大于64
|
|
4564
|
+
# - 只能包含aA-zZ、下划线、-、0-9
|
|
4565
|
+
# @type Name: String
|
|
4566
|
+
# @param NetInfo: Splunk投递任务-目标配置-网络信息
|
|
4567
|
+
# @type NetInfo: :class:`Tencentcloud::Cls.v20201016.models.NetInfo`
|
|
4568
|
+
# @param MetadataInfo: Splunk投递任务元信息
|
|
4569
|
+
# @type MetadataInfo: :class:`Tencentcloud::Cls.v20201016.models.MetadataInfo`
|
|
4570
|
+
# @param HasServiceLog: 是否开启服务日志 1:关闭;2:开启 ;默认开启
|
|
4571
|
+
# @type HasServiceLog: Integer
|
|
4572
|
+
# @param IndexAck: 高级配置-是否启用索引器;1-不启用;2-启用;
|
|
4573
|
+
# 默认:1
|
|
4574
|
+
# @type IndexAck: Integer
|
|
4575
|
+
# @param Source: 高级配置-数据来源;不超过64个字符
|
|
4576
|
+
# @type Source: String
|
|
4577
|
+
# @param SourceType: 高级配置-数据来源类型;不超过64个字符
|
|
4578
|
+
# @type SourceType: String
|
|
4579
|
+
# @param Index: 高级配置-Splunk写入的索引;不超过64个字符
|
|
4580
|
+
# @type Index: String
|
|
4581
|
+
# @param Channel: 高级配置-通道
|
|
4582
|
+
# 需满足限制:如果启用索引器,那么Channel必填
|
|
4583
|
+
# @type Channel: String
|
|
4584
|
+
|
|
4585
|
+
attr_accessor :TopicId, :Name, :NetInfo, :MetadataInfo, :HasServiceLog, :IndexAck, :Source, :SourceType, :Index, :Channel
|
|
4586
|
+
|
|
4587
|
+
def initialize(topicid=nil, name=nil, netinfo=nil, metadatainfo=nil, hasservicelog=nil, indexack=nil, source=nil, sourcetype=nil, index=nil, channel=nil)
|
|
4588
|
+
@TopicId = topicid
|
|
4589
|
+
@Name = name
|
|
4590
|
+
@NetInfo = netinfo
|
|
4591
|
+
@MetadataInfo = metadatainfo
|
|
4592
|
+
@HasServiceLog = hasservicelog
|
|
4593
|
+
@IndexAck = indexack
|
|
4594
|
+
@Source = source
|
|
4595
|
+
@SourceType = sourcetype
|
|
4596
|
+
@Index = index
|
|
4597
|
+
@Channel = channel
|
|
4598
|
+
end
|
|
4599
|
+
|
|
4600
|
+
def deserialize(params)
|
|
4601
|
+
@TopicId = params['TopicId']
|
|
4602
|
+
@Name = params['Name']
|
|
4603
|
+
unless params['NetInfo'].nil?
|
|
4604
|
+
@NetInfo = NetInfo.new
|
|
4605
|
+
@NetInfo.deserialize(params['NetInfo'])
|
|
4606
|
+
end
|
|
4607
|
+
unless params['MetadataInfo'].nil?
|
|
4608
|
+
@MetadataInfo = MetadataInfo.new
|
|
4609
|
+
@MetadataInfo.deserialize(params['MetadataInfo'])
|
|
4610
|
+
end
|
|
4611
|
+
@HasServiceLog = params['HasServiceLog']
|
|
4612
|
+
@IndexAck = params['IndexAck']
|
|
4613
|
+
@Source = params['Source']
|
|
4614
|
+
@SourceType = params['SourceType']
|
|
4615
|
+
@Index = params['Index']
|
|
4616
|
+
@Channel = params['Channel']
|
|
4617
|
+
end
|
|
4618
|
+
end
|
|
4619
|
+
|
|
4620
|
+
# CreateSplunkDeliver返回参数结构体
|
|
4621
|
+
class CreateSplunkDeliverResponse < TencentCloud::Common::AbstractModel
|
|
4622
|
+
# @param TaskId: splunk投递任务id
|
|
4623
|
+
# @type TaskId: String
|
|
4624
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4625
|
+
# @type RequestId: String
|
|
4626
|
+
|
|
4627
|
+
attr_accessor :TaskId, :RequestId
|
|
4628
|
+
|
|
4629
|
+
def initialize(taskid=nil, requestid=nil)
|
|
4630
|
+
@TaskId = taskid
|
|
4631
|
+
@RequestId = requestid
|
|
4632
|
+
end
|
|
4633
|
+
|
|
4634
|
+
def deserialize(params)
|
|
4635
|
+
@TaskId = params['TaskId']
|
|
4636
|
+
@RequestId = params['RequestId']
|
|
4637
|
+
end
|
|
4638
|
+
end
|
|
4639
|
+
|
|
3975
4640
|
# CreateTopic请求参数结构体
|
|
3976
4641
|
class CreateTopicRequest < TencentCloud::Common::AbstractModel
|
|
3977
4642
|
# @param LogsetId: 日志集ID
|
|
@@ -4187,6 +4852,76 @@ module TencentCloud
|
|
|
4187
4852
|
end
|
|
4188
4853
|
end
|
|
4189
4854
|
|
|
4855
|
+
# 自定义标签结构体
|
|
4856
|
+
class CustomLabel < TencentCloud::Common::AbstractModel
|
|
4857
|
+
# @param Key: 标签的键。
|
|
4858
|
+
# - 必须以字母或下划线开头,但不可以双下划线(__)开头,后面可以跟任意字母,数字或下划线。
|
|
4859
|
+
# - 最大支持256个字符。
|
|
4860
|
+
# - key不能重复
|
|
4861
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4862
|
+
# @type Key: String
|
|
4863
|
+
# @param Value: 标签的值。
|
|
4864
|
+
# - 最大支持256个字符。
|
|
4865
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4866
|
+
# @type Value: String
|
|
4867
|
+
|
|
4868
|
+
attr_accessor :Key, :Value
|
|
4869
|
+
|
|
4870
|
+
def initialize(key=nil, value=nil)
|
|
4871
|
+
@Key = key
|
|
4872
|
+
@Value = value
|
|
4873
|
+
end
|
|
4874
|
+
|
|
4875
|
+
def deserialize(params)
|
|
4876
|
+
@Key = params['Key']
|
|
4877
|
+
@Value = params['Value']
|
|
4878
|
+
end
|
|
4879
|
+
end
|
|
4880
|
+
|
|
4881
|
+
# 自定义指标采集对象
|
|
4882
|
+
class CustomMetricSpec < TencentCloud::Common::AbstractModel
|
|
4883
|
+
# @param Port: 端口。取值范围 [1,65535]
|
|
4884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4885
|
+
# @type Port: String
|
|
4886
|
+
# @param Path: Metric地址。校验格式:`^/[a-zA-Z0-9-_./]*$`
|
|
4887
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4888
|
+
# @type Path: String
|
|
4889
|
+
# @param Namespaces: 命名空间列表。
|
|
4890
|
+
# - 最大支持100个
|
|
4891
|
+
# - namespace 校验格式 `[a-z0-9]([-a-z0-9]*[a-z0-9])?` , 长度不能超过63
|
|
4892
|
+
# - namespace 不能重复
|
|
4893
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4894
|
+
# @type Namespaces: Array
|
|
4895
|
+
# @param PodLabel: Pod标签。
|
|
4896
|
+
# - 最大支持100个
|
|
4897
|
+
|
|
4898
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4899
|
+
# @type PodLabel: Array
|
|
4900
|
+
|
|
4901
|
+
attr_accessor :Port, :Path, :Namespaces, :PodLabel
|
|
4902
|
+
|
|
4903
|
+
def initialize(port=nil, path=nil, namespaces=nil, podlabel=nil)
|
|
4904
|
+
@Port = port
|
|
4905
|
+
@Path = path
|
|
4906
|
+
@Namespaces = namespaces
|
|
4907
|
+
@PodLabel = podlabel
|
|
4908
|
+
end
|
|
4909
|
+
|
|
4910
|
+
def deserialize(params)
|
|
4911
|
+
@Port = params['Port']
|
|
4912
|
+
@Path = params['Path']
|
|
4913
|
+
@Namespaces = params['Namespaces']
|
|
4914
|
+
unless params['PodLabel'].nil?
|
|
4915
|
+
@PodLabel = []
|
|
4916
|
+
params['PodLabel'].each do |i|
|
|
4917
|
+
label_tmp = Label.new
|
|
4918
|
+
label_tmp.deserialize(i)
|
|
4919
|
+
@PodLabel << label_tmp
|
|
4920
|
+
end
|
|
4921
|
+
end
|
|
4922
|
+
end
|
|
4923
|
+
end
|
|
4924
|
+
|
|
4190
4925
|
# 仪表盘信息
|
|
4191
4926
|
class DashboardInfo < TencentCloud::Common::AbstractModel
|
|
4192
4927
|
# @param DashboardId: 仪表盘id
|
|
@@ -4975,6 +5710,42 @@ module TencentCloud
|
|
|
4975
5710
|
end
|
|
4976
5711
|
end
|
|
4977
5712
|
|
|
5713
|
+
# DeleteConsumerGroup请求参数结构体
|
|
5714
|
+
class DeleteConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
|
5715
|
+
# @param ConsumerGroup: 需要删除的消费者组标识
|
|
5716
|
+
# @type ConsumerGroup: String
|
|
5717
|
+
# @param LogsetId: 日志集id
|
|
5718
|
+
# @type LogsetId: String
|
|
5719
|
+
|
|
5720
|
+
attr_accessor :ConsumerGroup, :LogsetId
|
|
5721
|
+
|
|
5722
|
+
def initialize(consumergroup=nil, logsetid=nil)
|
|
5723
|
+
@ConsumerGroup = consumergroup
|
|
5724
|
+
@LogsetId = logsetid
|
|
5725
|
+
end
|
|
5726
|
+
|
|
5727
|
+
def deserialize(params)
|
|
5728
|
+
@ConsumerGroup = params['ConsumerGroup']
|
|
5729
|
+
@LogsetId = params['LogsetId']
|
|
5730
|
+
end
|
|
5731
|
+
end
|
|
5732
|
+
|
|
5733
|
+
# DeleteConsumerGroup返回参数结构体
|
|
5734
|
+
class DeleteConsumerGroupResponse < TencentCloud::Common::AbstractModel
|
|
5735
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5736
|
+
# @type RequestId: String
|
|
5737
|
+
|
|
5738
|
+
attr_accessor :RequestId
|
|
5739
|
+
|
|
5740
|
+
def initialize(requestid=nil)
|
|
5741
|
+
@RequestId = requestid
|
|
5742
|
+
end
|
|
5743
|
+
|
|
5744
|
+
def deserialize(params)
|
|
5745
|
+
@RequestId = params['RequestId']
|
|
5746
|
+
end
|
|
5747
|
+
end
|
|
5748
|
+
|
|
4978
5749
|
# DeleteConsumer请求参数结构体
|
|
4979
5750
|
class DeleteConsumerRequest < TencentCloud::Common::AbstractModel
|
|
4980
5751
|
# @param TopicId: 投递任务绑定的日志主题Id。
|
|
@@ -5148,15 +5919,53 @@ module TencentCloud
|
|
|
5148
5919
|
end
|
|
5149
5920
|
end
|
|
5150
5921
|
|
|
5151
|
-
#
|
|
5152
|
-
class
|
|
5153
|
-
# @param
|
|
5154
|
-
#
|
|
5155
|
-
# @
|
|
5922
|
+
# DeleteEsRecharge请求参数结构体
|
|
5923
|
+
class DeleteEsRechargeRequest < TencentCloud::Common::AbstractModel
|
|
5924
|
+
# @param TaskId: 任务id
|
|
5925
|
+
# @type TaskId: String
|
|
5926
|
+
# @param TopicId: 任务配置的日志主题id。
|
|
5927
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
5928
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
5929
|
+
# @type TopicId: String
|
|
5156
5930
|
|
|
5157
|
-
attr_accessor :
|
|
5931
|
+
attr_accessor :TaskId, :TopicId
|
|
5158
5932
|
|
|
5159
|
-
def initialize(
|
|
5933
|
+
def initialize(taskid=nil, topicid=nil)
|
|
5934
|
+
@TaskId = taskid
|
|
5935
|
+
@TopicId = topicid
|
|
5936
|
+
end
|
|
5937
|
+
|
|
5938
|
+
def deserialize(params)
|
|
5939
|
+
@TaskId = params['TaskId']
|
|
5940
|
+
@TopicId = params['TopicId']
|
|
5941
|
+
end
|
|
5942
|
+
end
|
|
5943
|
+
|
|
5944
|
+
# DeleteEsRecharge返回参数结构体
|
|
5945
|
+
class DeleteEsRechargeResponse < TencentCloud::Common::AbstractModel
|
|
5946
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5947
|
+
# @type RequestId: String
|
|
5948
|
+
|
|
5949
|
+
attr_accessor :RequestId
|
|
5950
|
+
|
|
5951
|
+
def initialize(requestid=nil)
|
|
5952
|
+
@RequestId = requestid
|
|
5953
|
+
end
|
|
5954
|
+
|
|
5955
|
+
def deserialize(params)
|
|
5956
|
+
@RequestId = params['RequestId']
|
|
5957
|
+
end
|
|
5958
|
+
end
|
|
5959
|
+
|
|
5960
|
+
# DeleteExport请求参数结构体
|
|
5961
|
+
class DeleteExportRequest < TencentCloud::Common::AbstractModel
|
|
5962
|
+
# @param ExportId: 日志导出任务Id
|
|
5963
|
+
# - 通过[获取日志下载任务列表](https://cloud.tencent.com/document/product/614/56449)获取日志导出任务Id。
|
|
5964
|
+
# @type ExportId: String
|
|
5965
|
+
|
|
5966
|
+
attr_accessor :ExportId
|
|
5967
|
+
|
|
5968
|
+
def initialize(exportid=nil)
|
|
5160
5969
|
@ExportId = exportid
|
|
5161
5970
|
end
|
|
5162
5971
|
|
|
@@ -5181,6 +5990,44 @@ module TencentCloud
|
|
|
5181
5990
|
end
|
|
5182
5991
|
end
|
|
5183
5992
|
|
|
5993
|
+
# DeleteHostMetricConfig请求参数结构体
|
|
5994
|
+
class DeleteHostMetricConfigRequest < TencentCloud::Common::AbstractModel
|
|
5995
|
+
# @param TopicId: 指标日志主题id。
|
|
5996
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
5997
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
5998
|
+
# @type TopicId: String
|
|
5999
|
+
# @param ConfigId: 采集配置id。
|
|
6000
|
+
# @type ConfigId: String
|
|
6001
|
+
|
|
6002
|
+
attr_accessor :TopicId, :ConfigId
|
|
6003
|
+
|
|
6004
|
+
def initialize(topicid=nil, configid=nil)
|
|
6005
|
+
@TopicId = topicid
|
|
6006
|
+
@ConfigId = configid
|
|
6007
|
+
end
|
|
6008
|
+
|
|
6009
|
+
def deserialize(params)
|
|
6010
|
+
@TopicId = params['TopicId']
|
|
6011
|
+
@ConfigId = params['ConfigId']
|
|
6012
|
+
end
|
|
6013
|
+
end
|
|
6014
|
+
|
|
6015
|
+
# DeleteHostMetricConfig返回参数结构体
|
|
6016
|
+
class DeleteHostMetricConfigResponse < TencentCloud::Common::AbstractModel
|
|
6017
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6018
|
+
# @type RequestId: String
|
|
6019
|
+
|
|
6020
|
+
attr_accessor :RequestId
|
|
6021
|
+
|
|
6022
|
+
def initialize(requestid=nil)
|
|
6023
|
+
@RequestId = requestid
|
|
6024
|
+
end
|
|
6025
|
+
|
|
6026
|
+
def deserialize(params)
|
|
6027
|
+
@RequestId = params['RequestId']
|
|
6028
|
+
end
|
|
6029
|
+
end
|
|
6030
|
+
|
|
5184
6031
|
# DeleteIndex请求参数结构体
|
|
5185
6032
|
class DeleteIndexRequest < TencentCloud::Common::AbstractModel
|
|
5186
6033
|
# @param TopicId: 日志主题Id。
|
|
@@ -5360,6 +6207,80 @@ module TencentCloud
|
|
|
5360
6207
|
end
|
|
5361
6208
|
end
|
|
5362
6209
|
|
|
6210
|
+
# DeleteMetricConfig请求参数结构体
|
|
6211
|
+
class DeleteMetricConfigRequest < TencentCloud::Common::AbstractModel
|
|
6212
|
+
# @param TopicId: 指标日志主题id。
|
|
6213
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
6214
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
6215
|
+
# @type TopicId: String
|
|
6216
|
+
# @param ConfigId: 指标采集配置id。
|
|
6217
|
+
# @type ConfigId: String
|
|
6218
|
+
|
|
6219
|
+
attr_accessor :TopicId, :ConfigId
|
|
6220
|
+
|
|
6221
|
+
def initialize(topicid=nil, configid=nil)
|
|
6222
|
+
@TopicId = topicid
|
|
6223
|
+
@ConfigId = configid
|
|
6224
|
+
end
|
|
6225
|
+
|
|
6226
|
+
def deserialize(params)
|
|
6227
|
+
@TopicId = params['TopicId']
|
|
6228
|
+
@ConfigId = params['ConfigId']
|
|
6229
|
+
end
|
|
6230
|
+
end
|
|
6231
|
+
|
|
6232
|
+
# DeleteMetricConfig返回参数结构体
|
|
6233
|
+
class DeleteMetricConfigResponse < TencentCloud::Common::AbstractModel
|
|
6234
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6235
|
+
# @type RequestId: String
|
|
6236
|
+
|
|
6237
|
+
attr_accessor :RequestId
|
|
6238
|
+
|
|
6239
|
+
def initialize(requestid=nil)
|
|
6240
|
+
@RequestId = requestid
|
|
6241
|
+
end
|
|
6242
|
+
|
|
6243
|
+
def deserialize(params)
|
|
6244
|
+
@RequestId = params['RequestId']
|
|
6245
|
+
end
|
|
6246
|
+
end
|
|
6247
|
+
|
|
6248
|
+
# DeleteMetricSubscribe请求参数结构体
|
|
6249
|
+
class DeleteMetricSubscribeRequest < TencentCloud::Common::AbstractModel
|
|
6250
|
+
# @param TaskId: 指标采集任务id
|
|
6251
|
+
# @type TaskId: String
|
|
6252
|
+
# @param TopicId: 指标采集任务配置的日志主题id。
|
|
6253
|
+
# @type TopicId: String
|
|
6254
|
+
|
|
6255
|
+
attr_accessor :TaskId, :TopicId
|
|
6256
|
+
|
|
6257
|
+
def initialize(taskid=nil, topicid=nil)
|
|
6258
|
+
@TaskId = taskid
|
|
6259
|
+
@TopicId = topicid
|
|
6260
|
+
end
|
|
6261
|
+
|
|
6262
|
+
def deserialize(params)
|
|
6263
|
+
@TaskId = params['TaskId']
|
|
6264
|
+
@TopicId = params['TopicId']
|
|
6265
|
+
end
|
|
6266
|
+
end
|
|
6267
|
+
|
|
6268
|
+
# DeleteMetricSubscribe返回参数结构体
|
|
6269
|
+
class DeleteMetricSubscribeResponse < TencentCloud::Common::AbstractModel
|
|
6270
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6271
|
+
# @type RequestId: String
|
|
6272
|
+
|
|
6273
|
+
attr_accessor :RequestId
|
|
6274
|
+
|
|
6275
|
+
def initialize(requestid=nil)
|
|
6276
|
+
@RequestId = requestid
|
|
6277
|
+
end
|
|
6278
|
+
|
|
6279
|
+
def deserialize(params)
|
|
6280
|
+
@RequestId = params['RequestId']
|
|
6281
|
+
end
|
|
6282
|
+
end
|
|
6283
|
+
|
|
5363
6284
|
# DeleteNoticeContent请求参数结构体
|
|
5364
6285
|
class DeleteNoticeContentRequest < TencentCloud::Common::AbstractModel
|
|
5365
6286
|
# @param NoticeContentId: 通知内容模板ID。-通过[获取通知内容模板](https://cloud.tencent.com/document/api/614/111714)获取通知内容模版ID
|
|
@@ -5461,6 +6382,43 @@ module TencentCloud
|
|
|
5461
6382
|
end
|
|
5462
6383
|
end
|
|
5463
6384
|
|
|
6385
|
+
# DeleteSplunkDeliver请求参数结构体
|
|
6386
|
+
class DeleteSplunkDeliverRequest < TencentCloud::Common::AbstractModel
|
|
6387
|
+
# @param TaskId: 任务id
|
|
6388
|
+
# @type TaskId: String
|
|
6389
|
+
# @param TopicId: 日志主题id
|
|
6390
|
+
# - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
6391
|
+
# @type TopicId: String
|
|
6392
|
+
|
|
6393
|
+
attr_accessor :TaskId, :TopicId
|
|
6394
|
+
|
|
6395
|
+
def initialize(taskid=nil, topicid=nil)
|
|
6396
|
+
@TaskId = taskid
|
|
6397
|
+
@TopicId = topicid
|
|
6398
|
+
end
|
|
6399
|
+
|
|
6400
|
+
def deserialize(params)
|
|
6401
|
+
@TaskId = params['TaskId']
|
|
6402
|
+
@TopicId = params['TopicId']
|
|
6403
|
+
end
|
|
6404
|
+
end
|
|
6405
|
+
|
|
6406
|
+
# DeleteSplunkDeliver返回参数结构体
|
|
6407
|
+
class DeleteSplunkDeliverResponse < TencentCloud::Common::AbstractModel
|
|
6408
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6409
|
+
# @type RequestId: String
|
|
6410
|
+
|
|
6411
|
+
attr_accessor :RequestId
|
|
6412
|
+
|
|
6413
|
+
def initialize(requestid=nil)
|
|
6414
|
+
@RequestId = requestid
|
|
6415
|
+
end
|
|
6416
|
+
|
|
6417
|
+
def deserialize(params)
|
|
6418
|
+
@RequestId = params['RequestId']
|
|
6419
|
+
end
|
|
6420
|
+
end
|
|
6421
|
+
|
|
5464
6422
|
# DeleteTopic请求参数结构体
|
|
5465
6423
|
class DeleteTopicRequest < TencentCloud::Common::AbstractModel
|
|
5466
6424
|
# @param TopicId: 主题ID- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
@@ -5960,6 +6918,143 @@ module TencentCloud
|
|
|
5960
6918
|
end
|
|
5961
6919
|
end
|
|
5962
6920
|
|
|
6921
|
+
# DescribeClusterBaseMetricConfigs请求参数结构体
|
|
6922
|
+
class DescribeClusterBaseMetricConfigsRequest < TencentCloud::Common::AbstractModel
|
|
6923
|
+
# @param GroupId: 机器组id
|
|
6924
|
+
# @type GroupId: String
|
|
6925
|
+
# @param Filters: <li> topicId按照【指标主题id】进行过滤。类型:String 必选:否</li>
|
|
6926
|
+
# <li> 每次请求的Filters的上限为10,所有Filter.Values总和上限为100。</li>
|
|
6927
|
+
# @type Filters: Array
|
|
6928
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
|
6929
|
+
# @type Offset: Integer
|
|
6930
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
6931
|
+
# @type Limit: Integer
|
|
6932
|
+
|
|
6933
|
+
attr_accessor :GroupId, :Filters, :Offset, :Limit
|
|
6934
|
+
|
|
6935
|
+
def initialize(groupid=nil, filters=nil, offset=nil, limit=nil)
|
|
6936
|
+
@GroupId = groupid
|
|
6937
|
+
@Filters = filters
|
|
6938
|
+
@Offset = offset
|
|
6939
|
+
@Limit = limit
|
|
6940
|
+
end
|
|
6941
|
+
|
|
6942
|
+
def deserialize(params)
|
|
6943
|
+
@GroupId = params['GroupId']
|
|
6944
|
+
unless params['Filters'].nil?
|
|
6945
|
+
@Filters = []
|
|
6946
|
+
params['Filters'].each do |i|
|
|
6947
|
+
filter_tmp = Filter.new
|
|
6948
|
+
filter_tmp.deserialize(i)
|
|
6949
|
+
@Filters << filter_tmp
|
|
6950
|
+
end
|
|
6951
|
+
end
|
|
6952
|
+
@Offset = params['Offset']
|
|
6953
|
+
@Limit = params['Limit']
|
|
6954
|
+
end
|
|
6955
|
+
end
|
|
6956
|
+
|
|
6957
|
+
# DescribeClusterBaseMetricConfigs返回参数结构体
|
|
6958
|
+
class DescribeClusterBaseMetricConfigsResponse < TencentCloud::Common::AbstractModel
|
|
6959
|
+
# @param TotalCount: 总数目
|
|
6960
|
+
# @type TotalCount: Integer
|
|
6961
|
+
# @param Datas: 指标采集配置列表
|
|
6962
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6963
|
+
# @type Datas: Array
|
|
6964
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6965
|
+
# @type RequestId: String
|
|
6966
|
+
|
|
6967
|
+
attr_accessor :TotalCount, :Datas, :RequestId
|
|
6968
|
+
|
|
6969
|
+
def initialize(totalcount=nil, datas=nil, requestid=nil)
|
|
6970
|
+
@TotalCount = totalcount
|
|
6971
|
+
@Datas = datas
|
|
6972
|
+
@RequestId = requestid
|
|
6973
|
+
end
|
|
6974
|
+
|
|
6975
|
+
def deserialize(params)
|
|
6976
|
+
@TotalCount = params['TotalCount']
|
|
6977
|
+
unless params['Datas'].nil?
|
|
6978
|
+
@Datas = []
|
|
6979
|
+
params['Datas'].each do |i|
|
|
6980
|
+
basemetriccollectconfig_tmp = BaseMetricCollectConfig.new
|
|
6981
|
+
basemetriccollectconfig_tmp.deserialize(i)
|
|
6982
|
+
@Datas << basemetriccollectconfig_tmp
|
|
6983
|
+
end
|
|
6984
|
+
end
|
|
6985
|
+
@RequestId = params['RequestId']
|
|
6986
|
+
end
|
|
6987
|
+
end
|
|
6988
|
+
|
|
6989
|
+
# DescribeClusterMetricConfigs请求参数结构体
|
|
6990
|
+
class DescribeClusterMetricConfigsRequest < TencentCloud::Common::AbstractModel
|
|
6991
|
+
# @param GroupId: 机器组id
|
|
6992
|
+
# @type GroupId: String
|
|
6993
|
+
# @param Filters: <li> configId按照【指标采集配置id】进行过滤。类型:String 必选:否</li>
|
|
6994
|
+
# <li> name按照【配置名称】进行过滤。类型:String 必选:否</li>
|
|
6995
|
+
# <li> 每次请求的Filters的上限为10,所有Filter.Values总和上限为100。</li>
|
|
6996
|
+
# @type Filters: Array
|
|
6997
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
|
6998
|
+
# @type Offset: Integer
|
|
6999
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
7000
|
+
# @type Limit: Integer
|
|
7001
|
+
|
|
7002
|
+
attr_accessor :GroupId, :Filters, :Offset, :Limit
|
|
7003
|
+
|
|
7004
|
+
def initialize(groupid=nil, filters=nil, offset=nil, limit=nil)
|
|
7005
|
+
@GroupId = groupid
|
|
7006
|
+
@Filters = filters
|
|
7007
|
+
@Offset = offset
|
|
7008
|
+
@Limit = limit
|
|
7009
|
+
end
|
|
7010
|
+
|
|
7011
|
+
def deserialize(params)
|
|
7012
|
+
@GroupId = params['GroupId']
|
|
7013
|
+
unless params['Filters'].nil?
|
|
7014
|
+
@Filters = []
|
|
7015
|
+
params['Filters'].each do |i|
|
|
7016
|
+
filter_tmp = Filter.new
|
|
7017
|
+
filter_tmp.deserialize(i)
|
|
7018
|
+
@Filters << filter_tmp
|
|
7019
|
+
end
|
|
7020
|
+
end
|
|
7021
|
+
@Offset = params['Offset']
|
|
7022
|
+
@Limit = params['Limit']
|
|
7023
|
+
end
|
|
7024
|
+
end
|
|
7025
|
+
|
|
7026
|
+
# DescribeClusterMetricConfigs返回参数结构体
|
|
7027
|
+
class DescribeClusterMetricConfigsResponse < TencentCloud::Common::AbstractModel
|
|
7028
|
+
# @param TotalCount: 总数目
|
|
7029
|
+
# @type TotalCount: Integer
|
|
7030
|
+
# @param Datas: 指标采集配置列表
|
|
7031
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7032
|
+
# @type Datas: Array
|
|
7033
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7034
|
+
# @type RequestId: String
|
|
7035
|
+
|
|
7036
|
+
attr_accessor :TotalCount, :Datas, :RequestId
|
|
7037
|
+
|
|
7038
|
+
def initialize(totalcount=nil, datas=nil, requestid=nil)
|
|
7039
|
+
@TotalCount = totalcount
|
|
7040
|
+
@Datas = datas
|
|
7041
|
+
@RequestId = requestid
|
|
7042
|
+
end
|
|
7043
|
+
|
|
7044
|
+
def deserialize(params)
|
|
7045
|
+
@TotalCount = params['TotalCount']
|
|
7046
|
+
unless params['Datas'].nil?
|
|
7047
|
+
@Datas = []
|
|
7048
|
+
params['Datas'].each do |i|
|
|
7049
|
+
metriccollectconfig_tmp = MetricCollectConfig.new
|
|
7050
|
+
metriccollectconfig_tmp.deserialize(i)
|
|
7051
|
+
@Datas << metriccollectconfig_tmp
|
|
7052
|
+
end
|
|
7053
|
+
end
|
|
7054
|
+
@RequestId = params['RequestId']
|
|
7055
|
+
end
|
|
7056
|
+
end
|
|
7057
|
+
|
|
5963
7058
|
# DescribeConfigExtras请求参数结构体
|
|
5964
7059
|
class DescribeConfigExtrasRequest < TencentCloud::Common::AbstractModel
|
|
5965
7060
|
# @param Filters: 过滤器,支持如下选项:
|
|
@@ -6213,12 +7308,149 @@ module TencentCloud
|
|
|
6213
7308
|
end
|
|
6214
7309
|
end
|
|
6215
7310
|
|
|
6216
|
-
#
|
|
6217
|
-
class
|
|
6218
|
-
# @param
|
|
6219
|
-
#
|
|
6220
|
-
#
|
|
6221
|
-
# @type
|
|
7311
|
+
# DescribeConsumerGroups请求参数结构体
|
|
7312
|
+
class DescribeConsumerGroupsRequest < TencentCloud::Common::AbstractModel
|
|
7313
|
+
# @param LogsetId: 日志集Id(日志主题所属的日志集)
|
|
7314
|
+
# @type LogsetId: String
|
|
7315
|
+
# @param Topics: topic列表
|
|
7316
|
+
# @type Topics: Array
|
|
7317
|
+
|
|
7318
|
+
attr_accessor :LogsetId, :Topics
|
|
7319
|
+
|
|
7320
|
+
def initialize(logsetid=nil, topics=nil)
|
|
7321
|
+
@LogsetId = logsetid
|
|
7322
|
+
@Topics = topics
|
|
7323
|
+
end
|
|
7324
|
+
|
|
7325
|
+
def deserialize(params)
|
|
7326
|
+
@LogsetId = params['LogsetId']
|
|
7327
|
+
@Topics = params['Topics']
|
|
7328
|
+
end
|
|
7329
|
+
end
|
|
7330
|
+
|
|
7331
|
+
# DescribeConsumerGroups返回参数结构体
|
|
7332
|
+
class DescribeConsumerGroupsResponse < TencentCloud::Common::AbstractModel
|
|
7333
|
+
# @param ConsumerGroupsInfo: 消费组详情列表
|
|
7334
|
+
# @type ConsumerGroupsInfo: Array
|
|
7335
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7336
|
+
# @type RequestId: String
|
|
7337
|
+
|
|
7338
|
+
attr_accessor :ConsumerGroupsInfo, :RequestId
|
|
7339
|
+
|
|
7340
|
+
def initialize(consumergroupsinfo=nil, requestid=nil)
|
|
7341
|
+
@ConsumerGroupsInfo = consumergroupsinfo
|
|
7342
|
+
@RequestId = requestid
|
|
7343
|
+
end
|
|
7344
|
+
|
|
7345
|
+
def deserialize(params)
|
|
7346
|
+
unless params['ConsumerGroupsInfo'].nil?
|
|
7347
|
+
@ConsumerGroupsInfo = []
|
|
7348
|
+
params['ConsumerGroupsInfo'].each do |i|
|
|
7349
|
+
consumergroupinfo_tmp = ConsumerGroupInfo.new
|
|
7350
|
+
consumergroupinfo_tmp.deserialize(i)
|
|
7351
|
+
@ConsumerGroupsInfo << consumergroupinfo_tmp
|
|
7352
|
+
end
|
|
7353
|
+
end
|
|
7354
|
+
@RequestId = params['RequestId']
|
|
7355
|
+
end
|
|
7356
|
+
end
|
|
7357
|
+
|
|
7358
|
+
# DescribeConsumerOffsets请求参数结构体
|
|
7359
|
+
class DescribeConsumerOffsetsRequest < TencentCloud::Common::AbstractModel
|
|
7360
|
+
# @param ConsumerGroup: 日志主题对应的消费组标识
|
|
7361
|
+
# @type ConsumerGroup: String
|
|
7362
|
+
# @param From: 时间戳(秒级时间戳)
|
|
7363
|
+
# @type From: String
|
|
7364
|
+
# @param LogsetId: 日志集id(日志主题对应的id)
|
|
7365
|
+
# @type LogsetId: String
|
|
7366
|
+
# @param TopicId: 日志主题id
|
|
7367
|
+
# @type TopicId: String
|
|
7368
|
+
# @param PartitionId: 分区id
|
|
7369
|
+
# @type PartitionId: String
|
|
7370
|
+
|
|
7371
|
+
attr_accessor :ConsumerGroup, :From, :LogsetId, :TopicId, :PartitionId
|
|
7372
|
+
|
|
7373
|
+
def initialize(consumergroup=nil, from=nil, logsetid=nil, topicid=nil, partitionid=nil)
|
|
7374
|
+
@ConsumerGroup = consumergroup
|
|
7375
|
+
@From = from
|
|
7376
|
+
@LogsetId = logsetid
|
|
7377
|
+
@TopicId = topicid
|
|
7378
|
+
@PartitionId = partitionid
|
|
7379
|
+
end
|
|
7380
|
+
|
|
7381
|
+
def deserialize(params)
|
|
7382
|
+
@ConsumerGroup = params['ConsumerGroup']
|
|
7383
|
+
@From = params['From']
|
|
7384
|
+
@LogsetId = params['LogsetId']
|
|
7385
|
+
@TopicId = params['TopicId']
|
|
7386
|
+
@PartitionId = params['PartitionId']
|
|
7387
|
+
end
|
|
7388
|
+
end
|
|
7389
|
+
|
|
7390
|
+
# DescribeConsumerOffsets返回参数结构体
|
|
7391
|
+
class DescribeConsumerOffsetsResponse < TencentCloud::Common::AbstractModel
|
|
7392
|
+
# @param ConsumerGroup: 消费者组标识
|
|
7393
|
+
# @type ConsumerGroup: String
|
|
7394
|
+
# @param TopicPartitionOffsetsInfo: 消费点位信息
|
|
7395
|
+
# @type TopicPartitionOffsetsInfo: Array
|
|
7396
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7397
|
+
# @type RequestId: String
|
|
7398
|
+
|
|
7399
|
+
attr_accessor :ConsumerGroup, :TopicPartitionOffsetsInfo, :RequestId
|
|
7400
|
+
|
|
7401
|
+
def initialize(consumergroup=nil, topicpartitionoffsetsinfo=nil, requestid=nil)
|
|
7402
|
+
@ConsumerGroup = consumergroup
|
|
7403
|
+
@TopicPartitionOffsetsInfo = topicpartitionoffsetsinfo
|
|
7404
|
+
@RequestId = requestid
|
|
7405
|
+
end
|
|
7406
|
+
|
|
7407
|
+
def deserialize(params)
|
|
7408
|
+
@ConsumerGroup = params['ConsumerGroup']
|
|
7409
|
+
unless params['TopicPartitionOffsetsInfo'].nil?
|
|
7410
|
+
@TopicPartitionOffsetsInfo = []
|
|
7411
|
+
params['TopicPartitionOffsetsInfo'].each do |i|
|
|
7412
|
+
topicpartitionoffsetinfo_tmp = TopicPartitionOffsetInfo.new
|
|
7413
|
+
topicpartitionoffsetinfo_tmp.deserialize(i)
|
|
7414
|
+
@TopicPartitionOffsetsInfo << topicpartitionoffsetinfo_tmp
|
|
7415
|
+
end
|
|
7416
|
+
end
|
|
7417
|
+
@RequestId = params['RequestId']
|
|
7418
|
+
end
|
|
7419
|
+
end
|
|
7420
|
+
|
|
7421
|
+
# DescribeConsumerPreview请求参数结构体
|
|
7422
|
+
class DescribeConsumerPreviewRequest < TencentCloud::Common::AbstractModel
|
|
7423
|
+
|
|
7424
|
+
|
|
7425
|
+
def initialize()
|
|
7426
|
+
end
|
|
7427
|
+
|
|
7428
|
+
def deserialize(params)
|
|
7429
|
+
end
|
|
7430
|
+
end
|
|
7431
|
+
|
|
7432
|
+
# DescribeConsumerPreview返回参数结构体
|
|
7433
|
+
class DescribeConsumerPreviewResponse < TencentCloud::Common::AbstractModel
|
|
7434
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7435
|
+
# @type RequestId: String
|
|
7436
|
+
|
|
7437
|
+
attr_accessor :RequestId
|
|
7438
|
+
|
|
7439
|
+
def initialize(requestid=nil)
|
|
7440
|
+
@RequestId = requestid
|
|
7441
|
+
end
|
|
7442
|
+
|
|
7443
|
+
def deserialize(params)
|
|
7444
|
+
@RequestId = params['RequestId']
|
|
7445
|
+
end
|
|
7446
|
+
end
|
|
7447
|
+
|
|
7448
|
+
# DescribeConsumer请求参数结构体
|
|
7449
|
+
class DescribeConsumerRequest < TencentCloud::Common::AbstractModel
|
|
7450
|
+
# @param TopicId: 投递任务绑定的日志主题Id。
|
|
7451
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
7452
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
7453
|
+
# @type TopicId: String
|
|
6222
7454
|
|
|
6223
7455
|
attr_accessor :TopicId
|
|
6224
7456
|
|
|
@@ -6274,6 +7506,85 @@ module TencentCloud
|
|
|
6274
7506
|
end
|
|
6275
7507
|
end
|
|
6276
7508
|
|
|
7509
|
+
# DescribeConsumers请求参数结构体
|
|
7510
|
+
class DescribeConsumersRequest < TencentCloud::Common::AbstractModel
|
|
7511
|
+
# @param Filters: - consumerId
|
|
7512
|
+
# 按照【投递规则ID】进行过滤。
|
|
7513
|
+
# 类型:String
|
|
7514
|
+
# 必选:否
|
|
7515
|
+
|
|
7516
|
+
# - topicId
|
|
7517
|
+
# 按照【日志主题】进行过滤。
|
|
7518
|
+
# 类型:String
|
|
7519
|
+
# 必选:否
|
|
7520
|
+
|
|
7521
|
+
# - taskStatus
|
|
7522
|
+
# 按照【任务运行状态】进行过滤。 支持`0`:停止,`1`:运行中,`2`:异常
|
|
7523
|
+
# 类型:String
|
|
7524
|
+
# 必选:否
|
|
7525
|
+
|
|
7526
|
+
|
|
7527
|
+
# 每次请求的Filters的上限为10,Filter.Values的上限为10。
|
|
7528
|
+
# @type Filters: Array
|
|
7529
|
+
# @param Offset: 分页的偏移量,默认值为0
|
|
7530
|
+
# @type Offset: Integer
|
|
7531
|
+
# @param Limit: 分页单页的限制数目,默认值为20,最大值100
|
|
7532
|
+
# @type Limit: Integer
|
|
7533
|
+
|
|
7534
|
+
attr_accessor :Filters, :Offset, :Limit
|
|
7535
|
+
|
|
7536
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
|
7537
|
+
@Filters = filters
|
|
7538
|
+
@Offset = offset
|
|
7539
|
+
@Limit = limit
|
|
7540
|
+
end
|
|
7541
|
+
|
|
7542
|
+
def deserialize(params)
|
|
7543
|
+
unless params['Filters'].nil?
|
|
7544
|
+
@Filters = []
|
|
7545
|
+
params['Filters'].each do |i|
|
|
7546
|
+
filter_tmp = Filter.new
|
|
7547
|
+
filter_tmp.deserialize(i)
|
|
7548
|
+
@Filters << filter_tmp
|
|
7549
|
+
end
|
|
7550
|
+
end
|
|
7551
|
+
@Offset = params['Offset']
|
|
7552
|
+
@Limit = params['Limit']
|
|
7553
|
+
end
|
|
7554
|
+
end
|
|
7555
|
+
|
|
7556
|
+
# DescribeConsumers返回参数结构体
|
|
7557
|
+
class DescribeConsumersResponse < TencentCloud::Common::AbstractModel
|
|
7558
|
+
# @param Consumers: 投递规则列表
|
|
7559
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7560
|
+
# @type Consumers: Array
|
|
7561
|
+
# @param TotalCount: 本次查询获取到的总数
|
|
7562
|
+
# @type TotalCount: Integer
|
|
7563
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7564
|
+
# @type RequestId: String
|
|
7565
|
+
|
|
7566
|
+
attr_accessor :Consumers, :TotalCount, :RequestId
|
|
7567
|
+
|
|
7568
|
+
def initialize(consumers=nil, totalcount=nil, requestid=nil)
|
|
7569
|
+
@Consumers = consumers
|
|
7570
|
+
@TotalCount = totalcount
|
|
7571
|
+
@RequestId = requestid
|
|
7572
|
+
end
|
|
7573
|
+
|
|
7574
|
+
def deserialize(params)
|
|
7575
|
+
unless params['Consumers'].nil?
|
|
7576
|
+
@Consumers = []
|
|
7577
|
+
params['Consumers'].each do |i|
|
|
7578
|
+
consumerinfo_tmp = ConsumerInfo.new
|
|
7579
|
+
consumerinfo_tmp.deserialize(i)
|
|
7580
|
+
@Consumers << consumerinfo_tmp
|
|
7581
|
+
end
|
|
7582
|
+
end
|
|
7583
|
+
@TotalCount = params['TotalCount']
|
|
7584
|
+
@RequestId = params['RequestId']
|
|
7585
|
+
end
|
|
7586
|
+
end
|
|
7587
|
+
|
|
6277
7588
|
# DescribeCosRecharges请求参数结构体
|
|
6278
7589
|
class DescribeCosRechargesRequest < TencentCloud::Common::AbstractModel
|
|
6279
7590
|
# @param TopicId: 日志主题Id。
|
|
@@ -6722,6 +8033,148 @@ module TencentCloud
|
|
|
6722
8033
|
end
|
|
6723
8034
|
end
|
|
6724
8035
|
|
|
8036
|
+
# DescribeEsRechargePreview请求参数结构体
|
|
8037
|
+
class DescribeEsRechargePreviewRequest < TencentCloud::Common::AbstractModel
|
|
8038
|
+
# @param Name: 名称:长度不超过64字符。
|
|
8039
|
+
# @type Name: String
|
|
8040
|
+
# @param TopicId: 日志主题id。
|
|
8041
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
8042
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
8043
|
+
# @type TopicId: String
|
|
8044
|
+
# @param Index: 索引信息。不同索引可以通过英文逗号分隔,支持*通配符
|
|
8045
|
+
# @type Index: String
|
|
8046
|
+
# @param Query: es查询语句。
|
|
8047
|
+
# @type Query: String
|
|
8048
|
+
# @param EsInfo: es集群配置信息。
|
|
8049
|
+
# @type EsInfo: :class:`Tencentcloud::Cls.v20201016.models.EsInfo`
|
|
8050
|
+
# @param ImportInfo: es导入信息。
|
|
8051
|
+
# @type ImportInfo: :class:`Tencentcloud::Cls.v20201016.models.EsImportInfo`
|
|
8052
|
+
# @param TimeInfo: es导入时间字段信息。
|
|
8053
|
+
# @type TimeInfo: :class:`Tencentcloud::Cls.v20201016.models.EsTimeInfo`
|
|
8054
|
+
|
|
8055
|
+
attr_accessor :Name, :TopicId, :Index, :Query, :EsInfo, :ImportInfo, :TimeInfo
|
|
8056
|
+
|
|
8057
|
+
def initialize(name=nil, topicid=nil, index=nil, query=nil, esinfo=nil, importinfo=nil, timeinfo=nil)
|
|
8058
|
+
@Name = name
|
|
8059
|
+
@TopicId = topicid
|
|
8060
|
+
@Index = index
|
|
8061
|
+
@Query = query
|
|
8062
|
+
@EsInfo = esinfo
|
|
8063
|
+
@ImportInfo = importinfo
|
|
8064
|
+
@TimeInfo = timeinfo
|
|
8065
|
+
end
|
|
8066
|
+
|
|
8067
|
+
def deserialize(params)
|
|
8068
|
+
@Name = params['Name']
|
|
8069
|
+
@TopicId = params['TopicId']
|
|
8070
|
+
@Index = params['Index']
|
|
8071
|
+
@Query = params['Query']
|
|
8072
|
+
unless params['EsInfo'].nil?
|
|
8073
|
+
@EsInfo = EsInfo.new
|
|
8074
|
+
@EsInfo.deserialize(params['EsInfo'])
|
|
8075
|
+
end
|
|
8076
|
+
unless params['ImportInfo'].nil?
|
|
8077
|
+
@ImportInfo = EsImportInfo.new
|
|
8078
|
+
@ImportInfo.deserialize(params['ImportInfo'])
|
|
8079
|
+
end
|
|
8080
|
+
unless params['TimeInfo'].nil?
|
|
8081
|
+
@TimeInfo = EsTimeInfo.new
|
|
8082
|
+
@TimeInfo.deserialize(params['TimeInfo'])
|
|
8083
|
+
end
|
|
8084
|
+
end
|
|
8085
|
+
end
|
|
8086
|
+
|
|
8087
|
+
# DescribeEsRechargePreview返回参数结构体
|
|
8088
|
+
class DescribeEsRechargePreviewResponse < TencentCloud::Common::AbstractModel
|
|
8089
|
+
# @param Data: 预览数据信息
|
|
8090
|
+
# @type Data: Array
|
|
8091
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8092
|
+
# @type RequestId: String
|
|
8093
|
+
|
|
8094
|
+
attr_accessor :Data, :RequestId
|
|
8095
|
+
|
|
8096
|
+
def initialize(data=nil, requestid=nil)
|
|
8097
|
+
@Data = data
|
|
8098
|
+
@RequestId = requestid
|
|
8099
|
+
end
|
|
8100
|
+
|
|
8101
|
+
def deserialize(params)
|
|
8102
|
+
@Data = params['Data']
|
|
8103
|
+
@RequestId = params['RequestId']
|
|
8104
|
+
end
|
|
8105
|
+
end
|
|
8106
|
+
|
|
8107
|
+
# DescribeEsRecharges请求参数结构体
|
|
8108
|
+
class DescribeEsRechargesRequest < TencentCloud::Common::AbstractModel
|
|
8109
|
+
# @param TopicId: 日志主题id。
|
|
8110
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
8111
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
8112
|
+
# @type TopicId: String
|
|
8113
|
+
# @param Filters: - taskId按照【配置id】进行过滤。类型:String 必选:否
|
|
8114
|
+
# - name按照【配置名称】进行过滤。类型:String 必选:否
|
|
8115
|
+
# - statusFlag按照【配置状态标记】进行过滤。类型:String 必选:否
|
|
8116
|
+
# - 每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
8117
|
+
# @type Filters: Array
|
|
8118
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
|
8119
|
+
# @type Offset: Integer
|
|
8120
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
8121
|
+
# @type Limit: Integer
|
|
8122
|
+
|
|
8123
|
+
attr_accessor :TopicId, :Filters, :Offset, :Limit
|
|
8124
|
+
|
|
8125
|
+
def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
|
|
8126
|
+
@TopicId = topicid
|
|
8127
|
+
@Filters = filters
|
|
8128
|
+
@Offset = offset
|
|
8129
|
+
@Limit = limit
|
|
8130
|
+
end
|
|
8131
|
+
|
|
8132
|
+
def deserialize(params)
|
|
8133
|
+
@TopicId = params['TopicId']
|
|
8134
|
+
unless params['Filters'].nil?
|
|
8135
|
+
@Filters = []
|
|
8136
|
+
params['Filters'].each do |i|
|
|
8137
|
+
filter_tmp = Filter.new
|
|
8138
|
+
filter_tmp.deserialize(i)
|
|
8139
|
+
@Filters << filter_tmp
|
|
8140
|
+
end
|
|
8141
|
+
end
|
|
8142
|
+
@Offset = params['Offset']
|
|
8143
|
+
@Limit = params['Limit']
|
|
8144
|
+
end
|
|
8145
|
+
end
|
|
8146
|
+
|
|
8147
|
+
# DescribeEsRecharges返回参数结构体
|
|
8148
|
+
class DescribeEsRechargesResponse < TencentCloud::Common::AbstractModel
|
|
8149
|
+
# @param TotalCount: 总数目
|
|
8150
|
+
# @type TotalCount: Integer
|
|
8151
|
+
# @param Infos: es导入配置信息
|
|
8152
|
+
# @type Infos: Array
|
|
8153
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8154
|
+
# @type RequestId: String
|
|
8155
|
+
|
|
8156
|
+
attr_accessor :TotalCount, :Infos, :RequestId
|
|
8157
|
+
|
|
8158
|
+
def initialize(totalcount=nil, infos=nil, requestid=nil)
|
|
8159
|
+
@TotalCount = totalcount
|
|
8160
|
+
@Infos = infos
|
|
8161
|
+
@RequestId = requestid
|
|
8162
|
+
end
|
|
8163
|
+
|
|
8164
|
+
def deserialize(params)
|
|
8165
|
+
@TotalCount = params['TotalCount']
|
|
8166
|
+
unless params['Infos'].nil?
|
|
8167
|
+
@Infos = []
|
|
8168
|
+
params['Infos'].each do |i|
|
|
8169
|
+
esrechargeinfo_tmp = EsRechargeInfo.new
|
|
8170
|
+
esrechargeinfo_tmp.deserialize(i)
|
|
8171
|
+
@Infos << esrechargeinfo_tmp
|
|
8172
|
+
end
|
|
8173
|
+
end
|
|
8174
|
+
@RequestId = params['RequestId']
|
|
8175
|
+
end
|
|
8176
|
+
end
|
|
8177
|
+
|
|
6725
8178
|
# DescribeExports请求参数结构体
|
|
6726
8179
|
class DescribeExportsRequest < TencentCloud::Common::AbstractModel
|
|
6727
8180
|
# @param TopicId: 日志主题Id
|
|
@@ -6778,18 +8231,89 @@ module TencentCloud
|
|
|
6778
8231
|
end
|
|
6779
8232
|
end
|
|
6780
8233
|
|
|
6781
|
-
#
|
|
6782
|
-
class
|
|
6783
|
-
# @param TopicId:
|
|
6784
|
-
# - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id
|
|
8234
|
+
# DescribeHostMetricConfigs请求参数结构体
|
|
8235
|
+
class DescribeHostMetricConfigsRequest < TencentCloud::Common::AbstractModel
|
|
8236
|
+
# @param TopicId: 指标日志主题id。
|
|
8237
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
8238
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
6785
8239
|
# @type TopicId: String
|
|
8240
|
+
# @param Filters: - configId按照【配置id】进行过滤。类型:String 必选:否
|
|
8241
|
+
# - name按照【配置名称】进行过滤。类型:String 必选:否
|
|
8242
|
+
|
|
8243
|
+
# 每次请求的Filters的上限为10,Filter.Values的上限为10。
|
|
8244
|
+
# @type Filters: Array
|
|
8245
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
|
8246
|
+
# @type Offset: Integer
|
|
8247
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
8248
|
+
# @type Limit: Integer
|
|
8249
|
+
|
|
8250
|
+
attr_accessor :TopicId, :Filters, :Offset, :Limit
|
|
8251
|
+
|
|
8252
|
+
def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
|
|
8253
|
+
@TopicId = topicid
|
|
8254
|
+
@Filters = filters
|
|
8255
|
+
@Offset = offset
|
|
8256
|
+
@Limit = limit
|
|
8257
|
+
end
|
|
8258
|
+
|
|
8259
|
+
def deserialize(params)
|
|
8260
|
+
@TopicId = params['TopicId']
|
|
8261
|
+
unless params['Filters'].nil?
|
|
8262
|
+
@Filters = []
|
|
8263
|
+
params['Filters'].each do |i|
|
|
8264
|
+
filter_tmp = Filter.new
|
|
8265
|
+
filter_tmp.deserialize(i)
|
|
8266
|
+
@Filters << filter_tmp
|
|
8267
|
+
end
|
|
8268
|
+
end
|
|
8269
|
+
@Offset = params['Offset']
|
|
8270
|
+
@Limit = params['Limit']
|
|
8271
|
+
end
|
|
8272
|
+
end
|
|
8273
|
+
|
|
8274
|
+
# DescribeHostMetricConfigs返回参数结构体
|
|
8275
|
+
class DescribeHostMetricConfigsResponse < TencentCloud::Common::AbstractModel
|
|
8276
|
+
# @param TotalCount: 总数目
|
|
8277
|
+
# @type TotalCount: Integer
|
|
8278
|
+
# @param Infos: 指标订阅配置信息
|
|
8279
|
+
# @type Infos: Array
|
|
8280
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8281
|
+
# @type RequestId: String
|
|
8282
|
+
|
|
8283
|
+
attr_accessor :TotalCount, :Infos, :RequestId
|
|
8284
|
+
|
|
8285
|
+
def initialize(totalcount=nil, infos=nil, requestid=nil)
|
|
8286
|
+
@TotalCount = totalcount
|
|
8287
|
+
@Infos = infos
|
|
8288
|
+
@RequestId = requestid
|
|
8289
|
+
end
|
|
8290
|
+
|
|
8291
|
+
def deserialize(params)
|
|
8292
|
+
@TotalCount = params['TotalCount']
|
|
8293
|
+
unless params['Infos'].nil?
|
|
8294
|
+
@Infos = []
|
|
8295
|
+
params['Infos'].each do |i|
|
|
8296
|
+
hostmetricconfig_tmp = HostMetricConfig.new
|
|
8297
|
+
hostmetricconfig_tmp.deserialize(i)
|
|
8298
|
+
@Infos << hostmetricconfig_tmp
|
|
8299
|
+
end
|
|
8300
|
+
end
|
|
8301
|
+
@RequestId = params['RequestId']
|
|
8302
|
+
end
|
|
8303
|
+
end
|
|
8304
|
+
|
|
8305
|
+
# DescribeIndex请求参数结构体
|
|
8306
|
+
class DescribeIndexRequest < TencentCloud::Common::AbstractModel
|
|
8307
|
+
# @param TopicId: 日志主题Id。
|
|
8308
|
+
# - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
8309
|
+
# @type TopicId: String
|
|
8310
|
+
|
|
8311
|
+
attr_accessor :TopicId
|
|
8312
|
+
|
|
8313
|
+
def initialize(topicid=nil)
|
|
8314
|
+
@TopicId = topicid
|
|
8315
|
+
end
|
|
6786
8316
|
|
|
6787
|
-
attr_accessor :TopicId
|
|
6788
|
-
|
|
6789
|
-
def initialize(topicid=nil)
|
|
6790
|
-
@TopicId = topicid
|
|
6791
|
-
end
|
|
6792
|
-
|
|
6793
8317
|
def deserialize(params)
|
|
6794
8318
|
@TopicId = params['TopicId']
|
|
6795
8319
|
end
|
|
@@ -6994,6 +8518,33 @@ module TencentCloud
|
|
|
6994
8518
|
end
|
|
6995
8519
|
end
|
|
6996
8520
|
|
|
8521
|
+
# DescribeKafkaConsumerPreview请求参数结构体
|
|
8522
|
+
class DescribeKafkaConsumerPreviewRequest < TencentCloud::Common::AbstractModel
|
|
8523
|
+
|
|
8524
|
+
|
|
8525
|
+
def initialize()
|
|
8526
|
+
end
|
|
8527
|
+
|
|
8528
|
+
def deserialize(params)
|
|
8529
|
+
end
|
|
8530
|
+
end
|
|
8531
|
+
|
|
8532
|
+
# DescribeKafkaConsumerPreview返回参数结构体
|
|
8533
|
+
class DescribeKafkaConsumerPreviewResponse < TencentCloud::Common::AbstractModel
|
|
8534
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8535
|
+
# @type RequestId: String
|
|
8536
|
+
|
|
8537
|
+
attr_accessor :RequestId
|
|
8538
|
+
|
|
8539
|
+
def initialize(requestid=nil)
|
|
8540
|
+
@RequestId = requestid
|
|
8541
|
+
end
|
|
8542
|
+
|
|
8543
|
+
def deserialize(params)
|
|
8544
|
+
@RequestId = params['RequestId']
|
|
8545
|
+
end
|
|
8546
|
+
end
|
|
8547
|
+
|
|
6997
8548
|
# DescribeKafkaConsumer请求参数结构体
|
|
6998
8549
|
class DescribeKafkaConsumerRequest < TencentCloud::Common::AbstractModel
|
|
6999
8550
|
# @param FromTopicId: 日志主题Id。
|
|
@@ -7047,6 +8598,33 @@ module TencentCloud
|
|
|
7047
8598
|
end
|
|
7048
8599
|
end
|
|
7049
8600
|
|
|
8601
|
+
# DescribeKafkaConsumerTopics请求参数结构体
|
|
8602
|
+
class DescribeKafkaConsumerTopicsRequest < TencentCloud::Common::AbstractModel
|
|
8603
|
+
|
|
8604
|
+
|
|
8605
|
+
def initialize()
|
|
8606
|
+
end
|
|
8607
|
+
|
|
8608
|
+
def deserialize(params)
|
|
8609
|
+
end
|
|
8610
|
+
end
|
|
8611
|
+
|
|
8612
|
+
# DescribeKafkaConsumerTopics返回参数结构体
|
|
8613
|
+
class DescribeKafkaConsumerTopicsResponse < TencentCloud::Common::AbstractModel
|
|
8614
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8615
|
+
# @type RequestId: String
|
|
8616
|
+
|
|
8617
|
+
attr_accessor :RequestId
|
|
8618
|
+
|
|
8619
|
+
def initialize(requestid=nil)
|
|
8620
|
+
@RequestId = requestid
|
|
8621
|
+
end
|
|
8622
|
+
|
|
8623
|
+
def deserialize(params)
|
|
8624
|
+
@RequestId = params['RequestId']
|
|
8625
|
+
end
|
|
8626
|
+
end
|
|
8627
|
+
|
|
7050
8628
|
# DescribeKafkaRecharges请求参数结构体
|
|
7051
8629
|
class DescribeKafkaRechargesRequest < TencentCloud::Common::AbstractModel
|
|
7052
8630
|
# @param TopicId: 日志主题Id。
|
|
@@ -7606,6 +9184,186 @@ module TencentCloud
|
|
|
7606
9184
|
end
|
|
7607
9185
|
end
|
|
7608
9186
|
|
|
9187
|
+
# DescribeMetricCorrectDimension请求参数结构体
|
|
9188
|
+
class DescribeMetricCorrectDimensionRequest < TencentCloud::Common::AbstractModel
|
|
9189
|
+
|
|
9190
|
+
|
|
9191
|
+
def initialize()
|
|
9192
|
+
end
|
|
9193
|
+
|
|
9194
|
+
def deserialize(params)
|
|
9195
|
+
end
|
|
9196
|
+
end
|
|
9197
|
+
|
|
9198
|
+
# DescribeMetricCorrectDimension返回参数结构体
|
|
9199
|
+
class DescribeMetricCorrectDimensionResponse < TencentCloud::Common::AbstractModel
|
|
9200
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9201
|
+
# @type RequestId: String
|
|
9202
|
+
|
|
9203
|
+
attr_accessor :RequestId
|
|
9204
|
+
|
|
9205
|
+
def initialize(requestid=nil)
|
|
9206
|
+
@RequestId = requestid
|
|
9207
|
+
end
|
|
9208
|
+
|
|
9209
|
+
def deserialize(params)
|
|
9210
|
+
@RequestId = params['RequestId']
|
|
9211
|
+
end
|
|
9212
|
+
end
|
|
9213
|
+
|
|
9214
|
+
# DescribeMetricSubscribePreview请求参数结构体
|
|
9215
|
+
class DescribeMetricSubscribePreviewRequest < TencentCloud::Common::AbstractModel
|
|
9216
|
+
# @param Namespace: 云产品命名空间。
|
|
9217
|
+
# @type Namespace: String
|
|
9218
|
+
# @param Metrics: 数据库配置信息。
|
|
9219
|
+
# @type Metrics: Array
|
|
9220
|
+
# @param InstanceInfo: 实例配置配置。
|
|
9221
|
+
# @type InstanceInfo: :class:`Tencentcloud::Cls.v20201016.models.InstanceConfig`
|
|
9222
|
+
|
|
9223
|
+
attr_accessor :Namespace, :Metrics, :InstanceInfo
|
|
9224
|
+
|
|
9225
|
+
def initialize(namespace=nil, metrics=nil, instanceinfo=nil)
|
|
9226
|
+
@Namespace = namespace
|
|
9227
|
+
@Metrics = metrics
|
|
9228
|
+
@InstanceInfo = instanceinfo
|
|
9229
|
+
end
|
|
9230
|
+
|
|
9231
|
+
def deserialize(params)
|
|
9232
|
+
@Namespace = params['Namespace']
|
|
9233
|
+
unless params['Metrics'].nil?
|
|
9234
|
+
@Metrics = []
|
|
9235
|
+
params['Metrics'].each do |i|
|
|
9236
|
+
metricconfig_tmp = MetricConfig.new
|
|
9237
|
+
metricconfig_tmp.deserialize(i)
|
|
9238
|
+
@Metrics << metricconfig_tmp
|
|
9239
|
+
end
|
|
9240
|
+
end
|
|
9241
|
+
unless params['InstanceInfo'].nil?
|
|
9242
|
+
@InstanceInfo = InstanceConfig.new
|
|
9243
|
+
@InstanceInfo.deserialize(params['InstanceInfo'])
|
|
9244
|
+
end
|
|
9245
|
+
end
|
|
9246
|
+
end
|
|
9247
|
+
|
|
9248
|
+
# DescribeMetricSubscribePreview返回参数结构体
|
|
9249
|
+
class DescribeMetricSubscribePreviewResponse < TencentCloud::Common::AbstractModel
|
|
9250
|
+
# @param TotalCount: 总数量
|
|
9251
|
+
# @type TotalCount: Integer
|
|
9252
|
+
# @param SuccessCount: 成功数量
|
|
9253
|
+
# @type SuccessCount: Integer
|
|
9254
|
+
# @param FailCount: 失败数量
|
|
9255
|
+
# @type FailCount: Integer
|
|
9256
|
+
# @param SuccessInstances: 成功实例数据
|
|
9257
|
+
# @type SuccessInstances: Array
|
|
9258
|
+
# @param FailInstances: 失败实例数据
|
|
9259
|
+
# @type FailInstances: Array
|
|
9260
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9261
|
+
# @type RequestId: String
|
|
9262
|
+
|
|
9263
|
+
attr_accessor :TotalCount, :SuccessCount, :FailCount, :SuccessInstances, :FailInstances, :RequestId
|
|
9264
|
+
|
|
9265
|
+
def initialize(totalcount=nil, successcount=nil, failcount=nil, successinstances=nil, failinstances=nil, requestid=nil)
|
|
9266
|
+
@TotalCount = totalcount
|
|
9267
|
+
@SuccessCount = successcount
|
|
9268
|
+
@FailCount = failcount
|
|
9269
|
+
@SuccessInstances = successinstances
|
|
9270
|
+
@FailInstances = failinstances
|
|
9271
|
+
@RequestId = requestid
|
|
9272
|
+
end
|
|
9273
|
+
|
|
9274
|
+
def deserialize(params)
|
|
9275
|
+
@TotalCount = params['TotalCount']
|
|
9276
|
+
@SuccessCount = params['SuccessCount']
|
|
9277
|
+
@FailCount = params['FailCount']
|
|
9278
|
+
unless params['SuccessInstances'].nil?
|
|
9279
|
+
@SuccessInstances = []
|
|
9280
|
+
params['SuccessInstances'].each do |i|
|
|
9281
|
+
instancedata_tmp = InstanceData.new
|
|
9282
|
+
instancedata_tmp.deserialize(i)
|
|
9283
|
+
@SuccessInstances << instancedata_tmp
|
|
9284
|
+
end
|
|
9285
|
+
end
|
|
9286
|
+
unless params['FailInstances'].nil?
|
|
9287
|
+
@FailInstances = []
|
|
9288
|
+
params['FailInstances'].each do |i|
|
|
9289
|
+
instancedata_tmp = InstanceData.new
|
|
9290
|
+
instancedata_tmp.deserialize(i)
|
|
9291
|
+
@FailInstances << instancedata_tmp
|
|
9292
|
+
end
|
|
9293
|
+
end
|
|
9294
|
+
@RequestId = params['RequestId']
|
|
9295
|
+
end
|
|
9296
|
+
end
|
|
9297
|
+
|
|
9298
|
+
# DescribeMetricSubscribes请求参数结构体
|
|
9299
|
+
class DescribeMetricSubscribesRequest < TencentCloud::Common::AbstractModel
|
|
9300
|
+
# @param TopicId: 日志主题id
|
|
9301
|
+
# @type TopicId: String
|
|
9302
|
+
# @param Filters: <br><li> taskId按照【配置id】进行过滤。类型:String 必选:否</li>
|
|
9303
|
+
# <br><li> name按照【配置名称】进行过滤。类型:String 必选:否</li>
|
|
9304
|
+
# <br><li> status按照【配置状态标记】进行过滤。类型:String 必选:否</li>
|
|
9305
|
+
# <br><li> 每次请求的Filters的上限为10,Filter.Values的上限为100。</li>
|
|
9306
|
+
# @type Filters: Array
|
|
9307
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
|
9308
|
+
# @type Offset: Integer
|
|
9309
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
9310
|
+
# @type Limit: Integer
|
|
9311
|
+
|
|
9312
|
+
attr_accessor :TopicId, :Filters, :Offset, :Limit
|
|
9313
|
+
|
|
9314
|
+
def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
|
|
9315
|
+
@TopicId = topicid
|
|
9316
|
+
@Filters = filters
|
|
9317
|
+
@Offset = offset
|
|
9318
|
+
@Limit = limit
|
|
9319
|
+
end
|
|
9320
|
+
|
|
9321
|
+
def deserialize(params)
|
|
9322
|
+
@TopicId = params['TopicId']
|
|
9323
|
+
unless params['Filters'].nil?
|
|
9324
|
+
@Filters = []
|
|
9325
|
+
params['Filters'].each do |i|
|
|
9326
|
+
filter_tmp = Filter.new
|
|
9327
|
+
filter_tmp.deserialize(i)
|
|
9328
|
+
@Filters << filter_tmp
|
|
9329
|
+
end
|
|
9330
|
+
end
|
|
9331
|
+
@Offset = params['Offset']
|
|
9332
|
+
@Limit = params['Limit']
|
|
9333
|
+
end
|
|
9334
|
+
end
|
|
9335
|
+
|
|
9336
|
+
# DescribeMetricSubscribes返回参数结构体
|
|
9337
|
+
class DescribeMetricSubscribesResponse < TencentCloud::Common::AbstractModel
|
|
9338
|
+
# @param TotalCount: 总数目
|
|
9339
|
+
# @type TotalCount: Integer
|
|
9340
|
+
# @param Datas: 指标订阅配置信息
|
|
9341
|
+
# @type Datas: Array
|
|
9342
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9343
|
+
# @type RequestId: String
|
|
9344
|
+
|
|
9345
|
+
attr_accessor :TotalCount, :Datas, :RequestId
|
|
9346
|
+
|
|
9347
|
+
def initialize(totalcount=nil, datas=nil, requestid=nil)
|
|
9348
|
+
@TotalCount = totalcount
|
|
9349
|
+
@Datas = datas
|
|
9350
|
+
@RequestId = requestid
|
|
9351
|
+
end
|
|
9352
|
+
|
|
9353
|
+
def deserialize(params)
|
|
9354
|
+
@TotalCount = params['TotalCount']
|
|
9355
|
+
unless params['Datas'].nil?
|
|
9356
|
+
@Datas = []
|
|
9357
|
+
params['Datas'].each do |i|
|
|
9358
|
+
metricsubscribeinfo_tmp = MetricSubscribeInfo.new
|
|
9359
|
+
metricsubscribeinfo_tmp.deserialize(i)
|
|
9360
|
+
@Datas << metricsubscribeinfo_tmp
|
|
9361
|
+
end
|
|
9362
|
+
end
|
|
9363
|
+
@RequestId = params['RequestId']
|
|
9364
|
+
end
|
|
9365
|
+
end
|
|
9366
|
+
|
|
7609
9367
|
# DescribeNoticeContents请求参数结构体
|
|
7610
9368
|
class DescribeNoticeContentsRequest < TencentCloud::Common::AbstractModel
|
|
7611
9369
|
# @param Filters: <li> name
|
|
@@ -7934,6 +9692,261 @@ module TencentCloud
|
|
|
7934
9692
|
end
|
|
7935
9693
|
end
|
|
7936
9694
|
|
|
9695
|
+
# DescribeSplunkDelivers请求参数结构体
|
|
9696
|
+
class DescribeSplunkDeliversRequest < TencentCloud::Common::AbstractModel
|
|
9697
|
+
# @param TopicId: 日志主题Id
|
|
9698
|
+
# - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
9699
|
+
# @type TopicId: String
|
|
9700
|
+
# @param Filters: - taskId 按照【任务id】进行过滤。 类型:String 必选:否
|
|
9701
|
+
# - name 按照【任务名称】进行过滤。 类型:String 必选:否
|
|
9702
|
+
# - statusFlag 按照【状态】进行过滤。 类型:String 必选:否
|
|
9703
|
+
# 每次请求的Filters的上限为10,Filter.Values的上限为10。
|
|
9704
|
+
# @type Filters: Array
|
|
9705
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
|
9706
|
+
# @type Offset: Integer
|
|
9707
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
9708
|
+
# @type Limit: Integer
|
|
9709
|
+
|
|
9710
|
+
attr_accessor :TopicId, :Filters, :Offset, :Limit
|
|
9711
|
+
|
|
9712
|
+
def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
|
|
9713
|
+
@TopicId = topicid
|
|
9714
|
+
@Filters = filters
|
|
9715
|
+
@Offset = offset
|
|
9716
|
+
@Limit = limit
|
|
9717
|
+
end
|
|
9718
|
+
|
|
9719
|
+
def deserialize(params)
|
|
9720
|
+
@TopicId = params['TopicId']
|
|
9721
|
+
unless params['Filters'].nil?
|
|
9722
|
+
@Filters = []
|
|
9723
|
+
params['Filters'].each do |i|
|
|
9724
|
+
filter_tmp = Filter.new
|
|
9725
|
+
filter_tmp.deserialize(i)
|
|
9726
|
+
@Filters << filter_tmp
|
|
9727
|
+
end
|
|
9728
|
+
end
|
|
9729
|
+
@Offset = params['Offset']
|
|
9730
|
+
@Limit = params['Limit']
|
|
9731
|
+
end
|
|
9732
|
+
end
|
|
9733
|
+
|
|
9734
|
+
# DescribeSplunkDelivers返回参数结构体
|
|
9735
|
+
class DescribeSplunkDeliversResponse < TencentCloud::Common::AbstractModel
|
|
9736
|
+
# @param Infos: Splunk投递任务信息列表
|
|
9737
|
+
# @type Infos: Array
|
|
9738
|
+
# @param Total: 符合条件的任务总数。
|
|
9739
|
+
# @type Total: Integer
|
|
9740
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9741
|
+
# @type RequestId: String
|
|
9742
|
+
|
|
9743
|
+
attr_accessor :Infos, :Total, :RequestId
|
|
9744
|
+
|
|
9745
|
+
def initialize(infos=nil, total=nil, requestid=nil)
|
|
9746
|
+
@Infos = infos
|
|
9747
|
+
@Total = total
|
|
9748
|
+
@RequestId = requestid
|
|
9749
|
+
end
|
|
9750
|
+
|
|
9751
|
+
def deserialize(params)
|
|
9752
|
+
unless params['Infos'].nil?
|
|
9753
|
+
@Infos = []
|
|
9754
|
+
params['Infos'].each do |i|
|
|
9755
|
+
splunkdeliverinfo_tmp = SplunkDeliverInfo.new
|
|
9756
|
+
splunkdeliverinfo_tmp.deserialize(i)
|
|
9757
|
+
@Infos << splunkdeliverinfo_tmp
|
|
9758
|
+
end
|
|
9759
|
+
end
|
|
9760
|
+
@Total = params['Total']
|
|
9761
|
+
@RequestId = params['RequestId']
|
|
9762
|
+
end
|
|
9763
|
+
end
|
|
9764
|
+
|
|
9765
|
+
# DescribeSplunkPreview请求参数结构体
|
|
9766
|
+
class DescribeSplunkPreviewRequest < TencentCloud::Common::AbstractModel
|
|
9767
|
+
# @param TopicId: 日志主题id。
|
|
9768
|
+
# - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
9769
|
+
# @type TopicId: String
|
|
9770
|
+
# @param MetadataInfo: splunk投递任务-元信息
|
|
9771
|
+
# @type MetadataInfo: :class:`Tencentcloud::Cls.v20201016.models.MetadataInfo`
|
|
9772
|
+
|
|
9773
|
+
attr_accessor :TopicId, :MetadataInfo
|
|
9774
|
+
|
|
9775
|
+
def initialize(topicid=nil, metadatainfo=nil)
|
|
9776
|
+
@TopicId = topicid
|
|
9777
|
+
@MetadataInfo = metadatainfo
|
|
9778
|
+
end
|
|
9779
|
+
|
|
9780
|
+
def deserialize(params)
|
|
9781
|
+
@TopicId = params['TopicId']
|
|
9782
|
+
unless params['MetadataInfo'].nil?
|
|
9783
|
+
@MetadataInfo = MetadataInfo.new
|
|
9784
|
+
@MetadataInfo.deserialize(params['MetadataInfo'])
|
|
9785
|
+
end
|
|
9786
|
+
end
|
|
9787
|
+
end
|
|
9788
|
+
|
|
9789
|
+
# DescribeSplunkPreview返回参数结构体
|
|
9790
|
+
class DescribeSplunkPreviewResponse < TencentCloud::Common::AbstractModel
|
|
9791
|
+
# @param PreviewInfos: 预览结果
|
|
9792
|
+
# @type PreviewInfos: Array
|
|
9793
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9794
|
+
# @type RequestId: String
|
|
9795
|
+
|
|
9796
|
+
attr_accessor :PreviewInfos, :RequestId
|
|
9797
|
+
|
|
9798
|
+
def initialize(previewinfos=nil, requestid=nil)
|
|
9799
|
+
@PreviewInfos = previewinfos
|
|
9800
|
+
@RequestId = requestid
|
|
9801
|
+
end
|
|
9802
|
+
|
|
9803
|
+
def deserialize(params)
|
|
9804
|
+
@PreviewInfos = params['PreviewInfos']
|
|
9805
|
+
@RequestId = params['RequestId']
|
|
9806
|
+
end
|
|
9807
|
+
end
|
|
9808
|
+
|
|
9809
|
+
# DescribeTopicBaseMetricConfigs请求参数结构体
|
|
9810
|
+
class DescribeTopicBaseMetricConfigsRequest < TencentCloud::Common::AbstractModel
|
|
9811
|
+
# @param TopicId: 指标日志主题id。
|
|
9812
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
9813
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
9814
|
+
# @type TopicId: String
|
|
9815
|
+
# @param Filters: groupId按照【机器组id】进行过滤。类型:String 必选:否
|
|
9816
|
+
# 每次请求的Filters的上限为10,所有Filter.Values总和上限为100。
|
|
9817
|
+
# @type Filters: Array
|
|
9818
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
|
9819
|
+
# @type Offset: Integer
|
|
9820
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
9821
|
+
# @type Limit: Integer
|
|
9822
|
+
|
|
9823
|
+
attr_accessor :TopicId, :Filters, :Offset, :Limit
|
|
9824
|
+
|
|
9825
|
+
def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
|
|
9826
|
+
@TopicId = topicid
|
|
9827
|
+
@Filters = filters
|
|
9828
|
+
@Offset = offset
|
|
9829
|
+
@Limit = limit
|
|
9830
|
+
end
|
|
9831
|
+
|
|
9832
|
+
def deserialize(params)
|
|
9833
|
+
@TopicId = params['TopicId']
|
|
9834
|
+
unless params['Filters'].nil?
|
|
9835
|
+
@Filters = []
|
|
9836
|
+
params['Filters'].each do |i|
|
|
9837
|
+
filter_tmp = Filter.new
|
|
9838
|
+
filter_tmp.deserialize(i)
|
|
9839
|
+
@Filters << filter_tmp
|
|
9840
|
+
end
|
|
9841
|
+
end
|
|
9842
|
+
@Offset = params['Offset']
|
|
9843
|
+
@Limit = params['Limit']
|
|
9844
|
+
end
|
|
9845
|
+
end
|
|
9846
|
+
|
|
9847
|
+
# DescribeTopicBaseMetricConfigs返回参数结构体
|
|
9848
|
+
class DescribeTopicBaseMetricConfigsResponse < TencentCloud::Common::AbstractModel
|
|
9849
|
+
# @param TotalCount: 总数目
|
|
9850
|
+
# @type TotalCount: Integer
|
|
9851
|
+
# @param Datas: 指标采集配置列表
|
|
9852
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9853
|
+
# @type Datas: Array
|
|
9854
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9855
|
+
# @type RequestId: String
|
|
9856
|
+
|
|
9857
|
+
attr_accessor :TotalCount, :Datas, :RequestId
|
|
9858
|
+
|
|
9859
|
+
def initialize(totalcount=nil, datas=nil, requestid=nil)
|
|
9860
|
+
@TotalCount = totalcount
|
|
9861
|
+
@Datas = datas
|
|
9862
|
+
@RequestId = requestid
|
|
9863
|
+
end
|
|
9864
|
+
|
|
9865
|
+
def deserialize(params)
|
|
9866
|
+
@TotalCount = params['TotalCount']
|
|
9867
|
+
unless params['Datas'].nil?
|
|
9868
|
+
@Datas = []
|
|
9869
|
+
params['Datas'].each do |i|
|
|
9870
|
+
basemetriccollectconfig_tmp = BaseMetricCollectConfig.new
|
|
9871
|
+
basemetriccollectconfig_tmp.deserialize(i)
|
|
9872
|
+
@Datas << basemetriccollectconfig_tmp
|
|
9873
|
+
end
|
|
9874
|
+
end
|
|
9875
|
+
@RequestId = params['RequestId']
|
|
9876
|
+
end
|
|
9877
|
+
end
|
|
9878
|
+
|
|
9879
|
+
# DescribeTopicMetricConfigs请求参数结构体
|
|
9880
|
+
class DescribeTopicMetricConfigsRequest < TencentCloud::Common::AbstractModel
|
|
9881
|
+
# @param TopicId: 指标日志主题id。
|
|
9882
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
9883
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
9884
|
+
# @type TopicId: String
|
|
9885
|
+
# @param Filters: configId按照【指标采集配置id】进行过滤。类型:String 必选:否
|
|
9886
|
+
# name按照【配置名称】进行过滤。类型:String 必选:否
|
|
9887
|
+
# 每次请求的Filters的上限为10,所有Filter.Values总和上限为100。
|
|
9888
|
+
# @type Filters: Array
|
|
9889
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
|
9890
|
+
# @type Offset: Integer
|
|
9891
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
9892
|
+
# @type Limit: Integer
|
|
9893
|
+
|
|
9894
|
+
attr_accessor :TopicId, :Filters, :Offset, :Limit
|
|
9895
|
+
|
|
9896
|
+
def initialize(topicid=nil, filters=nil, offset=nil, limit=nil)
|
|
9897
|
+
@TopicId = topicid
|
|
9898
|
+
@Filters = filters
|
|
9899
|
+
@Offset = offset
|
|
9900
|
+
@Limit = limit
|
|
9901
|
+
end
|
|
9902
|
+
|
|
9903
|
+
def deserialize(params)
|
|
9904
|
+
@TopicId = params['TopicId']
|
|
9905
|
+
unless params['Filters'].nil?
|
|
9906
|
+
@Filters = []
|
|
9907
|
+
params['Filters'].each do |i|
|
|
9908
|
+
filter_tmp = Filter.new
|
|
9909
|
+
filter_tmp.deserialize(i)
|
|
9910
|
+
@Filters << filter_tmp
|
|
9911
|
+
end
|
|
9912
|
+
end
|
|
9913
|
+
@Offset = params['Offset']
|
|
9914
|
+
@Limit = params['Limit']
|
|
9915
|
+
end
|
|
9916
|
+
end
|
|
9917
|
+
|
|
9918
|
+
# DescribeTopicMetricConfigs返回参数结构体
|
|
9919
|
+
class DescribeTopicMetricConfigsResponse < TencentCloud::Common::AbstractModel
|
|
9920
|
+
# @param TotalCount: 总数目
|
|
9921
|
+
# @type TotalCount: Integer
|
|
9922
|
+
# @param Datas: 指标采集配置列表
|
|
9923
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9924
|
+
# @type Datas: Array
|
|
9925
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9926
|
+
# @type RequestId: String
|
|
9927
|
+
|
|
9928
|
+
attr_accessor :TotalCount, :Datas, :RequestId
|
|
9929
|
+
|
|
9930
|
+
def initialize(totalcount=nil, datas=nil, requestid=nil)
|
|
9931
|
+
@TotalCount = totalcount
|
|
9932
|
+
@Datas = datas
|
|
9933
|
+
@RequestId = requestid
|
|
9934
|
+
end
|
|
9935
|
+
|
|
9936
|
+
def deserialize(params)
|
|
9937
|
+
@TotalCount = params['TotalCount']
|
|
9938
|
+
unless params['Datas'].nil?
|
|
9939
|
+
@Datas = []
|
|
9940
|
+
params['Datas'].each do |i|
|
|
9941
|
+
metriccollectconfig_tmp = MetricCollectConfig.new
|
|
9942
|
+
metriccollectconfig_tmp.deserialize(i)
|
|
9943
|
+
@Datas << metriccollectconfig_tmp
|
|
9944
|
+
end
|
|
9945
|
+
end
|
|
9946
|
+
@RequestId = params['RequestId']
|
|
9947
|
+
end
|
|
9948
|
+
end
|
|
9949
|
+
|
|
7937
9950
|
# DescribeTopics请求参数结构体
|
|
7938
9951
|
class DescribeTopicsRequest < TencentCloud::Common::AbstractModel
|
|
7939
9952
|
# @param Filters: <ul><li>topicName 按照【主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
|
|
@@ -8094,6 +10107,28 @@ module TencentCloud
|
|
|
8094
10107
|
end
|
|
8095
10108
|
end
|
|
8096
10109
|
|
|
10110
|
+
# 云产品实例维度信息
|
|
10111
|
+
class Dimension < TencentCloud::Common::AbstractModel
|
|
10112
|
+
# @param Name: 实例维度名称,此字段可能返回 null,表示取不到有效值。
|
|
10113
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10114
|
+
# @type Name: String
|
|
10115
|
+
# @param Value: 实例维度值,此字段可能返回 null,表示取不到有效值。
|
|
10116
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10117
|
+
# @type Value: String
|
|
10118
|
+
|
|
10119
|
+
attr_accessor :Name, :Value
|
|
10120
|
+
|
|
10121
|
+
def initialize(name=nil, value=nil)
|
|
10122
|
+
@Name = name
|
|
10123
|
+
@Value = value
|
|
10124
|
+
end
|
|
10125
|
+
|
|
10126
|
+
def deserialize(params)
|
|
10127
|
+
@Name = params['Name']
|
|
10128
|
+
@Value = params['Value']
|
|
10129
|
+
end
|
|
10130
|
+
end
|
|
10131
|
+
|
|
8097
10132
|
# 投递DLC任务配置信息
|
|
8098
10133
|
class DlcDeliverInfo < TencentCloud::Common::AbstractModel
|
|
8099
10134
|
# @param TaskId: 任务id。
|
|
@@ -8357,6 +10392,214 @@ module TencentCloud
|
|
|
8357
10392
|
end
|
|
8358
10393
|
end
|
|
8359
10394
|
|
|
10395
|
+
# Es导入信息
|
|
10396
|
+
class EsImportInfo < TencentCloud::Common::AbstractModel
|
|
10397
|
+
# @param Type: 导入模式。
|
|
10398
|
+
# 1. 导入历史数据
|
|
10399
|
+
# 2. 导入实时数据
|
|
10400
|
+
# @type Type: Integer
|
|
10401
|
+
# @param StartTime: 开始时间。 单位:秒级时间戳。
|
|
10402
|
+
# @type StartTime: Integer
|
|
10403
|
+
# @param EndTime: 结束时间。 单位:秒级时间戳。
|
|
10404
|
+
# @type EndTime: Integer
|
|
10405
|
+
# @param MaxDelay: 最大延迟时间。单位:s
|
|
10406
|
+
|
|
10407
|
+
# 导入模式为 2: 导入实时数据时必填
|
|
10408
|
+
# @type MaxDelay: Integer
|
|
10409
|
+
# @param CheckInterval: 检查间隔。单位:s
|
|
10410
|
+
|
|
10411
|
+
# 导入模式为 2: 导入实时数据时必填
|
|
10412
|
+
# @type CheckInterval: Integer
|
|
10413
|
+
|
|
10414
|
+
attr_accessor :Type, :StartTime, :EndTime, :MaxDelay, :CheckInterval
|
|
10415
|
+
|
|
10416
|
+
def initialize(type=nil, starttime=nil, endtime=nil, maxdelay=nil, checkinterval=nil)
|
|
10417
|
+
@Type = type
|
|
10418
|
+
@StartTime = starttime
|
|
10419
|
+
@EndTime = endtime
|
|
10420
|
+
@MaxDelay = maxdelay
|
|
10421
|
+
@CheckInterval = checkinterval
|
|
10422
|
+
end
|
|
10423
|
+
|
|
10424
|
+
def deserialize(params)
|
|
10425
|
+
@Type = params['Type']
|
|
10426
|
+
@StartTime = params['StartTime']
|
|
10427
|
+
@EndTime = params['EndTime']
|
|
10428
|
+
@MaxDelay = params['MaxDelay']
|
|
10429
|
+
@CheckInterval = params['CheckInterval']
|
|
10430
|
+
end
|
|
10431
|
+
end
|
|
10432
|
+
|
|
10433
|
+
# es集群配置信息
|
|
10434
|
+
class EsInfo < TencentCloud::Common::AbstractModel
|
|
10435
|
+
# @param EsType: es类型。 1:云es, 2:自建es
|
|
10436
|
+
# @type EsType: Integer
|
|
10437
|
+
# @param AccessMode: 访问方式 1:内网, 2:外网。自建es必填
|
|
10438
|
+
# @type AccessMode: Integer
|
|
10439
|
+
# @param InstanceId: 实例id。云es实例必填
|
|
10440
|
+
# @type InstanceId: String
|
|
10441
|
+
# @param User: 用户名。
|
|
10442
|
+
# @type User: String
|
|
10443
|
+
# @param Address: 访问地址。自建es必填
|
|
10444
|
+
# @type Address: String
|
|
10445
|
+
# @param Port: 访问端口。自建es必填
|
|
10446
|
+
# @type Port: Integer
|
|
10447
|
+
# @param VpcId: 所属网络。自建es且访问方式为内网访问时必填
|
|
10448
|
+
# @type VpcId: String
|
|
10449
|
+
# @param VirtualGatewayType: 网络服务类型。自建es且访问方式为内网访问时必填。
|
|
10450
|
+
# 负载均衡 CLB:1025 云服务器CVM:0
|
|
10451
|
+
# @type VirtualGatewayType: Integer
|
|
10452
|
+
# @param Password: 密码。
|
|
10453
|
+
# @type Password: String
|
|
10454
|
+
|
|
10455
|
+
attr_accessor :EsType, :AccessMode, :InstanceId, :User, :Address, :Port, :VpcId, :VirtualGatewayType, :Password
|
|
10456
|
+
|
|
10457
|
+
def initialize(estype=nil, accessmode=nil, instanceid=nil, user=nil, address=nil, port=nil, vpcid=nil, virtualgatewaytype=nil, password=nil)
|
|
10458
|
+
@EsType = estype
|
|
10459
|
+
@AccessMode = accessmode
|
|
10460
|
+
@InstanceId = instanceid
|
|
10461
|
+
@User = user
|
|
10462
|
+
@Address = address
|
|
10463
|
+
@Port = port
|
|
10464
|
+
@VpcId = vpcid
|
|
10465
|
+
@VirtualGatewayType = virtualgatewaytype
|
|
10466
|
+
@Password = password
|
|
10467
|
+
end
|
|
10468
|
+
|
|
10469
|
+
def deserialize(params)
|
|
10470
|
+
@EsType = params['EsType']
|
|
10471
|
+
@AccessMode = params['AccessMode']
|
|
10472
|
+
@InstanceId = params['InstanceId']
|
|
10473
|
+
@User = params['User']
|
|
10474
|
+
@Address = params['Address']
|
|
10475
|
+
@Port = params['Port']
|
|
10476
|
+
@VpcId = params['VpcId']
|
|
10477
|
+
@VirtualGatewayType = params['VirtualGatewayType']
|
|
10478
|
+
@Password = params['Password']
|
|
10479
|
+
end
|
|
10480
|
+
end
|
|
10481
|
+
|
|
10482
|
+
# es导入配置信息
|
|
10483
|
+
class EsRechargeInfo < TencentCloud::Common::AbstractModel
|
|
10484
|
+
# @param TaskId: 任务id。
|
|
10485
|
+
# @type TaskId: String
|
|
10486
|
+
# @param Uin: 主账号id。
|
|
10487
|
+
# @type Uin: Integer
|
|
10488
|
+
# @param TopicId: 日志主题id。
|
|
10489
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
10490
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
10491
|
+
# @type TopicId: String
|
|
10492
|
+
# @param Name: 配置名称。
|
|
10493
|
+
# @type Name: String
|
|
10494
|
+
# @param Index: es索引。
|
|
10495
|
+
# @type Index: String
|
|
10496
|
+
# @param Query: es查询语句。
|
|
10497
|
+
# @type Query: String
|
|
10498
|
+
# @param EsInfo: es集群信息。
|
|
10499
|
+
# @type EsInfo: :class:`Tencentcloud::Cls.v20201016.models.EsInfo`
|
|
10500
|
+
# @param ImportInfo: es导入信息。
|
|
10501
|
+
# @type ImportInfo: :class:`Tencentcloud::Cls.v20201016.models.EsImportInfo`
|
|
10502
|
+
# @param TimeInfo: es导入时间配置信息。
|
|
10503
|
+
# @type TimeInfo: :class:`Tencentcloud::Cls.v20201016.models.EsTimeInfo`
|
|
10504
|
+
# @param Status: 任务状态。
|
|
10505
|
+
# 1. 运行中
|
|
10506
|
+
# 2. 暂停
|
|
10507
|
+
# 3. 完成
|
|
10508
|
+
# 4. 异常
|
|
10509
|
+
# @type Status: Integer
|
|
10510
|
+
# @param Progress: 任务进度 0~100 百分比。100:表示完成。
|
|
10511
|
+
# @type Progress: Integer
|
|
10512
|
+
# @param SubUin: 子账号id。
|
|
10513
|
+
# @type SubUin: Integer
|
|
10514
|
+
# @param CreateTime: 创建时间。
|
|
10515
|
+
# @type CreateTime: Integer
|
|
10516
|
+
# @param UpdateTime: 修改时间。
|
|
10517
|
+
# @type UpdateTime: Integer
|
|
10518
|
+
# @param HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
|
|
10519
|
+
# @type HasServicesLog: Integer
|
|
10520
|
+
|
|
10521
|
+
attr_accessor :TaskId, :Uin, :TopicId, :Name, :Index, :Query, :EsInfo, :ImportInfo, :TimeInfo, :Status, :Progress, :SubUin, :CreateTime, :UpdateTime, :HasServicesLog
|
|
10522
|
+
|
|
10523
|
+
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)
|
|
10524
|
+
@TaskId = taskid
|
|
10525
|
+
@Uin = uin
|
|
10526
|
+
@TopicId = topicid
|
|
10527
|
+
@Name = name
|
|
10528
|
+
@Index = index
|
|
10529
|
+
@Query = query
|
|
10530
|
+
@EsInfo = esinfo
|
|
10531
|
+
@ImportInfo = importinfo
|
|
10532
|
+
@TimeInfo = timeinfo
|
|
10533
|
+
@Status = status
|
|
10534
|
+
@Progress = progress
|
|
10535
|
+
@SubUin = subuin
|
|
10536
|
+
@CreateTime = createtime
|
|
10537
|
+
@UpdateTime = updatetime
|
|
10538
|
+
@HasServicesLog = hasserviceslog
|
|
10539
|
+
end
|
|
10540
|
+
|
|
10541
|
+
def deserialize(params)
|
|
10542
|
+
@TaskId = params['TaskId']
|
|
10543
|
+
@Uin = params['Uin']
|
|
10544
|
+
@TopicId = params['TopicId']
|
|
10545
|
+
@Name = params['Name']
|
|
10546
|
+
@Index = params['Index']
|
|
10547
|
+
@Query = params['Query']
|
|
10548
|
+
unless params['EsInfo'].nil?
|
|
10549
|
+
@EsInfo = EsInfo.new
|
|
10550
|
+
@EsInfo.deserialize(params['EsInfo'])
|
|
10551
|
+
end
|
|
10552
|
+
unless params['ImportInfo'].nil?
|
|
10553
|
+
@ImportInfo = EsImportInfo.new
|
|
10554
|
+
@ImportInfo.deserialize(params['ImportInfo'])
|
|
10555
|
+
end
|
|
10556
|
+
unless params['TimeInfo'].nil?
|
|
10557
|
+
@TimeInfo = EsTimeInfo.new
|
|
10558
|
+
@TimeInfo.deserialize(params['TimeInfo'])
|
|
10559
|
+
end
|
|
10560
|
+
@Status = params['Status']
|
|
10561
|
+
@Progress = params['Progress']
|
|
10562
|
+
@SubUin = params['SubUin']
|
|
10563
|
+
@CreateTime = params['CreateTime']
|
|
10564
|
+
@UpdateTime = params['UpdateTime']
|
|
10565
|
+
@HasServicesLog = params['HasServicesLog']
|
|
10566
|
+
end
|
|
10567
|
+
end
|
|
10568
|
+
|
|
10569
|
+
# Es导入时间字段信息
|
|
10570
|
+
class EsTimeInfo < TencentCloud::Common::AbstractModel
|
|
10571
|
+
# @param Type: 时间类型 1: 日志采集时间 2: 指定日志字段
|
|
10572
|
+
# @type Type: Integer
|
|
10573
|
+
# @param TimeKey: 日志时间字段。
|
|
10574
|
+
|
|
10575
|
+
# 时间类型为 2: 指定日志字段时必填
|
|
10576
|
+
# @type TimeKey: String
|
|
10577
|
+
# @param TimeFormat: 日志时间格式。
|
|
10578
|
+
|
|
10579
|
+
# 时间类型为 2: 指定日志字段时必填
|
|
10580
|
+
# @type TimeFormat: String
|
|
10581
|
+
# @param TimeZone: 时间字段时区。
|
|
10582
|
+
|
|
10583
|
+
# 时间类型为 2: 指定日志字段时必填
|
|
10584
|
+
# @type TimeZone: String
|
|
10585
|
+
|
|
10586
|
+
attr_accessor :Type, :TimeKey, :TimeFormat, :TimeZone
|
|
10587
|
+
|
|
10588
|
+
def initialize(type=nil, timekey=nil, timeformat=nil, timezone=nil)
|
|
10589
|
+
@Type = type
|
|
10590
|
+
@TimeKey = timekey
|
|
10591
|
+
@TimeFormat = timeformat
|
|
10592
|
+
@TimeZone = timezone
|
|
10593
|
+
end
|
|
10594
|
+
|
|
10595
|
+
def deserialize(params)
|
|
10596
|
+
@Type = params['Type']
|
|
10597
|
+
@TimeKey = params['TimeKey']
|
|
10598
|
+
@TimeFormat = params['TimeFormat']
|
|
10599
|
+
@TimeZone = params['TimeZone']
|
|
10600
|
+
end
|
|
10601
|
+
end
|
|
10602
|
+
|
|
8360
10603
|
# 升级通知
|
|
8361
10604
|
class EscalateNoticeInfo < TencentCloud::Common::AbstractModel
|
|
8362
10605
|
# @param NoticeReceivers: 告警通知模板接收者信息。
|
|
@@ -8931,6 +11174,37 @@ module TencentCloud
|
|
|
8931
11174
|
end
|
|
8932
11175
|
end
|
|
8933
11176
|
|
|
11177
|
+
# GetMetricLabelValues请求参数结构体
|
|
11178
|
+
class GetMetricLabelValuesRequest < TencentCloud::Common::AbstractModel
|
|
11179
|
+
|
|
11180
|
+
|
|
11181
|
+
def initialize()
|
|
11182
|
+
end
|
|
11183
|
+
|
|
11184
|
+
def deserialize(params)
|
|
11185
|
+
end
|
|
11186
|
+
end
|
|
11187
|
+
|
|
11188
|
+
# GetMetricLabelValues返回参数结构体
|
|
11189
|
+
class GetMetricLabelValuesResponse < TencentCloud::Common::AbstractModel
|
|
11190
|
+
# @param Values: 时序metric label values
|
|
11191
|
+
# @type Values: Array
|
|
11192
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11193
|
+
# @type RequestId: String
|
|
11194
|
+
|
|
11195
|
+
attr_accessor :Values, :RequestId
|
|
11196
|
+
|
|
11197
|
+
def initialize(values=nil, requestid=nil)
|
|
11198
|
+
@Values = values
|
|
11199
|
+
@RequestId = requestid
|
|
11200
|
+
end
|
|
11201
|
+
|
|
11202
|
+
def deserialize(params)
|
|
11203
|
+
@Values = params['Values']
|
|
11204
|
+
@RequestId = params['RequestId']
|
|
11205
|
+
end
|
|
11206
|
+
end
|
|
11207
|
+
|
|
8934
11208
|
# kafka协议消费组区分信息
|
|
8935
11209
|
class GroupPartitionInfo < TencentCloud::Common::AbstractModel
|
|
8936
11210
|
# @param PartitionId: 分区id
|
|
@@ -8955,88 +11229,254 @@ module TencentCloud
|
|
|
8955
11229
|
end
|
|
8956
11230
|
end
|
|
8957
11231
|
|
|
8958
|
-
# 分组触发条件
|
|
8959
|
-
class GroupTriggerConditionInfo < TencentCloud::Common::AbstractModel
|
|
8960
|
-
# @param Key: 分组触发字段名称
|
|
8961
|
-
# @type Key: String
|
|
8962
|
-
# @param Value: 分组触发字段值
|
|
8963
|
-
# @type Value: String
|
|
11232
|
+
# 分组触发条件
|
|
11233
|
+
class GroupTriggerConditionInfo < TencentCloud::Common::AbstractModel
|
|
11234
|
+
# @param Key: 分组触发字段名称
|
|
11235
|
+
# @type Key: String
|
|
11236
|
+
# @param Value: 分组触发字段值
|
|
11237
|
+
# @type Value: String
|
|
11238
|
+
|
|
11239
|
+
attr_accessor :Key, :Value
|
|
11240
|
+
|
|
11241
|
+
def initialize(key=nil, value=nil)
|
|
11242
|
+
@Key = key
|
|
11243
|
+
@Value = value
|
|
11244
|
+
end
|
|
11245
|
+
|
|
11246
|
+
def deserialize(params)
|
|
11247
|
+
@Key = params['Key']
|
|
11248
|
+
@Value = params['Value']
|
|
11249
|
+
end
|
|
11250
|
+
end
|
|
11251
|
+
|
|
11252
|
+
# 符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
|
|
11253
|
+
class HighLightItem < TencentCloud::Common::AbstractModel
|
|
11254
|
+
# @param Key: 高亮的日志字段名称
|
|
11255
|
+
# @type Key: String
|
|
11256
|
+
# @param Values: 高亮的关键词
|
|
11257
|
+
# @type Values: Array
|
|
11258
|
+
|
|
11259
|
+
attr_accessor :Key, :Values
|
|
11260
|
+
|
|
11261
|
+
def initialize(key=nil, values=nil)
|
|
11262
|
+
@Key = key
|
|
11263
|
+
@Values = values
|
|
11264
|
+
end
|
|
11265
|
+
|
|
11266
|
+
def deserialize(params)
|
|
11267
|
+
@Key = params['Key']
|
|
11268
|
+
@Values = params['Values']
|
|
11269
|
+
end
|
|
11270
|
+
end
|
|
11271
|
+
|
|
11272
|
+
# 直方图详细信息
|
|
11273
|
+
class HistogramInfo < TencentCloud::Common::AbstractModel
|
|
11274
|
+
# @param Count: 统计周期内的日志条数
|
|
11275
|
+
# @type Count: Integer
|
|
11276
|
+
# @param BTime: 按 period 取整后的 unix timestamp: 单位毫秒
|
|
11277
|
+
# @type BTime: Integer
|
|
11278
|
+
|
|
11279
|
+
attr_accessor :Count, :BTime
|
|
11280
|
+
|
|
11281
|
+
def initialize(count=nil, btime=nil)
|
|
11282
|
+
@Count = count
|
|
11283
|
+
@BTime = btime
|
|
11284
|
+
end
|
|
11285
|
+
|
|
11286
|
+
def deserialize(params)
|
|
11287
|
+
@Count = params['Count']
|
|
11288
|
+
@BTime = params['BTime']
|
|
11289
|
+
end
|
|
11290
|
+
end
|
|
11291
|
+
|
|
11292
|
+
# 自建k8s-节点文件配置信息
|
|
11293
|
+
class HostFileInfo < TencentCloud::Common::AbstractModel
|
|
11294
|
+
# @param LogPath: 日志文件夹
|
|
11295
|
+
# @type LogPath: String
|
|
11296
|
+
# @param FilePattern: 日志文件名
|
|
11297
|
+
# @type FilePattern: String
|
|
11298
|
+
# @param CustomLabels: metadata信息
|
|
11299
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11300
|
+
# @type CustomLabels: Array
|
|
11301
|
+
|
|
11302
|
+
attr_accessor :LogPath, :FilePattern, :CustomLabels
|
|
11303
|
+
|
|
11304
|
+
def initialize(logpath=nil, filepattern=nil, customlabels=nil)
|
|
11305
|
+
@LogPath = logpath
|
|
11306
|
+
@FilePattern = filepattern
|
|
11307
|
+
@CustomLabels = customlabels
|
|
11308
|
+
end
|
|
11309
|
+
|
|
11310
|
+
def deserialize(params)
|
|
11311
|
+
@LogPath = params['LogPath']
|
|
11312
|
+
@FilePattern = params['FilePattern']
|
|
11313
|
+
@CustomLabels = params['CustomLabels']
|
|
11314
|
+
end
|
|
11315
|
+
end
|
|
11316
|
+
|
|
11317
|
+
# 主机指标采集配置
|
|
11318
|
+
class HostMetricConfig < TencentCloud::Common::AbstractModel
|
|
11319
|
+
# @param ConfigId: 采集配置 id
|
|
11320
|
+
# @type ConfigId: String
|
|
11321
|
+
# @param Name: 采集配置名称
|
|
11322
|
+
# @type Name: String
|
|
11323
|
+
# @param Interval: 采集频率,单位ms
|
|
11324
|
+
# @type Interval: Integer
|
|
11325
|
+
# @param HostMetricItems: 采集项.
|
|
11326
|
+
# @type HostMetricItems: Array
|
|
11327
|
+
# @param MachineGroupIds: 机器组 id 列表
|
|
11328
|
+
# @type MachineGroupIds: Array
|
|
11329
|
+
# @param CreateTime: 创建时间
|
|
11330
|
+
# @type CreateTime: Integer
|
|
11331
|
+
# @param UpdateTime: 修改时间
|
|
11332
|
+
# @type UpdateTime: Integer
|
|
11333
|
+
|
|
11334
|
+
attr_accessor :ConfigId, :Name, :Interval, :HostMetricItems, :MachineGroupIds, :CreateTime, :UpdateTime
|
|
11335
|
+
|
|
11336
|
+
def initialize(configid=nil, name=nil, interval=nil, hostmetricitems=nil, machinegroupids=nil, createtime=nil, updatetime=nil)
|
|
11337
|
+
@ConfigId = configid
|
|
11338
|
+
@Name = name
|
|
11339
|
+
@Interval = interval
|
|
11340
|
+
@HostMetricItems = hostmetricitems
|
|
11341
|
+
@MachineGroupIds = machinegroupids
|
|
11342
|
+
@CreateTime = createtime
|
|
11343
|
+
@UpdateTime = updatetime
|
|
11344
|
+
end
|
|
11345
|
+
|
|
11346
|
+
def deserialize(params)
|
|
11347
|
+
@ConfigId = params['ConfigId']
|
|
11348
|
+
@Name = params['Name']
|
|
11349
|
+
@Interval = params['Interval']
|
|
11350
|
+
unless params['HostMetricItems'].nil?
|
|
11351
|
+
@HostMetricItems = []
|
|
11352
|
+
params['HostMetricItems'].each do |i|
|
|
11353
|
+
hostmetricitem_tmp = HostMetricItem.new
|
|
11354
|
+
hostmetricitem_tmp.deserialize(i)
|
|
11355
|
+
@HostMetricItems << hostmetricitem_tmp
|
|
11356
|
+
end
|
|
11357
|
+
end
|
|
11358
|
+
@MachineGroupIds = params['MachineGroupIds']
|
|
11359
|
+
@CreateTime = params['CreateTime']
|
|
11360
|
+
@UpdateTime = params['UpdateTime']
|
|
11361
|
+
end
|
|
11362
|
+
end
|
|
11363
|
+
|
|
11364
|
+
# 主机指标采集项
|
|
11365
|
+
class HostMetricItem < TencentCloud::Common::AbstractModel
|
|
11366
|
+
# @param Type: 主机指标采集项类型。支持"cpu","mem","net","disk","system"。
|
|
8964
11367
|
|
|
8965
|
-
|
|
11368
|
+
# - cpu:CPU
|
|
11369
|
+
# - mem:内存
|
|
11370
|
+
# - net:网络
|
|
11371
|
+
# - disk:磁盘
|
|
11372
|
+
# - system:系统
|
|
11373
|
+
# @type Type: String
|
|
8966
11374
|
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
11375
|
+
attr_accessor :Type
|
|
11376
|
+
|
|
11377
|
+
def initialize(type=nil)
|
|
11378
|
+
@Type = type
|
|
8970
11379
|
end
|
|
8971
11380
|
|
|
8972
11381
|
def deserialize(params)
|
|
8973
|
-
@
|
|
8974
|
-
@Value = params['Value']
|
|
11382
|
+
@Type = params['Type']
|
|
8975
11383
|
end
|
|
8976
11384
|
end
|
|
8977
11385
|
|
|
8978
|
-
#
|
|
8979
|
-
class
|
|
8980
|
-
# @param
|
|
8981
|
-
# @type Key: String
|
|
8982
|
-
# @param Values: 高亮的关键词
|
|
11386
|
+
# 实例信息
|
|
11387
|
+
class Instance < TencentCloud::Common::AbstractModel
|
|
11388
|
+
# @param Values: 实例信息
|
|
8983
11389
|
# @type Values: Array
|
|
8984
11390
|
|
|
8985
|
-
attr_accessor :
|
|
11391
|
+
attr_accessor :Values
|
|
8986
11392
|
|
|
8987
|
-
def initialize(
|
|
8988
|
-
@Key = key
|
|
11393
|
+
def initialize(values=nil)
|
|
8989
11394
|
@Values = values
|
|
8990
11395
|
end
|
|
8991
11396
|
|
|
8992
11397
|
def deserialize(params)
|
|
8993
|
-
@Key = params['Key']
|
|
8994
11398
|
@Values = params['Values']
|
|
8995
11399
|
end
|
|
8996
11400
|
end
|
|
8997
11401
|
|
|
8998
|
-
#
|
|
8999
|
-
class
|
|
9000
|
-
# @param
|
|
9001
|
-
# @type
|
|
9002
|
-
# @param
|
|
9003
|
-
# @type
|
|
11402
|
+
# 实例配置信息
|
|
11403
|
+
class InstanceConfig < TencentCloud::Common::AbstractModel
|
|
11404
|
+
# @param InstanceDimension: 实例维度
|
|
11405
|
+
# @type InstanceDimension: Array
|
|
11406
|
+
# @param Instances: 实例值
|
|
11407
|
+
# @type Instances: Array
|
|
9004
11408
|
|
|
9005
|
-
attr_accessor :
|
|
11409
|
+
attr_accessor :InstanceDimension, :Instances
|
|
9006
11410
|
|
|
9007
|
-
def initialize(
|
|
9008
|
-
@
|
|
9009
|
-
@
|
|
11411
|
+
def initialize(instancedimension=nil, instances=nil)
|
|
11412
|
+
@InstanceDimension = instancedimension
|
|
11413
|
+
@Instances = instances
|
|
9010
11414
|
end
|
|
9011
11415
|
|
|
9012
11416
|
def deserialize(params)
|
|
9013
|
-
@
|
|
9014
|
-
|
|
11417
|
+
@InstanceDimension = params['InstanceDimension']
|
|
11418
|
+
unless params['Instances'].nil?
|
|
11419
|
+
@Instances = []
|
|
11420
|
+
params['Instances'].each do |i|
|
|
11421
|
+
instance_tmp = Instance.new
|
|
11422
|
+
instance_tmp.deserialize(i)
|
|
11423
|
+
@Instances << instance_tmp
|
|
11424
|
+
end
|
|
11425
|
+
end
|
|
9015
11426
|
end
|
|
9016
11427
|
end
|
|
9017
11428
|
|
|
9018
|
-
#
|
|
9019
|
-
class
|
|
9020
|
-
# @param
|
|
9021
|
-
# @type LogPath: String
|
|
9022
|
-
# @param FilePattern: 日志文件名
|
|
9023
|
-
# @type FilePattern: String
|
|
9024
|
-
# @param CustomLabels: metadata信息
|
|
11429
|
+
# 云产品指标订阅预览结果实例信息
|
|
11430
|
+
class InstanceData < TencentCloud::Common::AbstractModel
|
|
11431
|
+
# @param MetricName: 云监控指标名称
|
|
9025
11432
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9026
|
-
# @type
|
|
11433
|
+
# @type MetricName: String
|
|
11434
|
+
# @param CLSMetricName: CLS指标名称
|
|
11435
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11436
|
+
# @type CLSMetricName: String
|
|
11437
|
+
# @param Namespace: 云产品命名空间
|
|
11438
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11439
|
+
# @type Namespace: String
|
|
11440
|
+
# @param Dimensions: 实例信息
|
|
11441
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11442
|
+
# @type Dimensions: Array
|
|
11443
|
+
# @param Period: 周期,单位:秒
|
|
11444
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11445
|
+
# @type Period: Integer
|
|
11446
|
+
# @param Value: 指标统计值
|
|
11447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11448
|
+
# @type Value: Float
|
|
11449
|
+
# @param ErrMsg: 错误信息
|
|
11450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11451
|
+
# @type ErrMsg: String
|
|
9027
11452
|
|
|
9028
|
-
attr_accessor :
|
|
11453
|
+
attr_accessor :MetricName, :CLSMetricName, :Namespace, :Dimensions, :Period, :Value, :ErrMsg
|
|
9029
11454
|
|
|
9030
|
-
def initialize(
|
|
9031
|
-
@
|
|
9032
|
-
@
|
|
9033
|
-
@
|
|
11455
|
+
def initialize(metricname=nil, clsmetricname=nil, namespace=nil, dimensions=nil, period=nil, value=nil, errmsg=nil)
|
|
11456
|
+
@MetricName = metricname
|
|
11457
|
+
@CLSMetricName = clsmetricname
|
|
11458
|
+
@Namespace = namespace
|
|
11459
|
+
@Dimensions = dimensions
|
|
11460
|
+
@Period = period
|
|
11461
|
+
@Value = value
|
|
11462
|
+
@ErrMsg = errmsg
|
|
9034
11463
|
end
|
|
9035
11464
|
|
|
9036
11465
|
def deserialize(params)
|
|
9037
|
-
@
|
|
9038
|
-
@
|
|
9039
|
-
@
|
|
11466
|
+
@MetricName = params['MetricName']
|
|
11467
|
+
@CLSMetricName = params['CLSMetricName']
|
|
11468
|
+
@Namespace = params['Namespace']
|
|
11469
|
+
unless params['Dimensions'].nil?
|
|
11470
|
+
@Dimensions = []
|
|
11471
|
+
params['Dimensions'].each do |i|
|
|
11472
|
+
dimension_tmp = Dimension.new
|
|
11473
|
+
dimension_tmp.deserialize(i)
|
|
11474
|
+
@Dimensions << dimension_tmp
|
|
11475
|
+
end
|
|
11476
|
+
end
|
|
11477
|
+
@Period = params['Period']
|
|
11478
|
+
@Value = params['Value']
|
|
11479
|
+
@ErrMsg = params['ErrMsg']
|
|
9040
11480
|
end
|
|
9041
11481
|
end
|
|
9042
11482
|
|
|
@@ -9301,6 +11741,40 @@ module TencentCloud
|
|
|
9301
11741
|
end
|
|
9302
11742
|
end
|
|
9303
11743
|
|
|
11744
|
+
# 标签结构体
|
|
11745
|
+
class Label < TencentCloud::Common::AbstractModel
|
|
11746
|
+
# @param Key: 标签的键。有效标签键有两个部分:可选前缀和名称,以斜杠 (/) 分隔。名称部分是必需的,并且必须不超过 63 个字符,以字母数字字符 ([a-z0-9A-Z]) 开头和结尾,中间有破折号(-)、下划线(_)、点(.) 和字母数字。前缀是可选的。如果指定,前缀必须是 DNS 子域:一系列以点 (.) 分隔的 DNS 标签,总长度不超过 253 个字符,后跟斜杠 ( /)。
|
|
11747
|
+
|
|
11748
|
+
# - prefix 格式 `[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*`
|
|
11749
|
+
# - name 格式 `([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]`
|
|
11750
|
+
# - key不能重复
|
|
11751
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11752
|
+
# @type Key: String
|
|
11753
|
+
# @param Operate: 标签键值直接的比较关系。 不同业务场景支持的比较符不同,具体支持那些参考接口业务描述。
|
|
11754
|
+
# 例如:`in`、`notin`
|
|
11755
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11756
|
+
# @type Operate: String
|
|
11757
|
+
# @param Values: 标签的值.
|
|
11758
|
+
# - 最大支持63个字符。
|
|
11759
|
+
# - 格式:`([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]`
|
|
11760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
11761
|
+
# @type Values: Array
|
|
11762
|
+
|
|
11763
|
+
attr_accessor :Key, :Operate, :Values
|
|
11764
|
+
|
|
11765
|
+
def initialize(key=nil, operate=nil, values=nil)
|
|
11766
|
+
@Key = key
|
|
11767
|
+
@Operate = operate
|
|
11768
|
+
@Values = values
|
|
11769
|
+
end
|
|
11770
|
+
|
|
11771
|
+
def deserialize(params)
|
|
11772
|
+
@Key = params['Key']
|
|
11773
|
+
@Operate = params['Operate']
|
|
11774
|
+
@Values = params['Values']
|
|
11775
|
+
end
|
|
11776
|
+
end
|
|
11777
|
+
|
|
9304
11778
|
# 日志上下文信息
|
|
9305
11779
|
class LogContextInfo < TencentCloud::Common::AbstractModel
|
|
9306
11780
|
# @param Source: 日志来源设备
|
|
@@ -9900,36 +12374,418 @@ module TencentCloud
|
|
|
9900
12374
|
# @param Value: 元数据value
|
|
9901
12375
|
# @type Value: String
|
|
9902
12376
|
|
|
9903
|
-
attr_accessor :Key, :Value
|
|
12377
|
+
attr_accessor :Key, :Value
|
|
12378
|
+
|
|
12379
|
+
def initialize(key=nil, value=nil)
|
|
12380
|
+
@Key = key
|
|
12381
|
+
@Value = value
|
|
12382
|
+
end
|
|
12383
|
+
|
|
12384
|
+
def deserialize(params)
|
|
12385
|
+
@Key = params['Key']
|
|
12386
|
+
@Value = params['Value']
|
|
12387
|
+
end
|
|
12388
|
+
end
|
|
12389
|
+
|
|
12390
|
+
# Splunk任务投递元信息
|
|
12391
|
+
class MetadataInfo < TencentCloud::Common::AbstractModel
|
|
12392
|
+
# @param Format: 数据格式,rawlog/json
|
|
12393
|
+
# @type Format: String
|
|
12394
|
+
# @param MetaFields: 投递字段,包括\_\_SOURCE\_\_、\_\_FILENAME\_\_
|
|
12395
|
+
# 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKG\_ID\_\_
|
|
12396
|
+
# @type MetaFields: Array
|
|
12397
|
+
# @param EnableTag: 是否投递__TAG__字段
|
|
12398
|
+
# @type EnableTag: Boolean
|
|
12399
|
+
# @param TagJsonTiled: JSON是否平铺,投递__TAG__字段时必填
|
|
12400
|
+
# @type TagJsonTiled: Boolean
|
|
12401
|
+
|
|
12402
|
+
attr_accessor :Format, :MetaFields, :EnableTag, :TagJsonTiled
|
|
12403
|
+
|
|
12404
|
+
def initialize(format=nil, metafields=nil, enabletag=nil, tagjsontiled=nil)
|
|
12405
|
+
@Format = format
|
|
12406
|
+
@MetaFields = metafields
|
|
12407
|
+
@EnableTag = enabletag
|
|
12408
|
+
@TagJsonTiled = tagjsontiled
|
|
12409
|
+
end
|
|
12410
|
+
|
|
12411
|
+
def deserialize(params)
|
|
12412
|
+
@Format = params['Format']
|
|
12413
|
+
@MetaFields = params['MetaFields']
|
|
12414
|
+
@EnableTag = params['EnableTag']
|
|
12415
|
+
@TagJsonTiled = params['TagJsonTiled']
|
|
12416
|
+
end
|
|
12417
|
+
end
|
|
12418
|
+
|
|
12419
|
+
# 指标采集配置
|
|
12420
|
+
class MetricCollectConfig < TencentCloud::Common::AbstractModel
|
|
12421
|
+
# @param ConfigId: 采集配置id
|
|
12422
|
+
# @type ConfigId: String
|
|
12423
|
+
# @param TopicIds: 日志主题id。
|
|
12424
|
+
# @type TopicIds: Array
|
|
12425
|
+
# @param Source: 采集配置来源。支持 :`0`、`1`
|
|
12426
|
+
# - 0:自建k8s
|
|
12427
|
+
# - 1:TKE
|
|
12428
|
+
# @type Source: Integer
|
|
12429
|
+
# @param GroupIds: 机器组id。
|
|
12430
|
+
# @type GroupIds: Array
|
|
12431
|
+
# @param Type: 监控类型。支持 :`0`、`1`,不支持修改
|
|
12432
|
+
|
|
12433
|
+
# - 0:基础监控
|
|
12434
|
+
# - 1:自定义监控,
|
|
12435
|
+
# @type Type: Integer
|
|
12436
|
+
# @param Flag: 采集配置方式。支持 :`0`、`1`,不支持修改
|
|
12437
|
+
# - 0:普通配置方式,Type字段只能为:`1`
|
|
12438
|
+
# - 1:YAML导入方式,Type 可以是:`0`或者`1`
|
|
12439
|
+
# @type Flag: Integer
|
|
12440
|
+
# @param Name: 名称:长度不超过253字符,校验格式 ` [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*`。
|
|
12441
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12442
|
+
# @type Name: String
|
|
12443
|
+
# @param Spec: 采集对象, Flag=0时生效
|
|
12444
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12445
|
+
# @type Spec: :class:`Tencentcloud::Cls.v20201016.models.MetricSpec`
|
|
12446
|
+
# @param MetricRelabels: 标签处理, Flag=0时生效
|
|
12447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12448
|
+
# @type MetricRelabels: Array
|
|
12449
|
+
# @param MetricLabel: 自定义元数据, Flag=0时生效
|
|
12450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12451
|
+
# @type MetricLabel: :class:`Tencentcloud::Cls.v20201016.models.MetricConfigLabel`
|
|
12452
|
+
# @param Scheme: 通信协议 `http`、`https`;Flag=0时生效
|
|
12453
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12454
|
+
# @type Scheme: String
|
|
12455
|
+
# @param ScrapeInterval: 采集频率, Flag=0时生效
|
|
12456
|
+
# - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
|
|
12457
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12458
|
+
# @type ScrapeInterval: String
|
|
12459
|
+
# @param ScrapeTimeout: 采集超时时间。 Flag=0 && Type=1时生效
|
|
12460
|
+
# - format:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
|
|
12461
|
+
|
|
12462
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12463
|
+
# @type ScrapeTimeout: String
|
|
12464
|
+
# @param HonorLabels: Prometheus如何处理标签之间的冲突。当Flag=0生效,支持`true`,`false`
|
|
12465
|
+
|
|
12466
|
+
# - `false`:配置数据中冲突的标签重命名
|
|
12467
|
+
# - `true`:忽略冲突的服务器端标签
|
|
12468
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12469
|
+
# @type HonorLabels: Boolean
|
|
12470
|
+
# @param YamlSpec: 采集配置yaml格式字符串, Flag=1时必填
|
|
12471
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12472
|
+
# @type YamlSpec: :class:`Tencentcloud::Cls.v20201016.models.MetricYamlSpec`
|
|
12473
|
+
# @param Operate: 操作状态,0:应用,1:暂停
|
|
12474
|
+
# @type Operate: Integer
|
|
12475
|
+
# @param CreateTime: 创建时间戳 秒级
|
|
12476
|
+
# @type CreateTime: Integer
|
|
12477
|
+
# @param UpdateTime: 更新时间戳 秒级
|
|
12478
|
+
# @type UpdateTime: Integer
|
|
12479
|
+
|
|
12480
|
+
attr_accessor :ConfigId, :TopicIds, :Source, :GroupIds, :Type, :Flag, :Name, :Spec, :MetricRelabels, :MetricLabel, :Scheme, :ScrapeInterval, :ScrapeTimeout, :HonorLabels, :YamlSpec, :Operate, :CreateTime, :UpdateTime
|
|
12481
|
+
|
|
12482
|
+
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)
|
|
12483
|
+
@ConfigId = configid
|
|
12484
|
+
@TopicIds = topicids
|
|
12485
|
+
@Source = source
|
|
12486
|
+
@GroupIds = groupids
|
|
12487
|
+
@Type = type
|
|
12488
|
+
@Flag = flag
|
|
12489
|
+
@Name = name
|
|
12490
|
+
@Spec = spec
|
|
12491
|
+
@MetricRelabels = metricrelabels
|
|
12492
|
+
@MetricLabel = metriclabel
|
|
12493
|
+
@Scheme = scheme
|
|
12494
|
+
@ScrapeInterval = scrapeinterval
|
|
12495
|
+
@ScrapeTimeout = scrapetimeout
|
|
12496
|
+
@HonorLabels = honorlabels
|
|
12497
|
+
@YamlSpec = yamlspec
|
|
12498
|
+
@Operate = operate
|
|
12499
|
+
@CreateTime = createtime
|
|
12500
|
+
@UpdateTime = updatetime
|
|
12501
|
+
end
|
|
12502
|
+
|
|
12503
|
+
def deserialize(params)
|
|
12504
|
+
@ConfigId = params['ConfigId']
|
|
12505
|
+
@TopicIds = params['TopicIds']
|
|
12506
|
+
@Source = params['Source']
|
|
12507
|
+
@GroupIds = params['GroupIds']
|
|
12508
|
+
@Type = params['Type']
|
|
12509
|
+
@Flag = params['Flag']
|
|
12510
|
+
@Name = params['Name']
|
|
12511
|
+
unless params['Spec'].nil?
|
|
12512
|
+
@Spec = MetricSpec.new
|
|
12513
|
+
@Spec.deserialize(params['Spec'])
|
|
12514
|
+
end
|
|
12515
|
+
unless params['MetricRelabels'].nil?
|
|
12516
|
+
@MetricRelabels = []
|
|
12517
|
+
params['MetricRelabels'].each do |i|
|
|
12518
|
+
relabeling_tmp = Relabeling.new
|
|
12519
|
+
relabeling_tmp.deserialize(i)
|
|
12520
|
+
@MetricRelabels << relabeling_tmp
|
|
12521
|
+
end
|
|
12522
|
+
end
|
|
12523
|
+
unless params['MetricLabel'].nil?
|
|
12524
|
+
@MetricLabel = MetricConfigLabel.new
|
|
12525
|
+
@MetricLabel.deserialize(params['MetricLabel'])
|
|
12526
|
+
end
|
|
12527
|
+
@Scheme = params['Scheme']
|
|
12528
|
+
@ScrapeInterval = params['ScrapeInterval']
|
|
12529
|
+
@ScrapeTimeout = params['ScrapeTimeout']
|
|
12530
|
+
@HonorLabels = params['HonorLabels']
|
|
12531
|
+
unless params['YamlSpec'].nil?
|
|
12532
|
+
@YamlSpec = MetricYamlSpec.new
|
|
12533
|
+
@YamlSpec.deserialize(params['YamlSpec'])
|
|
12534
|
+
end
|
|
12535
|
+
@Operate = params['Operate']
|
|
12536
|
+
@CreateTime = params['CreateTime']
|
|
12537
|
+
@UpdateTime = params['UpdateTime']
|
|
12538
|
+
end
|
|
12539
|
+
end
|
|
12540
|
+
|
|
12541
|
+
# 指标配置信息
|
|
12542
|
+
class MetricConfig < TencentCloud::Common::AbstractModel
|
|
12543
|
+
# @param MetricName: 指标名称
|
|
12544
|
+
# @type MetricName: String
|
|
12545
|
+
# @param Periods: 统计周期,单位:秒(s)
|
|
12546
|
+
# @type Periods: Array
|
|
12547
|
+
# @param MetricLabels: 自定义指标标签
|
|
12548
|
+
# @type MetricLabels: Array
|
|
12549
|
+
|
|
12550
|
+
attr_accessor :MetricName, :Periods, :MetricLabels
|
|
12551
|
+
|
|
12552
|
+
def initialize(metricname=nil, periods=nil, metriclabels=nil)
|
|
12553
|
+
@MetricName = metricname
|
|
12554
|
+
@Periods = periods
|
|
12555
|
+
@MetricLabels = metriclabels
|
|
12556
|
+
end
|
|
12557
|
+
|
|
12558
|
+
def deserialize(params)
|
|
12559
|
+
@MetricName = params['MetricName']
|
|
12560
|
+
@Periods = params['Periods']
|
|
12561
|
+
unless params['MetricLabels'].nil?
|
|
12562
|
+
@MetricLabels = []
|
|
12563
|
+
params['MetricLabels'].each do |i|
|
|
12564
|
+
metriclabel_tmp = MetricLabel.new
|
|
12565
|
+
metriclabel_tmp.deserialize(i)
|
|
12566
|
+
@MetricLabels << metriclabel_tmp
|
|
12567
|
+
end
|
|
12568
|
+
end
|
|
12569
|
+
end
|
|
12570
|
+
end
|
|
12571
|
+
|
|
12572
|
+
# 指标采集label配置信息
|
|
12573
|
+
class MetricConfigLabel < TencentCloud::Common::AbstractModel
|
|
12574
|
+
# @param Metadata: 元数据。
|
|
12575
|
+
# 支持
|
|
12576
|
+
# - `namespace`
|
|
12577
|
+
# - `pod_name`
|
|
12578
|
+
# - `pod_ip`
|
|
12579
|
+
# - `pod_uid`
|
|
12580
|
+
# - `container_name`
|
|
12581
|
+
# - `container_id`
|
|
12582
|
+
# - `image_name`
|
|
12583
|
+
# - `cluster_id`
|
|
12584
|
+
# - `node_id`
|
|
12585
|
+
# - `node_ip`
|
|
12586
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12587
|
+
# @type Metadata: Array
|
|
12588
|
+
# @param Label: 元数据Pod Label信息。
|
|
12589
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12590
|
+
# @type Label: :class:`Tencentcloud::Cls.v20201016.models.AppointLabel`
|
|
12591
|
+
# @param CustomLabels: 自定义label信息。
|
|
12592
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12593
|
+
# @type CustomLabels: Array
|
|
12594
|
+
|
|
12595
|
+
attr_accessor :Metadata, :Label, :CustomLabels
|
|
12596
|
+
|
|
12597
|
+
def initialize(metadata=nil, label=nil, customlabels=nil)
|
|
12598
|
+
@Metadata = metadata
|
|
12599
|
+
@Label = label
|
|
12600
|
+
@CustomLabels = customlabels
|
|
12601
|
+
end
|
|
12602
|
+
|
|
12603
|
+
def deserialize(params)
|
|
12604
|
+
@Metadata = params['Metadata']
|
|
12605
|
+
unless params['Label'].nil?
|
|
12606
|
+
@Label = AppointLabel.new
|
|
12607
|
+
@Label.deserialize(params['Label'])
|
|
12608
|
+
end
|
|
12609
|
+
unless params['CustomLabels'].nil?
|
|
12610
|
+
@CustomLabels = []
|
|
12611
|
+
params['CustomLabels'].each do |i|
|
|
12612
|
+
customlabel_tmp = CustomLabel.new
|
|
12613
|
+
customlabel_tmp.deserialize(i)
|
|
12614
|
+
@CustomLabels << customlabel_tmp
|
|
12615
|
+
end
|
|
12616
|
+
end
|
|
12617
|
+
end
|
|
12618
|
+
end
|
|
12619
|
+
|
|
12620
|
+
# 过滤器
|
|
12621
|
+
class MetricLabel < TencentCloud::Common::AbstractModel
|
|
12622
|
+
# @param Key: 指标名称
|
|
12623
|
+
# @type Key: String
|
|
12624
|
+
# @param Value: 指标内容
|
|
12625
|
+
# @type Value: String
|
|
12626
|
+
|
|
12627
|
+
attr_accessor :Key, :Value
|
|
12628
|
+
|
|
12629
|
+
def initialize(key=nil, value=nil)
|
|
12630
|
+
@Key = key
|
|
12631
|
+
@Value = value
|
|
12632
|
+
end
|
|
12633
|
+
|
|
12634
|
+
def deserialize(params)
|
|
12635
|
+
@Key = params['Key']
|
|
12636
|
+
@Value = params['Value']
|
|
12637
|
+
end
|
|
12638
|
+
end
|
|
12639
|
+
|
|
12640
|
+
# 采集对象
|
|
12641
|
+
class MetricSpec < TencentCloud::Common::AbstractModel
|
|
12642
|
+
# @param CustomSpecs: 自定义指标采集配置项
|
|
12643
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12644
|
+
# @type CustomSpecs: Array
|
|
12645
|
+
|
|
12646
|
+
attr_accessor :CustomSpecs
|
|
12647
|
+
|
|
12648
|
+
def initialize(customspecs=nil)
|
|
12649
|
+
@CustomSpecs = customspecs
|
|
12650
|
+
end
|
|
12651
|
+
|
|
12652
|
+
def deserialize(params)
|
|
12653
|
+
unless params['CustomSpecs'].nil?
|
|
12654
|
+
@CustomSpecs = []
|
|
12655
|
+
params['CustomSpecs'].each do |i|
|
|
12656
|
+
custommetricspec_tmp = CustomMetricSpec.new
|
|
12657
|
+
custommetricspec_tmp.deserialize(i)
|
|
12658
|
+
@CustomSpecs << custommetricspec_tmp
|
|
12659
|
+
end
|
|
12660
|
+
end
|
|
12661
|
+
end
|
|
12662
|
+
end
|
|
12663
|
+
|
|
12664
|
+
# 指标订阅配置信息
|
|
12665
|
+
class MetricSubscribeInfo < TencentCloud::Common::AbstractModel
|
|
12666
|
+
# @param TaskId: 订阅任务id。
|
|
12667
|
+
# @type TaskId: String
|
|
12668
|
+
# @param TopicId: 日志主题id。
|
|
12669
|
+
# @type TopicId: String
|
|
12670
|
+
# @param Name: 订阅任务名称。
|
|
12671
|
+
# @type Name: String
|
|
12672
|
+
# @param Namespace: 云产品命名空间。
|
|
12673
|
+
# @type Namespace: String
|
|
12674
|
+
# @param Metrics: 指标配置信息。
|
|
12675
|
+
# @type Metrics: Array
|
|
12676
|
+
# @param InstanceInfo: 实例配置信息。
|
|
12677
|
+
# @type InstanceInfo: :class:`Tencentcloud::Cls.v20201016.models.InstanceConfig`
|
|
12678
|
+
# @param Enable: 订阅任务开关。1:暂停 2:启用
|
|
12679
|
+
# @type Enable: Integer
|
|
12680
|
+
# @param Status: 订阅任务运行状态。0:创建中 1:暂停 2:运行中 3:异常
|
|
12681
|
+
# @type Status: Integer
|
|
12682
|
+
# @param ErrMsg: 订阅任务运行异常时的错误信息。
|
|
12683
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12684
|
+
# @type ErrMsg: String
|
|
12685
|
+
# @param CreateTime: 创建时间(秒级时间戳)
|
|
12686
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12687
|
+
# @type CreateTime: Integer
|
|
12688
|
+
# @param UpdateTime: 更新时间(秒级时间戳)
|
|
12689
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12690
|
+
# @type UpdateTime: Integer
|
|
12691
|
+
|
|
12692
|
+
attr_accessor :TaskId, :TopicId, :Name, :Namespace, :Metrics, :InstanceInfo, :Enable, :Status, :ErrMsg, :CreateTime, :UpdateTime
|
|
9904
12693
|
|
|
9905
|
-
def initialize(
|
|
9906
|
-
@
|
|
9907
|
-
@
|
|
12694
|
+
def initialize(taskid=nil, topicid=nil, name=nil, namespace=nil, metrics=nil, instanceinfo=nil, enable=nil, status=nil, errmsg=nil, createtime=nil, updatetime=nil)
|
|
12695
|
+
@TaskId = taskid
|
|
12696
|
+
@TopicId = topicid
|
|
12697
|
+
@Name = name
|
|
12698
|
+
@Namespace = namespace
|
|
12699
|
+
@Metrics = metrics
|
|
12700
|
+
@InstanceInfo = instanceinfo
|
|
12701
|
+
@Enable = enable
|
|
12702
|
+
@Status = status
|
|
12703
|
+
@ErrMsg = errmsg
|
|
12704
|
+
@CreateTime = createtime
|
|
12705
|
+
@UpdateTime = updatetime
|
|
9908
12706
|
end
|
|
9909
12707
|
|
|
9910
12708
|
def deserialize(params)
|
|
9911
|
-
@
|
|
9912
|
-
@
|
|
12709
|
+
@TaskId = params['TaskId']
|
|
12710
|
+
@TopicId = params['TopicId']
|
|
12711
|
+
@Name = params['Name']
|
|
12712
|
+
@Namespace = params['Namespace']
|
|
12713
|
+
unless params['Metrics'].nil?
|
|
12714
|
+
@Metrics = []
|
|
12715
|
+
params['Metrics'].each do |i|
|
|
12716
|
+
metricconfig_tmp = MetricConfig.new
|
|
12717
|
+
metricconfig_tmp.deserialize(i)
|
|
12718
|
+
@Metrics << metricconfig_tmp
|
|
12719
|
+
end
|
|
12720
|
+
end
|
|
12721
|
+
unless params['InstanceInfo'].nil?
|
|
12722
|
+
@InstanceInfo = InstanceConfig.new
|
|
12723
|
+
@InstanceInfo.deserialize(params['InstanceInfo'])
|
|
12724
|
+
end
|
|
12725
|
+
@Enable = params['Enable']
|
|
12726
|
+
@Status = params['Status']
|
|
12727
|
+
@ErrMsg = params['ErrMsg']
|
|
12728
|
+
@CreateTime = params['CreateTime']
|
|
12729
|
+
@UpdateTime = params['UpdateTime']
|
|
9913
12730
|
end
|
|
9914
12731
|
end
|
|
9915
12732
|
|
|
9916
|
-
#
|
|
9917
|
-
class
|
|
9918
|
-
# @param
|
|
9919
|
-
#
|
|
9920
|
-
#
|
|
9921
|
-
#
|
|
12733
|
+
# 指标采集yaml格式配置
|
|
12734
|
+
class MetricYamlSpec < TencentCloud::Common::AbstractModel
|
|
12735
|
+
# @param Type: yaml监控类型。
|
|
12736
|
+
# 支持:
|
|
12737
|
+
# - PodMonitor
|
|
12738
|
+
# - ServiceMonitor
|
|
12739
|
+
# - ScrapeConfig
|
|
12740
|
+
# - ScrapeConfig-prometheus
|
|
9922
12741
|
|
|
9923
|
-
|
|
12742
|
+
# `PodMonitor `,`ServiceMonitor `,`ScrapeConfig ` 属于prometheus-operator
|
|
12743
|
+
# `ScrapeConfig-prometheus` 属于prometheus
|
|
12744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12745
|
+
# @type Type: String
|
|
12746
|
+
# @param Spec: 配置yaml格式。
|
|
12747
|
+
# 例如:Type: ServiceMonitor
|
|
9924
12748
|
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
12749
|
+
|
|
12750
|
+
# ```
|
|
12751
|
+
# apiVersion: monitoring.coreos.com/v1
|
|
12752
|
+
# kind: ServiceMonitor
|
|
12753
|
+
# metadata:
|
|
12754
|
+
# name: test
|
|
12755
|
+
# namespace: test
|
|
12756
|
+
# labels:
|
|
12757
|
+
# k8s-app1: test
|
|
12758
|
+
# k8s-app2: test
|
|
12759
|
+
# spec:
|
|
12760
|
+
# endpoints:
|
|
12761
|
+
# - interval: 15s
|
|
12762
|
+
# port: 8080-8080-tcp
|
|
12763
|
+
# path: /metrics
|
|
12764
|
+
# relabelings:
|
|
12765
|
+
# - action: replace
|
|
12766
|
+
# sourceLabels:
|
|
12767
|
+
# - __meta_kubernetes_pod_label_app
|
|
12768
|
+
# targetLabel: application
|
|
12769
|
+
# namespaceSelector:
|
|
12770
|
+
# matchNames:
|
|
12771
|
+
# - test
|
|
12772
|
+
# selector:
|
|
12773
|
+
# matchLabels:
|
|
12774
|
+
# app: test
|
|
12775
|
+
# ```
|
|
12776
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12777
|
+
# @type Spec: String
|
|
12778
|
+
|
|
12779
|
+
attr_accessor :Type, :Spec
|
|
12780
|
+
|
|
12781
|
+
def initialize(type=nil, spec=nil)
|
|
12782
|
+
@Type = type
|
|
12783
|
+
@Spec = spec
|
|
9928
12784
|
end
|
|
9929
12785
|
|
|
9930
12786
|
def deserialize(params)
|
|
9931
|
-
@
|
|
9932
|
-
@
|
|
12787
|
+
@Type = params['Type']
|
|
12788
|
+
@Spec = params['Spec']
|
|
9933
12789
|
end
|
|
9934
12790
|
end
|
|
9935
12791
|
|
|
@@ -10636,6 +13492,50 @@ module TencentCloud
|
|
|
10636
13492
|
end
|
|
10637
13493
|
end
|
|
10638
13494
|
|
|
13495
|
+
# ModifyConsumerGroup请求参数结构体
|
|
13496
|
+
class ModifyConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
|
13497
|
+
# @param ConsumerGroup: 更新的目标消费者组标识
|
|
13498
|
+
# @type ConsumerGroup: String
|
|
13499
|
+
# @param Timeout: 消费者心跳超时时间(秒)
|
|
13500
|
+
# @type Timeout: Integer
|
|
13501
|
+
# @param Topics: 更新的消费者组包含的日志主题列表
|
|
13502
|
+
# @type Topics: Array
|
|
13503
|
+
# @param LogsetId: 日志集Id(日志主题所属的日志集)
|
|
13504
|
+
# @type LogsetId: String
|
|
13505
|
+
|
|
13506
|
+
attr_accessor :ConsumerGroup, :Timeout, :Topics, :LogsetId
|
|
13507
|
+
|
|
13508
|
+
def initialize(consumergroup=nil, timeout=nil, topics=nil, logsetid=nil)
|
|
13509
|
+
@ConsumerGroup = consumergroup
|
|
13510
|
+
@Timeout = timeout
|
|
13511
|
+
@Topics = topics
|
|
13512
|
+
@LogsetId = logsetid
|
|
13513
|
+
end
|
|
13514
|
+
|
|
13515
|
+
def deserialize(params)
|
|
13516
|
+
@ConsumerGroup = params['ConsumerGroup']
|
|
13517
|
+
@Timeout = params['Timeout']
|
|
13518
|
+
@Topics = params['Topics']
|
|
13519
|
+
@LogsetId = params['LogsetId']
|
|
13520
|
+
end
|
|
13521
|
+
end
|
|
13522
|
+
|
|
13523
|
+
# ModifyConsumerGroup返回参数结构体
|
|
13524
|
+
class ModifyConsumerGroupResponse < TencentCloud::Common::AbstractModel
|
|
13525
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13526
|
+
# @type RequestId: String
|
|
13527
|
+
|
|
13528
|
+
attr_accessor :RequestId
|
|
13529
|
+
|
|
13530
|
+
def initialize(requestid=nil)
|
|
13531
|
+
@RequestId = requestid
|
|
13532
|
+
end
|
|
13533
|
+
|
|
13534
|
+
def deserialize(params)
|
|
13535
|
+
@RequestId = params['RequestId']
|
|
13536
|
+
end
|
|
13537
|
+
end
|
|
13538
|
+
|
|
10639
13539
|
# ModifyConsumer请求参数结构体
|
|
10640
13540
|
class ModifyConsumerRequest < TencentCloud::Common::AbstractModel
|
|
10641
13541
|
# @param TopicId: 投递任务绑定的日志主题Id。
|
|
@@ -11030,6 +13930,153 @@ module TencentCloud
|
|
|
11030
13930
|
end
|
|
11031
13931
|
end
|
|
11032
13932
|
|
|
13933
|
+
# ModifyEsRecharge请求参数结构体
|
|
13934
|
+
class ModifyEsRechargeRequest < TencentCloud::Common::AbstractModel
|
|
13935
|
+
# @param TaskId: 导入任务id。
|
|
13936
|
+
# @type TaskId: String
|
|
13937
|
+
# @param TopicId: 日志主题id。
|
|
13938
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
13939
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
|
|
13940
|
+
# @type TopicId: String
|
|
13941
|
+
# @param Name: 名称:长度不超过64字符。
|
|
13942
|
+
# @type Name: String
|
|
13943
|
+
# @param Index: 索引信息。不同索引可以通过英文逗号分隔,支持*通配符
|
|
13944
|
+
# @type Index: String
|
|
13945
|
+
# @param Query: es查询语句。
|
|
13946
|
+
# @type Query: String
|
|
13947
|
+
# @param EsInfo: es集群配置信息。
|
|
13948
|
+
# @type EsInfo: :class:`Tencentcloud::Cls.v20201016.models.EsInfo`
|
|
13949
|
+
# @param ImportInfo: es导入信息。
|
|
13950
|
+
# @type ImportInfo: :class:`Tencentcloud::Cls.v20201016.models.EsImportInfo`
|
|
13951
|
+
# @param TimeInfo: es导入时间字段信息。
|
|
13952
|
+
# @type TimeInfo: :class:`Tencentcloud::Cls.v20201016.models.EsTimeInfo`
|
|
13953
|
+
# @param Status: 任务状态。1:运行, 2:暂停
|
|
13954
|
+
# @type Status: Integer
|
|
13955
|
+
# @param HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
|
|
13956
|
+
# @type HasServicesLog: Integer
|
|
13957
|
+
|
|
13958
|
+
attr_accessor :TaskId, :TopicId, :Name, :Index, :Query, :EsInfo, :ImportInfo, :TimeInfo, :Status, :HasServicesLog
|
|
13959
|
+
|
|
13960
|
+
def initialize(taskid=nil, topicid=nil, name=nil, index=nil, query=nil, esinfo=nil, importinfo=nil, timeinfo=nil, status=nil, hasserviceslog=nil)
|
|
13961
|
+
@TaskId = taskid
|
|
13962
|
+
@TopicId = topicid
|
|
13963
|
+
@Name = name
|
|
13964
|
+
@Index = index
|
|
13965
|
+
@Query = query
|
|
13966
|
+
@EsInfo = esinfo
|
|
13967
|
+
@ImportInfo = importinfo
|
|
13968
|
+
@TimeInfo = timeinfo
|
|
13969
|
+
@Status = status
|
|
13970
|
+
@HasServicesLog = hasserviceslog
|
|
13971
|
+
end
|
|
13972
|
+
|
|
13973
|
+
def deserialize(params)
|
|
13974
|
+
@TaskId = params['TaskId']
|
|
13975
|
+
@TopicId = params['TopicId']
|
|
13976
|
+
@Name = params['Name']
|
|
13977
|
+
@Index = params['Index']
|
|
13978
|
+
@Query = params['Query']
|
|
13979
|
+
unless params['EsInfo'].nil?
|
|
13980
|
+
@EsInfo = EsInfo.new
|
|
13981
|
+
@EsInfo.deserialize(params['EsInfo'])
|
|
13982
|
+
end
|
|
13983
|
+
unless params['ImportInfo'].nil?
|
|
13984
|
+
@ImportInfo = EsImportInfo.new
|
|
13985
|
+
@ImportInfo.deserialize(params['ImportInfo'])
|
|
13986
|
+
end
|
|
13987
|
+
unless params['TimeInfo'].nil?
|
|
13988
|
+
@TimeInfo = EsTimeInfo.new
|
|
13989
|
+
@TimeInfo.deserialize(params['TimeInfo'])
|
|
13990
|
+
end
|
|
13991
|
+
@Status = params['Status']
|
|
13992
|
+
@HasServicesLog = params['HasServicesLog']
|
|
13993
|
+
end
|
|
13994
|
+
end
|
|
13995
|
+
|
|
13996
|
+
# ModifyEsRecharge返回参数结构体
|
|
13997
|
+
class ModifyEsRechargeResponse < TencentCloud::Common::AbstractModel
|
|
13998
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13999
|
+
# @type RequestId: String
|
|
14000
|
+
|
|
14001
|
+
attr_accessor :RequestId
|
|
14002
|
+
|
|
14003
|
+
def initialize(requestid=nil)
|
|
14004
|
+
@RequestId = requestid
|
|
14005
|
+
end
|
|
14006
|
+
|
|
14007
|
+
def deserialize(params)
|
|
14008
|
+
@RequestId = params['RequestId']
|
|
14009
|
+
end
|
|
14010
|
+
end
|
|
14011
|
+
|
|
14012
|
+
# ModifyHostMetricConfig请求参数结构体
|
|
14013
|
+
class ModifyHostMetricConfigRequest < TencentCloud::Common::AbstractModel
|
|
14014
|
+
# @param TopicId: 指标日志主题id。
|
|
14015
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
14016
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
14017
|
+
# @type TopicId: String
|
|
14018
|
+
# @param ConfigId: 采集配置id
|
|
14019
|
+
# @type ConfigId: String
|
|
14020
|
+
# @param Name: 名称。
|
|
14021
|
+
|
|
14022
|
+
# - 长度不超过 64字符。
|
|
14023
|
+
# @type Name: String
|
|
14024
|
+
# @param MachineGroupIds: 机器组id列表。最多支持100个机器组。
|
|
14025
|
+
# @type MachineGroupIds: Array
|
|
14026
|
+
# @param Interval: 采集频率。单位:ms。 最小支持5000ms
|
|
14027
|
+
# @type Interval: Integer
|
|
14028
|
+
# @param HostMetricItems: 采集项。支持"cpu","mem","net","disk","system"。**目前仅支持:所有采集项都需配置**。
|
|
14029
|
+
# - cpu:CPU
|
|
14030
|
+
# - mem:内存
|
|
14031
|
+
# - net:网络
|
|
14032
|
+
# - disk:磁盘
|
|
14033
|
+
# - system:系统
|
|
14034
|
+
# @type HostMetricItems: Array
|
|
14035
|
+
|
|
14036
|
+
attr_accessor :TopicId, :ConfigId, :Name, :MachineGroupIds, :Interval, :HostMetricItems
|
|
14037
|
+
|
|
14038
|
+
def initialize(topicid=nil, configid=nil, name=nil, machinegroupids=nil, interval=nil, hostmetricitems=nil)
|
|
14039
|
+
@TopicId = topicid
|
|
14040
|
+
@ConfigId = configid
|
|
14041
|
+
@Name = name
|
|
14042
|
+
@MachineGroupIds = machinegroupids
|
|
14043
|
+
@Interval = interval
|
|
14044
|
+
@HostMetricItems = hostmetricitems
|
|
14045
|
+
end
|
|
14046
|
+
|
|
14047
|
+
def deserialize(params)
|
|
14048
|
+
@TopicId = params['TopicId']
|
|
14049
|
+
@ConfigId = params['ConfigId']
|
|
14050
|
+
@Name = params['Name']
|
|
14051
|
+
@MachineGroupIds = params['MachineGroupIds']
|
|
14052
|
+
@Interval = params['Interval']
|
|
14053
|
+
unless params['HostMetricItems'].nil?
|
|
14054
|
+
@HostMetricItems = []
|
|
14055
|
+
params['HostMetricItems'].each do |i|
|
|
14056
|
+
hostmetricitem_tmp = HostMetricItem.new
|
|
14057
|
+
hostmetricitem_tmp.deserialize(i)
|
|
14058
|
+
@HostMetricItems << hostmetricitem_tmp
|
|
14059
|
+
end
|
|
14060
|
+
end
|
|
14061
|
+
end
|
|
14062
|
+
end
|
|
14063
|
+
|
|
14064
|
+
# ModifyHostMetricConfig返回参数结构体
|
|
14065
|
+
class ModifyHostMetricConfigResponse < TencentCloud::Common::AbstractModel
|
|
14066
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14067
|
+
# @type RequestId: String
|
|
14068
|
+
|
|
14069
|
+
attr_accessor :RequestId
|
|
14070
|
+
|
|
14071
|
+
def initialize(requestid=nil)
|
|
14072
|
+
@RequestId = requestid
|
|
14073
|
+
end
|
|
14074
|
+
|
|
14075
|
+
def deserialize(params)
|
|
14076
|
+
@RequestId = params['RequestId']
|
|
14077
|
+
end
|
|
14078
|
+
end
|
|
14079
|
+
|
|
11033
14080
|
# ModifyIndex请求参数结构体
|
|
11034
14081
|
class ModifyIndexRequest < TencentCloud::Common::AbstractModel
|
|
11035
14082
|
# @param TopicId: 日志主题Id。
|
|
@@ -11342,54 +14389,229 @@ module TencentCloud
|
|
|
11342
14389
|
# @param MetaTags: 机器组元数据信息列表
|
|
11343
14390
|
# @type MetaTags: Array
|
|
11344
14391
|
|
|
11345
|
-
attr_accessor :GroupId, :GroupName, :MachineGroupType, :Tags, :AutoUpdate, :UpdateStartTime, :UpdateEndTime, :ServiceLogging, :DelayCleanupTime, :MetaTags
|
|
14392
|
+
attr_accessor :GroupId, :GroupName, :MachineGroupType, :Tags, :AutoUpdate, :UpdateStartTime, :UpdateEndTime, :ServiceLogging, :DelayCleanupTime, :MetaTags
|
|
14393
|
+
|
|
14394
|
+
def initialize(groupid=nil, groupname=nil, machinegrouptype=nil, tags=nil, autoupdate=nil, updatestarttime=nil, updateendtime=nil, servicelogging=nil, delaycleanuptime=nil, metatags=nil)
|
|
14395
|
+
@GroupId = groupid
|
|
14396
|
+
@GroupName = groupname
|
|
14397
|
+
@MachineGroupType = machinegrouptype
|
|
14398
|
+
@Tags = tags
|
|
14399
|
+
@AutoUpdate = autoupdate
|
|
14400
|
+
@UpdateStartTime = updatestarttime
|
|
14401
|
+
@UpdateEndTime = updateendtime
|
|
14402
|
+
@ServiceLogging = servicelogging
|
|
14403
|
+
@DelayCleanupTime = delaycleanuptime
|
|
14404
|
+
@MetaTags = metatags
|
|
14405
|
+
end
|
|
14406
|
+
|
|
14407
|
+
def deserialize(params)
|
|
14408
|
+
@GroupId = params['GroupId']
|
|
14409
|
+
@GroupName = params['GroupName']
|
|
14410
|
+
unless params['MachineGroupType'].nil?
|
|
14411
|
+
@MachineGroupType = MachineGroupTypeInfo.new
|
|
14412
|
+
@MachineGroupType.deserialize(params['MachineGroupType'])
|
|
14413
|
+
end
|
|
14414
|
+
unless params['Tags'].nil?
|
|
14415
|
+
@Tags = []
|
|
14416
|
+
params['Tags'].each do |i|
|
|
14417
|
+
tag_tmp = Tag.new
|
|
14418
|
+
tag_tmp.deserialize(i)
|
|
14419
|
+
@Tags << tag_tmp
|
|
14420
|
+
end
|
|
14421
|
+
end
|
|
14422
|
+
@AutoUpdate = params['AutoUpdate']
|
|
14423
|
+
@UpdateStartTime = params['UpdateStartTime']
|
|
14424
|
+
@UpdateEndTime = params['UpdateEndTime']
|
|
14425
|
+
@ServiceLogging = params['ServiceLogging']
|
|
14426
|
+
@DelayCleanupTime = params['DelayCleanupTime']
|
|
14427
|
+
unless params['MetaTags'].nil?
|
|
14428
|
+
@MetaTags = []
|
|
14429
|
+
params['MetaTags'].each do |i|
|
|
14430
|
+
metataginfo_tmp = MetaTagInfo.new
|
|
14431
|
+
metataginfo_tmp.deserialize(i)
|
|
14432
|
+
@MetaTags << metataginfo_tmp
|
|
14433
|
+
end
|
|
14434
|
+
end
|
|
14435
|
+
end
|
|
14436
|
+
end
|
|
14437
|
+
|
|
14438
|
+
# ModifyMachineGroup返回参数结构体
|
|
14439
|
+
class ModifyMachineGroupResponse < TencentCloud::Common::AbstractModel
|
|
14440
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14441
|
+
# @type RequestId: String
|
|
14442
|
+
|
|
14443
|
+
attr_accessor :RequestId
|
|
14444
|
+
|
|
14445
|
+
def initialize(requestid=nil)
|
|
14446
|
+
@RequestId = requestid
|
|
14447
|
+
end
|
|
14448
|
+
|
|
14449
|
+
def deserialize(params)
|
|
14450
|
+
@RequestId = params['RequestId']
|
|
14451
|
+
end
|
|
14452
|
+
end
|
|
14453
|
+
|
|
14454
|
+
# ModifyMetricConfig请求参数结构体
|
|
14455
|
+
class ModifyMetricConfigRequest < TencentCloud::Common::AbstractModel
|
|
14456
|
+
# @param TopicId: 指标日志主题id。
|
|
14457
|
+
# - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
14458
|
+
# - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。注意BizType 0:日志主题(默认值), 1:指标主题
|
|
14459
|
+
# @type TopicId: String
|
|
14460
|
+
# @param ConfigId: 指标采集配置id
|
|
14461
|
+
# @type ConfigId: String
|
|
14462
|
+
# @param Source: 采集配置来源。支持 :`0`、`1`
|
|
14463
|
+
# - 0:自建k8s
|
|
14464
|
+
# - 1:TKE
|
|
14465
|
+
# @type Source: Integer
|
|
14466
|
+
# @param GroupIds: 机器组id。
|
|
14467
|
+
# @type GroupIds: Array
|
|
14468
|
+
# @param Operate: 操作状态,0:应用,1:暂停
|
|
14469
|
+
# @type Operate: Integer
|
|
14470
|
+
# @param Spec: 采集对象, Flag=0时生效
|
|
14471
|
+
# @type Spec: :class:`Tencentcloud::Cls.v20201016.models.MetricSpec`
|
|
14472
|
+
# @param MetricRelabels: 标签处理, Flag=0时生效
|
|
14473
|
+
# @type MetricRelabels: Array
|
|
14474
|
+
# @param MetricLabel: 自定义元数据, Flag=0时生效
|
|
14475
|
+
# @type MetricLabel: :class:`Tencentcloud::Cls.v20201016.models.MetricConfigLabel`
|
|
14476
|
+
# @param Scheme: 通信协议 `http`、`https`;Flag=0时生效
|
|
14477
|
+
# @type Scheme: String
|
|
14478
|
+
# @param ScrapeInterval: 采集频率, Flag=0时生效
|
|
14479
|
+
# - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
|
|
14480
|
+
# - 默认:60s
|
|
14481
|
+
# @type ScrapeInterval: String
|
|
14482
|
+
# @param ScrapeTimeout: 采集超时时间。 Flag=0时生效
|
|
14483
|
+
# - 校验格式:`^(((\d+)y)?((\d+)w)?((\d+)d)?((\d+)h)?((\d+)m)?((\d+)s)?((\d+)ms)?|0)$`
|
|
14484
|
+
# @type ScrapeTimeout: String
|
|
14485
|
+
# @param HonorLabels: Prometheus如何处理标签之间的冲突。当Flag=0 && Type=1时生效,支持`true`,`false`
|
|
14486
|
+
# - `false`:配置数据中冲突的标签重命名
|
|
14487
|
+
# - `true`:忽略冲突的服务器端标签
|
|
14488
|
+
# @type HonorLabels: Boolean
|
|
14489
|
+
# @param YamlSpec: 采集配置yaml格式字符串, Flag=1时必填
|
|
14490
|
+
# @type YamlSpec: :class:`Tencentcloud::Cls.v20201016.models.MetricYamlSpec`
|
|
14491
|
+
|
|
14492
|
+
attr_accessor :TopicId, :ConfigId, :Source, :GroupIds, :Operate, :Spec, :MetricRelabels, :MetricLabel, :Scheme, :ScrapeInterval, :ScrapeTimeout, :HonorLabels, :YamlSpec
|
|
14493
|
+
|
|
14494
|
+
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)
|
|
14495
|
+
@TopicId = topicid
|
|
14496
|
+
@ConfigId = configid
|
|
14497
|
+
@Source = source
|
|
14498
|
+
@GroupIds = groupids
|
|
14499
|
+
@Operate = operate
|
|
14500
|
+
@Spec = spec
|
|
14501
|
+
@MetricRelabels = metricrelabels
|
|
14502
|
+
@MetricLabel = metriclabel
|
|
14503
|
+
@Scheme = scheme
|
|
14504
|
+
@ScrapeInterval = scrapeinterval
|
|
14505
|
+
@ScrapeTimeout = scrapetimeout
|
|
14506
|
+
@HonorLabels = honorlabels
|
|
14507
|
+
@YamlSpec = yamlspec
|
|
14508
|
+
end
|
|
14509
|
+
|
|
14510
|
+
def deserialize(params)
|
|
14511
|
+
@TopicId = params['TopicId']
|
|
14512
|
+
@ConfigId = params['ConfigId']
|
|
14513
|
+
@Source = params['Source']
|
|
14514
|
+
@GroupIds = params['GroupIds']
|
|
14515
|
+
@Operate = params['Operate']
|
|
14516
|
+
unless params['Spec'].nil?
|
|
14517
|
+
@Spec = MetricSpec.new
|
|
14518
|
+
@Spec.deserialize(params['Spec'])
|
|
14519
|
+
end
|
|
14520
|
+
unless params['MetricRelabels'].nil?
|
|
14521
|
+
@MetricRelabels = []
|
|
14522
|
+
params['MetricRelabels'].each do |i|
|
|
14523
|
+
relabeling_tmp = Relabeling.new
|
|
14524
|
+
relabeling_tmp.deserialize(i)
|
|
14525
|
+
@MetricRelabels << relabeling_tmp
|
|
14526
|
+
end
|
|
14527
|
+
end
|
|
14528
|
+
unless params['MetricLabel'].nil?
|
|
14529
|
+
@MetricLabel = MetricConfigLabel.new
|
|
14530
|
+
@MetricLabel.deserialize(params['MetricLabel'])
|
|
14531
|
+
end
|
|
14532
|
+
@Scheme = params['Scheme']
|
|
14533
|
+
@ScrapeInterval = params['ScrapeInterval']
|
|
14534
|
+
@ScrapeTimeout = params['ScrapeTimeout']
|
|
14535
|
+
@HonorLabels = params['HonorLabels']
|
|
14536
|
+
unless params['YamlSpec'].nil?
|
|
14537
|
+
@YamlSpec = MetricYamlSpec.new
|
|
14538
|
+
@YamlSpec.deserialize(params['YamlSpec'])
|
|
14539
|
+
end
|
|
14540
|
+
end
|
|
14541
|
+
end
|
|
14542
|
+
|
|
14543
|
+
# ModifyMetricConfig返回参数结构体
|
|
14544
|
+
class ModifyMetricConfigResponse < TencentCloud::Common::AbstractModel
|
|
14545
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14546
|
+
# @type RequestId: String
|
|
14547
|
+
|
|
14548
|
+
attr_accessor :RequestId
|
|
14549
|
+
|
|
14550
|
+
def initialize(requestid=nil)
|
|
14551
|
+
@RequestId = requestid
|
|
14552
|
+
end
|
|
11346
14553
|
|
|
11347
|
-
def
|
|
11348
|
-
@
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
|
|
14554
|
+
def deserialize(params)
|
|
14555
|
+
@RequestId = params['RequestId']
|
|
14556
|
+
end
|
|
14557
|
+
end
|
|
14558
|
+
|
|
14559
|
+
# ModifyMetricSubscribe请求参数结构体
|
|
14560
|
+
class ModifyMetricSubscribeRequest < TencentCloud::Common::AbstractModel
|
|
14561
|
+
# @param TopicId: 指标采集任务的日志主题id。必填字段
|
|
14562
|
+
# @type TopicId: String
|
|
14563
|
+
# @param TaskId: 指标采集任务id。必填字段
|
|
14564
|
+
# @type TaskId: String
|
|
14565
|
+
# @param Name: 名称:长度不超过64字符,以字母开头,接受0-9,a-z,A-Z, _,-,中文字符。
|
|
14566
|
+
# @type Name: String
|
|
14567
|
+
# @param Namespace: 云产品命名空间。
|
|
14568
|
+
# @type Namespace: String
|
|
14569
|
+
# @param Metrics: 指标配置信息。
|
|
14570
|
+
# @type Metrics: Array
|
|
14571
|
+
# @param InstanceInfo: 实例配置信息。
|
|
14572
|
+
# @type InstanceInfo: :class:`Tencentcloud::Cls.v20201016.models.InstanceConfig`
|
|
14573
|
+
# @param Enable: 任务状态。
|
|
14574
|
+
|
|
14575
|
+
# 1: 未启用
|
|
14576
|
+
|
|
14577
|
+
# 2: 启用
|
|
14578
|
+
# @type Enable: Integer
|
|
14579
|
+
|
|
14580
|
+
attr_accessor :TopicId, :TaskId, :Name, :Namespace, :Metrics, :InstanceInfo, :Enable
|
|
14581
|
+
|
|
14582
|
+
def initialize(topicid=nil, taskid=nil, name=nil, namespace=nil, metrics=nil, instanceinfo=nil, enable=nil)
|
|
14583
|
+
@TopicId = topicid
|
|
14584
|
+
@TaskId = taskid
|
|
14585
|
+
@Name = name
|
|
14586
|
+
@Namespace = namespace
|
|
14587
|
+
@Metrics = metrics
|
|
14588
|
+
@InstanceInfo = instanceinfo
|
|
14589
|
+
@Enable = enable
|
|
11358
14590
|
end
|
|
11359
14591
|
|
|
11360
14592
|
def deserialize(params)
|
|
11361
|
-
@
|
|
11362
|
-
@
|
|
11363
|
-
|
|
11364
|
-
|
|
11365
|
-
|
|
11366
|
-
|
|
11367
|
-
|
|
11368
|
-
|
|
11369
|
-
|
|
11370
|
-
|
|
11371
|
-
tag_tmp.deserialize(i)
|
|
11372
|
-
@Tags << tag_tmp
|
|
14593
|
+
@TopicId = params['TopicId']
|
|
14594
|
+
@TaskId = params['TaskId']
|
|
14595
|
+
@Name = params['Name']
|
|
14596
|
+
@Namespace = params['Namespace']
|
|
14597
|
+
unless params['Metrics'].nil?
|
|
14598
|
+
@Metrics = []
|
|
14599
|
+
params['Metrics'].each do |i|
|
|
14600
|
+
metricconfig_tmp = MetricConfig.new
|
|
14601
|
+
metricconfig_tmp.deserialize(i)
|
|
14602
|
+
@Metrics << metricconfig_tmp
|
|
11373
14603
|
end
|
|
11374
14604
|
end
|
|
11375
|
-
|
|
11376
|
-
|
|
11377
|
-
|
|
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
|
|
14605
|
+
unless params['InstanceInfo'].nil?
|
|
14606
|
+
@InstanceInfo = InstanceConfig.new
|
|
14607
|
+
@InstanceInfo.deserialize(params['InstanceInfo'])
|
|
11387
14608
|
end
|
|
14609
|
+
@Enable = params['Enable']
|
|
11388
14610
|
end
|
|
11389
14611
|
end
|
|
11390
14612
|
|
|
11391
|
-
#
|
|
11392
|
-
class
|
|
14613
|
+
# ModifyMetricSubscribe返回参数结构体
|
|
14614
|
+
class ModifyMetricSubscribeResponse < TencentCloud::Common::AbstractModel
|
|
11393
14615
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11394
14616
|
# @type RequestId: String
|
|
11395
14617
|
|
|
@@ -11649,6 +14871,95 @@ module TencentCloud
|
|
|
11649
14871
|
end
|
|
11650
14872
|
end
|
|
11651
14873
|
|
|
14874
|
+
# ModifySplunkDeliver请求参数结构体
|
|
14875
|
+
class ModifySplunkDeliverRequest < TencentCloud::Common::AbstractModel
|
|
14876
|
+
# @param TaskId: 任务id
|
|
14877
|
+
# @type TaskId: String
|
|
14878
|
+
# @param TopicId: 日志主题id
|
|
14879
|
+
# - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
14880
|
+
# @type TopicId: String
|
|
14881
|
+
# @param Name: 投递任务名称
|
|
14882
|
+
# name有以下限制:
|
|
14883
|
+
# - 不能为空
|
|
14884
|
+
# - 长度不大于64
|
|
14885
|
+
# - 只能包含aA-zZ、下划线、-、0-9
|
|
14886
|
+
# @type Name: String
|
|
14887
|
+
# @param Enable: 投递任务启用状态;0:禁用;1:启用
|
|
14888
|
+
# @type Enable: Integer
|
|
14889
|
+
# @param NetInfo: splunk投递任务-目标配置
|
|
14890
|
+
# @type NetInfo: :class:`Tencentcloud::Cls.v20201016.models.NetInfo`
|
|
14891
|
+
# @param MetadataInfo: splunk投递任务元信息
|
|
14892
|
+
# @type MetadataInfo: :class:`Tencentcloud::Cls.v20201016.models.MetadataInfo`
|
|
14893
|
+
# @param HasServiceLog: 是否启用服务日志;1:关闭;2:开启
|
|
14894
|
+
# @type HasServiceLog: Integer
|
|
14895
|
+
# @param IndexAck: 高级配置-是否启用索引器;
|
|
14896
|
+
# 1-不开启;2-开启;默认为:1
|
|
14897
|
+
# @type IndexAck: Integer
|
|
14898
|
+
# @param Source: 高级配置-数据来源;不超过64个字符
|
|
14899
|
+
# @type Source: String
|
|
14900
|
+
# @param SourceType: 高级配置-数据来源类型;不超过64个字符
|
|
14901
|
+
# @type SourceType: String
|
|
14902
|
+
# @param Index: 高级配置-Splunk写入的索引;不超过64个字符
|
|
14903
|
+
# @type Index: String
|
|
14904
|
+
# @param Channel: 高级配置-通道。
|
|
14905
|
+
# 需满足限制:如果启用索引器,该值不能为空
|
|
14906
|
+
# @type Channel: String
|
|
14907
|
+
|
|
14908
|
+
attr_accessor :TaskId, :TopicId, :Name, :Enable, :NetInfo, :MetadataInfo, :HasServiceLog, :IndexAck, :Source, :SourceType, :Index, :Channel
|
|
14909
|
+
|
|
14910
|
+
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)
|
|
14911
|
+
@TaskId = taskid
|
|
14912
|
+
@TopicId = topicid
|
|
14913
|
+
@Name = name
|
|
14914
|
+
@Enable = enable
|
|
14915
|
+
@NetInfo = netinfo
|
|
14916
|
+
@MetadataInfo = metadatainfo
|
|
14917
|
+
@HasServiceLog = hasservicelog
|
|
14918
|
+
@IndexAck = indexack
|
|
14919
|
+
@Source = source
|
|
14920
|
+
@SourceType = sourcetype
|
|
14921
|
+
@Index = index
|
|
14922
|
+
@Channel = channel
|
|
14923
|
+
end
|
|
14924
|
+
|
|
14925
|
+
def deserialize(params)
|
|
14926
|
+
@TaskId = params['TaskId']
|
|
14927
|
+
@TopicId = params['TopicId']
|
|
14928
|
+
@Name = params['Name']
|
|
14929
|
+
@Enable = params['Enable']
|
|
14930
|
+
unless params['NetInfo'].nil?
|
|
14931
|
+
@NetInfo = NetInfo.new
|
|
14932
|
+
@NetInfo.deserialize(params['NetInfo'])
|
|
14933
|
+
end
|
|
14934
|
+
unless params['MetadataInfo'].nil?
|
|
14935
|
+
@MetadataInfo = MetadataInfo.new
|
|
14936
|
+
@MetadataInfo.deserialize(params['MetadataInfo'])
|
|
14937
|
+
end
|
|
14938
|
+
@HasServiceLog = params['HasServiceLog']
|
|
14939
|
+
@IndexAck = params['IndexAck']
|
|
14940
|
+
@Source = params['Source']
|
|
14941
|
+
@SourceType = params['SourceType']
|
|
14942
|
+
@Index = params['Index']
|
|
14943
|
+
@Channel = params['Channel']
|
|
14944
|
+
end
|
|
14945
|
+
end
|
|
14946
|
+
|
|
14947
|
+
# ModifySplunkDeliver返回参数结构体
|
|
14948
|
+
class ModifySplunkDeliverResponse < TencentCloud::Common::AbstractModel
|
|
14949
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14950
|
+
# @type RequestId: String
|
|
14951
|
+
|
|
14952
|
+
attr_accessor :RequestId
|
|
14953
|
+
|
|
14954
|
+
def initialize(requestid=nil)
|
|
14955
|
+
@RequestId = requestid
|
|
14956
|
+
end
|
|
14957
|
+
|
|
14958
|
+
def deserialize(params)
|
|
14959
|
+
@RequestId = params['RequestId']
|
|
14960
|
+
end
|
|
14961
|
+
end
|
|
14962
|
+
|
|
11652
14963
|
# ModifyTopic请求参数结构体
|
|
11653
14964
|
class ModifyTopicRequest < TencentCloud::Common::AbstractModel
|
|
11654
14965
|
# @param TopicId: 主题ID- 通过[获取主题列表](https://cloud.tencent.com/document/product/614/56454)获取主题Id。
|
|
@@ -11945,6 +15256,50 @@ module TencentCloud
|
|
|
11945
15256
|
end
|
|
11946
15257
|
end
|
|
11947
15258
|
|
|
15259
|
+
# Splunk投递任务-目标配置网络信息相关
|
|
15260
|
+
class NetInfo < TencentCloud::Common::AbstractModel
|
|
15261
|
+
# @param Host: 网络地址
|
|
15262
|
+
# @type Host: String
|
|
15263
|
+
# @param Port: 端口
|
|
15264
|
+
# @type Port: Integer
|
|
15265
|
+
# @param Token: 认证token
|
|
15266
|
+
# @type Token: String
|
|
15267
|
+
# @param NetType: 网络类型;1:内网;2:外网
|
|
15268
|
+
# @type NetType: Integer
|
|
15269
|
+
# @param VpcId: 所属网络;如果网络类型为内网,该字段必填
|
|
15270
|
+
# @type VpcId: String
|
|
15271
|
+
# @param VirtualGatewayType: 网络服务类型;如果网络类型为内网,该字段必填
|
|
15272
|
+
# - 0:云上cvm
|
|
15273
|
+
# - 3:云上专线网关
|
|
15274
|
+
# - 11:云联网
|
|
15275
|
+
# - 1025:云上clb
|
|
15276
|
+
# @type VirtualGatewayType: Integer
|
|
15277
|
+
# @param IsSSL: 认证机制,是否使用SSL,默认不使用
|
|
15278
|
+
# @type IsSSL: Boolean
|
|
15279
|
+
|
|
15280
|
+
attr_accessor :Host, :Port, :Token, :NetType, :VpcId, :VirtualGatewayType, :IsSSL
|
|
15281
|
+
|
|
15282
|
+
def initialize(host=nil, port=nil, token=nil, nettype=nil, vpcid=nil, virtualgatewaytype=nil, isssl=nil)
|
|
15283
|
+
@Host = host
|
|
15284
|
+
@Port = port
|
|
15285
|
+
@Token = token
|
|
15286
|
+
@NetType = nettype
|
|
15287
|
+
@VpcId = vpcid
|
|
15288
|
+
@VirtualGatewayType = virtualgatewaytype
|
|
15289
|
+
@IsSSL = isssl
|
|
15290
|
+
end
|
|
15291
|
+
|
|
15292
|
+
def deserialize(params)
|
|
15293
|
+
@Host = params['Host']
|
|
15294
|
+
@Port = params['Port']
|
|
15295
|
+
@Token = params['Token']
|
|
15296
|
+
@NetType = params['NetType']
|
|
15297
|
+
@VpcId = params['VpcId']
|
|
15298
|
+
@VirtualGatewayType = params['VirtualGatewayType']
|
|
15299
|
+
@IsSSL = params['IsSSL']
|
|
15300
|
+
end
|
|
15301
|
+
end
|
|
15302
|
+
|
|
11948
15303
|
# 通知内容模板详细配置
|
|
11949
15304
|
class NoticeContent < TencentCloud::Common::AbstractModel
|
|
11950
15305
|
# @param Type: 渠道类型
|
|
@@ -12367,6 +15722,28 @@ module TencentCloud
|
|
|
12367
15722
|
end
|
|
12368
15723
|
end
|
|
12369
15724
|
|
|
15725
|
+
# PartitionOffsetInfo
|
|
15726
|
+
class PartitionOffsetInfo < TencentCloud::Common::AbstractModel
|
|
15727
|
+
# @param PartitionId: 分区id
|
|
15728
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15729
|
+
# @type PartitionId: Integer
|
|
15730
|
+
# @param Offset: offset点位
|
|
15731
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
15732
|
+
# @type Offset: Integer
|
|
15733
|
+
|
|
15734
|
+
attr_accessor :PartitionId, :Offset
|
|
15735
|
+
|
|
15736
|
+
def initialize(partitionid=nil, offset=nil)
|
|
15737
|
+
@PartitionId = partitionid
|
|
15738
|
+
@Offset = offset
|
|
15739
|
+
end
|
|
15740
|
+
|
|
15741
|
+
def deserialize(params)
|
|
15742
|
+
@PartitionId = params['PartitionId']
|
|
15743
|
+
@Offset = params['Offset']
|
|
15744
|
+
end
|
|
15745
|
+
end
|
|
15746
|
+
|
|
12370
15747
|
# PreviewKafkaRecharge请求参数结构体
|
|
12371
15748
|
class PreviewKafkaRechargeRequest < TencentCloud::Common::AbstractModel
|
|
12372
15749
|
# @param PreviewType: 预览类型,1:源数据预览;2:导出结果预览。
|
|
@@ -12623,6 +16000,67 @@ module TencentCloud
|
|
|
12623
16000
|
end
|
|
12624
16001
|
end
|
|
12625
16002
|
|
|
16003
|
+
# 标签重新标记配置。
|
|
16004
|
+
# 允许动态重写目标、警报、抓取样本和远程写入样本的标签集。
|
|
16005
|
+
class Relabeling < TencentCloud::Common::AbstractModel
|
|
16006
|
+
# @param Action: 基于正则表达式匹配执行的动作。
|
|
16007
|
+
# - replace: Label替换, 必填: SourceLabels, Separator, Regex, TargetLabel, Replacement
|
|
16008
|
+
# - labeldrop: 丢弃Label, 必填: Regex
|
|
16009
|
+
# - labelkeep: 保留Label, 必填: Regex
|
|
16010
|
+
# - lowercase: 小写化, 必填: SourceLabels, Separator, TargetLabel
|
|
16011
|
+
# - uppercase: 大写化, 必填: SourceLabels, Separator, TargetLabel
|
|
16012
|
+
# - dropequal: 丢弃指标-完全匹配, 必填: SourceLabels, Separator, TargetLabel
|
|
16013
|
+
# - keepequal: 保留指标-完全匹配, 必填: SourceLabels, Separator, TargetLabel
|
|
16014
|
+
# - drop: 丢弃指标-正则匹配, 必填: SourceLabels, Separator, Regex
|
|
16015
|
+
# - keep: 保留指标-正则匹配, 必填: SourceLabels, Separator, Regex
|
|
16016
|
+
# - hashmod:哈希取模, 必填: SourceLabels, Separator, TargetLabel, Modulus
|
|
16017
|
+
# - labelmap:Label映射, 必填: Regex, Replacement
|
|
16018
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16019
|
+
# @type Action: String
|
|
16020
|
+
# @param SourceLabels: 原始label
|
|
16021
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16022
|
+
# @type SourceLabels: Array
|
|
16023
|
+
# @param Separator: 原始label连接符。 必填时不能为空串, 长度不能超过256
|
|
16024
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16025
|
+
# @type Separator: String
|
|
16026
|
+
# @param TargetLabel: 目标label。必填时不能为空串,校验格式:`^[a-zA-Z_][a-zA-Z0-9_]*$` , 长度不能超过256
|
|
16027
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16028
|
+
# @type TargetLabel: String
|
|
16029
|
+
# @param Replacement: 替换值。如果正则表达式匹配,则对其执行替换操作。
|
|
16030
|
+
# - 必填时不能为空串,长度不能超过256
|
|
16031
|
+
# - 当action为LabelMap时, Replacement 校验格式:`^(?:(?:[a-zA-Z_]|\$(?:\{\w+\}|\w+))+\w*)+$`
|
|
16032
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16033
|
+
# @type Replacement: String
|
|
16034
|
+
# @param Regex: 正则表达式。提取与之匹配值。必填时不能为空串,校验必须是一个合法的 RE2
|
|
16035
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16036
|
+
# @type Regex: String
|
|
16037
|
+
# @param Modulus: 获取源标签值的哈希值。必填时不能为空,不能为0
|
|
16038
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16039
|
+
# @type Modulus: Integer
|
|
16040
|
+
|
|
16041
|
+
attr_accessor :Action, :SourceLabels, :Separator, :TargetLabel, :Replacement, :Regex, :Modulus
|
|
16042
|
+
|
|
16043
|
+
def initialize(action=nil, sourcelabels=nil, separator=nil, targetlabel=nil, replacement=nil, regex=nil, modulus=nil)
|
|
16044
|
+
@Action = action
|
|
16045
|
+
@SourceLabels = sourcelabels
|
|
16046
|
+
@Separator = separator
|
|
16047
|
+
@TargetLabel = targetlabel
|
|
16048
|
+
@Replacement = replacement
|
|
16049
|
+
@Regex = regex
|
|
16050
|
+
@Modulus = modulus
|
|
16051
|
+
end
|
|
16052
|
+
|
|
16053
|
+
def deserialize(params)
|
|
16054
|
+
@Action = params['Action']
|
|
16055
|
+
@SourceLabels = params['SourceLabels']
|
|
16056
|
+
@Separator = params['Separator']
|
|
16057
|
+
@TargetLabel = params['TargetLabel']
|
|
16058
|
+
@Replacement = params['Replacement']
|
|
16059
|
+
@Regex = params['Regex']
|
|
16060
|
+
@Modulus = params['Modulus']
|
|
16061
|
+
end
|
|
16062
|
+
end
|
|
16063
|
+
|
|
12626
16064
|
# RetryShipperTask请求参数结构体
|
|
12627
16065
|
class RetryShipperTaskRequest < TencentCloud::Common::AbstractModel
|
|
12628
16066
|
# @param ShipperId: 投递规则Id。
|
|
@@ -13331,6 +16769,73 @@ module TencentCloud
|
|
|
13331
16769
|
end
|
|
13332
16770
|
end
|
|
13333
16771
|
|
|
16772
|
+
# SendConsumerHeartbeat请求参数结构体
|
|
16773
|
+
class SendConsumerHeartbeatRequest < TencentCloud::Common::AbstractModel
|
|
16774
|
+
# @param ConsumerGroup: 上报心跳的消费组标识
|
|
16775
|
+
# @type ConsumerGroup: String
|
|
16776
|
+
# @param Consumer: 上报心跳的消费者名称
|
|
16777
|
+
# (字母数字下划线,不允许数字、_开头, 长度小于256)
|
|
16778
|
+
# @type Consumer: String
|
|
16779
|
+
# @param LogsetId: 日志集ID
|
|
16780
|
+
# @type LogsetId: String
|
|
16781
|
+
# @param TopicPartitionsInfo: topic 分区信息
|
|
16782
|
+
# @type TopicPartitionsInfo: Array
|
|
16783
|
+
|
|
16784
|
+
attr_accessor :ConsumerGroup, :Consumer, :LogsetId, :TopicPartitionsInfo
|
|
16785
|
+
|
|
16786
|
+
def initialize(consumergroup=nil, consumer=nil, logsetid=nil, topicpartitionsinfo=nil)
|
|
16787
|
+
@ConsumerGroup = consumergroup
|
|
16788
|
+
@Consumer = consumer
|
|
16789
|
+
@LogsetId = logsetid
|
|
16790
|
+
@TopicPartitionsInfo = topicpartitionsinfo
|
|
16791
|
+
end
|
|
16792
|
+
|
|
16793
|
+
def deserialize(params)
|
|
16794
|
+
@ConsumerGroup = params['ConsumerGroup']
|
|
16795
|
+
@Consumer = params['Consumer']
|
|
16796
|
+
@LogsetId = params['LogsetId']
|
|
16797
|
+
unless params['TopicPartitionsInfo'].nil?
|
|
16798
|
+
@TopicPartitionsInfo = []
|
|
16799
|
+
params['TopicPartitionsInfo'].each do |i|
|
|
16800
|
+
topicpartitioninfo_tmp = TopicPartitionInfo.new
|
|
16801
|
+
topicpartitioninfo_tmp.deserialize(i)
|
|
16802
|
+
@TopicPartitionsInfo << topicpartitioninfo_tmp
|
|
16803
|
+
end
|
|
16804
|
+
end
|
|
16805
|
+
end
|
|
16806
|
+
end
|
|
16807
|
+
|
|
16808
|
+
# SendConsumerHeartbeat返回参数结构体
|
|
16809
|
+
class SendConsumerHeartbeatResponse < TencentCloud::Common::AbstractModel
|
|
16810
|
+
# @param ConsumerGroup: 日志主题对应的消费组标识
|
|
16811
|
+
# @type ConsumerGroup: String
|
|
16812
|
+
# @param TopicPartitionsInfo: 分区信息
|
|
16813
|
+
# @type TopicPartitionsInfo: Array
|
|
16814
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16815
|
+
# @type RequestId: String
|
|
16816
|
+
|
|
16817
|
+
attr_accessor :ConsumerGroup, :TopicPartitionsInfo, :RequestId
|
|
16818
|
+
|
|
16819
|
+
def initialize(consumergroup=nil, topicpartitionsinfo=nil, requestid=nil)
|
|
16820
|
+
@ConsumerGroup = consumergroup
|
|
16821
|
+
@TopicPartitionsInfo = topicpartitionsinfo
|
|
16822
|
+
@RequestId = requestid
|
|
16823
|
+
end
|
|
16824
|
+
|
|
16825
|
+
def deserialize(params)
|
|
16826
|
+
@ConsumerGroup = params['ConsumerGroup']
|
|
16827
|
+
unless params['TopicPartitionsInfo'].nil?
|
|
16828
|
+
@TopicPartitionsInfo = []
|
|
16829
|
+
params['TopicPartitionsInfo'].each do |i|
|
|
16830
|
+
topicpartitioninfo_tmp = TopicPartitionInfo.new
|
|
16831
|
+
topicpartitioninfo_tmp.deserialize(i)
|
|
16832
|
+
@TopicPartitionsInfo << topicpartitioninfo_tmp
|
|
16833
|
+
end
|
|
16834
|
+
end
|
|
16835
|
+
@RequestId = params['RequestId']
|
|
16836
|
+
end
|
|
16837
|
+
end
|
|
16838
|
+
|
|
13334
16839
|
# 投递规则
|
|
13335
16840
|
class ShipperInfo < TencentCloud::Common::AbstractModel
|
|
13336
16841
|
# @param ShipperId: 投递规则ID
|
|
@@ -13575,6 +17080,88 @@ module TencentCloud
|
|
|
13575
17080
|
end
|
|
13576
17081
|
end
|
|
13577
17082
|
|
|
17083
|
+
# Splunk投递任务信息
|
|
17084
|
+
class SplunkDeliverInfo < TencentCloud::Common::AbstractModel
|
|
17085
|
+
# @param TaskId: 任务id
|
|
17086
|
+
# @type TaskId: String
|
|
17087
|
+
# @param Name: 任务名称
|
|
17088
|
+
# @type Name: String
|
|
17089
|
+
# @param Uin: 用户id
|
|
17090
|
+
# @type Uin: Integer
|
|
17091
|
+
# @param TopicId: 日志主题id
|
|
17092
|
+
# @type TopicId: String
|
|
17093
|
+
# @param Status: 任务状态;1.运行中;2:暂停;3:异常
|
|
17094
|
+
# @type Status: Integer
|
|
17095
|
+
# @param Enable: 启用状态;0:禁用;1:启用
|
|
17096
|
+
# @type Enable: Integer
|
|
17097
|
+
# @param CreateTime: 创建时间;单位:秒
|
|
17098
|
+
# @type CreateTime: Integer
|
|
17099
|
+
# @param UpdateTime: 更新时间;单位:秒
|
|
17100
|
+
# @type UpdateTime: Integer
|
|
17101
|
+
# @param NetInfo: splunk投递任务-目标配置
|
|
17102
|
+
# @type NetInfo: :class:`Tencentcloud::Cls.v20201016.models.NetInfo`
|
|
17103
|
+
# @param Metadata: splunk投递任务元信息
|
|
17104
|
+
# @type Metadata: :class:`Tencentcloud::Cls.v20201016.models.MetadataInfo`
|
|
17105
|
+
# @param HasServiceLog: 是否启用服务日志;1:关闭;2:开启
|
|
17106
|
+
# @type HasServiceLog: Integer
|
|
17107
|
+
# @param Source: 高级配置-数据来源;
|
|
17108
|
+
# @type Source: String
|
|
17109
|
+
# @param SourceType: 高级配置-数据来源类型;
|
|
17110
|
+
# @type SourceType: String
|
|
17111
|
+
# @param Index: 高级配置-Splunk写入的索引
|
|
17112
|
+
# @type Index: String
|
|
17113
|
+
# @param IndexAck: 高级配置-是否启用索引器;1-不开启;2-开启;
|
|
17114
|
+
# @type IndexAck: Integer
|
|
17115
|
+
# @param Channel: 高级配置-通道
|
|
17116
|
+
# @type Channel: String
|
|
17117
|
+
|
|
17118
|
+
attr_accessor :TaskId, :Name, :Uin, :TopicId, :Status, :Enable, :CreateTime, :UpdateTime, :NetInfo, :Metadata, :HasServiceLog, :Source, :SourceType, :Index, :IndexAck, :Channel
|
|
17119
|
+
|
|
17120
|
+
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)
|
|
17121
|
+
@TaskId = taskid
|
|
17122
|
+
@Name = name
|
|
17123
|
+
@Uin = uin
|
|
17124
|
+
@TopicId = topicid
|
|
17125
|
+
@Status = status
|
|
17126
|
+
@Enable = enable
|
|
17127
|
+
@CreateTime = createtime
|
|
17128
|
+
@UpdateTime = updatetime
|
|
17129
|
+
@NetInfo = netinfo
|
|
17130
|
+
@Metadata = metadata
|
|
17131
|
+
@HasServiceLog = hasservicelog
|
|
17132
|
+
@Source = source
|
|
17133
|
+
@SourceType = sourcetype
|
|
17134
|
+
@Index = index
|
|
17135
|
+
@IndexAck = indexack
|
|
17136
|
+
@Channel = channel
|
|
17137
|
+
end
|
|
17138
|
+
|
|
17139
|
+
def deserialize(params)
|
|
17140
|
+
@TaskId = params['TaskId']
|
|
17141
|
+
@Name = params['Name']
|
|
17142
|
+
@Uin = params['Uin']
|
|
17143
|
+
@TopicId = params['TopicId']
|
|
17144
|
+
@Status = params['Status']
|
|
17145
|
+
@Enable = params['Enable']
|
|
17146
|
+
@CreateTime = params['CreateTime']
|
|
17147
|
+
@UpdateTime = params['UpdateTime']
|
|
17148
|
+
unless params['NetInfo'].nil?
|
|
17149
|
+
@NetInfo = NetInfo.new
|
|
17150
|
+
@NetInfo.deserialize(params['NetInfo'])
|
|
17151
|
+
end
|
|
17152
|
+
unless params['Metadata'].nil?
|
|
17153
|
+
@Metadata = MetadataInfo.new
|
|
17154
|
+
@Metadata.deserialize(params['Metadata'])
|
|
17155
|
+
end
|
|
17156
|
+
@HasServiceLog = params['HasServiceLog']
|
|
17157
|
+
@Source = params['Source']
|
|
17158
|
+
@SourceType = params['SourceType']
|
|
17159
|
+
@Index = params['Index']
|
|
17160
|
+
@IndexAck = params['IndexAck']
|
|
17161
|
+
@Channel = params['Channel']
|
|
17162
|
+
end
|
|
17163
|
+
end
|
|
17164
|
+
|
|
13578
17165
|
# 创建资源实例时同时绑定的标签对说明
|
|
13579
17166
|
class Tag < TencentCloud::Common::AbstractModel
|
|
13580
17167
|
# @param Key: 标签键
|
|
@@ -13797,6 +17384,57 @@ module TencentCloud
|
|
|
13797
17384
|
end
|
|
13798
17385
|
end
|
|
13799
17386
|
|
|
17387
|
+
# Partitions
|
|
17388
|
+
class TopicPartitionInfo < TencentCloud::Common::AbstractModel
|
|
17389
|
+
# @param TopicID: 日志主题ID
|
|
17390
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
17391
|
+
# @type TopicID: String
|
|
17392
|
+
# @param Partitions: 分区id列表
|
|
17393
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
17394
|
+
# @type Partitions: Array
|
|
17395
|
+
|
|
17396
|
+
attr_accessor :TopicID, :Partitions
|
|
17397
|
+
|
|
17398
|
+
def initialize(topicid=nil, partitions=nil)
|
|
17399
|
+
@TopicID = topicid
|
|
17400
|
+
@Partitions = partitions
|
|
17401
|
+
end
|
|
17402
|
+
|
|
17403
|
+
def deserialize(params)
|
|
17404
|
+
@TopicID = params['TopicID']
|
|
17405
|
+
@Partitions = params['Partitions']
|
|
17406
|
+
end
|
|
17407
|
+
end
|
|
17408
|
+
|
|
17409
|
+
# TopicPartitionOffsetInfo
|
|
17410
|
+
class TopicPartitionOffsetInfo < TencentCloud::Common::AbstractModel
|
|
17411
|
+
# @param TopicID: 日志主题id
|
|
17412
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
17413
|
+
# @type TopicID: String
|
|
17414
|
+
# @param PartitionOffsets: 分区点位信息
|
|
17415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
17416
|
+
# @type PartitionOffsets: Array
|
|
17417
|
+
|
|
17418
|
+
attr_accessor :TopicID, :PartitionOffsets
|
|
17419
|
+
|
|
17420
|
+
def initialize(topicid=nil, partitionoffsets=nil)
|
|
17421
|
+
@TopicID = topicid
|
|
17422
|
+
@PartitionOffsets = partitionoffsets
|
|
17423
|
+
end
|
|
17424
|
+
|
|
17425
|
+
def deserialize(params)
|
|
17426
|
+
@TopicID = params['TopicID']
|
|
17427
|
+
unless params['PartitionOffsets'].nil?
|
|
17428
|
+
@PartitionOffsets = []
|
|
17429
|
+
params['PartitionOffsets'].each do |i|
|
|
17430
|
+
partitionoffsetinfo_tmp = PartitionOffsetInfo.new
|
|
17431
|
+
partitionoffsetinfo_tmp.deserialize(i)
|
|
17432
|
+
@PartitionOffsets << partitionoffsetinfo_tmp
|
|
17433
|
+
end
|
|
17434
|
+
end
|
|
17435
|
+
end
|
|
17436
|
+
end
|
|
17437
|
+
|
|
13800
17438
|
# UploadLog请求参数结构体
|
|
13801
17439
|
class UploadLogRequest < TencentCloud::Common::AbstractModel
|
|
13802
17440
|
# @param TopicId: 日志主题id
|