tencentcloud-sdk-cls 3.0.940 → 3.0.942

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 678b6d2777816e06e408cfa09e383394c2e719ce
4
- data.tar.gz: 546783843432f3a1112e0081e57df346325b8eeb
3
+ metadata.gz: 544e9e340f2fda53a7fb3dff91dc0b934de45083
4
+ data.tar.gz: 320480268680e82e2e80cf86341817bc14a12989
5
5
  SHA512:
6
- metadata.gz: 57bcea235fccb90fd741931b29430f792d2039f909a81321c8def033843f74adfa94ee817ad4f1b4fc78286025d9de0ec31208fbe26ffd226373488ca49aa052
7
- data.tar.gz: 46b4d7463faaca0a83ffeaeb52788757431263ddf5451d26d4e2cbfe38038263eeb138f94df9e5f57418ea85094360e378140680ad0a46343070ea9d1bb40115
6
+ metadata.gz: 2bf6ace579ab750893288008a9afd57031a46415c36862ed241c51c9ddc9e9ae4b8cf169edc05259158b685cf56e09cfa759426cf75725d25d47f641ff457a24
7
+ data.tar.gz: 65f3a883a9c97026b7cf9c924ff8e27ce7f6c8bcf93381011eead911342aa3c370a12e4c9639b08f1bc546b785afc84604202ba6cabe9a8a588664414c342f2f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.940
1
+ 3.0.942
@@ -228,6 +228,30 @@ module TencentCloud
228
228
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
229
229
  end
230
230
 
231
+ # 内部云产品接入使用相关接口
232
+
233
+ # @param request: Request instance for CreateCloudProductLogTask.
234
+ # @type request: :class:`Tencentcloud::cls::V20201016::CreateCloudProductLogTaskRequest`
235
+ # @rtype: :class:`Tencentcloud::cls::V20201016::CreateCloudProductLogTaskResponse`
236
+ def CreateCloudProductLogTask(request)
237
+ body = send_request('CreateCloudProductLogTask', request.serialize)
238
+ response = JSON.parse(body)
239
+ if response['Response'].key?('Error') == false
240
+ model = CreateCloudProductLogTaskResponse.new
241
+ model.deserialize(response['Response'])
242
+ model
243
+ else
244
+ code = response['Response']['Error']['Code']
245
+ message = response['Response']['Error']['Message']
246
+ reqid = response['Response']['RequestId']
247
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
248
+ end
249
+ rescue TencentCloud::Common::TencentCloudSDKException => e
250
+ raise e
251
+ rescue StandardError => e
252
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
253
+ end
254
+
231
255
  # 创建采集规则配置
232
256
 
233
257
  # @param request: Request instance for CreateConfig.
@@ -708,6 +732,30 @@ module TencentCloud
708
732
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
709
733
  end
710
734
 
