tencentcloud-sdk-eb 3.0.728 → 3.0.729
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/v20210416/models.rb +22 -13
- 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: 3f1de4f5cca053de6ca716ef8c88bf0e163b9bbe
|
4
|
+
data.tar.gz: d061dc4aaeae777704674f042fc850ed00476e99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 329e375407ee95c782a389d99a6f583fed9abbaae782cf615e645176840fb7f58c880cd0f59bb5727a39d564a809a23c8f6df0f7cb2aef1914f36a621ec8fa98
|
7
|
+
data.tar.gz: f2547bc41577b283818b5571ae589f300f61a30d242037ad1b46b1ae0d14f7516cbb0ed67bad9bf1b7e3cffb92832bc045baf4bc9bf4f21b2e6888270ae2dac2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.729
|
data/lib/v20210416/models.rb
CHANGED
@@ -471,9 +471,18 @@ module TencentCloud
|
|
471
471
|
class CreateTargetRequest < TencentCloud::Common::AbstractModel
|
472
472
|
# @param EventBusId: 事件集ID
|
473
473
|
# @type EventBusId: String
|
474
|
-
# @param Type:
|
474
|
+
# @param Type: 目标类型;取值范围:scf(云函数)/cls(日志服务)/amp(消息推送)/ckafka(消息推送)/es(大数据elastic-search)
|
475
475
|
# @type Type: String
|
476
|
-
# @param TargetDescription:
|
476
|
+
# @param TargetDescription: 目标描述;scf类型示例:
|
477
|
+
# {"ResourceDescription":"qcs::scf:ap-guangzhou:uin/2252646423:namespace/default/function/john-test-0326/$LATEST"};
|
478
|
+
# cls类型示例:
|
479
|
+
# {"ResourceDescription":"qcs::cls:ap-guangzhou:uin/12323442323:topic/7103f705-6c38-4b64-ac9d-428af0f2e732"}
|
480
|
+
# ckafka类型示例:
|
481
|
+
# {"ResourceDescription":"qcs::ckafka:ap-guangzhou:uin/1500000688:ckafkaId/uin/1500000688/ckafka-018q1nwj","CkafkaTargetParams":{"TopicName":"alert","RetryPolicy":{"RetryInterval":60,"MaxRetryAttempts":360}}}
|
482
|
+
# amp类型-邮件/短信示例:
|
483
|
+
# {"ResourceDescription":"qcs::eb-amp:ap-guangzhou:uin/100012505002:","AMPParams":{"NotificationTemplateId":10181,"Lang":"cn","NoticeReceivers":[{"UserType":"User","UserIds":["9424525"],"TimeWindow":{"From":"09:30:00","To":"23:30:00"},"Channels":["Email","SMS"]}]}}
|
484
|
+
# es类型示例:
|
485
|
+
# {"ResourceDescription":"qcs::es:ap-guangzhou:uin/1500000688:instance/es-7cplmhsd","ESTargetParams":{"EsVersion":"7.14.2","UserName":"elastic","Password":"xxxxx","NetMode":"privateLink","IndexPrefix":"auto-test","IndexSuffixMode":"default","RotationInterval":"none","IndexTemplateType":"","OutputMode":"default"}}
|
477
486
|
# @type TargetDescription: :class:`Tencentcloud::Eb.v20210416.models.TargetDescription`
|
478
487
|
# @param RuleId: 事件规则ID
|
479
488
|
# @type RuleId: String
|
@@ -524,7 +533,7 @@ module TencentCloud
|
|
524
533
|
# @type EventBusId: String
|
525
534
|
# @param RuleId: 规则id
|
526
535
|
# @type RuleId: String
|
527
|
-
# @param Transformations:
|
536
|
+
# @param Transformations: 一个转换规则列表,当前仅限定一个;示例如下:[{"Extraction":{"ExtractionInputPath":"$.data.payload","Format":"JSON"},"EtlFilter":{"Filter":"{\"source\":\"ckafka.cloud.tencent\"}"},"Transform":{"OutputStructs":[{"Key":"op","Value":"$.op","ValueType":"JSONPATH"},{"Key":"table","Value":"$.source.table","ValueType":"JSONPATH"},{"Key":"id","Value":"$.after.id","ValueType":"JSONPATH"},{"Key":"app_id","Value":"$.after.app_id","ValueType":"JSONPATH"},{"Key":"spu_id","Value":"$.after.spu_id","ValueType":"JSONPATH"}]}}]
|
528
537
|
# @type Transformations: Array
|
529
538
|
|
530
539
|
attr_accessor :EventBusId, :RuleId, :Transformations
|
@@ -810,7 +819,7 @@ module TencentCloud
|
|
810
819
|
# @type EndTime: Integer
|
811
820
|
# @param EventBusId: 事件集ID
|
812
821
|
# @type EventBusId: String
|
813
|
-
# @param GroupField:
|
822
|
+
# @param GroupField: 聚合字段,取值范围如下:Source(事件源),RuleIds(命中规则),Subject(实例ID),Region(地域)
|
814
823
|
# @type GroupField: String
|
815
824
|
# @param Page: 页数
|
816
825
|
# @type Page: Integer
|
@@ -1054,7 +1063,7 @@ module TencentCloud
|
|
1054
1063
|
class Filter < TencentCloud::Common::AbstractModel
|
1055
1064
|
# @param Values: 一个或者多个过滤值。
|
1056
1065
|
# @type Values: Array
|
1057
|
-
# @param Name: 过滤键的名称。
|
1066
|
+
# @param Name: 过滤键的名称。EventBusName(事件集名称)/EventBusId(事件集Id)/Type(事件集类型:Cloud(云服务);Platform(平台型);Custom(自定义))/TagKey(标签键)
|
1058
1067
|
# @type Name: String
|
1059
1068
|
|
1060
1069
|
attr_accessor :Values, :Name
|
@@ -1388,7 +1397,7 @@ module TencentCloud
|
|
1388
1397
|
# @type Limit: Integer
|
1389
1398
|
# @param Order: 以升序还是降序的方式返回结果,可选值 ASC(升序) 和 DESC(降序)
|
1390
1399
|
# @type Order: String
|
1391
|
-
# @param Filters:
|
1400
|
+
# @param Filters: 过滤字段范围: EventBusName(事件集名称)/EventBusId(事件集Id)/Type(事件集类型:Cloud(云服务);Platform(平台型);Custom(自定义))/TagKey(标签键)。每次请求的Filters的上限为10,Filter.Values的上限为5。[{"Name":"Type","Values":["Cloud","Platform"]}]
|
1392
1401
|
# @type Filters: Array
|
1393
1402
|
# @param Offset: 分页偏移量,默认为0。
|
1394
1403
|
# @type Offset: Integer
|
@@ -1745,7 +1754,7 @@ module TencentCloud
|
|
1745
1754
|
|
1746
1755
|
# 日志存储过滤条件
|
1747
1756
|
class LogFilters < TencentCloud::Common::AbstractModel
|
1748
|
-
# @param Key:
|
1757
|
+
# @param Key: 过滤字段名称,取值范围如下:region(地域),type(事件类型),source(事件源),status(事件状态)
|
1749
1758
|
# @type Key: String
|
1750
1759
|
# @param Operator: 运算符, 全等 eq,不等 neq,相似 like,排除相似 not like, 小于 lt,小于且等于 lte,大于 gt,大于且等于 gte,在范围内 range,不在范围内 norange
|
1751
1760
|
# @type Operator: String
|
@@ -2061,9 +2070,9 @@ module TencentCloud
|
|
2061
2070
|
# @type Page: Integer
|
2062
2071
|
# @param Limit: 每页数据大小
|
2063
2072
|
# @type Limit: Integer
|
2064
|
-
# @param Filter:
|
2073
|
+
# @param Filter: 事件查询筛选条件;示例如下:[{"key":"host","operator":"eq","value":"106.53.106.243"},{"type":"AND","filters":[{"key":"region","operator":"like","value":"*guangzhou*"},{"key":"type","operator":"eq","value":"cvm:ErrorEvent:GuestReboot"}]},{"type":"OR","filters":[{"key":"field1","operator":"like","value":"*access*"},{"key":"field2","operator":"eq","value":"custorm"}]}]
|
2065
2074
|
# @type Filter: Array
|
2066
|
-
# @param OrderFields:
|
2075
|
+
# @param OrderFields: 事件查询结果排序,["timestamp","subject"]
|
2067
2076
|
# @type OrderFields: Array
|
2068
2077
|
# @param OrderBy: 排序方式,asc 从旧到新,desc 从新到旧
|
2069
2078
|
# @type OrderBy: String
|
@@ -2289,7 +2298,7 @@ module TencentCloud
|
|
2289
2298
|
|
2290
2299
|
# TargetDescription描述
|
2291
2300
|
class TargetDescription < TencentCloud::Common::AbstractModel
|
2292
|
-
# @param ResourceDescription: QCS资源六段式,更多参考 [资源六段式](https://cloud.tencent.com/document/product/598/10606)
|
2301
|
+
# @param ResourceDescription: QCS资源六段式,更多参考 [资源六段式](https://cloud.tencent.com/document/product/598/10606);scf资源六段式示例[qcs::scf:ap-guangzhou:uin/123:namespace/test(函数命名空间)/function/test(函数名)/$LATEST(函数版本)] amp资源六段式示例[qcs::eb-amp:ap-guangzhou:uin/123:] ckafka资源六段式示例[qcs::ckafka:ap-guangzhou:uin/123:ckafkaId/uin/123/ckafka-123(ckafka实例Id)] cls资源六段式示例[qcs::cls:ap-guangzhou:uin/123:topic/122332442(topicId)] es资源六段式示例[qcs::es:ap-guangzhou:appid/123/uin/456:instance/es-7cplmhsd(es实例Id)]
|
2293
2302
|
# @type ResourceDescription: String
|
2294
2303
|
# @param SCFParams: 云函数参数
|
2295
2304
|
# @type SCFParams: :class:`Tencentcloud::Eb.v20210416.models.SCFParams`
|
@@ -2371,13 +2380,13 @@ module TencentCloud
|
|
2371
2380
|
|
2372
2381
|
# 一个转换器
|
2373
2382
|
class Transformation < TencentCloud::Common::AbstractModel
|
2374
|
-
# @param Extraction:
|
2383
|
+
# @param Extraction: 描述如何提取数据,{"ExtractionInputPath":"$.data.payload","Format":"JSON"}
|
2375
2384
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2376
2385
|
# @type Extraction: :class:`Tencentcloud::Eb.v20210416.models.Extraction`
|
2377
|
-
# @param EtlFilter:
|
2386
|
+
# @param EtlFilter: 描述如何过滤数据;{"Filter":"{\"source\":\"ckafka.cloud.tencent\"}"}
|
2378
2387
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2379
2388
|
# @type EtlFilter: :class:`Tencentcloud::Eb.v20210416.models.EtlFilter`
|
2380
|
-
# @param Transform:
|
2389
|
+
# @param Transform: 描述如何数据转换;"OutputStructs":[{"Key":"op","Value":"$.op","ValueType":"JSONPATH"}]
|
2381
2390
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2382
2391
|
# @type Transform: :class:`Tencentcloud::Eb.v20210416.models.Transform`
|
2383
2392
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-eb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.729
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|