@volcengine/pulumi-volcenginecc 0.0.3 → 0.0.4
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.
- package/apig/gatewayService.d.ts +179 -0
- package/apig/gatewayService.js +114 -0
- package/apig/gatewayService.js.map +1 -0
- package/apig/getGatewayService.d.ts +89 -0
- package/apig/getGatewayService.js +28 -0
- package/apig/getGatewayService.js.map +1 -0
- package/apig/getGatewayServices.d.ts +22 -0
- package/apig/getGatewayServices.js +24 -0
- package/apig/getGatewayServices.js.map +1 -0
- package/apig/index.d.ts +9 -0
- package/apig/index.js +12 -1
- package/apig/index.js.map +1 -1
- package/cr/registry.d.ts +17 -0
- package/cr/registry.js +17 -0
- package/cr/registry.js.map +1 -1
- package/directconnect/directConnectGateway.d.ts +18 -0
- package/directconnect/directConnectGateway.js +18 -0
- package/directconnect/directConnectGateway.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/tls/topic.d.ts +28 -0
- package/tls/topic.js +28 -0
- package/tls/topic.js.map +1 -1
- package/transitrouter/transitRouterRouteTable.d.ts +17 -0
- package/transitrouter/transitRouterRouteTable.js +17 -0
- package/transitrouter/transitRouterRouteTable.js.map +1 -1
- package/types/input.d.ts +103 -0
- package/types/output.d.ts +207 -0
- package/vefaas/getKafkaTrigger.d.ts +101 -0
- package/vefaas/getKafkaTrigger.js +28 -0
- package/vefaas/getKafkaTrigger.js.map +1 -0
- package/vefaas/getKafkaTriggers.d.ts +22 -0
- package/vefaas/getKafkaTriggers.js +24 -0
- package/vefaas/getKafkaTriggers.js.map +1 -0
- package/vefaas/getSandbox.d.ts +117 -0
- package/vefaas/getSandbox.js +28 -0
- package/vefaas/getSandbox.js.map +1 -0
- package/vefaas/getSandboxes.d.ts +22 -0
- package/vefaas/getSandboxes.js +24 -0
- package/vefaas/getSandboxes.js.map +1 -0
- package/vefaas/index.d.ts +18 -0
- package/vefaas/index.js +39 -0
- package/vefaas/index.js.map +1 -0
- package/vefaas/kafkaTrigger.d.ts +244 -0
- package/vefaas/kafkaTrigger.js +128 -0
- package/vefaas/kafkaTrigger.js.map +1 -0
- package/vefaas/sandbox.d.ts +229 -0
- package/vefaas/sandbox.js +99 -0
- package/vefaas/sandbox.js.map +1 -0
- package/vke/addon.d.ts +16 -0
- package/vke/addon.js +16 -0
- package/vke/addon.js.map +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getKafkaTriggerOutput = exports.getKafkaTrigger = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::VEFAAS::KafkaTrigger
|
|
10
|
+
*/
|
|
11
|
+
function getKafkaTrigger(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vefaas/getKafkaTrigger:getKafkaTrigger", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getKafkaTrigger = getKafkaTrigger;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::VEFAAS::KafkaTrigger
|
|
20
|
+
*/
|
|
21
|
+
function getKafkaTriggerOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vefaas/getKafkaTrigger:getKafkaTrigger", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getKafkaTriggerOutput = getKafkaTriggerOutput;
|
|
28
|
+
//# sourceMappingURL=getKafkaTrigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getKafkaTrigger.js","sourceRoot":"","sources":["../../vefaas/getKafkaTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AAqFD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qDAAqD,EAAE;QACtF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::VEFAAS::KafkaTrigger
|
|
4
|
+
*/
|
|
5
|
+
export declare function getKafkaTriggers(opts?: pulumi.InvokeOptions): Promise<GetKafkaTriggersResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getKafkaTriggers.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetKafkaTriggersResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::VEFAAS::KafkaTrigger
|
|
21
|
+
*/
|
|
22
|
+
export declare function getKafkaTriggersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKafkaTriggersResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getKafkaTriggersOutput = exports.getKafkaTriggers = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::VEFAAS::KafkaTrigger
|
|
10
|
+
*/
|
|
11
|
+
function getKafkaTriggers(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vefaas/getKafkaTriggers:getKafkaTriggers", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getKafkaTriggers = getKafkaTriggers;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::VEFAAS::KafkaTrigger
|
|
18
|
+
*/
|
|
19
|
+
function getKafkaTriggersOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vefaas/getKafkaTriggers:getKafkaTriggers", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getKafkaTriggersOutput = getKafkaTriggersOutput;
|
|
24
|
+
//# sourceMappingURL=getKafkaTriggers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getKafkaTriggers.js","sourceRoot":"","sources":["../../vefaas/getKafkaTriggers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA2B;IACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE,EACrF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4CAIC;AAeD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAiC;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE,EAC3F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wDAIC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::VEFAAS::Sandbox
|
|
5
|
+
*/
|
|
6
|
+
export declare function getSandbox(args: GetSandboxArgs, opts?: pulumi.InvokeOptions): Promise<GetSandboxResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getSandbox.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetSandboxArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getSandbox.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSandboxResult {
|
|
20
|
+
/**
|
|
21
|
+
* 沙箱实例所在可用区 ID。
|
|
22
|
+
*/
|
|
23
|
+
readonly availabilityZone: string;
|
|
24
|
+
/**
|
|
25
|
+
* 沙箱实例 CPU 规格:单位:milli cpu取值范围:250~16000,默认值:1000。
|
|
26
|
+
*/
|
|
27
|
+
readonly cpuMilli: number;
|
|
28
|
+
/**
|
|
29
|
+
* 沙箱实例创建时间。
|
|
30
|
+
*/
|
|
31
|
+
readonly createdTime: string;
|
|
32
|
+
/**
|
|
33
|
+
* 沙箱实例环境变量。
|
|
34
|
+
*/
|
|
35
|
+
readonly envs: outputs.vefaas.GetSandboxEnv[];
|
|
36
|
+
/**
|
|
37
|
+
* 沙箱实例启动失败错误码。参数值说明:internal*load*request*error:系统内部错误,function*initialize*failed:业务进程初始化错误,function*health*check*failed:健康检查错误,route_terminating:路由删除中,正常启动沙箱实例时,该字段为空。
|
|
38
|
+
*/
|
|
39
|
+
readonly errorCode: string;
|
|
40
|
+
/**
|
|
41
|
+
* 沙箱实例启动失败的错误码详情。正常启动沙箱实例时,该字段为空。
|
|
42
|
+
*/
|
|
43
|
+
readonly errorMessage: string;
|
|
44
|
+
/**
|
|
45
|
+
* 沙箱实例存活时长。
|
|
46
|
+
*/
|
|
47
|
+
readonly expireAt: string;
|
|
48
|
+
/**
|
|
49
|
+
* 沙箱实例所属的沙箱应用 ID。
|
|
50
|
+
*/
|
|
51
|
+
readonly functionId: string;
|
|
52
|
+
/**
|
|
53
|
+
* Uniquely identifies the resource.
|
|
54
|
+
*/
|
|
55
|
+
readonly id: string;
|
|
56
|
+
/**
|
|
57
|
+
* 沙箱实例镜像信息,包括镜像地址、启动命令、监听端口。
|
|
58
|
+
*/
|
|
59
|
+
readonly instanceImageInfo: outputs.vefaas.GetSandboxInstanceImageInfo;
|
|
60
|
+
/**
|
|
61
|
+
* 沙箱实例级别对象存储(TOS)存储挂载配置。
|
|
62
|
+
*/
|
|
63
|
+
readonly instanceTosMountConfig: outputs.vefaas.GetSandboxInstanceTosMountConfig;
|
|
64
|
+
/**
|
|
65
|
+
* 沙箱实例类型 。参数值说明:elastic:弹性实例,frozen:冻结实例,activated:激活实例,reserved:预留实例。
|
|
66
|
+
*/
|
|
67
|
+
readonly instanceType: string;
|
|
68
|
+
/**
|
|
69
|
+
* 单实例请求最大并发数:取值范围:10~1000,默认值:100。
|
|
70
|
+
*/
|
|
71
|
+
readonly maxConcurrency: number;
|
|
72
|
+
/**
|
|
73
|
+
* 沙箱实例内存规格:单位:MiB,取值范围:512~131072,默认值:2048
|
|
74
|
+
*/
|
|
75
|
+
readonly memoryMb: number;
|
|
76
|
+
/**
|
|
77
|
+
* 沙箱实例标签(Label)元信息,用于标记、筛选实例。格式为<"key":"value">。
|
|
78
|
+
*/
|
|
79
|
+
readonly metadatas: outputs.vefaas.GetSandboxMetadata[];
|
|
80
|
+
/**
|
|
81
|
+
* 沙箱实例是否处于 Pending 状态。参数值说明:true:是,false:否。
|
|
82
|
+
*/
|
|
83
|
+
readonly pending: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* 请求超时时间:单位:秒,取值范围:1~900,正整数。默认值:30。
|
|
86
|
+
*/
|
|
87
|
+
readonly requestTimeout: number;
|
|
88
|
+
/**
|
|
89
|
+
* 函数实例版本编号。
|
|
90
|
+
*/
|
|
91
|
+
readonly revisionNumber: number;
|
|
92
|
+
/**
|
|
93
|
+
* 沙箱实例 ID。
|
|
94
|
+
*/
|
|
95
|
+
readonly sandboxId: string;
|
|
96
|
+
/**
|
|
97
|
+
* 沙箱实例状态。 参数值说明:Starting:开始启动,Ready:启动完成,Failed:启动失败,Terminating:终止中。
|
|
98
|
+
*/
|
|
99
|
+
readonly status: string;
|
|
100
|
+
/**
|
|
101
|
+
* 沙箱实例存活时长:单位:分钟,取值范围:3~1440,默认值:60。
|
|
102
|
+
*/
|
|
103
|
+
readonly timeout: number;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Data Source schema for Volcengine::VEFAAS::Sandbox
|
|
107
|
+
*/
|
|
108
|
+
export declare function getSandboxOutput(args: GetSandboxOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSandboxResult>;
|
|
109
|
+
/**
|
|
110
|
+
* A collection of arguments for invoking getSandbox.
|
|
111
|
+
*/
|
|
112
|
+
export interface GetSandboxOutputArgs {
|
|
113
|
+
/**
|
|
114
|
+
* Uniquely identifies the resource.
|
|
115
|
+
*/
|
|
116
|
+
id: pulumi.Input<string>;
|
|
117
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getSandboxOutput = exports.getSandbox = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::VEFAAS::Sandbox
|
|
10
|
+
*/
|
|
11
|
+
function getSandbox(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vefaas/getSandbox:getSandbox", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getSandbox = getSandbox;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::VEFAAS::Sandbox
|
|
20
|
+
*/
|
|
21
|
+
function getSandboxOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vefaas/getSandbox:getSandbox", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getSandboxOutput = getSandboxOutput;
|
|
28
|
+
//# sourceMappingURL=getSandbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSandbox.js","sourceRoot":"","sources":["../../vefaas/getSandbox.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAqGD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::VEFAAS::Sandbox
|
|
4
|
+
*/
|
|
5
|
+
export declare function getSandboxes(opts?: pulumi.InvokeOptions): Promise<GetSandboxesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getSandboxes.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetSandboxesResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::VEFAAS::Sandbox
|
|
21
|
+
*/
|
|
22
|
+
export declare function getSandboxesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSandboxesResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getSandboxesOutput = exports.getSandboxes = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::VEFAAS::Sandbox
|
|
10
|
+
*/
|
|
11
|
+
function getSandboxes(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:vefaas/getSandboxes:getSandboxes", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getSandboxes = getSandboxes;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::VEFAAS::Sandbox
|
|
18
|
+
*/
|
|
19
|
+
function getSandboxesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:vefaas/getSandboxes:getSandboxes", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getSandboxesOutput = getSandboxesOutput;
|
|
24
|
+
//# sourceMappingURL=getSandboxes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSandboxes.js","sourceRoot":"","sources":["../../vefaas/getSandboxes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAA2B;IACpD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE,EAC7E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC;AAeD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAAiC;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE,EACnF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { GetKafkaTriggerArgs, GetKafkaTriggerResult, GetKafkaTriggerOutputArgs } from "./getKafkaTrigger";
|
|
2
|
+
export declare const getKafkaTrigger: typeof import("./getKafkaTrigger").getKafkaTrigger;
|
|
3
|
+
export declare const getKafkaTriggerOutput: typeof import("./getKafkaTrigger").getKafkaTriggerOutput;
|
|
4
|
+
export { GetKafkaTriggersResult } from "./getKafkaTriggers";
|
|
5
|
+
export declare const getKafkaTriggers: typeof import("./getKafkaTriggers").getKafkaTriggers;
|
|
6
|
+
export declare const getKafkaTriggersOutput: typeof import("./getKafkaTriggers").getKafkaTriggersOutput;
|
|
7
|
+
export { GetSandboxArgs, GetSandboxResult, GetSandboxOutputArgs } from "./getSandbox";
|
|
8
|
+
export declare const getSandbox: typeof import("./getSandbox").getSandbox;
|
|
9
|
+
export declare const getSandboxOutput: typeof import("./getSandbox").getSandboxOutput;
|
|
10
|
+
export { GetSandboxesResult } from "./getSandboxes";
|
|
11
|
+
export declare const getSandboxes: typeof import("./getSandboxes").getSandboxes;
|
|
12
|
+
export declare const getSandboxesOutput: typeof import("./getSandboxes").getSandboxesOutput;
|
|
13
|
+
export { KafkaTriggerArgs, KafkaTriggerState } from "./kafkaTrigger";
|
|
14
|
+
export type KafkaTrigger = import("./kafkaTrigger").KafkaTrigger;
|
|
15
|
+
export declare const KafkaTrigger: typeof import("./kafkaTrigger").KafkaTrigger;
|
|
16
|
+
export { SandboxArgs, SandboxState } from "./sandbox";
|
|
17
|
+
export type Sandbox = import("./sandbox").Sandbox;
|
|
18
|
+
export declare const Sandbox: typeof import("./sandbox").Sandbox;
|
package/vefaas/index.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Sandbox = exports.KafkaTrigger = exports.getSandboxesOutput = exports.getSandboxes = exports.getSandboxOutput = exports.getSandbox = exports.getKafkaTriggersOutput = exports.getKafkaTriggers = exports.getKafkaTriggerOutput = exports.getKafkaTrigger = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getKafkaTrigger = null;
|
|
9
|
+
exports.getKafkaTriggerOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getKafkaTrigger", "getKafkaTriggerOutput"], () => require("./getKafkaTrigger"));
|
|
11
|
+
exports.getKafkaTriggers = null;
|
|
12
|
+
exports.getKafkaTriggersOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getKafkaTriggers", "getKafkaTriggersOutput"], () => require("./getKafkaTriggers"));
|
|
14
|
+
exports.getSandbox = null;
|
|
15
|
+
exports.getSandboxOutput = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["getSandbox", "getSandboxOutput"], () => require("./getSandbox"));
|
|
17
|
+
exports.getSandboxes = null;
|
|
18
|
+
exports.getSandboxesOutput = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["getSandboxes", "getSandboxesOutput"], () => require("./getSandboxes"));
|
|
20
|
+
exports.KafkaTrigger = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["KafkaTrigger"], () => require("./kafkaTrigger"));
|
|
22
|
+
exports.Sandbox = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["Sandbox"], () => require("./sandbox"));
|
|
24
|
+
const _module = {
|
|
25
|
+
version: utilities.getVersion(),
|
|
26
|
+
construct: (name, type, urn) => {
|
|
27
|
+
switch (type) {
|
|
28
|
+
case "volcenginecc:vefaas/kafkaTrigger:KafkaTrigger":
|
|
29
|
+
return new exports.KafkaTrigger(name, undefined, { urn });
|
|
30
|
+
case "volcenginecc:vefaas/sandbox:Sandbox":
|
|
31
|
+
return new exports.Sandbox(name, undefined, { urn });
|
|
32
|
+
default:
|
|
33
|
+
throw new Error(`unknown resource type ${type}`);
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/kafkaTrigger", _module);
|
|
38
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "vefaas/sandbox", _module);
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../vefaas/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AACrF,QAAA,sBAAsB,GAA+D,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAGnG,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAGjF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIvF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGrE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+CAA+C;gBAChD,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,qCAAqC;gBACtC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 函数服务支持对接消息队列 Kafka 版。通过创建 Kafka 触发器,函数服务将作为消费者消费 Kafka 中的消息,并将消息传递给用户函数,触发函数代码逻辑。您无需关心函数服务消费消息的细节,只需编写处理消息的函数。
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const vefaasTriggerDemo = new volcenginecc.vefaas.KafkaTrigger("VefaasTriggerDemo", {
|
|
14
|
+
* functionId: "djb27tnr****",
|
|
15
|
+
* name: "VefaasTriggerDemo",
|
|
16
|
+
* maximumRetryAttempts: 74,
|
|
17
|
+
* startingPosition: "Earliest",
|
|
18
|
+
* enabled: false,
|
|
19
|
+
* kafkaCredentials: {
|
|
20
|
+
* mechanism: "PLAIN",
|
|
21
|
+
* username: "VefaasTriggerDemo",
|
|
22
|
+
* password: "*****",
|
|
23
|
+
* },
|
|
24
|
+
* mqInstanceId: "kafka-cnng8cm4q2fncrvs****",
|
|
25
|
+
* topicName: "VefaasTriggerDemo",
|
|
26
|
+
* description: "VefaasTriggerDemo description",
|
|
27
|
+
* batchFlushDurationMilliseconds: 8637,
|
|
28
|
+
* batchSize: 709,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import volcenginecc:vefaas/kafkaTrigger:KafkaTrigger example "function_id|kafka_trigger_id"
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class KafkaTrigger extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing KafkaTrigger resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KafkaTriggerState, opts?: pulumi.CustomResourceOptions): KafkaTrigger;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of KafkaTrigger. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is KafkaTrigger;
|
|
54
|
+
/**
|
|
55
|
+
* 触发器批量消费的最长等待时间。单位为毫秒(ms),取值范围为 1000 ~ 60000 ms,默认值为 1000 ms。
|
|
56
|
+
*/
|
|
57
|
+
readonly batchFlushDurationMilliseconds: pulumi.Output<number>;
|
|
58
|
+
/**
|
|
59
|
+
* 触发器批量消费的每批次消息数。
|
|
60
|
+
*/
|
|
61
|
+
readonly batchSize: pulumi.Output<number>;
|
|
62
|
+
/**
|
|
63
|
+
* 消息队列 Kafka 实例的消费组名字。
|
|
64
|
+
*/
|
|
65
|
+
readonly consumerGroup: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Kafka 触发器创建时间。
|
|
68
|
+
*/
|
|
69
|
+
readonly createdTime: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Kafka 触发器描述。长度限制为 200 个字符以内。
|
|
72
|
+
*/
|
|
73
|
+
readonly description: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* 是否在创建触发器的同时启用触发器。取值:true:启用。false:关闭。
|
|
76
|
+
*/
|
|
77
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
78
|
+
/**
|
|
79
|
+
* 函数 ID。
|
|
80
|
+
*/
|
|
81
|
+
readonly functionId: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Kafka 身份认证。函数服务将通过 Kafka ACL 权限策略,对 PLAIN 和 SCRAM-SHA-256 两种类型的 SASL 用户进行消息消费鉴权。
|
|
84
|
+
*/
|
|
85
|
+
readonly kafkaCredentials: pulumi.Output<outputs.vefaas.KafkaTriggerKafkaCredentials>;
|
|
86
|
+
/**
|
|
87
|
+
* Kafka 触发器 ID。
|
|
88
|
+
*/
|
|
89
|
+
readonly kafkaTriggerId: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* 函数发生运行错误(包括用户代码错误和 Runtime 错误)时的最大重试次数。取值范围为 0~100 的正整数。
|
|
92
|
+
*/
|
|
93
|
+
readonly maximumRetryAttempts: pulumi.Output<number>;
|
|
94
|
+
/**
|
|
95
|
+
* 消息队列 Kafka 实例 ID。
|
|
96
|
+
*/
|
|
97
|
+
readonly mqInstanceId: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Kafka 触发器名字。同一函数下,触发器名称不可重复。只能包含大小写字母、数字、下划线,并且以字母开头,长度限制为 4~63 个字符。
|
|
100
|
+
*/
|
|
101
|
+
readonly name: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* 指定开始消费 Topic 中消息的位置。取值:Latest:只消费订阅 Topic 后产生的消息。Earliest:从 Topic 中生产的第一条消息开始消费。
|
|
104
|
+
*/
|
|
105
|
+
readonly startingPosition: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Kafka 触发器状态。参数值说明:ready:运行,failed:失败,pending:启动中
|
|
108
|
+
*/
|
|
109
|
+
readonly status: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* 消息队列 Kafka 实例的 Topic 名称。
|
|
112
|
+
*/
|
|
113
|
+
readonly topicName: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Kafka 触发器最近一次更新时间。
|
|
116
|
+
*/
|
|
117
|
+
readonly updatedTime: pulumi.Output<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Create a KafkaTrigger resource with the given unique name, arguments, and options.
|
|
120
|
+
*
|
|
121
|
+
* @param name The _unique_ name of the resource.
|
|
122
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
123
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
124
|
+
*/
|
|
125
|
+
constructor(name: string, args: KafkaTriggerArgs, opts?: pulumi.CustomResourceOptions);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Input properties used for looking up and filtering KafkaTrigger resources.
|
|
129
|
+
*/
|
|
130
|
+
export interface KafkaTriggerState {
|
|
131
|
+
/**
|
|
132
|
+
* 触发器批量消费的最长等待时间。单位为毫秒(ms),取值范围为 1000 ~ 60000 ms,默认值为 1000 ms。
|
|
133
|
+
*/
|
|
134
|
+
batchFlushDurationMilliseconds?: pulumi.Input<number>;
|
|
135
|
+
/**
|
|
136
|
+
* 触发器批量消费的每批次消息数。
|
|
137
|
+
*/
|
|
138
|
+
batchSize?: pulumi.Input<number>;
|
|
139
|
+
/**
|
|
140
|
+
* 消息队列 Kafka 实例的消费组名字。
|
|
141
|
+
*/
|
|
142
|
+
consumerGroup?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Kafka 触发器创建时间。
|
|
145
|
+
*/
|
|
146
|
+
createdTime?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Kafka 触发器描述。长度限制为 200 个字符以内。
|
|
149
|
+
*/
|
|
150
|
+
description?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* 是否在创建触发器的同时启用触发器。取值:true:启用。false:关闭。
|
|
153
|
+
*/
|
|
154
|
+
enabled?: pulumi.Input<boolean>;
|
|
155
|
+
/**
|
|
156
|
+
* 函数 ID。
|
|
157
|
+
*/
|
|
158
|
+
functionId?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Kafka 身份认证。函数服务将通过 Kafka ACL 权限策略,对 PLAIN 和 SCRAM-SHA-256 两种类型的 SASL 用户进行消息消费鉴权。
|
|
161
|
+
*/
|
|
162
|
+
kafkaCredentials?: pulumi.Input<inputs.vefaas.KafkaTriggerKafkaCredentials>;
|
|
163
|
+
/**
|
|
164
|
+
* Kafka 触发器 ID。
|
|
165
|
+
*/
|
|
166
|
+
kafkaTriggerId?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* 函数发生运行错误(包括用户代码错误和 Runtime 错误)时的最大重试次数。取值范围为 0~100 的正整数。
|
|
169
|
+
*/
|
|
170
|
+
maximumRetryAttempts?: pulumi.Input<number>;
|
|
171
|
+
/**
|
|
172
|
+
* 消息队列 Kafka 实例 ID。
|
|
173
|
+
*/
|
|
174
|
+
mqInstanceId?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Kafka 触发器名字。同一函数下,触发器名称不可重复。只能包含大小写字母、数字、下划线,并且以字母开头,长度限制为 4~63 个字符。
|
|
177
|
+
*/
|
|
178
|
+
name?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* 指定开始消费 Topic 中消息的位置。取值:Latest:只消费订阅 Topic 后产生的消息。Earliest:从 Topic 中生产的第一条消息开始消费。
|
|
181
|
+
*/
|
|
182
|
+
startingPosition?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Kafka 触发器状态。参数值说明:ready:运行,failed:失败,pending:启动中
|
|
185
|
+
*/
|
|
186
|
+
status?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* 消息队列 Kafka 实例的 Topic 名称。
|
|
189
|
+
*/
|
|
190
|
+
topicName?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Kafka 触发器最近一次更新时间。
|
|
193
|
+
*/
|
|
194
|
+
updatedTime?: pulumi.Input<string>;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* The set of arguments for constructing a KafkaTrigger resource.
|
|
198
|
+
*/
|
|
199
|
+
export interface KafkaTriggerArgs {
|
|
200
|
+
/**
|
|
201
|
+
* 触发器批量消费的最长等待时间。单位为毫秒(ms),取值范围为 1000 ~ 60000 ms,默认值为 1000 ms。
|
|
202
|
+
*/
|
|
203
|
+
batchFlushDurationMilliseconds?: pulumi.Input<number>;
|
|
204
|
+
/**
|
|
205
|
+
* 触发器批量消费的每批次消息数。
|
|
206
|
+
*/
|
|
207
|
+
batchSize?: pulumi.Input<number>;
|
|
208
|
+
/**
|
|
209
|
+
* Kafka 触发器描述。长度限制为 200 个字符以内。
|
|
210
|
+
*/
|
|
211
|
+
description?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* 是否在创建触发器的同时启用触发器。取值:true:启用。false:关闭。
|
|
214
|
+
*/
|
|
215
|
+
enabled?: pulumi.Input<boolean>;
|
|
216
|
+
/**
|
|
217
|
+
* 函数 ID。
|
|
218
|
+
*/
|
|
219
|
+
functionId: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Kafka 身份认证。函数服务将通过 Kafka ACL 权限策略,对 PLAIN 和 SCRAM-SHA-256 两种类型的 SASL 用户进行消息消费鉴权。
|
|
222
|
+
*/
|
|
223
|
+
kafkaCredentials: pulumi.Input<inputs.vefaas.KafkaTriggerKafkaCredentials>;
|
|
224
|
+
/**
|
|
225
|
+
* 函数发生运行错误(包括用户代码错误和 Runtime 错误)时的最大重试次数。取值范围为 0~100 的正整数。
|
|
226
|
+
*/
|
|
227
|
+
maximumRetryAttempts?: pulumi.Input<number>;
|
|
228
|
+
/**
|
|
229
|
+
* 消息队列 Kafka 实例 ID。
|
|
230
|
+
*/
|
|
231
|
+
mqInstanceId: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* Kafka 触发器名字。同一函数下,触发器名称不可重复。只能包含大小写字母、数字、下划线,并且以字母开头,长度限制为 4~63 个字符。
|
|
234
|
+
*/
|
|
235
|
+
name: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* 指定开始消费 Topic 中消息的位置。取值:Latest:只消费订阅 Topic 后产生的消息。Earliest:从 Topic 中生产的第一条消息开始消费。
|
|
238
|
+
*/
|
|
239
|
+
startingPosition?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* 消息队列 Kafka 实例的 Topic 名称。
|
|
242
|
+
*/
|
|
243
|
+
topicName: pulumi.Input<string>;
|
|
244
|
+
}
|