735
+ # 内部云产品接入使用相关接口
736
+
737
+ # @param request: Request instance for DeleteCloudProductLogTask.
738
+ # @type request: :class:`Tencentcloud::cls::V20201016::DeleteCloudProductLogTaskRequest`
739
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DeleteCloudProductLogTaskResponse`
740
+ def DeleteCloudProductLogTask(request)
741
+ body = send_request('DeleteCloudProductLogTask', request.serialize)
742
+ response = JSON.parse(body)
743
+ if response['Response'].key?('Error') == false
744
+ model = DeleteCloudProductLogTaskResponse.new
745
+ model.deserialize(response['Response'])
746
+ model
747
+ else
748
+ code = response['Response']['Error']['Code']
749
+ message = response['Response']['Error']['Message']
750
+ reqid = response['Response']['RequestId']
751
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
752
+ end
753
+ rescue TencentCloud::Common::TencentCloudSDKException => e
754
+ raise e
755
+ rescue StandardError => e
756
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
757
+ end
758
+
711
759
  # 删除采集规则配置
712
760
 
713
761
  # @param request: Request instance for DeleteConfig.
@@ -1212,6 +1260,30 @@ module TencentCloud
1212
1260
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1213
1261
  end
1214
1262
 
1263
+ # 云产品接入使用相关接口
1264
+
1265
+ # @param request: Request instance for DescribeCloudProductLogTasks.
1266
+ # @type request: :class:`Tencentcloud::cls::V20201016::DescribeCloudProductLogTasksRequest`
1267
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DescribeCloudProductLogTasksResponse`
1268
+ def DescribeCloudProductLogTasks(request)
1269
+ body = send_request('DescribeCloudProductLogTasks', request.serialize)
1270
+ response = JSON.parse(body)
1271
+ if response['Response'].key?('Error') == false
1272
+ model = DescribeCloudProductLogTasksResponse.new
1273
+ model.deserialize(response['Response'])
1274
+ model
1275
+ else
1276
+ code = response['Response']['Error']['Code']
1277
+ message = response['Response']['Error']['Message']
1278
+ reqid = response['Response']['RequestId']
1279
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1280
+ end
1281
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1282
+ raise e
1283
+ rescue StandardError => e
1284
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1285
+ end
1286
+
1215
1287
  # 本接口用于获取特殊采集配置,特殊采集配置应用于自建K8S环境的采集Agent
1216
1288
 
1217
1289
  # @param request: Request instance for DescribeConfigExtras.
@@ -1933,6 +2005,30 @@ module TencentCloud
1933
2005
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1934
2006
  end
1935
2007
 
2008
+ # 内部云产品接入使用相关接口
2009
+
2010
+ # @param request: Request instance for ModifyCloudProductLogTask.
2011
+ # @type request: :class:`Tencentcloud::cls::V20201016::ModifyCloudProductLogTaskRequest`
2012
+ # @rtype: :class:`Tencentcloud::cls::V20201016::ModifyCloudProductLogTaskResponse`
2013
+ def ModifyCloudProductLogTask(request)
2014
+ body = send_request('ModifyCloudProductLogTask', request.serialize)
2015
+ response = JSON.parse(body)
2016
+ if response['Response'].key?('Error') == false
2017
+ model = ModifyCloudProductLogTaskResponse.new
2018
+ model.deserialize(response['Response'])
2019
+ model
2020
+ else
2021
+ code = response['Response']['Error']['Code']
2022
+ message = response['Response']['Error']['Message']
2023
+ reqid = response['Response']['RequestId']
2024
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2025
+ end
2026
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2027
+ raise e
2028
+ rescue StandardError => e
2029
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2030
+ end
2031
+
1936
2032
  # 修改采集规则配置
1937
2033
 
1938
2034
  # @param request: Request instance for ModifyConfig.
@@ -1035,6 +1035,44 @@ module TencentCloud
1035
1035
  end
1036
1036
  end
1037
1037
 
1038
+ # 云产品日志投递任务信息
1039
+ class CloudProductLogTaskInfo < TencentCloud::Common::AbstractModel
1040
+ # @param ClsRegion: 日志服务地域
1041
+ # @type ClsRegion: String
1042
+ # @param InstanceId: 实例ID
1043
+ # @type InstanceId: String
1044
+ # @param LogsetId: 日志集ID
1045
+ # @type LogsetId: String
1046
+ # @param TopicId: 日志主题ID
1047
+ # @type TopicId: String
1048
+ # @param Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
1049
+ # 注意:此字段可能返回 null,表示取不到有效值。
1050
+ # @type Extend: String
1051
+ # @param LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
1052
+ # 注意:此字段可能返回 null,表示取不到有效值。
1053
+ # @type LogType: String
1054
+
1055
+ attr_accessor :ClsRegion, :InstanceId, :LogsetId, :TopicId, :Extend, :LogType
1056
+
1057
+ def initialize(clsregion=nil, instanceid=nil, logsetid=nil, topicid=nil, extend=nil, logtype=nil)
1058
+ @ClsRegion = clsregion
1059
+ @InstanceId = instanceid
1060
+ @LogsetId = logsetid
1061
+ @TopicId = topicid
1062
+ @Extend = extend
1063
+ @LogType = logtype
1064
+ end
1065
+
1066
+ def deserialize(params)
1067
+ @ClsRegion = params['ClsRegion']
1068
+ @InstanceId = params['InstanceId']
1069
+ @LogsetId = params['LogsetId']
1070
+ @TopicId = params['TopicId']
1071
+ @Extend = params['Extend']
1072
+ @LogType = params['LogType']
1073
+ end
1074
+ end
1075
+
1038
1076
  # 采集配置信息
