tencentcloud-sdk-cls 3.0.939 → 3.0.941
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/client.rb +96 -0
- data/lib/v20201016/models.rb +334 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de163fa2ea6f3741288568b5d298d726ed83cab7
|
4
|
+
data.tar.gz: 569db182bd5a7d8c9024496fc4f7815d15d0c90f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 820713a5e56f1fa56ec3563589acd5097fbb5bc197ec50ad0304b6c293776324cc60c94cd528b8da60a853ead7af9850b5c1f6bf5c19b31796a78caf3c545ce9
|
7
|
+
data.tar.gz: e864afe5a4f55491b6f3dd55ce9e6fc3fe79f47226c3b6c904f3d582afb69cb6687f13d1bc5e714b24faf944c82762324616afb39dec69a8bcba724a54ea0f9b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.941
|
data/lib/v20201016/client.rb
CHANGED
@@ -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.
|
data/lib/v20201016/models.rb
CHANGED
@@ -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,48 @@ module TencentCloud
|
|
4840
5030
|
end
|
4841
5031
|
end
|
4842
5032
|
|
5033
|
+
# DescribeCloudProductLogTasks请求参数结构体
|
5034
|
+
class DescribeCloudProductLogTasksRequest < TencentCloud::Common::AbstractModel
|
5035
|
+
|
5036
|
+
|
5037
|
+
def initialize()
|
5038
|
+
end
|
5039
|
+
|
5040
|
+
def deserialize(params)
|
5041
|
+
end
|
5042
|
+
end
|
5043
|
+
|
5044
|
+
# DescribeCloudProductLogTasks返回参数结构体
|
5045
|
+
class DescribeCloudProductLogTasksResponse < TencentCloud::Common::AbstractModel
|
5046
|
+
# @param Tasks: 日志配置详情列表
|
5047
|
+
# @type Tasks: Array
|
5048
|
+
# @param TotalCount: 日志配置总数
|
5049
|
+
# @type TotalCount: Integer
|
5050
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5051
|
+
# @type RequestId: String
|
5052
|
+
|
5053
|
+
attr_accessor :Tasks, :TotalCount, :RequestId
|
5054
|
+
|
5055
|
+
def initialize(tasks=nil, totalcount=nil, requestid=nil)
|
5056
|
+
@Tasks = tasks
|
5057
|
+
@TotalCount = totalcount
|
5058
|
+
@RequestId = requestid
|
5059
|
+
end
|
5060
|
+
|
5061
|
+
def deserialize(params)
|
5062
|
+
unless params['Tasks'].nil?
|
5063
|
+
@Tasks = []
|
5064
|
+
params['Tasks'].each do |i|
|
5065
|
+
cloudproductlogtaskinfo_tmp = CloudProductLogTaskInfo.new
|
5066
|
+
cloudproductlogtaskinfo_tmp.deserialize(i)
|
5067
|
+
@Tasks << cloudproductlogtaskinfo_tmp
|
5068
|
+
end
|
5069
|
+
end
|
5070
|
+
@TotalCount = params['TotalCount']
|
5071
|
+
@RequestId = params['RequestId']
|
5072
|
+
end
|
5073
|
+
end
|
5074
|
+
|
4843
5075
|
# DescribeConfigExtras请求参数结构体
|
4844
5076
|
class DescribeConfigExtrasRequest < TencentCloud::Common::AbstractModel
|
4845
5077
|
# @param Filters: 过滤器,支持如下选项:
|
@@ -8017,6 +8249,8 @@ module TencentCloud
|
|
8017
8249
|
class ModifyAlarmNoticeRequest < TencentCloud::Common::AbstractModel
|
8018
8250
|
# @param AlarmNoticeId: 通知渠道组ID。
|
8019
8251
|
# @type AlarmNoticeId: String
|
8252
|
+
# @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持10个标签键值对,并且不能有重复的键值对。
|
8253
|
+
# @type Tags: Array
|
8020
8254
|
# @param Name: 通知渠道组名称。
|
8021
8255
|
# @type Name: String
|
8022
8256
|
# @param Type: 通知类型。可选值:
|
@@ -8026,7 +8260,7 @@ module TencentCloud
|
|
8026
8260
|
# @type Type: String
|
8027
8261
|
# @param NoticeReceivers: 通知接收对象。
|
8028
8262
|
# @type NoticeReceivers: Array
|
8029
|
-
# @param WebCallbacks:
|
8263
|
+
# @param WebCallbacks: 接口回调信息(包括企业微信等)。
|
8030
8264
|
# @type WebCallbacks: Array
|
8031
8265
|
# @param NoticeRules: 通知规则。
|
8032
8266
|
|
@@ -8035,20 +8269,50 @@ module TencentCloud
|
|
8035
8269
|
# - Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。
|
8036
8270
|
# - 传其中一组数据,则另一组数据置空。
|
8037
8271
|
# @type NoticeRules: Array
|
8272
|
+
# @param JumpDomain: 调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
8273
|
+
# @type JumpDomain: String
|
8274
|
+
# @param DeliverStatus: 投递日志开关。
|
8275
|
+
|
8276
|
+
# 参数值:
|
8277
|
+
# 1:关闭;
|
8278
|
+
|
8279
|
+
# 2:开启
|
8280
|
+
# @type DeliverStatus: Integer
|
8281
|
+
# @param DeliverConfig: 投递日志配置。
|
8282
|
+
# @type DeliverConfig: :class:`Tencentcloud::Cls.v20201016.models.DeliverConfig`
|
8283
|
+
# @param AlarmShieldStatus: 免登录操作告警开关。
|
8284
|
+
|
8285
|
+
# 参数值:
|
8286
|
+
# 1:关闭
|
8287
|
+
# 2:开启(默认开启)
|
8288
|
+
# @type AlarmShieldStatus: Integer
|
8038
8289
|
|
8039
|
-
attr_accessor :AlarmNoticeId, :Name, :Type, :NoticeReceivers, :WebCallbacks, :NoticeRules
|
8290
|
+
attr_accessor :AlarmNoticeId, :Tags, :Name, :Type, :NoticeReceivers, :WebCallbacks, :NoticeRules, :JumpDomain, :DeliverStatus, :DeliverConfig, :AlarmShieldStatus
|
8040
8291
|
|
8041
|
-
def initialize(alarmnoticeid=nil, name=nil, type=nil, noticereceivers=nil, webcallbacks=nil, noticerules=nil)
|
8292
|
+
def initialize(alarmnoticeid=nil, tags=nil, name=nil, type=nil, noticereceivers=nil, webcallbacks=nil, noticerules=nil, jumpdomain=nil, deliverstatus=nil, deliverconfig=nil, alarmshieldstatus=nil)
|
8042
8293
|
@AlarmNoticeId = alarmnoticeid
|
8294
|
+
@Tags = tags
|
8043
8295
|
@Name = name
|
8044
8296
|
@Type = type
|
8045
8297
|
@NoticeReceivers = noticereceivers
|
8046
8298
|
@WebCallbacks = webcallbacks
|
8047
8299
|
@NoticeRules = noticerules
|
8300
|
+
@JumpDomain = jumpdomain
|
8301
|
+
@DeliverStatus = deliverstatus
|
8302
|
+
@DeliverConfig = deliverconfig
|
8303
|
+
@AlarmShieldStatus = alarmshieldstatus
|
8048
8304
|
end
|
8049
8305
|
|
8050
8306
|
def deserialize(params)
|
8051
8307
|
@AlarmNoticeId = params['AlarmNoticeId']
|
8308
|
+
unless params['Tags'].nil?
|
8309
|
+
@Tags = []
|
8310
|
+
params['Tags'].each do |i|
|
8311
|
+
tag_tmp = Tag.new
|
8312
|
+
tag_tmp.deserialize(i)
|
8313
|
+
@Tags << tag_tmp
|
8314
|
+
end
|
8315
|
+
end
|
8052
8316
|
@Name = params['Name']
|
8053
8317
|
@Type = params['Type']
|
8054
8318
|
unless params['NoticeReceivers'].nil?
|
@@ -8075,6 +8339,13 @@ module TencentCloud
|
|
8075
8339
|
@NoticeRules << noticerule_tmp
|
8076
8340
|
end
|
8077
8341
|
end
|
8342
|
+
@JumpDomain = params['JumpDomain']
|
8343
|
+
@DeliverStatus = params['DeliverStatus']
|
8344
|
+
unless params['DeliverConfig'].nil?
|
8345
|
+
@DeliverConfig = DeliverConfig.new
|
8346
|
+
@DeliverConfig.deserialize(params['DeliverConfig'])
|
8347
|
+
end
|
8348
|
+
@AlarmShieldStatus = params['AlarmShieldStatus']
|
8078
8349
|
end
|
8079
8350
|
end
|
8080
8351
|
|
@@ -8318,6 +8589,66 @@ module TencentCloud
|
|
8318
8589
|
end
|
8319
8590
|
end
|
8320
8591
|
|
8592
|
+
# ModifyCloudProductLogTask请求参数结构体
|
8593
|
+
class ModifyCloudProductLogTaskRequest < TencentCloud::Common::AbstractModel
|
8594
|
+
# @param InstanceId: 实例ID
|
8595
|
+
# @type InstanceId: String
|
8596
|
+
# @param AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
8597
|
+
# @type AssumerName: String
|
8598
|
+
# @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
|
8599
|
+
# @type LogType: String
|
8600
|
+
# @param CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
8601
|
+
# - CDS所有日志类型:ap-guangzhou
|
8602
|
+
# - CDB-AUDIT: gz
|
8603
|
+
# - TDSQL-C-AUDIT: gz
|
8604
|
+
# - MongoDB-AUDIT: gz
|
8605
|
+
# - MongoDB-SlowLog:ap-guangzhou
|
8606
|
+
# - MongoDB-ErrorLog:ap-guangzhou
|
8607
|
+
# - TDMYSQL-SLOW:gz
|
8608
|
+
# - DCDB所有日志类型:gz
|
8609
|
+
# - MariaDB所有日志类型:gz
|
8610
|
+
# - PostgreSQL所有日志类型:gz
|
8611
|
+
# - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
8612
|
+
# - APIS所有日志类型:gz
|
8613
|
+
# @type CloudProductRegion: String
|
8614
|
+
# @param Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
8615
|
+
# @type Extend: String
|
8616
|
+
|
8617
|
+
attr_accessor :InstanceId, :AssumerName, :LogType, :CloudProductRegion, :Extend
|
8618
|
+
|
8619
|
+
def initialize(instanceid=nil, assumername=nil, logtype=nil, cloudproductregion=nil, extend=nil)
|
8620
|
+
@InstanceId = instanceid
|
8621
|
+
@AssumerName = assumername
|
8622
|
+
@LogType = logtype
|
8623
|
+
@CloudProductRegion = cloudproductregion
|
8624
|
+
@Extend = extend
|
8625
|
+
end
|
8626
|
+
|
8627
|
+
def deserialize(params)
|
8628
|
+
@InstanceId = params['InstanceId']
|
8629
|
+
@AssumerName = params['AssumerName']
|
8630
|
+
@LogType = params['LogType']
|
8631
|
+
@CloudProductRegion = params['CloudProductRegion']
|
8632
|
+
@Extend = params['Extend']
|
8633
|
+
end
|
8634
|
+
end
|
8635
|
+
|
8636
|
+
# ModifyCloudProductLogTask返回参数结构体
|
8637
|
+
class ModifyCloudProductLogTaskResponse < TencentCloud::Common::AbstractModel
|
8638
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8639
|
+
# @type RequestId: String
|
8640
|
+
|
8641
|
+
attr_accessor :RequestId
|
8642
|
+
|
8643
|
+
def initialize(requestid=nil)
|
8644
|
+
@RequestId = requestid
|
8645
|
+
end
|
8646
|
+
|
8647
|
+
def deserialize(params)
|
8648
|
+
@RequestId = params['RequestId']
|
8649
|
+
end
|
8650
|
+
end
|
8651
|
+
|
8321
8652
|
# ModifyConfigExtra请求参数结构体
|
8322
8653
|
class ModifyConfigExtraRequest < TencentCloud::Common::AbstractModel
|
8323
8654
|
# @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.
|
4
|
+
version: 3.0.941
|
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-
|
11
|
+
date: 2024-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|