@volcengine/pulumi-volcenginecc 0.0.2 → 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.
Files changed (287) hide show
  1. package/alb/acl.d.ts +149 -0
  2. package/alb/acl.js +96 -0
  3. package/alb/acl.js.map +1 -0
  4. package/alb/getAcl.d.ts +81 -0
  5. package/alb/getAcl.js +28 -0
  6. package/alb/getAcl.js.map +1 -0
  7. package/alb/getAcls.d.ts +22 -0
  8. package/alb/getAcls.js +24 -0
  9. package/alb/getAcls.js.map +1 -0
  10. package/alb/getListener.d.ts +157 -0
  11. package/alb/getListener.js +28 -0
  12. package/alb/getListener.js.map +1 -0
  13. package/alb/getListeners.d.ts +22 -0
  14. package/alb/getListeners.js +24 -0
  15. package/alb/getListeners.js.map +1 -0
  16. package/alb/getLoadBalancer.d.ts +153 -0
  17. package/alb/getLoadBalancer.js +28 -0
  18. package/alb/getLoadBalancer.js.map +1 -0
  19. package/alb/getLoadBalancers.d.ts +22 -0
  20. package/alb/getLoadBalancers.js +24 -0
  21. package/alb/getLoadBalancers.js.map +1 -0
  22. package/alb/getServerGroup.d.ts +109 -0
  23. package/alb/getServerGroup.js +28 -0
  24. package/alb/getServerGroup.js.map +1 -0
  25. package/alb/getServerGroups.d.ts +22 -0
  26. package/alb/getServerGroups.js +24 -0
  27. package/alb/getServerGroups.js.map +1 -0
  28. package/alb/index.d.ts +36 -0
  29. package/alb/index.js +45 -1
  30. package/alb/index.js.map +1 -1
  31. package/alb/listener.d.ts +360 -0
  32. package/alb/listener.js +128 -0
  33. package/alb/listener.js.map +1 -0
  34. package/alb/loadBalancer.d.ts +341 -0
  35. package/alb/loadBalancer.js +120 -0
  36. package/alb/loadBalancer.js.map +1 -0
  37. package/alb/serverGroup.d.ts +219 -0
  38. package/alb/serverGroup.js +95 -0
  39. package/alb/serverGroup.js.map +1 -0
  40. package/apig/gatewayService.d.ts +179 -0
  41. package/apig/gatewayService.js +114 -0
  42. package/apig/gatewayService.js.map +1 -0
  43. package/apig/getGatewayService.d.ts +89 -0
  44. package/apig/getGatewayService.js +28 -0
  45. package/apig/getGatewayService.js.map +1 -0
  46. package/apig/getGatewayServices.d.ts +22 -0
  47. package/apig/getGatewayServices.js +24 -0
  48. package/apig/getGatewayServices.js.map +1 -0
  49. package/apig/getUpstreamSource.d.ts +81 -0
  50. package/apig/getUpstreamSource.js +28 -0
  51. package/apig/getUpstreamSource.js.map +1 -0
  52. package/apig/getUpstreamSources.d.ts +22 -0
  53. package/apig/getUpstreamSources.js +24 -0
  54. package/apig/getUpstreamSources.js.map +1 -0
  55. package/apig/index.d.ts +18 -0
  56. package/apig/index.js +39 -0
  57. package/apig/index.js.map +1 -0
  58. package/apig/upstreamSource.d.ts +159 -0
  59. package/apig/upstreamSource.js +87 -0
  60. package/apig/upstreamSource.js.map +1 -0
  61. package/autoscaling/getScalingConfiguration.d.ts +140 -0
  62. package/autoscaling/getScalingConfiguration.js +28 -0
  63. package/autoscaling/getScalingConfiguration.js.map +1 -0
  64. package/autoscaling/getScalingConfigurations.d.ts +22 -0
  65. package/autoscaling/getScalingConfigurations.js +24 -0
  66. package/autoscaling/getScalingConfigurations.js.map +1 -0
  67. package/autoscaling/index.d.ts +9 -0
  68. package/autoscaling/index.js +28 -0
  69. package/autoscaling/index.js.map +1 -0
  70. package/autoscaling/scalingConfiguration.d.ts +318 -0
  71. package/autoscaling/scalingConfiguration.js +108 -0
  72. package/autoscaling/scalingConfiguration.js.map +1 -0
  73. package/clb/acl.d.ts +166 -0
  74. package/clb/acl.js +107 -0
  75. package/clb/acl.js.map +1 -0
  76. package/clb/certificate.d.ts +187 -0
  77. package/clb/certificate.js +109 -0
  78. package/clb/certificate.js.map +1 -0
  79. package/clb/getAcl.d.ts +85 -0
  80. package/clb/getAcl.js +28 -0
  81. package/clb/getAcl.js.map +1 -0
  82. package/clb/getAcls.d.ts +22 -0
  83. package/clb/getAcls.js +24 -0
  84. package/clb/getAcls.js.map +1 -0
  85. package/clb/getCertificate.d.ts +89 -0
  86. package/clb/getCertificate.js +28 -0
  87. package/clb/getCertificate.js.map +1 -0
  88. package/clb/getCertificates.d.ts +22 -0
  89. package/clb/getCertificates.js +24 -0
  90. package/clb/getCertificates.js.map +1 -0
  91. package/clb/getListener.d.ts +213 -0
  92. package/clb/getListener.js +28 -0
  93. package/clb/getListener.js.map +1 -0
  94. package/clb/getListeners.d.ts +22 -0
  95. package/clb/getListeners.js +24 -0
  96. package/clb/getListeners.js.map +1 -0
  97. package/clb/getRule.d.ts +73 -0
  98. package/clb/getRule.js +28 -0
  99. package/clb/getRule.js.map +1 -0
  100. package/clb/getRules.d.ts +22 -0
  101. package/clb/getRules.js +24 -0
  102. package/clb/getRules.js.map +1 -0
  103. package/clb/index.d.ts +36 -0
  104. package/clb/index.js +45 -1
  105. package/clb/index.js.map +1 -1
  106. package/clb/listener.d.ts +546 -0
  107. package/clb/listener.js +156 -0
  108. package/clb/listener.js.map +1 -0
  109. package/clb/rule.d.ts +162 -0
  110. package/clb/rule.js +97 -0
  111. package/clb/rule.js.map +1 -0
  112. package/cr/getNameSpace.d.ts +52 -0
  113. package/cr/getNameSpace.js +28 -0
  114. package/cr/getNameSpace.js.map +1 -0
  115. package/cr/getNameSpaces.d.ts +22 -0
  116. package/cr/getNameSpaces.js +24 -0
  117. package/cr/getNameSpaces.js.map +1 -0
  118. package/cr/getRegistries.d.ts +22 -0
  119. package/cr/getRegistries.js +24 -0
  120. package/cr/getRegistries.js.map +1 -0
  121. package/cr/getRegistry.d.ts +81 -0
  122. package/cr/getRegistry.js +28 -0
  123. package/cr/getRegistry.js.map +1 -0
  124. package/cr/index.d.ts +18 -0
  125. package/cr/index.js +23 -1
  126. package/cr/index.js.map +1 -1
  127. package/cr/nameSpace.d.ts +102 -0
  128. package/cr/nameSpace.js +83 -0
  129. package/cr/nameSpace.js.map +1 -0
  130. package/cr/registry.d.ts +159 -0
  131. package/cr/registry.js +98 -0
  132. package/cr/registry.js.map +1 -0
  133. package/directconnect/directConnectGateway.d.ts +191 -0
  134. package/directconnect/directConnectGateway.js +104 -0
  135. package/directconnect/directConnectGateway.js.map +1 -0
  136. package/directconnect/getDirectConnectGateway.d.ts +97 -0
  137. package/directconnect/getDirectConnectGateway.js +28 -0
  138. package/directconnect/getDirectConnectGateway.js.map +1 -0
  139. package/directconnect/getDirectConnectGateways.d.ts +22 -0
  140. package/directconnect/getDirectConnectGateways.js +24 -0
  141. package/directconnect/getDirectConnectGateways.js.map +1 -0
  142. package/directconnect/index.d.ts +9 -0
  143. package/directconnect/index.js +28 -0
  144. package/directconnect/index.js.map +1 -0
  145. package/ecs/getInstance.d.ts +66 -0
  146. package/ecs/getInstance.js +28 -0
  147. package/ecs/getInstance.js.map +1 -0
  148. package/ecs/getInstances.d.ts +22 -0
  149. package/ecs/getInstances.js +24 -0
  150. package/ecs/getInstances.js.map +1 -0
  151. package/ecs/index.d.ts +9 -0
  152. package/ecs/index.js +12 -1
  153. package/ecs/index.js.map +1 -1
  154. package/ecs/instance.d.ts +582 -0
  155. package/ecs/instance.js +150 -0
  156. package/ecs/instance.js.map +1 -0
  157. package/index.d.ts +10 -1
  158. package/index.js +19 -1
  159. package/index.js.map +1 -1
  160. package/package.json +2 -2
  161. package/rdsmysql/database.d.ts +100 -0
  162. package/rdsmysql/database.js +74 -0
  163. package/rdsmysql/database.js.map +1 -0
  164. package/rdsmysql/getDatabase.d.ts +58 -0
  165. package/rdsmysql/getDatabase.js +28 -0
  166. package/rdsmysql/getDatabase.js.map +1 -0
  167. package/rdsmysql/getDatabases.d.ts +22 -0
  168. package/rdsmysql/getDatabases.js +24 -0
  169. package/rdsmysql/getDatabases.js.map +1 -0
  170. package/rdsmysql/index.d.ts +9 -0
  171. package/rdsmysql/index.js +28 -0
  172. package/rdsmysql/index.js.map +1 -0
  173. package/redis/getInstance.d.ts +205 -0
  174. package/redis/getInstance.js +28 -0
  175. package/redis/getInstance.js.map +1 -0
  176. package/redis/getInstances.d.ts +22 -0
  177. package/redis/getInstances.js +24 -0
  178. package/redis/getInstances.js.map +1 -0
  179. package/redis/index.d.ts +9 -0
  180. package/redis/index.js +28 -0
  181. package/redis/index.js.map +1 -0
  182. package/redis/instance.d.ts +485 -0
  183. package/redis/instance.js +200 -0
  184. package/redis/instance.js.map +1 -0
  185. package/storageebs/getVolume.d.ts +4 -0
  186. package/storageebs/getVolume.js.map +1 -1
  187. package/storageebs/volume.d.ts +3 -0
  188. package/storageebs/volume.js +2 -0
  189. package/storageebs/volume.js.map +1 -1
  190. package/tls/getTopic.d.ts +113 -0
  191. package/tls/getTopic.js +28 -0
  192. package/tls/getTopic.js.map +1 -0
  193. package/tls/getTopics.d.ts +22 -0
  194. package/tls/getTopics.js +24 -0
  195. package/tls/getTopics.js.map +1 -0
  196. package/tls/index.d.ts +9 -0
  197. package/tls/index.js +28 -0
  198. package/tls/index.js.map +1 -0
  199. package/tls/topic.d.ts +280 -0
  200. package/tls/topic.js +129 -0
  201. package/tls/topic.js.map +1 -0
  202. package/transitrouter/getTransitRouterRouteEntries.d.ts +22 -0
  203. package/transitrouter/getTransitRouterRouteEntries.js +24 -0
  204. package/transitrouter/getTransitRouterRouteEntries.js.map +1 -0
  205. package/transitrouter/getTransitRouterRouteEntry.d.ts +84 -0
  206. package/transitrouter/getTransitRouterRouteEntry.js +28 -0
  207. package/transitrouter/getTransitRouterRouteEntry.js.map +1 -0
  208. package/transitrouter/getTransitRouterRouteTable.d.ts +81 -0
  209. package/transitrouter/getTransitRouterRouteTable.js +28 -0
  210. package/transitrouter/getTransitRouterRouteTable.js.map +1 -0
  211. package/transitrouter/getTransitRouterRouteTables.d.ts +22 -0
  212. package/transitrouter/getTransitRouterRouteTables.js +24 -0
  213. package/transitrouter/getTransitRouterRouteTables.js.map +1 -0
  214. package/transitrouter/index.d.ts +18 -0
  215. package/transitrouter/index.js +23 -1
  216. package/transitrouter/index.js.map +1 -1
  217. package/transitrouter/transitRouterRouteEntry.d.ts +186 -0
  218. package/transitrouter/transitRouterRouteEntry.js +106 -0
  219. package/transitrouter/transitRouterRouteEntry.js.map +1 -0
  220. package/transitrouter/transitRouterRouteTable.d.ts +159 -0
  221. package/transitrouter/transitRouterRouteTable.js +98 -0
  222. package/transitrouter/transitRouterRouteTable.js.map +1 -0
  223. package/types/input.d.ts +1375 -43
  224. package/types/output.d.ts +3534 -723
  225. package/vefaas/getKafkaTrigger.d.ts +101 -0
  226. package/vefaas/getKafkaTrigger.js +28 -0
  227. package/vefaas/getKafkaTrigger.js.map +1 -0
  228. package/vefaas/getKafkaTriggers.d.ts +22 -0
  229. package/vefaas/getKafkaTriggers.js +24 -0
  230. package/vefaas/getKafkaTriggers.js.map +1 -0
  231. package/vefaas/getSandbox.d.ts +117 -0
  232. package/vefaas/getSandbox.js +28 -0
  233. package/vefaas/getSandbox.js.map +1 -0
  234. package/vefaas/getSandboxes.d.ts +22 -0
  235. package/vefaas/getSandboxes.js +24 -0
  236. package/vefaas/getSandboxes.js.map +1 -0
  237. package/vefaas/index.d.ts +18 -0
  238. package/vefaas/index.js +39 -0
  239. package/vefaas/index.js.map +1 -0
  240. package/vefaas/kafkaTrigger.d.ts +244 -0
  241. package/vefaas/kafkaTrigger.js +128 -0
  242. package/vefaas/kafkaTrigger.js.map +1 -0
  243. package/vefaas/sandbox.d.ts +229 -0
  244. package/vefaas/sandbox.js +99 -0
  245. package/vefaas/sandbox.js.map +1 -0
  246. package/vke/addon.d.ts +159 -0
  247. package/vke/addon.js +90 -0
  248. package/vke/addon.js.map +1 -0
  249. package/vke/getAddon.d.ts +73 -0
  250. package/vke/getAddon.js +28 -0
  251. package/vke/getAddon.js.map +1 -0
  252. package/vke/getAddons.d.ts +22 -0
  253. package/vke/getAddons.js +24 -0
  254. package/vke/getAddons.js.map +1 -0
  255. package/vke/index.d.ts +9 -0
  256. package/vke/index.js +28 -0
  257. package/vke/index.js.map +1 -0
  258. package/vpc/getNetworkAcl.d.ts +93 -0
  259. package/vpc/getNetworkAcl.js +28 -0
  260. package/vpc/getNetworkAcl.js.map +1 -0
  261. package/vpc/getNetworkAcls.d.ts +22 -0
  262. package/vpc/getNetworkAcls.js +24 -0
  263. package/vpc/getNetworkAcls.js.map +1 -0
  264. package/vpc/getPrefixList.d.ts +93 -0
  265. package/vpc/getPrefixList.js +28 -0
  266. package/vpc/getPrefixList.js.map +1 -0
  267. package/vpc/getPrefixLists.d.ts +22 -0
  268. package/vpc/getPrefixLists.js +24 -0
  269. package/vpc/getPrefixLists.js.map +1 -0
  270. package/vpc/index.d.ts +18 -0
  271. package/vpc/index.js +23 -1
  272. package/vpc/index.js.map +1 -1
  273. package/vpc/networkAcl.d.ts +143 -0
  274. package/vpc/networkAcl.js +87 -0
  275. package/vpc/networkAcl.js.map +1 -0
  276. package/vpc/prefixList.d.ts +180 -0
  277. package/vpc/prefixList.js +110 -0
  278. package/vpc/prefixList.js.map +1 -0
  279. package/waf/getDomain.d.ts +344 -0
  280. package/waf/getDomain.js +28 -0
  281. package/waf/getDomain.js.map +1 -0
  282. package/waf/getDomains.d.ts +22 -0
  283. package/waf/getDomains.js +24 -0
  284. package/waf/getDomains.js.map +1 -0
  285. package/waf/index.d.ts +6 -0
  286. package/waf/index.js +13 -0
  287. package/waf/index.js.map +1 -0