1039
1077
  class CollectConfig < TencentCloud::Common::AbstractModel
1040
1078
  # @param Name: 指定采集类型的采集配置名称信息。
@@ -2172,6 +2210,102 @@ module TencentCloud
2172
2210
  end
2173
2211
  end
2174
2212
 
2213
+ # CreateCloudProductLogTask请求参数结构体
2214
+ class CreateCloudProductLogTaskRequest < TencentCloud::Common::AbstractModel
2215
+ # @param InstanceId: 实例ID
2216
+ # @type InstanceId: String
2217
+ # @param AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
2218
+ # @type AssumerName: String
2219
+ # @param LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
2220
+ # @type LogType: String
2221
+ # @param CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
2222
+ # - CDS所有日志类型:ap-guangzhou
2223
+ # - CDB-AUDIT: gz
2224
+ # - TDSQL-C-AUDIT: gz
2225
+ # - MongoDB-AUDIT: gz
2226
+ # - MongoDB-SlowLog:ap-guangzhou
2227
+ # - MongoDB-ErrorLog:ap-guangzhou
2228
+ # - TDMYSQL-SLOW:gz
2229
+ # - DCDB所有日志类型:gz
2230
+ # - MariaDB所有日志类型:gz
2231
+ # - PostgreSQL所有日志类型:gz
2232
+ # - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
2233
+ # - APIS所有日志类型:gz
2234
+ # @type CloudProductRegion: String
2235
+ # @param ClsRegion: CLS目标地域
2236
+ # @type ClsRegion: String
2237
+ # @param LogsetName: 日志集名称,未填LogsetId时必填。若日志集不存在, 将自动创建
2238
+ # @type LogsetName: String
2239
+ # @param LogsetId: 日志集ID,若指定则代表选择已有日志集。选择已有日志集时,LogsetName可以不填
2240
+ # @type LogsetId: String
2241
+ # @param TopicName: 日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
2242
+ # @type TopicName: String
2243
+ # @param TopicId: 日志主题ID,若指定则代表选择已有日志主题,选择已有日志主题时,TopicName可以不填
2244
+ # @type TopicId: String
2245
+ # @param Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
2246
+ # @type Extend: String
2247
+
2248
+ attr_accessor :InstanceId, :AssumerName, :LogType, :CloudProductRegion, :ClsRegion, :LogsetName, :LogsetId, :TopicName, :TopicId, :Extend
2249
+
2250
+ def initialize(instanceid=nil, assumername=nil, logtype=nil, cloudproductregion=nil, clsregion=nil, logsetname=nil, logsetid=nil, topicname=nil, topicid=nil, extend=nil)
2251
+ @InstanceId = instanceid
2252
+ @AssumerName = assumername
2253
+ @LogType = logtype
2254
+ @CloudProductRegion = cloudproductregion
2255
+ @ClsRegion = clsregion
2256
+ @LogsetName = logsetname
2257
+ @LogsetId = logsetid
2258
+ @TopicName = topicname
2259
+ @TopicId = topicid
2260
+ @Extend = extend
2261
+ end
2262
+
2263
+ def deserialize(params)
2264
+ @InstanceId = params['InstanceId']
2265
+ @AssumerName = params['AssumerName']
2266
+ @LogType = params['LogType']
2267
+ @CloudProductRegion = params['CloudProductRegion']
2268
+ @ClsRegion = params['ClsRegion']
2269
+ @LogsetName = params['LogsetName']
2270
+ @LogsetId = params['LogsetId']
2271
+ @TopicName = params['TopicName']
2272
+ @TopicId = params['TopicId']
2273
+ @Extend = params['Extend']
2274
+ end
2275
+ end
2276
+
2277
+ # CreateCloudProductLogTask返回参数结构体
2278
+ class CreateCloudProductLogTaskResponse < TencentCloud::Common::AbstractModel
2279
+ # @param TopicId: 日志主题ID
2280
+ # @type TopicId: String
2281
+ # @param TopicName: 日志主题名称
2282
+ # @type TopicName: String
2283
+ # @param LogsetId: 日志集ID
2284
+ # @type LogsetId: String
2285
+ # @param LogsetName: 日志集名称
2286
+ # @type LogsetName: String
2287
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2288
+ # @type RequestId: String
2289
+
2290
+ attr_accessor :TopicId, :TopicName, :LogsetId, :LogsetName, :RequestId
2291
+
2292
+ def initialize(topicid=nil, topicname=nil, logsetid=nil, logsetname=nil, requestid=nil)
2293
+ @TopicId = topicid
2294
+ @TopicName = topicname
2295
+ @LogsetId = logsetid
2296
+ @LogsetName = logsetname
2297
+ @RequestId = requestid
2298
+ end
2299
+
2300
+ def deserialize(params)
2301
+ @TopicId = params['TopicId']
2302
+ @TopicName = params['TopicName']
2303
+ @LogsetId = params['LogsetId']
2304
+ @LogsetName = params['LogsetName']
2305
+ @RequestId = params['RequestId']
2306
+ end
2307
+ end
2308
+
2175
2309
  # CreateConfigExtra请求参数结构体
