@volcengine/pulumi-volcenginecc 0.0.5 → 0.0.6

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.
Files changed (89) hide show
  1. package/apig/getUpstream.d.ts +93 -0
  2. package/apig/getUpstream.js +28 -0
  3. package/apig/getUpstream.js.map +1 -0
  4. package/apig/getUpstreams.d.ts +22 -0
  5. package/apig/getUpstreams.js +24 -0
  6. package/apig/getUpstreams.js.map +1 -0
  7. package/apig/index.d.ts +9 -0
  8. package/apig/index.js +12 -1
  9. package/apig/index.js.map +1 -1
  10. package/apig/upstream.d.ts +183 -0
  11. package/apig/upstream.js +96 -0
  12. package/apig/upstream.js.map +1 -0
  13. package/cdn/getShareConfig.d.ts +81 -0
  14. package/cdn/getShareConfig.js +28 -0
  15. package/cdn/getShareConfig.js.map +1 -0
  16. package/cdn/getShareConfigs.d.ts +22 -0
  17. package/cdn/getShareConfigs.js +24 -0
  18. package/cdn/getShareConfigs.js.map +1 -0
  19. package/cdn/index.d.ts +9 -0
  20. package/cdn/index.js +28 -0
  21. package/cdn/index.js.map +1 -0
  22. package/cdn/shareConfig.d.ts +167 -0
  23. package/cdn/shareConfig.js +78 -0
  24. package/cdn/shareConfig.js.map +1 -0
  25. package/clb/getListener.d.ts +1 -1
  26. package/clb/listener.d.ts +3 -3
  27. package/index.d.ts +5 -1
  28. package/index.js +9 -1
  29. package/index.js.map +1 -1
  30. package/kafka/getTopic.d.ts +97 -0
  31. package/kafka/getTopic.js +28 -0
  32. package/kafka/getTopic.js.map +1 -0
  33. package/kafka/getTopics.d.ts +22 -0
  34. package/kafka/getTopics.js +24 -0
  35. package/kafka/getTopics.js.map +1 -0
  36. package/kafka/index.d.ts +9 -0
  37. package/kafka/index.js +28 -0
  38. package/kafka/index.js.map +1 -0
  39. package/kafka/topic.d.ts +189 -0
  40. package/kafka/topic.js +95 -0
  41. package/kafka/topic.js.map +1 -0
  42. package/natgateway/getNgw.d.ts +153 -0
  43. package/natgateway/getNgw.js +28 -0
  44. package/natgateway/getNgw.js.map +1 -0
  45. package/natgateway/getNgws.d.ts +22 -0
  46. package/natgateway/getNgws.js +24 -0
  47. package/natgateway/getNgws.js.map +1 -0
  48. package/natgateway/index.d.ts +9 -0
  49. package/natgateway/index.js +28 -0
  50. package/natgateway/index.js.map +1 -0
  51. package/natgateway/ngw.d.ts +332 -0
  52. package/natgateway/ngw.js +139 -0
  53. package/natgateway/ngw.js.map +1 -0
  54. package/package.json +1 -1
  55. package/privatezone/getResolverEndpoint.d.ts +89 -0
  56. package/privatezone/getResolverEndpoint.js +28 -0
  57. package/privatezone/getResolverEndpoint.js.map +1 -0
  58. package/privatezone/getResolverEndpoints.d.ts +22 -0
  59. package/privatezone/getResolverEndpoints.js +24 -0
  60. package/privatezone/getResolverEndpoints.js.map +1 -0
  61. package/privatezone/getResolverRule.d.ts +101 -0
  62. package/privatezone/getResolverRule.js +28 -0
  63. package/privatezone/getResolverRule.js.map +1 -0
  64. package/privatezone/getResolverRules.d.ts +22 -0
  65. package/privatezone/getResolverRules.js +24 -0
  66. package/privatezone/getResolverRules.js.map +1 -0
  67. package/privatezone/index.d.ts +18 -0
  68. package/privatezone/index.js +39 -0
  69. package/privatezone/index.js.map +1 -0
  70. package/privatezone/resolverEndpoint.d.ts +165 -0
  71. package/privatezone/resolverEndpoint.js +91 -0
  72. package/privatezone/resolverEndpoint.js.map +1 -0
  73. package/privatezone/resolverRule.d.ts +196 -0
  74. package/privatezone/resolverRule.js +94 -0
  75. package/privatezone/resolverRule.js.map +1 -0
  76. package/types/input.d.ts +435 -1
  77. package/types/output.d.ts +868 -2
  78. package/vke/getPermission.d.ts +108 -0
  79. package/vke/getPermission.js +28 -0
  80. package/vke/getPermission.js.map +1 -0
  81. package/vke/getPermissions.d.ts +22 -0
  82. package/vke/getPermissions.js +24 -0
  83. package/vke/getPermissions.js.map +1 -0
  84. package/vke/index.d.ts +9 -0
  85. package/vke/index.js +12 -1
  86. package/vke/index.js.map +1 -1
  87. package/vke/permission.d.ts +242 -0
  88. package/vke/permission.js +109 -0
  89. package/vke/permission.js.map +1 -0
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::CDN::ShareConfig
4
+ */
5
+ export declare function getShareConfigs(opts?: pulumi.InvokeOptions): Promise<GetShareConfigsResult>;
6
+ /**
7
+ * A collection of values returned by getShareConfigs.
8
+ */
9
+ export interface GetShareConfigsResult {
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::CDN::ShareConfig
21
+ */
22
+ export declare function getShareConfigsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetShareConfigsResult>;
@@ -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.getShareConfigsOutput = exports.getShareConfigs = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::CDN::ShareConfig
10
+ */
11
+ function getShareConfigs(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:cdn/getShareConfigs:getShareConfigs", {}, opts);
14
+ }
15
+ exports.getShareConfigs = getShareConfigs;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::CDN::ShareConfig
18
+ */
19
+ function getShareConfigsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:cdn/getShareConfigs:getShareConfigs", {}, opts);
22
+ }
23
+ exports.getShareConfigsOutput = getShareConfigsOutput;
24
+ //# sourceMappingURL=getShareConfigs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getShareConfigs.js","sourceRoot":"","sources":["../../cdn/getShareConfigs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC;AAeD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAiC;IACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE,EACtF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC"}
package/cdn/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ export { GetShareConfigArgs, GetShareConfigResult, GetShareConfigOutputArgs } from "./getShareConfig";
2
+ export declare const getShareConfig: typeof import("./getShareConfig").getShareConfig;
3
+ export declare const getShareConfigOutput: typeof import("./getShareConfig").getShareConfigOutput;
4
+ export { GetShareConfigsResult } from "./getShareConfigs";
5
+ export declare const getShareConfigs: typeof import("./getShareConfigs").getShareConfigs;
6
+ export declare const getShareConfigsOutput: typeof import("./getShareConfigs").getShareConfigsOutput;
7
+ export { ShareConfigArgs, ShareConfigState } from "./shareConfig";
8
+ export type ShareConfig = import("./shareConfig").ShareConfig;
9
+ export declare const ShareConfig: typeof import("./shareConfig").ShareConfig;
package/cdn/index.js ADDED
@@ -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.ShareConfig = exports.getShareConfigsOutput = exports.getShareConfigs = exports.getShareConfigOutput = exports.getShareConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.getShareConfig = null;
9
+ exports.getShareConfigOutput = null;
10
+ utilities.lazyLoad(exports, ["getShareConfig", "getShareConfigOutput"], () => require("./getShareConfig"));
11
+ exports.getShareConfigs = null;
12
+ exports.getShareConfigsOutput = null;
13
+ utilities.lazyLoad(exports, ["getShareConfigs", "getShareConfigsOutput"], () => require("./getShareConfigs"));
14
+ exports.ShareConfig = null;
15
+ utilities.lazyLoad(exports, ["ShareConfig"], () => require("./shareConfig"));
16
+ const _module = {
17
+ version: utilities.getVersion(),
18
+ construct: (name, type, urn) => {
19
+ switch (type) {
20
+ case "volcenginecc:cdn/shareConfig:ShareConfig":
21
+ return new exports.ShareConfig(name, undefined, { urn });
22
+ default:
23
+ throw new Error(`unknown resource type ${type}`);
24
+ }
25
+ },
26
+ };
27
+ pulumi.runtime.registerResourceModule("volcenginecc", "cdn/shareConfig", _module);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cdn/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAG7F,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;AAIhG,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAG7E,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,0CAA0C;gBAC3C,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,167 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * 全局配置扩展了域名的配置能力,具有以下优点:提升了黑白名单的容量。例如,IP 黑名单可以包含高达 30,000 个条目。提升了域名配置的效率。一个全局配置可与多个域名关联。提供了通用列表类型,可以在额外的域名配置中被使用。一个全局配置的修改可立刻应用于其关联的所有域名。
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:cdn/shareConfig:ShareConfig example "config_name"
11
+ * ```
12
+ */
13
+ export declare class ShareConfig extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing ShareConfig resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ShareConfigState, opts?: pulumi.CustomResourceOptions): ShareConfig;
24
+ /**
25
+ * Returns true if the given object is an instance of ShareConfig. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is ShareConfig;
29
+ /**
30
+ * 表示一个 IP 白名单的配置,对应 ConfigType 是 allow*ip*access*rule。
31
+ */
32
+ readonly allowIpAccessRule: pulumi.Output<outputs.cdn.ShareConfigAllowIpAccessRule>;
33
+ /**
34
+ * 表示一个 Referer 白名单的配置,对应 ConfigType 是 allow*referer*access*rule。
35
+ */
36
+ readonly allowRefererAccessRule: pulumi.Output<outputs.cdn.ShareConfigAllowRefererAccessRule>;
37
+ /**
38
+ * 表示一个通用列表的配置,对应 ConfigType 是 common*match*list。
39
+ */
40
+ readonly commonMatchs: pulumi.Output<outputs.cdn.ShareConfigCommonMatchs>;
41
+ /**
42
+ * 表示全局配置的名称。名称有以下要求:名称可以包含汉字、字母、数字、下划线(_),长度在 3-45 个字符之间。一个汉字占 3 个字符。名称不能与主账号下某个已有的全局配置的名称相同。
43
+ */
44
+ readonly configName: pulumi.Output<string>;
45
+ /**
46
+ * 表示该全局配置的类型。该参数有以下取值:deny*ip*access*rule:表示 IP 黑名单。allow*ip*access*rule:表示 IP 白名单。deny*referer*access*rule:表示 Referer 黑名单。allow*referer*access*rule:表示 Referer 白名单。common*match*list:表示通用列表。
47
+ */
48
+ readonly configType: pulumi.Output<string>;
49
+ /**
50
+ * 表示一个 IP 黑名单的配置,对应 ConfigType 是 deny*ip*access*rule。
51
+ */
52
+ readonly denyIpAccessRule: pulumi.Output<outputs.cdn.ShareConfigDenyIpAccessRule>;
53
+ /**
54
+ * 表示一个 Referer 黑名单的配置,对应 ConfigType 是 deny*referer*access*rule。
55
+ */
56
+ readonly denyRefererAccessRule: pulumi.Output<outputs.cdn.ShareConfigDenyRefererAccessRule>;
57
+ /**
58
+ * 表示与该全局配置关联的加速域名的数量。
59
+ */
60
+ readonly domainCount: pulumi.Output<number>;
61
+ /**
62
+ * 表示该全局配置所归属的项目名称。
63
+ */
64
+ readonly project: pulumi.Output<string>;
65
+ /**
66
+ * 表示该自定义错误页面的 HTML 代码。
67
+ */
68
+ readonly ruleContent: pulumi.Output<string>;
69
+ /**
70
+ * 表示该全局配置的最近修改时间,单位是 Unix 时间戳。
71
+ */
72
+ readonly updatedTime: pulumi.Output<number>;
73
+ /**
74
+ * Create a ShareConfig resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args?: ShareConfigArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering ShareConfig resources.
84
+ */
85
+ export interface ShareConfigState {
86
+ /**
87
+ * 表示一个 IP 白名单的配置,对应 ConfigType 是 allow*ip*access*rule。
88
+ */
89
+ allowIpAccessRule?: pulumi.Input<inputs.cdn.ShareConfigAllowIpAccessRule>;
90
+ /**
91
+ * 表示一个 Referer 白名单的配置,对应 ConfigType 是 allow*referer*access*rule。
92
+ */
93
+ allowRefererAccessRule?: pulumi.Input<inputs.cdn.ShareConfigAllowRefererAccessRule>;
94
+ /**
95
+ * 表示一个通用列表的配置,对应 ConfigType 是 common*match*list。
96
+ */
97
+ commonMatchs?: pulumi.Input<inputs.cdn.ShareConfigCommonMatchs>;
98
+ /**
99
+ * 表示全局配置的名称。名称有以下要求:名称可以包含汉字、字母、数字、下划线(_),长度在 3-45 个字符之间。一个汉字占 3 个字符。名称不能与主账号下某个已有的全局配置的名称相同。
100
+ */
101
+ configName?: pulumi.Input<string>;
102
+ /**
103
+ * 表示该全局配置的类型。该参数有以下取值:deny*ip*access*rule:表示 IP 黑名单。allow*ip*access*rule:表示 IP 白名单。deny*referer*access*rule:表示 Referer 黑名单。allow*referer*access*rule:表示 Referer 白名单。common*match*list:表示通用列表。
104
+ */
105
+ configType?: pulumi.Input<string>;
106
+ /**
107
+ * 表示一个 IP 黑名单的配置,对应 ConfigType 是 deny*ip*access*rule。
108
+ */
109
+ denyIpAccessRule?: pulumi.Input<inputs.cdn.ShareConfigDenyIpAccessRule>;
110
+ /**
111
+ * 表示一个 Referer 黑名单的配置,对应 ConfigType 是 deny*referer*access*rule。
112
+ */
113
+ denyRefererAccessRule?: pulumi.Input<inputs.cdn.ShareConfigDenyRefererAccessRule>;
114
+ /**
115
+ * 表示与该全局配置关联的加速域名的数量。
116
+ */
117
+ domainCount?: pulumi.Input<number>;
118
+ /**
119
+ * 表示该全局配置所归属的项目名称。
120
+ */
121
+ project?: pulumi.Input<string>;
122
+ /**
123
+ * 表示该自定义错误页面的 HTML 代码。
124
+ */
125
+ ruleContent?: pulumi.Input<string>;
126
+ /**
127
+ * 表示该全局配置的最近修改时间,单位是 Unix 时间戳。
128
+ */
129
+ updatedTime?: pulumi.Input<number>;
130
+ }
131
+ /**
132
+ * The set of arguments for constructing a ShareConfig resource.
133
+ */
134
+ export interface ShareConfigArgs {
135
+ /**
136
+ * 表示一个 IP 白名单的配置,对应 ConfigType 是 allow*ip*access*rule。
137
+ */
138
+ allowIpAccessRule?: pulumi.Input<inputs.cdn.ShareConfigAllowIpAccessRule>;
139
+ /**
140
+ * 表示一个 Referer 白名单的配置,对应 ConfigType 是 allow*referer*access*rule。
141
+ */
142
+ allowRefererAccessRule?: pulumi.Input<inputs.cdn.ShareConfigAllowRefererAccessRule>;
143
+ /**
144
+ * 表示一个通用列表的配置,对应 ConfigType 是 common*match*list。
145
+ */
146
+ commonMatchs?: pulumi.Input<inputs.cdn.ShareConfigCommonMatchs>;
147
+ /**
148
+ * 表示全局配置的名称。名称有以下要求:名称可以包含汉字、字母、数字、下划线(_),长度在 3-45 个字符之间。一个汉字占 3 个字符。名称不能与主账号下某个已有的全局配置的名称相同。
149
+ */
150
+ configName?: pulumi.Input<string>;
151
+ /**
152
+ * 表示该全局配置的类型。该参数有以下取值:deny*ip*access*rule:表示 IP 黑名单。allow*ip*access*rule:表示 IP 白名单。deny*referer*access*rule:表示 Referer 黑名单。allow*referer*access*rule:表示 Referer 白名单。common*match*list:表示通用列表。
153
+ */
154
+ configType?: pulumi.Input<string>;
155
+ /**
156
+ * 表示一个 IP 黑名单的配置,对应 ConfigType 是 deny*ip*access*rule。
157
+ */
158
+ denyIpAccessRule?: pulumi.Input<inputs.cdn.ShareConfigDenyIpAccessRule>;
159
+ /**
160
+ * 表示一个 Referer 黑名单的配置,对应 ConfigType 是 deny*referer*access*rule。
161
+ */
162
+ denyRefererAccessRule?: pulumi.Input<inputs.cdn.ShareConfigDenyRefererAccessRule>;
163
+ /**
164
+ * 表示该全局配置所归属的项目名称。
165
+ */
166
+ project?: pulumi.Input<string>;
167
+ }
@@ -0,0 +1,78 @@
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.ShareConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * 全局配置扩展了域名的配置能力,具有以下优点:提升了黑白名单的容量。例如,IP 黑名单可以包含高达 30,000 个条目。提升了域名配置的效率。一个全局配置可与多个域名关联。提供了通用列表类型,可以在额外的域名配置中被使用。一个全局配置的修改可立刻应用于其关联的所有域名。
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:cdn/shareConfig:ShareConfig example "config_name"
15
+ * ```
16
+ */
17
+ class ShareConfig extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing ShareConfig resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new ShareConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of ShareConfig. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === ShareConfig.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["allowIpAccessRule"] = state ? state.allowIpAccessRule : undefined;
46
+ resourceInputs["allowRefererAccessRule"] = state ? state.allowRefererAccessRule : undefined;
47
+ resourceInputs["commonMatchs"] = state ? state.commonMatchs : undefined;
48
+ resourceInputs["configName"] = state ? state.configName : undefined;
49
+ resourceInputs["configType"] = state ? state.configType : undefined;
50
+ resourceInputs["denyIpAccessRule"] = state ? state.denyIpAccessRule : undefined;
51
+ resourceInputs["denyRefererAccessRule"] = state ? state.denyRefererAccessRule : undefined;
52
+ resourceInputs["domainCount"] = state ? state.domainCount : undefined;
53
+ resourceInputs["project"] = state ? state.project : undefined;
54
+ resourceInputs["ruleContent"] = state ? state.ruleContent : undefined;
55
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
56
+ }
57
+ else {
58
+ const args = argsOrState;
59
+ resourceInputs["allowIpAccessRule"] = args ? args.allowIpAccessRule : undefined;
60
+ resourceInputs["allowRefererAccessRule"] = args ? args.allowRefererAccessRule : undefined;
61
+ resourceInputs["commonMatchs"] = args ? args.commonMatchs : undefined;
62
+ resourceInputs["configName"] = args ? args.configName : undefined;
63
+ resourceInputs["configType"] = args ? args.configType : undefined;
64
+ resourceInputs["denyIpAccessRule"] = args ? args.denyIpAccessRule : undefined;
65
+ resourceInputs["denyRefererAccessRule"] = args ? args.denyRefererAccessRule : undefined;
66
+ resourceInputs["project"] = args ? args.project : undefined;
67
+ resourceInputs["domainCount"] = undefined /*out*/;
68
+ resourceInputs["ruleContent"] = undefined /*out*/;
69
+ resourceInputs["updatedTime"] = undefined /*out*/;
70
+ }
71
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
72
+ super(ShareConfig.__pulumiType, name, resourceInputs, opts);
73
+ }
74
+ }
75
+ exports.ShareConfig = ShareConfig;
76
+ /** @internal */
77
+ ShareConfig.__pulumiType = 'volcenginecc:cdn/shareConfig:ShareConfig';
78
+ //# sourceMappingURL=shareConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shareConfig.js","sourceRoot":"","sources":["../../cdn/shareConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,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,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAjHL,kCAkHC;AApGG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
@@ -142,7 +142,7 @@ export interface GetListenerResult {
142
142
  */
143
143
  readonly port: number;
144
144
  /**
145
- * 监听器的协议。
145
+ * 监听器的协议。包括:TCP、UDP、HTTP、HTTPS。
146
146
  */
147
147
  readonly protocol: string;
148
148
  /**
package/clb/listener.d.ts CHANGED
@@ -147,7 +147,7 @@ export declare class Listener extends pulumi.CustomResource {
147
147
  */
148
148
  readonly port: pulumi.Output<number>;
149
149
  /**
150
- * 监听器的协议。
150
+ * 监听器的协议。包括:TCP、UDP、HTTP、HTTPS。
151
151
  */
152
152
  readonly protocol: pulumi.Output<string>;
153
153
  /**
@@ -333,7 +333,7 @@ export interface ListenerState {
333
333
  */
334
334
  port?: pulumi.Input<number>;
335
335
  /**
336
- * 监听器的协议。
336
+ * 监听器的协议。包括:TCP、UDP、HTTP、HTTPS。
337
337
  */
338
338
  protocol?: pulumi.Input<string>;
339
339
  /**
@@ -503,7 +503,7 @@ export interface ListenerArgs {
503
503
  */
504
504
  port: pulumi.Input<number>;
505
505
  /**
506
- * 监听器的协议。
506
+ * 监听器的协议。包括:TCP、UDP、HTTP、HTTPS。
507
507
  */
508
508
  protocol: pulumi.Input<string>;
509
509
  /**
package/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import * as alb from "./alb";
3
3
  import * as apig from "./apig";
4
4
  import * as ark from "./ark";
5
5
  import * as autoscaling from "./autoscaling";
6
+ import * as cdn from "./cdn";
6
7
  import * as clb from "./clb";
7
8
  import * as config from "./config";
8
9
  import * as cr from "./cr";
@@ -10,6 +11,9 @@ import * as directconnect from "./directconnect";
10
11
  import * as ecs from "./ecs";
11
12
  import * as filenas from "./filenas";
12
13
  import * as iam from "./iam";
14
+ import * as kafka from "./kafka";
15
+ import * as natgateway from "./natgateway";
16
+ import * as privatezone from "./privatezone";
13
17
  import * as rdsmysql from "./rdsmysql";
14
18
  import * as redis from "./redis";
15
19
  import * as storageebs from "./storageebs";
@@ -22,4 +26,4 @@ import * as vke from "./vke";
22
26
  import * as vmp from "./vmp";
23
27
  import * as vpc from "./vpc";
24
28
  import * as waf from "./waf";
25
- export { alb, apig, ark, autoscaling, clb, config, cr, directconnect, ecs, filenas, iam, rdsmysql, redis, storageebs, tls, tos, transitrouter, types, vefaas, vke, vmp, vpc, waf, };
29
+ export { alb, apig, ark, autoscaling, cdn, clb, config, cr, directconnect, ecs, filenas, iam, kafka, natgateway, privatezone, rdsmysql, redis, storageebs, tls, tos, transitrouter, types, vefaas, vke, vmp, vpc, waf, };
package/index.js CHANGED
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.waf = exports.vpc = exports.vmp = exports.vke = exports.vefaas = exports.types = exports.transitrouter = exports.tos = exports.tls = exports.storageebs = exports.redis = exports.rdsmysql = exports.iam = exports.filenas = exports.ecs = exports.directconnect = exports.cr = exports.config = exports.clb = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
19
+ exports.waf = exports.vpc = exports.vmp = exports.vke = exports.vefaas = exports.types = exports.transitrouter = exports.tos = exports.tls = exports.storageebs = exports.redis = exports.rdsmysql = exports.privatezone = exports.natgateway = exports.kafka = exports.iam = exports.filenas = exports.ecs = exports.directconnect = exports.cr = exports.config = exports.clb = exports.cdn = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("./utilities");
22
22
  // Export members:
@@ -31,6 +31,8 @@ const ark = require("./ark");
31
31
  exports.ark = ark;
32
32
  const autoscaling = require("./autoscaling");
33
33
  exports.autoscaling = autoscaling;
34
+ const cdn = require("./cdn");
35
+ exports.cdn = cdn;
34
36
  const clb = require("./clb");
35
37
  exports.clb = clb;
36
38
  const config = require("./config");
@@ -45,6 +47,12 @@ const filenas = require("./filenas");
45
47
  exports.filenas = filenas;
46
48
  const iam = require("./iam");
47
49
  exports.iam = iam;
50
+ const kafka = require("./kafka");
51
+ exports.kafka = kafka;
52
+ const natgateway = require("./natgateway");
53
+ exports.natgateway = natgateway;
54
+ const privatezone = require("./privatezone");
55
+ exports.privatezone = privatezone;
48
56
  const rdsmysql = require("./rdsmysql");
49
57
  exports.rdsmysql = rdsmysql;
50
58
  const redis = require("./redis");
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,6CAA2B;AAC3B,yCAAsC;AAGtC,sBAAsB;AACtB,6BAA6B;AAyBzB,kBAAG;AAxBP,+BAA+B;AAyB3B,oBAAI;AAxBR,6BAA6B;AAyBzB,kBAAG;AAxBP,6CAA6C;AAyBzC,kCAAW;AAxBf,6BAA6B;AAyBzB,kBAAG;AAxBP,mCAAmC;AAyB/B,wBAAM;AAxBV,2BAA2B;AAyBvB,gBAAE;AAxBN,iDAAiD;AAyB7C,sCAAa;AAxBjB,6BAA6B;AAyBzB,kBAAG;AAxBP,qCAAqC;AAyBjC,0BAAO;AAxBX,6BAA6B;AAyBzB,kBAAG;AAxBP,uCAAuC;AAyBnC,4BAAQ;AAxBZ,iCAAiC;AAyB7B,sBAAK;AAxBT,2CAA2C;AAyBvC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A5BX,6BAA6B;AA6BzB,kBAAG;AA5BP,iCAAiC;AA6B7B,sBAAK;AA5BT,2CAA2C;AA6BvC,gCAAU;AA5Bd,6CAA6C;AA6BzC,kCAAW;AA5Bf,uCAAuC;AA6BnC,4BAAQ;AA5BZ,iCAAiC;AA6B7B,sBAAK;AA5BT,2CAA2C;AA6BvC,gCAAU;AA5Bd,6BAA6B;AA6BzB,kBAAG;AA5BP,6BAA6B;AA6BzB,kBAAG;AA5BP,iDAAiD;AA6B7C,sCAAa;AA5BjB,iCAAiC;AA6B7B,sBAAK;AA5BT,mCAAmC;AA6B/B,wBAAM;AA5BV,6BAA6B;AA6BzB,kBAAG;AA5BP,6BAA6B;AA6BzB,kBAAG;AA5BP,6BAA6B;AA6BzB,kBAAG;AA5BP,6BAA6B;AA6BzB,kBAAG;AAEP,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,cAAc,EAAE;IACnD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,+BAA+B,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
@@ -0,0 +1,97 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::Kafka::Topic
5
+ */
6
+ export declare function getTopic(args: GetTopicArgs, opts?: pulumi.InvokeOptions): Promise<GetTopicResult>;
7
+ /**
8
+ * A collection of arguments for invoking getTopic.
9
+ */
10
+ export interface GetTopicArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getTopic.
18
+ */
19
+ export interface GetTopicResult {
20
+ /**
21
+ * 自定义权限配置,即为某些用户设置对于此 Topic 的自定义权限。仅在 AllAuthority 为 False 时需要设置。
22
+ */
23
+ readonly accessPolicies: outputs.kafka.GetTopicAccessPolicy[];
24
+ /**
25
+ * 待创建的Topic默认是否对所有用户都开启读写权限。true:(默认)所有用户都具备此 Topic 的读写权限。false:并非所有用户都具备此 Topic 的读写权限。默认情况下,用户对于此 Topic 的权限沿用用户的默认权限,如果默认权限不满足需求,您也可以通过 AccessPolicies 指定某个用户对于此 Topic 的自定义权限。
26
+ */
27
+ readonly allAuthority: boolean;
28
+ /**
29
+ * opic 的消息清理策略,支持以下三种取值方式:[delete]:默认的消息清理策略。在磁盘容量充足的情况下,保留在最长保留时间范围内的消息;在磁盘容量不足时,将提前删除旧消息,以保证服务可用性。[compact]:COMPACT 消息清理策略针对每个消息的 Key 进行整合,对于有相同 Key 的消息,只保留最新的 value 值,旧的记录则会被清除。[delete,compact]:同时配置 DELETE 和 COMPACT 两种消息清理策略。只要消息满足任一条清理策略时,都将被清除。
30
+ */
31
+ readonly cleanupPolicies: string[];
32
+ /**
33
+ * Topic 的创建时间。
34
+ */
35
+ readonly createdTime: string;
36
+ /**
37
+ * Topic 的描述信息。长度不超过 128 个字符。
38
+ */
39
+ readonly description: string;
40
+ /**
41
+ * Uniquely identifies the resource.
42
+ */
43
+ readonly id: string;
44
+ /**
45
+ * 实例 ID。
46
+ */
47
+ readonly instanceId: string;
48
+ /**
49
+ * 消息保留时长,单位小时。
50
+ */
51
+ readonly logRetentionHours: number;
52
+ /**
53
+ * Topic 级别的参数配置。Parameters 参数说明 MinInsyncReplicaNumber:2:最小同步副本个数。当同步副本个数小于配置值时,消息将无法写入对应 Topic。配置值越大,数据可靠性增加,但是可用性将会降低。默认值为副本数减 1。考虑到 Topic 的可用性,建议设置为副本数减 1。MessageMaxByte:12:最大消息大小。单位为 MB,取值范围为 1~12。默认沿用实例的最大消息大小设置。LogRetentionHours:72:消息保留时长。单位为小时,取值范围为 0~2160,即消息最久保留 90 天。默认沿用实例的消息保留时长设置。
54
+ */
55
+ readonly parameters: string;
56
+ /**
57
+ * Topic 分区数。取值范围为 1~300,如果实例中已创建了其他 Topic,则所有 Topic 的分区数之和不超过该实例的分区数上限。如果分区数无法满足业务需求,您可以购买更多分区,提升实例的分区数量上限。
58
+ */
59
+ readonly partitionNumber: number;
60
+ /**
61
+ * Topic 副本个数。可设置为为 2 或 3,默认值为 3。
62
+ */
63
+ readonly replicaNumber: number;
64
+ /**
65
+ * Topic 的状态。
66
+ */
67
+ readonly status: string;
68
+ /**
69
+ * 公网IP的标签信息
70
+ */
71
+ readonly tags: outputs.kafka.GetTopicTag[];
72
+ /**
73
+ * 待创建的 Topic 名称。3~64 个字符。必须以英文或数字开头。支持的字符包括英文、数字、连字符(-)、下划线(_)和英文句号(.)。
74
+ */
75
+ readonly topicName: string;
76
+ /**
77
+ * 当前 Topic 总数据量占实例总存储空间的比例,控制台页面显示为保留两位小数的百分数。
78
+ */
79
+ readonly usedStoragePercentageInInstance: number;
80
+ /**
81
+ * 当前 Topic 已使用的总存储空间大小。
82
+ */
83
+ readonly usedStorageSpaceInBytes: number;
84
+ }
85
+ /**
86
+ * Data Source schema for Volcengine::Kafka::Topic
87
+ */
88
+ export declare function getTopicOutput(args: GetTopicOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTopicResult>;
89
+ /**
90
+ * A collection of arguments for invoking getTopic.
91
+ */
92
+ export interface GetTopicOutputArgs {
93
+ /**
94
+ * Uniquely identifies the resource.
95
+ */
96
+ id: pulumi.Input<string>;
97
+ }
@@ -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.getTopicOutput = exports.getTopic = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::Kafka::Topic
10
+ */
11
+ function getTopic(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:kafka/getTopic:getTopic", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getTopic = getTopic;
18
+ /**
19
+ * Data Source schema for Volcengine::Kafka::Topic
20
+ */
21
+ function getTopicOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:kafka/getTopic:getTopic", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getTopicOutput = getTopicOutput;
28
+ //# sourceMappingURL=getTopic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopic.js","sourceRoot":"","sources":["../../kafka/getTopic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAiFD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::Kafka::Topic
4
+ */
5
+ export declare function getTopics(opts?: pulumi.InvokeOptions): Promise<GetTopicsResult>;
6
+ /**
7
+ * A collection of values returned by getTopics.
8
+ */
9
+ export interface GetTopicsResult {
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::Kafka::Topic
21
+ */
22
+ export declare function getTopicsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTopicsResult>;
@@ -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.getTopicsOutput = exports.getTopics = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::Kafka::Topic
10
+ */
11
+ function getTopics(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:kafka/getTopics:getTopics", {}, opts);
14
+ }
15
+ exports.getTopics = getTopics;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::Kafka::Topic
18
+ */
19
+ function getTopicsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:kafka/getTopics:getTopics", {}, opts);
22
+ }
23
+ exports.getTopicsOutput = getTopicsOutput;
24
+ //# sourceMappingURL=getTopics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopics.js","sourceRoot":"","sources":["../../kafka/getTopics.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAA2B;IACjD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8BAIC;AAeD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAiC;IAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC"}
@@ -0,0 +1,9 @@
1
+ export { GetTopicArgs, GetTopicResult, GetTopicOutputArgs } from "./getTopic";
2
+ export declare const getTopic: typeof import("./getTopic").getTopic;
3
+ export declare const getTopicOutput: typeof import("./getTopic").getTopicOutput;
4
+ export { GetTopicsResult } from "./getTopics";
5
+ export declare const getTopics: typeof import("./getTopics").getTopics;
6
+ export declare const getTopicsOutput: typeof import("./getTopics").getTopicsOutput;
7
+ export { TopicArgs, TopicState } from "./topic";
8
+ export type Topic = import("./topic").Topic;
9
+ export declare const Topic: typeof import("./topic").Topic;