package/alb/acl.d.ts ADDED
@@ -0,0 +1,149 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
10
+ *
11
+ * const albAclDemo = new volcenginecc.alb.Acl("AlbAclDemo", {
12
+ * aclName: "AlbAclDemo",
13
+ * projectName: "default",
14
+ * aclEntries: [{
15
+ * description: "AlbAclDemo description",
16
+ * entry: "1.1.1.1/32",
17
+ * }],
18
+ * tags: [{
19
+ * key: "env",
20
+ * value: "test",
21
+ * }],
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * ```sh
28
+ * $ pulumi import volcenginecc:alb/acl:Acl example "acl_id"
29
+ * ```
30
+ */
31
+ export declare class Acl extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Acl resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AclState, opts?: pulumi.CustomResourceOptions): Acl;
42
+ /**
43
+ * Returns true if the given object is an instance of Acl. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is Acl;
47
+ readonly aclEntries: pulumi.Output<outputs.alb.AclAclEntry[]>;
48
+ /**
49
+ * 访问控制策略组包含的IP条目数量。
50
+ */
51
+ readonly aclEntryCount: pulumi.Output<number>;
52
+ /**
53
+ * 访问控制策略组的ID。
54
+ */
55
+ readonly aclId: pulumi.Output<string>;
56
+ /**
57
+ * 访问控制策略组的名字。不能以http://或https://开头。必须以字母或中文开头,可包含数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不填默认为访问控制策略组ID。
58
+ */
59
+ readonly aclName: pulumi.Output<string>;
60
+ /**
61
+ * 访问控制策略组的创建时间。
62
+ */
63
+ readonly createTime: pulumi.Output<string>;
64
+ /**
65
+ * 访问控制策略组的描述。不能以http://或https://开头。必须以字母或中文开头,可包含数字、英文逗号(,)、点号.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。) 。长度限制为1 ~ 255个字符。不填默认为空字符串。
66
+ */
67
+ readonly description: pulumi.Output<string>;
68
+ readonly listeners: pulumi.Output<outputs.alb.AclListener[]>;
69
+ /**
70
+ * 访问控制策略组所属项目名称。
71
+ */
72
+ readonly projectName: pulumi.Output<string>;
73
+ /**
74
+ * 访问控制策略组的状态。Creating:创建中。Active:正常可用。Configuring:配置中。Deleting:删除中。
75
+ */
76
+ readonly status: pulumi.Output<string>;
77
+ readonly tags: pulumi.Output<outputs.alb.AclTag[]>;
78
+ /**
79
+ * 访问控制策略组的最近操作时间。
80
+ */
81
+ readonly updateTime: pulumi.Output<string>;
82
+ /**
83
+ * Create a Acl resource with the given unique name, arguments, and options.
84
+ *
85
+ * @param name The _unique_ name of the resource.
86
+ * @param args The arguments to use to populate this resource's properties.
87
+ * @param opts A bag of options that control this resource's behavior.
88
+ */
89
+ constructor(name: string, args?: AclArgs, opts?: pulumi.CustomResourceOptions);
90
+ }
91
+ /**
92
+ * Input properties used for looking up and filtering Acl resources.
93
+ */
94
+ export interface AclState {
95
+ aclEntries?: pulumi.Input<pulumi.Input<inputs.alb.AclAclEntry>[]>;
96
+ /**
97
+ * 访问控制策略组包含的IP条目数量。
98
+ */
99
+ aclEntryCount?: pulumi.Input<number>;
100
+ /**
101
+ * 访问控制策略组的ID。
102
+ */
103
+ aclId?: pulumi.Input<string>;
104
+ /**
105
+ * 访问控制策略组的名字。不能以http://或https://开头。必须以字母或中文开头,可包含数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不填默认为访问控制策略组ID。
106
+ */
107
+ aclName?: pulumi.Input<string>;
108
+ /**
109
+ * 访问控制策略组的创建时间。
110
+ */
111
+ createTime?: pulumi.Input<string>;
112
+ /**
113
+ * 访问控制策略组的描述。不能以http://或https://开头。必须以字母或中文开头,可包含数字、英文逗号(,)、点号.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。) 。长度限制为1 ~ 255个字符。不填默认为空字符串。
114
+ */
115
+ description?: pulumi.Input<string>;
116
+ listeners?: pulumi.Input<pulumi.Input<inputs.alb.AclListener>[]>;
117
+ /**
118
+ * 访问控制策略组所属项目名称。
119
+ */
120
+ projectName?: pulumi.Input<string>;
121
+ /**
122
+ * 访问控制策略组的状态。Creating:创建中。Active:正常可用。Configuring:配置中。Deleting:删除中。
123
+ */
124
+ status?: pulumi.Input<string>;
125
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclTag>[]>;
126
+ /**
127
+ * 访问控制策略组的最近操作时间。
128
+ */
129
+ updateTime?: pulumi.Input<string>;
130
+ }
131
+ /**
132
+ * The set of arguments for constructing a Acl resource.
133
+ */
134
+ export interface AclArgs {
135
+ aclEntries?: pulumi.Input<pulumi.Input<inputs.alb.AclAclEntry>[]>;
136
+ /**
137
+ * 访问控制策略组的名字。不能以http://或https://开头。必须以字母或中文开头,可包含数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不填默认为访问控制策略组ID。
138
+ */
139
+ aclName?: pulumi.Input<string>;
140
+ /**
141
+ * 访问控制策略组的描述。不能以http://或https://开头。必须以字母或中文开头,可包含数字、英文逗号(,)、点号.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。) 。长度限制为1 ~ 255个字符。不填默认为空字符串。
142
+ */
143
+ description?: pulumi.Input<string>;
144
+ /**
145
+ * 访问控制策略组所属项目名称。
146
+ */
147
+ projectName?: pulumi.Input<string>;
148
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclTag>[]>;
149
+ }
package/alb/acl.js ADDED
@@ -0,0 +1,96 @@
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.Acl = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
14
+ *
15
+ * const albAclDemo = new volcenginecc.alb.Acl("AlbAclDemo", {
16
+ * aclName: "AlbAclDemo",
17
+ * projectName: "default",
18
+ * aclEntries: [{
19
+ * description: "AlbAclDemo description",
20
+ * entry: "1.1.1.1/32",
21
+ * }],
22
+ * tags: [{
23
+ * key: "env",
24
+ * value: "test",
25
+ * }],
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * ```sh
32
+ * $ pulumi import volcenginecc:alb/acl:Acl example "acl_id"
33
+ * ```
34
+ */
35
+ class Acl extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing Acl resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name, id, state, opts) {
46
+ return new Acl(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of Acl. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === Acl.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["aclEntries"] = state ? state.aclEntries : undefined;
64
+ resourceInputs["aclEntryCount"] = state ? state.aclEntryCount : undefined;
65
+ resourceInputs["aclId"] = state ? state.aclId : undefined;
66
+ resourceInputs["aclName"] = state ? state.aclName : undefined;
67
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
68
+ resourceInputs["description"] = state ? state.description : undefined;
69
+ resourceInputs["listeners"] = state ? state.listeners : undefined;
70
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
71
+ resourceInputs["status"] = state ? state.status : undefined;
72
+ resourceInputs["tags"] = state ? state.tags : undefined;
73
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ resourceInputs["aclEntries"] = args ? args.aclEntries : undefined;
78
+ resourceInputs["aclName"] = args ? args.aclName : undefined;
79
+ resourceInputs["description"] = args ? args.description : undefined;
80
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
81
+ resourceInputs["tags"] = args ? args.tags : undefined;
82
+ resourceInputs["aclEntryCount"] = undefined /*out*/;
83
+ resourceInputs["aclId"] = undefined /*out*/;
84
+ resourceInputs["createTime"] = undefined /*out*/;
85
+ resourceInputs["listeners"] = undefined /*out*/;
86
+ resourceInputs["status"] = undefined /*out*/;
87
+ resourceInputs["updateTime"] = undefined /*out*/;
88
+ }
89
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
90
+ super(Acl.__pulumiType, name, resourceInputs, opts);
91
+ }
92
+ }
93
+ exports.Acl = Acl;
94
+ /** @internal */
95
+ Acl.__pulumiType = 'volcenginecc:alb/acl:Acl';
96
+ //# sourceMappingURL=acl.js.map
package/alb/acl.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acl.js","sourceRoot":"","sources":["../../alb/acl.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,81 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::ALB::ACL
5
+ */
6
+ export declare function getAcl(args: GetAclArgs, opts?: pulumi.InvokeOptions): Promise<GetAclResult>;
7
+ /**
8
+ * A collection of arguments for invoking getAcl.
9
+ */
10
+ export interface GetAclArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getAcl.
18
+ */
19
+ export interface GetAclResult {
20
+ /**
21
+ * 访问控制策略组中IP条目的详细信息。
22
+ */
23
+ readonly aclEntries: outputs.alb.GetAclAclEntry[];
24
+ /**
25
+ * 访问控制策略组包含的IP条目数量。
26
+ */
27
+ readonly aclEntryCount: number;
28
+ /**
29
+ * 访问控制策略组的ID。
30
+ */
31
+ readonly aclId: string;
32
+ /**
33
+ * 访问控制策略组的名字。不能以http://或https://开头。必须以字母或中文开头,可包含数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不填默认为访问控制策略组ID。
34
+ */
35
+ readonly aclName: string;
36
+ /**
37
+ * 访问控制策略组的创建时间。
38
+ */
39
+ readonly createTime: string;
40
+ /**
41
+ * 访问控制策略组的描述。不能以http://或https://开头。必须以字母或中文开头,可包含数字、英文逗号(,)、点号.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。) 。长度限制为1 ~ 255个字符。不填默认为空字符串。
42
+ */
43
+ readonly description: string;
44
+ /**
45
+ * Uniquely identifies the resource.
46
+ */
47
+ readonly id: string;
48
+ /**
49
+ * 访问控制策略组关联的监听器详细信息。
50
+ */
51
+ readonly listeners: outputs.alb.GetAclListener[];
52
+ /**
53
+ * 访问控制策略组所属项目名称。
54
+ */
55
+ readonly projectName: string;
56
+ /**
57
+ * 访问控制策略组的状态。Creating:创建中。Active:正常可用。Configuring:配置中。Deleting:删除中。
58
+ */
59
+ readonly status: string;
60
+ /**
61
+ * 访问控制策略组绑定的标签。
62
+ */
63
+ readonly tags: outputs.alb.GetAclTag[];
64
+ /**
65
+ * 访问控制策略组的最近操作时间。
66
+ */
67
+ readonly updateTime: string;
68
+ }
69
+ /**
70
+ * Data Source schema for Volcengine::ALB::ACL
71
+ */
72
+ export declare function getAclOutput(args: GetAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAclResult>;
73
+ /**
74
+ * A collection of arguments for invoking getAcl.
75
+ */
76
+ export interface GetAclOutputArgs {
77
+ /**
78
+ * Uniquely identifies the resource.
79
+ */
80
+ id: pulumi.Input<string>;
81
+ }
package/alb/getAcl.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.getAclOutput = exports.getAcl = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::ALB::ACL
10
+ */
11
+ function getAcl(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:alb/getAcl:getAcl", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getAcl = getAcl;
18
+ /**
19
+ * Data Source schema for Volcengine::ALB::ACL
20
+ */
21
+ function getAclOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:alb/getAcl:getAcl", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getAclOutput = getAclOutput;
28
+ //# sourceMappingURL=getAcl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAcl.js","sourceRoot":"","sources":["../../alb/getAcl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AAiED;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::ALB::ACL
4
+ */
5
+ export declare function getAcls(opts?: pulumi.InvokeOptions): Promise<GetAclsResult>;
6
+ /**
7
+ * A collection of values returned by getAcls.
8
+ */
9
+ export interface GetAclsResult {
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::ALB::ACL
21
+ */
22
+ export declare function getAclsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAclsResult>;
package/alb/getAcls.js ADDED
@@ -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.getAclsOutput = exports.getAcls = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::ALB::ACL
10
+ */
11
+ function getAcls(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:alb/getAcls:getAcls", {}, opts);
14
+ }
15
+ exports.getAcls = getAcls;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::ALB::ACL
18
+ */
19
+ function getAclsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:alb/getAcls:getAcls", {}, opts);
22
+ }
23
+ exports.getAclsOutput = getAclsOutput;
24
+ //# sourceMappingURL=getAcls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAcls.js","sourceRoot":"","sources":["../../alb/getAcls.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE,EAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAeD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
@@ -0,0 +1,157 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::ALB::Listener
5
+ */
6
+ export declare function getListener(args: GetListenerArgs, opts?: pulumi.InvokeOptions): Promise<GetListenerResult>;
7
+ /**
8
+ * A collection of arguments for invoking getListener.
9
+ */
10
+ export interface GetListenerArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getListener.
18
+ */
19
+ export interface GetListenerResult {
20
+ /**
21
+ * 监听器是否已开启“在访问日志中记录自定义header”的功能:on:表示该功能已开启。off:表示该功能未开启。
22
+ */
23
+ readonly accessLogRecordCustomizedHeadersEnabled: string;
24
+ /**
25
+ * 监听器绑定的访问控制策略组 ID。当AclStatus参数配置为 on 时,AclIds为必填参数。
26
+ */
27
+ readonly aclIds: string[];
28
+ /**
29
+ * 是否开启访问控制功能。取值如下:on:开启。off :不开启(默认)。
30
+ */
31
+ readonly aclStatus: string;
32
+ /**
33
+ * 访问控制的方式,取值如下:white:白名单方式。表示监听器仅转发来自所选访问控制策略组中设置的IP地址或地址段的请求。 如果所选策略组中没有添加任何IP,则监听器不会转发任何请求。black:黑名单方式。表示仅拒绝来自所选访问控制策略组中设置的IP地址或地址段的请求。 如果所选策略组中没有添加任何IP,则监听器会转发全部请求。当AclStatus参数配置为 on 时,AclType为必填参数。
34
+ */
35
+ readonly aclType: string;
36
+ /**
37
+ * HTTPS 监听器关联的 CA 证书 ID。该参数用于 HTTPS 监听器的双向认证。当证书来源是 alb 时,必须指定 CACertificateId 参数。
38
+ */
39
+ readonly caCertificateId: string;
40
+ /**
41
+ * HTTPS 监听器关联的 CA 证书的来源,用于双向认证。alb(默认):表示通过 ALB 上传的证书。标准版 ALB 实例不支持此来源的证书。pca*root:表示通过火山引擎证书中心购买或上传的私有根 CA 证书。pca*sub:表示通过火山引擎证书中心购买或上传的私有子 CA 证书。
42
+ */
43
+ readonly caCertificateSource: string;
44
+ /**
45
+ * HTTPS监听器关联的证书 ID。创建 HTTPS 监听器且证书来源为 certCenter 时必传。
46
+ */
47
+ readonly certCenterCertificateId: string;
48
+ /**
49
+ * HTTPS监听器关联的证书 ID。创建 HTTPS 监听器且证书来源为 alb 时必传。
50
+ */
51
+ readonly certificateId: string;
52
+ /**
53
+ * HTTPS监听器关联的默认证书的来源,取值:alb:表示通过 ALB 上传的证书。cert*center:表示通过火山引擎证书中心购买或上传的 SSL 证书。pca*leaf:表示通过火山引擎证书中心购买或上传的私有叶子证书。
54
+ */
55
+ readonly certificateSource: string;
56
+ /**
57
+ * 监听器的创建时间。
58
+ */
59
+ readonly createdTime: string;
60
+ /**
61
+ * 个性化配置ID,未绑定时值为空字符串。
62
+ */
63
+ readonly customizedCfgId: string;
64
+ /**
65
+ * 监听器的描述。不能以http://或https://开头。必须以字母或中文开头,可包含数字、英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。) 。长度限制为1 ~ 255个字符。不填默认为空字符串。
66
+ */
67
+ readonly description: string;
68
+ /**
69
+ * HTTPS监听器关联的扩展域名列表。一个HTTPS监听器能关联的扩展域名上限为20个。
70
+ */
71
+ readonly domainExtensions: outputs.alb.GetListenerDomainExtension[];
72
+ /**
73
+ * HTTP2.0 特性开关,该参数仅对 HTTPS 监听器有效。取值如下:on:开启。off:关闭(默认)。
74
+ */
75
+ readonly enableHttp2: string;
76
+ /**
77
+ * QUIC 特性开关,该参数仅对 HTTPS 监听器有效,取值如下:on:开启。off:关闭(默认)。只有标准版 ALB 实例支持 QUIC。
78
+ */
79
+ readonly enableQuic: string;
80
+ /**
81
+ * 监听器开启/关闭,取值如下:on:开启(默认)。off:关闭。
82
+ */
83
+ readonly enabled: string;
84
+ /**
85
+ * Uniquely identifies the resource.
86
+ */
87
+ readonly id: string;
88
+ /**
89
+ * 监听器 ID。
90
+ */
91
+ readonly listenerId: string;
92
+ /**
93
+ * 监听器的名字。不填写时以“协议-端口”格式命名。不能以http://或https://开头。必须以字母或中文开头,可包含数字、点(.)、下划线(_)和短横线(-)。长度限制在1-128字符之间。
94
+ */
95
+ readonly listenerName: string;
96
+ /**
97
+ * 监听器所属的负载均衡实例 ID。
98
+ */
99
+ readonly loadBalancerId: string;
100
+ /**
101
+ * HTTPS监听器关联的私有叶子证书 ID。创建 HTTPS 监听器且证书来源为 pcaLeaf 时必传。
102
+ */
103
+ readonly pcaLeafCertificateId: string;
104
+ /**
105
+ * HTTPS 监听器关联的 CA 证书 ID。该参数用于 HTTPS 监听器的双向认证。当证书来源是 pcaRoot 时,必须指定 PcaRootCACertificateId 参数。
106
+ */
107
+ readonly pcaRootCaCertificateId: string;
108
+ /**
109
+ * HTTPS 监听器关联的 CA 证书 ID。该参数用于 HTTPS 监听器的双向认证。当证书来源是 pcaSub 时,必须指定 PcaSubCACertificateId 参数。
110
+ */
111
+ readonly pcaSubCaCertificateId: string;
112
+ /**
113
+ * 监听器的监听端口,取值:1 - 65535 。
114
+ */
115
+ readonly port: number;
116
+ /**
117
+ * 监听器所属项目名称。
118
+ */
119
+ readonly projectName: string;
120
+ /**
121
+ * 监听器的协议,支持 HTTP 协议和 HTTPS 协议。
122
+ */
123
+ readonly protocol: string;
124
+ /**
125
+ * 监听器的默认服务器组。
126
+ */
127
+ readonly serverGroupId: string;
128
+ /**
129
+ * 关联监听器的所有服务器组。
130
+ */
131
+ readonly serverGroups: outputs.alb.GetListenerServerGroup[];
132
+ /**
133
+ * 监听器的状态。取值如下:Creating:创建中。Active: 运行中。Pending: 变配中。Disabled:已停止。Deleting:删除中。
134
+ */
135
+ readonly status: string;
136
+ /**
137
+ * 监听器所属标签。
138
+ */
139
+ readonly tags: outputs.alb.GetListenerTag[];
140
+ /**
141
+ * 监听器最近一次的操作时间。
142
+ */
143
+ readonly updatedTime: string;
144
+ }
145
+ /**
146
+ * Data Source schema for Volcengine::ALB::Listener
147
+ */
148
+ export declare function getListenerOutput(args: GetListenerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetListenerResult>;
149
+ /**
150
+ * A collection of arguments for invoking getListener.
151
+ */
152
+ export interface GetListenerOutputArgs {
153
+ /**
154
+ * Uniquely identifies the resource.
155
+ */
156
+ id: pulumi.Input<string>;
157
+ }
@@ -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.getListenerOutput = exports.getListener = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::ALB::Listener
10
+ */
11
+ function getListener(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:alb/getListener:getListener", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getListener = getListener;
18
+ /**
19
+ * Data Source schema for Volcengine::ALB::Listener
20
+ */
21
+ function getListenerOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:alb/getListener:getListener", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getListenerOutput = getListenerOutput;
28
+ //# sourceMappingURL=getListener.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getListener.js","sourceRoot":"","sources":["../../alb/getListener.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AA6ID;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::ALB::Listener
4
+ */
5
+ export declare function getListeners(opts?: pulumi.InvokeOptions): Promise<GetListenersResult>;
6
+ /**
7
+ * A collection of values returned by getListeners.
8
+ */
9
+ export interface GetListenersResult {
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::ALB::Listener
21
+ */
22
+ export declare function getListenersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetListenersResult>;
@@ -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.getListenersOutput = exports.getListeners = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::ALB::Listener
10
+ */
11
+ function getListeners(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:alb/getListeners:getListeners", {}, opts);
14
+ }
15
+ exports.getListeners = getListeners;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::ALB::Listener
18
+ */
19
+ function getListenersOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:alb/getListeners:getListeners", {}, opts);
22
+ }
23
+ exports.getListenersOutput = getListenersOutput;
24
+ //# sourceMappingURL=getListeners.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getListeners.js","sourceRoot":"","sources":["../../alb/getListeners.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,4CAA4C,EAAE,EAC1E,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,4CAA4C,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC"}