2176
2310
  class CreateConfigExtraRequest < TencentCloud::Common::AbstractModel
2177
2311
  # @param Name: 采集配置规程名称,最长63个字符,只能包含小写字符、数字及分隔符(“-”),且必须以小写字符开头,数字或小写字符结尾
@@ -3928,6 +4062,62 @@ module TencentCloud
3928
4062
  end
3929
4063
  end
3930
4064
 
4065
+ # DeleteCloudProductLogTask请求参数结构体
4066
+ class DeleteCloudProductLogTaskRequest < TencentCloud::Common::AbstractModel
4067
+ # @param InstanceId: 实例ID
4068
+ # @type InstanceId: String
4069
+ # @param AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
4070
+ # @type AssumerName: String
4071
+ # @param LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
4072
+ # @type LogType: String
4073
+ # @param CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
4074
+ # - CDS所有日志类型:ap-guangzhou
4075
+ # - CDB-AUDIT: gz
4076
+ # - TDSQL-C-AUDIT: gz
4077
+ # - MongoDB-AUDIT: gz
4078
+ # - MongoDB-SlowLog:ap-guangzhou
4079
+ # - MongoDB-ErrorLog:ap-guangzhou
4080
+ # - TDMYSQL-SLOW:gz
4081
+ # - DCDB所有日志类型:gz
4082
+ # - MariaDB所有日志类型:gz
4083
+ # - PostgreSQL所有日志类型:gz
4084
+ # - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
4085
+ # - APIS所有日志类型:gz
4086
+ # @type CloudProductRegion: String
4087
+
4088
+ attr_accessor :InstanceId, :AssumerName, :LogType, :CloudProductRegion
4089
+
4090
+ def initialize(instanceid=nil, assumername=nil, logtype=nil, cloudproductregion=nil)
4091
+ @InstanceId = instanceid
4092
+ @AssumerName = assumername
4093
+ @LogType = logtype
4094
+ @CloudProductRegion = cloudproductregion
4095
+ end
4096
+
4097
+ def deserialize(params)
4098
+ @InstanceId = params['InstanceId']
4099
+ @AssumerName = params['AssumerName']
4100
+ @LogType = params['LogType']
4101
+ @CloudProductRegion = params['CloudProductRegion']
4102
+ end
4103
+ end
4104
+
4105
+ # DeleteCloudProductLogTask返回参数结构体
4106
+ class DeleteCloudProductLogTaskResponse < TencentCloud::Common::AbstractModel
4107
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4108
+ # @type RequestId: String
4109
+
4110
+ attr_accessor :RequestId
4111
+
4112
+ def initialize(requestid=nil)
4113
+ @RequestId = requestid
4114
+ end
4115
+
4116
+ def deserialize(params)
4117
+ @RequestId = params['RequestId']
4118
+ end
4119
+ end
4120
+
3931
4121
  # DeleteConfigExtra请求参数结构体
3932
4122
  class DeleteConfigExtraRequest < TencentCloud::Common::AbstractModel
3933
4123
  # @param ConfigExtraId: 特殊采集规则扩展配置ID
@@ -4840,6 +5030,81 @@ module TencentCloud
4840
5030
  end
4841
5031
  end
4842
5032
 
5033
+ # DescribeCloudProductLogTasks请求参数结构体
5034
+ class DescribeCloudProductLogTasksRequest < TencentCloud::Common::AbstractModel
5035
+ # @param Offset: 分页的偏移量,默认值为0。
5036
+ # @type Offset: Integer
5037
+ # @param Limit: 分页单页限制数目,默认值为100,最大值100。
5038
+ # @type Limit: Integer
5039
+ # @param Filters: - assumerName
5040
+ # - 按照【云产品标识】进行过滤。
5041
+ # - 类型:String
5042
+ # - 必选:否
5043
+ # - 枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
5044
+ # - logType
5045
+ # - 按照【日志类型】进行过滤。
5046
+ # - 类型:String
5047
+ # - 必选:否
5048
+ # - 枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
5049
+ # - instanceId
5050
+ # - 按照【实例ID】进行过滤。
5051
+ # - 类型:String
5052
+ # - 必选:否
5053
+ # @type Filters: Array
5054
+
5055
+ attr_accessor :Offset, :Limit, :Filters
5056
+
5057
+ def initialize(offset=nil, limit=nil, filters=nil)
5058
+ @Offset = offset
5059
+ @Limit = limit
5060
+ @Filters = filters
5061
+ end
5062
+
5063
+ def deserialize(params)
5064
+ @Offset = params['Offset']
5065
+ @Limit = params['Limit']
5066
+ unless params['Filters'].nil?
5067
+ @Filters = []
5068
+ params['Filters'].each do |i|
5069
+ filter_tmp = Filter.new
5070
+ filter_tmp.deserialize(i)
5071
+ @Filters << filter_tmp
5072
+ end
5073
+ end
5074
+ end
5075
+ end
5076
+
5077
+ # DescribeCloudProductLogTasks返回参数结构体
5078
+ class DescribeCloudProductLogTasksResponse < TencentCloud::Common::AbstractModel
5079
+ # @param Tasks: 日志配置详情列表
5080
+ # @type Tasks: Array
5081
+ # @param TotalCount: 日志配置总数
5082
+ # @type TotalCount: Integer
5083
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5084
+ # @type RequestId: String
5085
+
5086
+ attr_accessor :Tasks, :TotalCount, :RequestId
5087
+
5088
+ def initialize(tasks=nil, totalcount=nil, requestid=nil)
5089
+ @Tasks = tasks
5090
+ @TotalCount = totalcount
5091
+ @RequestId = requestid
5092
+ end
5093
+
5094
+ def deserialize(params)
5095
+ unless params['Tasks'].nil?
5096
+ @Tasks = []
5097
+ params['Tasks'].each do |i|
5098
+ cloudproductlogtaskinfo_tmp = CloudProductLogTaskInfo.new
5099
+ cloudproductlogtaskinfo_tmp.deserialize(i)
5100
+ @Tasks << cloudproductlogtaskinfo_tmp
5101
+ end
5102
+ end
5103
+ @TotalCount = params['TotalCount']
5104
+ @RequestId = params['RequestId']
5105
+ end
5106
+ end
5107
+
4843
5108
  # DescribeConfigExtras请求参数结构体
4844
5109
  class DescribeConfigExtrasRequest < TencentCloud::Common::AbstractModel
4845
5110
  # @param Filters: 过滤器,支持如下选项:
@@ -8357,6 +8622,66 @@ module TencentCloud
8357
8622
  end
8358
8623
  end
8359
8624
 
8625
+ # ModifyCloudProductLogTask请求参数结构体
8626
+ class ModifyCloudProductLogTaskRequest < TencentCloud::Common::AbstractModel
8627
+ # @param InstanceId: 实例ID
8628
+ # @type InstanceId: String
8629
+ # @param AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
8630
+ # @type AssumerName: String
8631
+ # @param LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
8632
+ # @type LogType: String
8633
+ # @param CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
8634
+ # - CDS所有日志类型:ap-guangzhou
8635
+ # - CDB-AUDIT: gz
8636
+ # - TDSQL-C-AUDIT: gz
8637
+ # - MongoDB-AUDIT: gz
8638
+ # - MongoDB-SlowLog:ap-guangzhou
8639
+ # - MongoDB-ErrorLog:ap-guangzhou
8640
+ # - TDMYSQL-SLOW:gz
8641
+ # - DCDB所有日志类型:gz
8642
+ # - MariaDB所有日志类型:gz
8643
+ # - PostgreSQL所有日志类型:gz
8644
+ # - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
8645
+ # - APIS所有日志类型:gz
8646
+ # @type CloudProductRegion: String
8647
+ # @param Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
8648
+ # @type Extend: String
8649
+
8650
+ attr_accessor :InstanceId, :AssumerName, :LogType, :CloudProductRegion, :Extend
8651
+
8652
+ def initialize(instanceid=nil, assumername=nil, logtype=nil, cloudproductregion=nil, extend=nil)
8653
+ @InstanceId = instanceid
8654
+ @AssumerName = assumername
8655
+ @LogType = logtype
8656
+ @CloudProductRegion = cloudproductregion
8657
+ @Extend = extend
8658
+ end
8659
+
8660
+ def deserialize(params)
8661
+ @InstanceId = params['InstanceId']
8662
+ @AssumerName = params['AssumerName']
8663
+ @LogType = params['LogType']
8664
+ @CloudProductRegion = params['CloudProductRegion']
8665
+ @Extend = params['Extend']
8666
+ end
8667
+ end
8668
+
8669
+ # ModifyCloudProductLogTask返回参数结构体
8670
+ class ModifyCloudProductLogTaskResponse < TencentCloud::Common::AbstractModel
8671
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8672
+ # @type RequestId: String
8673
+
8674
+ attr_accessor :RequestId
8675
+
8676
+ def initialize(requestid=nil)
8677
+ @RequestId = requestid
8678
+ end
8679
+
8680
+ def deserialize(params)
8681
+ @RequestId = params['RequestId']
8682
+ end
8683
+ end
8684
+
8360
8685
  # ModifyConfigExtra请求参数结构体
8361
8686
  class ModifyConfigExtraRequest < TencentCloud::Common::AbstractModel
8362
8687
  # @param ConfigExtraId: 采集配置扩展信息id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.940
4
+ version: 3.0.942
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-12 00:00:00.000000000 Z
11
+ date: 2024-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common