@byteplus/pulumi-bytepluscc 0.0.7 → 0.0.11

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 (361) hide show
  1. package/alb/acl.d.ts +152 -0
  2. package/alb/acl.js +98 -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/getLoadBalancer.d.ts +153 -0
  11. package/alb/getLoadBalancer.js +28 -0
  12. package/alb/getLoadBalancer.js.map +1 -0
  13. package/alb/getLoadBalancers.d.ts +22 -0
  14. package/alb/getLoadBalancers.js +24 -0
  15. package/alb/getLoadBalancers.js.map +1 -0
  16. package/alb/getServerGroup.d.ts +109 -0
  17. package/alb/getServerGroup.js +28 -0
  18. package/alb/getServerGroup.js.map +1 -0
  19. package/alb/getServerGroups.d.ts +22 -0
  20. package/alb/getServerGroups.js +24 -0
  21. package/alb/getServerGroups.js.map +1 -0
  22. package/alb/index.d.ts +27 -0
  23. package/alb/index.js +34 -1
  24. package/alb/index.js.map +1 -1
  25. package/alb/loadBalancer.d.ts +341 -0
  26. package/alb/loadBalancer.js +120 -0
  27. package/alb/loadBalancer.js.map +1 -0
  28. package/alb/serverGroup.d.ts +219 -0
  29. package/alb/serverGroup.js +95 -0
  30. package/alb/serverGroup.js.map +1 -0
  31. package/autoscaling/getScalingConfiguration.d.ts +4 -1
  32. package/autoscaling/getScalingConfiguration.js.map +1 -1
  33. package/autoscaling/scalingConfiguration.d.ts +3 -3
  34. package/bmq/getGroup.d.ts +77 -0
  35. package/bmq/getGroup.js +28 -0
  36. package/bmq/getGroup.js.map +1 -0
  37. package/bmq/getGroups.d.ts +22 -0
  38. package/bmq/getGroups.js +24 -0
  39. package/bmq/getGroups.js.map +1 -0
  40. package/bmq/group.d.ts +137 -0
  41. package/bmq/group.js +76 -0
  42. package/bmq/group.js.map +1 -0
  43. package/bmq/index.d.ts +9 -0
  44. package/bmq/index.js +12 -1
  45. package/bmq/index.js.map +1 -1
  46. package/cdn/getShareConfig.d.ts +1 -1
  47. package/cdn/shareConfig.d.ts +3 -3
  48. package/cdn/shareConfig.js +2 -2
  49. package/cdn/shareConfig.js.map +1 -1
  50. package/clb/acl.d.ts +166 -0
  51. package/clb/acl.js +107 -0
  52. package/clb/acl.js.map +1 -0
  53. package/clb/certificate.d.ts +187 -0
  54. package/clb/certificate.js +109 -0
  55. package/clb/certificate.js.map +1 -0
  56. package/clb/getAcl.d.ts +85 -0
  57. package/clb/getAcl.js +28 -0
  58. package/clb/getAcl.js.map +1 -0
  59. package/clb/getAcls.d.ts +22 -0
  60. package/clb/getAcls.js +24 -0
  61. package/clb/getAcls.js.map +1 -0
  62. package/clb/getCertificate.d.ts +89 -0
  63. package/clb/getCertificate.js +28 -0
  64. package/clb/getCertificate.js.map +1 -0
  65. package/clb/getCertificates.d.ts +22 -0
  66. package/clb/getCertificates.js +24 -0
  67. package/clb/getCertificates.js.map +1 -0
  68. package/clb/getListener.d.ts +5 -1
  69. package/clb/getListener.js.map +1 -1
  70. package/clb/getNlb.d.ts +141 -0
  71. package/clb/getNlb.js +28 -0
  72. package/clb/getNlb.js.map +1 -0
  73. package/clb/getNlbListener.d.ts +109 -0
  74. package/clb/getNlbListener.js +28 -0
  75. package/clb/getNlbListener.js.map +1 -0
  76. package/clb/getNlbListeners.d.ts +22 -0
  77. package/clb/getNlbListeners.js +24 -0
  78. package/clb/getNlbListeners.js.map +1 -0
  79. package/clb/getNlbServerGroup.d.ts +145 -0
  80. package/clb/getNlbServerGroup.js +28 -0
  81. package/clb/getNlbServerGroup.js.map +1 -0
  82. package/clb/getNlbServerGroups.d.ts +22 -0
  83. package/clb/getNlbServerGroups.js +24 -0
  84. package/clb/getNlbServerGroups.js.map +1 -0
  85. package/clb/getNlbs.d.ts +22 -0
  86. package/clb/getNlbs.js +24 -0
  87. package/clb/getNlbs.js.map +1 -0
  88. package/clb/getServerGroup.d.ts +85 -0
  89. package/clb/getServerGroup.js +28 -0
  90. package/clb/getServerGroup.js.map +1 -0
  91. package/clb/getServerGroups.d.ts +22 -0
  92. package/clb/getServerGroups.js +24 -0
  93. package/clb/getServerGroups.js.map +1 -0
  94. package/clb/index.d.ts +54 -0
  95. package/clb/index.js +67 -1
  96. package/clb/index.js.map +1 -1
  97. package/clb/listener.d.ts +11 -3
  98. package/clb/listener.js +2 -0
  99. package/clb/listener.js.map +1 -1
  100. package/clb/nlb.d.ts +297 -0
  101. package/clb/nlb.js +120 -0
  102. package/clb/nlb.js.map +1 -0
  103. package/clb/nlbListener.d.ts +251 -0
  104. package/clb/nlbListener.js +126 -0
  105. package/clb/nlbListener.js.map +1 -0
  106. package/clb/nlbServerGroup.d.ts +325 -0
  107. package/clb/nlbServerGroup.js +116 -0
  108. package/clb/nlbServerGroup.js.map +1 -0
  109. package/clb/serverGroup.d.ts +151 -0
  110. package/clb/serverGroup.js +83 -0
  111. package/clb/serverGroup.js.map +1 -0
  112. package/cloudmonitor/getRule.d.ts +169 -0
  113. package/cloudmonitor/getRule.js +28 -0
  114. package/cloudmonitor/getRule.js.map +1 -0
  115. package/cloudmonitor/getRules.d.ts +22 -0
  116. package/cloudmonitor/getRules.js +24 -0
  117. package/cloudmonitor/getRules.js.map +1 -0
  118. package/cloudmonitor/index.d.ts +9 -0
  119. package/cloudmonitor/index.js +28 -0
  120. package/cloudmonitor/index.js.map +1 -0
  121. package/cloudmonitor/rule.d.ts +387 -0
  122. package/cloudmonitor/rule.js +152 -0
  123. package/cloudmonitor/rule.js.map +1 -0
  124. package/cr/getNameSpace.d.ts +52 -0
  125. package/cr/getNameSpace.js +28 -0
  126. package/cr/getNameSpace.js.map +1 -0
  127. package/cr/getNameSpaces.d.ts +22 -0
  128. package/cr/getNameSpaces.js +24 -0
  129. package/cr/getNameSpaces.js.map +1 -0
  130. package/cr/getRegistries.d.ts +22 -0
  131. package/cr/getRegistries.js +24 -0
  132. package/cr/getRegistries.js.map +1 -0
  133. package/cr/getRegistry.d.ts +81 -0
  134. package/cr/getRegistry.js +28 -0
  135. package/cr/getRegistry.js.map +1 -0
  136. package/cr/index.d.ts +18 -0
  137. package/cr/index.js +23 -1
  138. package/cr/index.js.map +1 -1
  139. package/cr/nameSpace.d.ts +102 -0
  140. package/cr/nameSpace.js +83 -0
  141. package/cr/nameSpace.js.map +1 -0
  142. package/cr/registry.d.ts +159 -0
  143. package/cr/registry.js +98 -0
  144. package/cr/registry.js.map +1 -0
  145. package/directconnect/directConnectGateway.d.ts +202 -0
  146. package/directconnect/directConnectGateway.js +106 -0
  147. package/directconnect/directConnectGateway.js.map +1 -0
  148. package/directconnect/getDirectConnectGateway.d.ts +101 -0
  149. package/directconnect/getDirectConnectGateway.js +28 -0
  150. package/directconnect/getDirectConnectGateway.js.map +1 -0
  151. package/directconnect/getDirectConnectGateways.d.ts +22 -0
  152. package/directconnect/getDirectConnectGateways.js +24 -0
  153. package/directconnect/getDirectConnectGateways.js.map +1 -0
  154. package/directconnect/index.d.ts +9 -0
  155. package/directconnect/index.js +28 -0
  156. package/directconnect/index.js.map +1 -0
  157. package/ecs/command.d.ts +213 -0
  158. package/ecs/command.js +99 -0
  159. package/ecs/command.js.map +1 -0
  160. package/ecs/getCommand.d.ts +105 -0
  161. package/ecs/getCommand.js +28 -0
  162. package/ecs/getCommand.js.map +1 -0
  163. package/ecs/getCommands.d.ts +22 -0
  164. package/ecs/getCommands.js +24 -0
  165. package/ecs/getCommands.js.map +1 -0
  166. package/ecs/getInvocation.d.ts +149 -0
  167. package/ecs/getInvocation.js +28 -0
  168. package/ecs/getInvocation.js.map +1 -0
  169. package/ecs/getInvocations.d.ts +22 -0
  170. package/ecs/getInvocations.js +24 -0
  171. package/ecs/getInvocations.js.map +1 -0
  172. package/ecs/getKeypair.d.ts +77 -0
  173. package/ecs/getKeypair.js +28 -0
  174. package/ecs/getKeypair.js.map +1 -0
  175. package/ecs/getKeypairs.d.ts +22 -0
  176. package/ecs/getKeypairs.js +24 -0
  177. package/ecs/getKeypairs.js.map +1 -0
  178. package/ecs/index.d.ts +27 -0
  179. package/ecs/index.js +34 -1
  180. package/ecs/index.js.map +1 -1
  181. package/ecs/invocation.d.ts +338 -0
  182. package/ecs/invocation.js +149 -0
  183. package/ecs/invocation.js.map +1 -0
  184. package/ecs/keypair.d.ts +159 -0
  185. package/ecs/keypair.js +96 -0
  186. package/ecs/keypair.js.map +1 -0
  187. package/filenas/getInstance.d.ts +109 -0
  188. package/filenas/getInstance.js +28 -0
  189. package/filenas/getInstance.js.map +1 -0
  190. package/filenas/getInstances.d.ts +22 -0
  191. package/filenas/getInstances.js +24 -0
  192. package/filenas/getInstances.js.map +1 -0
  193. package/filenas/getSnapshot.d.ts +92 -0
  194. package/filenas/getSnapshot.js +28 -0
  195. package/filenas/getSnapshot.js.map +1 -0
  196. package/filenas/getSnapshots.d.ts +22 -0
  197. package/filenas/getSnapshots.js +24 -0
  198. package/filenas/getSnapshots.js.map +1 -0
  199. package/filenas/index.d.ts +18 -0
  200. package/filenas/index.js +39 -0
  201. package/filenas/index.js.map +1 -0
  202. package/filenas/instance.d.ts +248 -0
  203. package/filenas/instance.js +125 -0
  204. package/filenas/instance.js.map +1 -0
  205. package/filenas/snapshot.d.ts +182 -0
  206. package/filenas/snapshot.js +103 -0
  207. package/filenas/snapshot.js.map +1 -0
  208. package/{firewallcenter → fwcenter}/dnsControlPolicy.d.ts +6 -6
  209. package/{firewallcenter → fwcenter}/dnsControlPolicy.js +2 -2
  210. package/fwcenter/dnsControlPolicy.js.map +1 -0
  211. package/{firewallcenter → fwcenter}/getDnsControlPolicies.d.ts +2 -2
  212. package/{firewallcenter → fwcenter}/getDnsControlPolicies.js +4 -4
  213. package/fwcenter/getDnsControlPolicies.js.map +1 -0
  214. package/{firewallcenter → fwcenter}/getDnsControlPolicy.d.ts +4 -4
  215. package/{firewallcenter → fwcenter}/getDnsControlPolicy.js +4 -4
  216. package/fwcenter/getDnsControlPolicy.js.map +1 -0
  217. package/{firewallcenter → fwcenter}/index.js +2 -2
  218. package/fwcenter/index.js.map +1 -0
  219. package/iam/getGroup.d.ts +73 -0
  220. package/iam/getGroup.js +28 -0
  221. package/iam/getGroup.js.map +1 -0
  222. package/iam/getGroups.d.ts +22 -0
  223. package/iam/getGroups.js +24 -0
  224. package/iam/getGroups.js.map +1 -0
  225. package/iam/group.d.ts +121 -0
  226. package/iam/group.js +77 -0
  227. package/iam/group.js.map +1 -0
  228. package/iam/index.d.ts +9 -0
  229. package/iam/index.js +12 -1
  230. package/iam/index.js.map +1 -1
  231. package/iam/policy.d.ts +0 -4
  232. package/iam/policy.js +1 -1
  233. package/iam/policy.js.map +1 -1
  234. package/index.d.ts +8 -2
  235. package/index.js +15 -3
  236. package/index.js.map +1 -1
  237. package/package.json +1 -1
  238. package/rdsmysql/database.d.ts +106 -0
  239. package/rdsmysql/database.js +74 -0
  240. package/rdsmysql/database.js.map +1 -0
  241. package/rdsmysql/getDatabase.d.ts +61 -0
  242. package/rdsmysql/getDatabase.js +28 -0
  243. package/rdsmysql/getDatabase.js.map +1 -0
  244. package/rdsmysql/getDatabases.d.ts +22 -0
  245. package/rdsmysql/getDatabases.js +24 -0
  246. package/rdsmysql/getDatabases.js.map +1 -0
  247. package/rdsmysql/index.d.ts +9 -0
  248. package/rdsmysql/index.js +12 -1
  249. package/rdsmysql/index.js.map +1 -1
  250. package/transitrouter/getTransitRouter.d.ts +93 -0
  251. package/transitrouter/getTransitRouter.js +28 -0
  252. package/transitrouter/getTransitRouter.js.map +1 -0
  253. package/transitrouter/getTransitRouterRouteEntries.d.ts +22 -0
  254. package/transitrouter/getTransitRouterRouteEntries.js +24 -0
  255. package/transitrouter/getTransitRouterRouteEntries.js.map +1 -0
  256. package/transitrouter/getTransitRouterRouteEntry.d.ts +84 -0
  257. package/transitrouter/getTransitRouterRouteEntry.js +28 -0
  258. package/transitrouter/getTransitRouterRouteEntry.js.map +1 -0
  259. package/transitrouter/getTransitRouterRouteTable.d.ts +81 -0
  260. package/transitrouter/getTransitRouterRouteTable.js +28 -0
  261. package/transitrouter/getTransitRouterRouteTable.js.map +1 -0
  262. package/transitrouter/getTransitRouterRouteTables.d.ts +22 -0
  263. package/transitrouter/getTransitRouterRouteTables.js +24 -0
  264. package/transitrouter/getTransitRouterRouteTables.js.map +1 -0
  265. package/transitrouter/getTransitRouters.d.ts +22 -0
  266. package/transitrouter/getTransitRouters.js +24 -0
  267. package/transitrouter/getTransitRouters.js.map +1 -0
  268. package/transitrouter/index.d.ts +27 -0
  269. package/transitrouter/index.js +50 -0
  270. package/transitrouter/index.js.map +1 -0
  271. package/transitrouter/transitRouter.d.ts +182 -0
  272. package/transitrouter/transitRouter.js +102 -0
  273. package/transitrouter/transitRouter.js.map +1 -0
  274. package/transitrouter/transitRouterRouteEntry.d.ts +165 -0
  275. package/transitrouter/transitRouterRouteEntry.js +89 -0
  276. package/transitrouter/transitRouterRouteEntry.js.map +1 -0
  277. package/transitrouter/transitRouterRouteTable.d.ts +159 -0
  278. package/transitrouter/transitRouterRouteTable.js +98 -0
  279. package/transitrouter/transitRouterRouteTable.js.map +1 -0
  280. package/types/input.d.ts +1590 -32
  281. package/types/output.d.ts +6263 -2939
  282. package/vefaas/kafkaTrigger.d.ts +1 -1
  283. package/vefaas/kafkaTrigger.js +3 -0
  284. package/vefaas/kafkaTrigger.js.map +1 -1
  285. package/vmp/getWorkspace.d.ts +109 -0
  286. package/vmp/getWorkspace.js +28 -0
  287. package/vmp/getWorkspace.js.map +1 -0
  288. package/vmp/getWorkspaces.d.ts +22 -0
  289. package/vmp/getWorkspaces.js +24 -0
  290. package/vmp/getWorkspaces.js.map +1 -0
  291. package/vmp/index.d.ts +9 -0
  292. package/vmp/index.js +28 -0
  293. package/vmp/index.js.map +1 -0
  294. package/vmp/workspace.d.ts +235 -0
  295. package/vmp/workspace.js +119 -0
  296. package/vmp/workspace.js.map +1 -0
  297. package/vpc/bandwidthPackage.d.ts +257 -0
  298. package/vpc/bandwidthPackage.js +103 -0
  299. package/vpc/bandwidthPackage.js.map +1 -0
  300. package/vpc/eip.d.ts +382 -0
  301. package/vpc/eip.js +125 -0
  302. package/vpc/eip.js.map +1 -0
  303. package/vpc/getBandwidthPackage.d.ts +125 -0
  304. package/vpc/getBandwidthPackage.js +28 -0
  305. package/vpc/getBandwidthPackage.js.map +1 -0
  306. package/vpc/getBandwidthPackages.d.ts +22 -0
  307. package/vpc/getBandwidthPackages.js +24 -0
  308. package/vpc/getBandwidthPackages.js.map +1 -0
  309. package/vpc/getEip.d.ts +169 -0
  310. package/vpc/getEip.js +28 -0
  311. package/vpc/getEip.js.map +1 -0
  312. package/vpc/getEips.d.ts +22 -0
  313. package/vpc/getEips.js +24 -0
  314. package/vpc/getEips.js.map +1 -0
  315. package/vpc/getNetworkAcl.d.ts +93 -0
  316. package/vpc/getNetworkAcl.js +28 -0
  317. package/vpc/getNetworkAcl.js.map +1 -0
  318. package/vpc/getNetworkAcls.d.ts +22 -0
  319. package/vpc/getNetworkAcls.js +24 -0
  320. package/vpc/getNetworkAcls.js.map +1 -0
  321. package/vpc/getPrefixList.d.ts +93 -0
  322. package/vpc/getPrefixList.js +28 -0
  323. package/vpc/getPrefixList.js.map +1 -0
  324. package/vpc/getPrefixLists.d.ts +22 -0
  325. package/vpc/getPrefixLists.js +24 -0
  326. package/vpc/getPrefixLists.js.map +1 -0
  327. package/vpc/getRouteTable.d.ts +105 -0
  328. package/vpc/getRouteTable.js +28 -0
  329. package/vpc/getRouteTable.js.map +1 -0
  330. package/vpc/getRouteTables.d.ts +22 -0
  331. package/vpc/getRouteTables.js +24 -0
  332. package/vpc/getRouteTables.js.map +1 -0
  333. package/vpc/index.d.ts +45 -0
  334. package/vpc/index.js +56 -1
  335. package/vpc/index.js.map +1 -1
  336. package/vpc/networkAcl.d.ts +143 -0
  337. package/vpc/networkAcl.js +87 -0
  338. package/vpc/networkAcl.js.map +1 -0
  339. package/vpc/prefixList.d.ts +180 -0
  340. package/vpc/prefixList.js +110 -0
  341. package/vpc/prefixList.js.map +1 -0
  342. package/vpc/routeTable.d.ts +199 -0
  343. package/vpc/routeTable.js +93 -0
  344. package/vpc/routeTable.js.map +1 -0
  345. package/vpn/getVpnGateway.d.ts +165 -0
  346. package/vpn/getVpnGateway.js +28 -0
  347. package/vpn/getVpnGateway.js.map +1 -0
  348. package/vpn/getVpnGateways.d.ts +22 -0
  349. package/vpn/getVpnGateways.js +24 -0
  350. package/vpn/getVpnGateways.js.map +1 -0
  351. package/vpn/index.d.ts +9 -0
  352. package/vpn/index.js +28 -0
  353. package/vpn/index.js.map +1 -0
  354. package/vpn/vpnGateway.d.ts +389 -0
  355. package/vpn/vpnGateway.js +152 -0
  356. package/vpn/vpnGateway.js.map +1 -0
  357. package/firewallcenter/dnsControlPolicy.js.map +0 -1
  358. package/firewallcenter/getDnsControlPolicies.js.map +0 -1
  359. package/firewallcenter/getDnsControlPolicy.js.map +0 -1
  360. package/firewallcenter/index.js.map +0 -1
  361. /package/{firewallcenter → fwcenter}/index.d.ts +0 -0
package/alb/acl.d.ts ADDED
@@ -0,0 +1,152 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ALB提供监听级别的访问控制,如果您希望仅允许某些IP、或仅拒绝某些IP通过监听端口访问ALB实例,可以对该监听器设置访问控制策略。您可以在创建监听器时配置访问控制,也可以在监听器创建后修改或重新配置访问控制。
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
12
+ *
13
+ * const albAclDemo = new bytepluscc.alb.Acl("AlbAclDemo", {
14
+ * aclName: "AlbAclDemo",
15
+ * projectName: "default",
16
+ * aclEntries: [{
17
+ * description: "AlbAclDemo description",
18
+ * entry: "1.1.1.1/32",
19
+ * }],
20
+ * tags: [{
21
+ * key: "env",
22
+ * value: "test",
23
+ * }],
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * ```sh
30
+ * $ pulumi import bytepluscc:alb/acl:Acl example "acl_id"
31
+ * ```
32
+ */
33
+ export declare class Acl extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing Acl resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AclState, opts?: pulumi.CustomResourceOptions): Acl;
44
+ /**
45
+ * Returns true if the given object is an instance of Acl. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is Acl;
49
+ readonly aclEntries: pulumi.Output<outputs.alb.AclAclEntry[]>;
50
+ /**
51
+ * 访问控制策略组包含的IP条目数量。
52
+ */
53
+ readonly aclEntryCount: pulumi.Output<number>;
54
+ /**
55
+ * 访问控制策略组的ID。
56
+ */
57
+ readonly aclId: pulumi.Output<string>;
58
+ /**
59
+ * 访问控制策略组的名字。不能以http://或https://开头。必须以字母或中文开头,可包含数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不填默认为访问控制策略组ID。
60
+ */
61
+ readonly aclName: pulumi.Output<string>;
62
+ /**
63
+ * 访问控制策略组的创建时间。
64
+ */
65
+ readonly createdTime: pulumi.Output<string>;
66
+ /**
67
+ * 访问控制策略组的描述。不能以http://或https://开头。必须以字母或中文开头,可包含数字、英文逗号(,)、点号.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。) 。长度限制为1 ~ 255个字符。不填默认为空字符串。
68
+ */
69
+ readonly description: pulumi.Output<string>;
70
+ readonly listeners: pulumi.Output<outputs.alb.AclListener[]>;
71
+ /**
72
+ * 访问控制策略组所属项目名称。
73
+ */
74
+ readonly projectName: pulumi.Output<string>;
75
+ /**
76
+ * 访问控制策略组的状态。Creating:创建中。Active:正常可用。Configuring:配置中。Deleting:删除中。
77
+ */
78
+ readonly status: pulumi.Output<string>;
79
+ readonly tags: pulumi.Output<outputs.alb.AclTag[]>;
80
+ /**
81
+ * 访问控制策略组的最近操作时间。
82
+ */
83
+ readonly updatedTime: pulumi.Output<string>;
84
+ /**
85
+ * Create a Acl resource with the given unique name, arguments, and options.
86
+ *
87
+ * @param name The _unique_ name of the resource.
88
+ * @param args The arguments to use to populate this resource's properties.
89
+ * @param opts A bag of options that control this resource's behavior.
90
+ */
91
+ constructor(name: string, args?: AclArgs, opts?: pulumi.CustomResourceOptions);
92
+ }
93
+ /**
94
+ * Input properties used for looking up and filtering Acl resources.
95
+ */
96
+ export interface AclState {
97
+ aclEntries?: pulumi.Input<pulumi.Input<inputs.alb.AclAclEntry>[]>;
98
+ /**
99
+ * 访问控制策略组包含的IP条目数量。
100
+ */
101
+ aclEntryCount?: pulumi.Input<number>;
102
+ /**
103
+ * 访问控制策略组的ID。
104
+ */
105
+ aclId?: pulumi.Input<string>;
106
+ /**
107
+ * 访问控制策略组的名字。不能以http://或https://开头。必须以字母或中文开头,可包含数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不填默认为访问控制策略组ID。
108
+ */
109
+ aclName?: pulumi.Input<string>;
110
+ /**
111
+ * 访问控制策略组的创建时间。
112
+ */
113
+ createdTime?: pulumi.Input<string>;
114
+ /**
115
+ * 访问控制策略组的描述。不能以http://或https://开头。必须以字母或中文开头,可包含数字、英文逗号(,)、点号.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。) 。长度限制为1 ~ 255个字符。不填默认为空字符串。
116
+ */
117
+ description?: pulumi.Input<string>;
118
+ listeners?: pulumi.Input<pulumi.Input<inputs.alb.AclListener>[]>;
119
+ /**
120
+ * 访问控制策略组所属项目名称。
121
+ */
122
+ projectName?: pulumi.Input<string>;
123
+ /**
124
+ * 访问控制策略组的状态。Creating:创建中。Active:正常可用。Configuring:配置中。Deleting:删除中。
125
+ */
126
+ status?: pulumi.Input<string>;
127
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclTag>[]>;
128
+ /**
129
+ * 访问控制策略组的最近操作时间。
130
+ */
131
+ updatedTime?: pulumi.Input<string>;
132
+ }
133
+ /**
134
+ * The set of arguments for constructing a Acl resource.
135
+ */
136
+ export interface AclArgs {
137
+ aclEntries?: pulumi.Input<pulumi.Input<inputs.alb.AclAclEntry>[]>;
138
+ /**
139
+ * 访问控制策略组的名字。不能以http://或https://开头。必须以字母或中文开头,可包含数字、点号(.)、下划线(_)和短横线(-)。长度限制为1 ~ 128个字符。不填默认为访问控制策略组ID。
140
+ */
141
+ aclName?: pulumi.Input<string>;
142
+ /**
143
+ * 访问控制策略组的描述。不能以http://或https://开头。必须以字母或中文开头,可包含数字、英文逗号(,)、点号.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。) 。长度限制为1 ~ 255个字符。不填默认为空字符串。
144
+ */
145
+ description?: pulumi.Input<string>;
146
+ listeners?: pulumi.Input<pulumi.Input<inputs.alb.AclListener>[]>;
147
+ /**
148
+ * 访问控制策略组所属项目名称。
149
+ */
150
+ projectName?: pulumi.Input<string>;
151
+ tags?: pulumi.Input<pulumi.Input<inputs.alb.AclTag>[]>;
152
+ }
package/alb/acl.js ADDED
@@ -0,0 +1,98 @@
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
+ * ALB提供监听级别的访问控制,如果您希望仅允许某些IP、或仅拒绝某些IP通过监听端口访问ALB实例,可以对该监听器设置访问控制策略。您可以在创建监听器时配置访问控制,也可以在监听器创建后修改或重新配置访问控制。
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
16
+ *
17
+ * const albAclDemo = new bytepluscc.alb.Acl("AlbAclDemo", {
18
+ * aclName: "AlbAclDemo",
19
+ * projectName: "default",
20
+ * aclEntries: [{
21
+ * description: "AlbAclDemo description",
22
+ * entry: "1.1.1.1/32",
23
+ * }],
24
+ * tags: [{
25
+ * key: "env",
26
+ * value: "test",
27
+ * }],
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * ```sh
34
+ * $ pulumi import bytepluscc:alb/acl:Acl example "acl_id"
35
+ * ```
36
+ */
37
+ class Acl extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing Acl resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new Acl(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of Acl. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === Acl.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["aclEntries"] = state ? state.aclEntries : undefined;
66
+ resourceInputs["aclEntryCount"] = state ? state.aclEntryCount : undefined;
67
+ resourceInputs["aclId"] = state ? state.aclId : undefined;
68
+ resourceInputs["aclName"] = state ? state.aclName : undefined;
69
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
70
+ resourceInputs["description"] = state ? state.description : undefined;
71
+ resourceInputs["listeners"] = state ? state.listeners : undefined;
72
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
73
+ resourceInputs["status"] = state ? state.status : undefined;
74
+ resourceInputs["tags"] = state ? state.tags : undefined;
75
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
76
+ }
77
+ else {
78
+ const args = argsOrState;
79
+ resourceInputs["aclEntries"] = args ? args.aclEntries : undefined;
80
+ resourceInputs["aclName"] = args ? args.aclName : undefined;
81
+ resourceInputs["description"] = args ? args.description : undefined;
82
+ resourceInputs["listeners"] = args ? args.listeners : undefined;
83
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
84
+ resourceInputs["tags"] = args ? args.tags : undefined;
85
+ resourceInputs["aclEntryCount"] = undefined /*out*/;
86
+ resourceInputs["aclId"] = undefined /*out*/;
87
+ resourceInputs["createdTime"] = undefined /*out*/;
88
+ resourceInputs["status"] = undefined /*out*/;
89
+ resourceInputs["updatedTime"] = undefined /*out*/;
90
+ }
91
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
92
+ super(Acl.__pulumiType, name, resourceInputs, opts);
93
+ }
94
+ }
95
+ exports.Acl = Acl;
96
+ /** @internal */
97
+ Acl.__pulumiType = 'bytepluscc:alb/acl:Acl';
98
+ //# 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 Byteplus::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 createdTime: 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 updatedTime: string;
68
+ }
69
+ /**
70
+ * Data Source schema for Byteplus::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 Byteplus::ALB::ACL
10
+ */
11
+ function getAcl(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:alb/getAcl:getAcl", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getAcl = getAcl;
18
+ /**
19
+ * Data Source schema for Byteplus::ALB::ACL
20
+ */
21
+ function getAclOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc: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,8BAA8B,EAAE;QACzD,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,8BAA8B,EAAE;QAC/D,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 Byteplus::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 Byteplus::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 Byteplus::ALB::ACL
10
+ */
11
+ function getAcls(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:alb/getAcls:getAcls", {}, opts);
14
+ }
15
+ exports.getAcls = getAcls;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::ALB::ACL
18
+ */
19
+ function getAclsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc: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,gCAAgC,EAAE,EAC9D,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,gCAAgC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
@@ -0,0 +1,153 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::ALB::LoadBalancer
5
+ */
6
+ export declare function getLoadBalancer(args: GetLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise<GetLoadBalancerResult>;
7
+ /**
8
+ * A collection of arguments for invoking getLoadBalancer.
9
+ */
10
+ export interface GetLoadBalancerArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getLoadBalancer.
18
+ */
19
+ export interface GetLoadBalancerResult {
20
+ /**
21
+ * ALB 实例的 IP 类型。IPv4:IPv4 类型;DualStack:IPv4&IPv6 双栈类型。
22
+ */
23
+ readonly addressIpVersion: string;
24
+ /**
25
+ * 绑定的共享带宽包ID,可实现带宽共享。
26
+ */
27
+ readonly bandwidthPackageId: string;
28
+ /**
29
+ * ALB 实例的服务状态。Normal:正常;FinancialLocked:因欠费被锁定。
30
+ */
31
+ readonly businessStatus: string;
32
+ /**
33
+ * ALB 实例的创建时间。
34
+ */
35
+ readonly createTime: string;
36
+ /**
37
+ * 删除保护开关。on:开启;off:关闭。
38
+ */
39
+ readonly deleteProtection: string;
40
+ /**
41
+ * ALB 实例的预期回收时间。该参数只有实例处于 FinancialLocked 状态时有返回值。
42
+ */
43
+ readonly deletedTime: string;
44
+ /**
45
+ * ALB 实例的描述。
46
+ */
47
+ readonly description: string;
48
+ /**
49
+ * DNS域名。
50
+ */
51
+ readonly dnsName: string;
52
+ /**
53
+ * 公网IP的计费配置,仅适用于公网实例。
54
+ */
55
+ readonly eipBillingConfig: outputs.alb.GetLoadBalancerEipBillingConfig;
56
+ /**
57
+ * 全球加速器配置,用于提升跨地域访问速度。
58
+ */
59
+ readonly globalAccelerator: outputs.alb.GetLoadBalancerGlobalAccelerator;
60
+ /**
61
+ * Uniquely identifies the resource.
62
+ */
63
+ readonly id: string;
64
+ /**
65
+ * IPv6公网IP的计費配置,仅适用于公网实例。
66
+ */
67
+ readonly ipv6EipBillingConfig: outputs.alb.GetLoadBalancerIpv6EipBillingConfig;
68
+ /**
69
+ * ALB实例计费类型,当前仅支持按量计费(取值为1)。
70
+ */
71
+ readonly loadBalancerBillingType: number;
72
+ /**
73
+ * 应用型负载均衡的版本。Basic:基础版;Standard:标准版。
74
+ */
75
+ readonly loadBalancerEdition: string;
76
+ /**
77
+ * ALB 实例 ID。
78
+ */
79
+ readonly loadBalancerId: string;
80
+ /**
81
+ * ALB 实例的名称。
82
+ */
83
+ readonly loadBalancerName: string;
84
+ /**
85
+ * ALB 实例被冻结的原因,例如 Financial(欠费)或 Security(安全原因)。仅在实例被锁定时返回。
86
+ */
87
+ readonly lockReason: string;
88
+ /**
89
+ * 修改保护原因。仅在 ModificationProtectionStatus 为 ConsoleProtection 时,该参数有效且合法。
90
+ */
91
+ readonly modificationProtectionReason: string;
92
+ /**
93
+ * 修改保护状态。NonProtection:不保护;ConsoleProtection:控制台修改保护,通过控制台无法修改实例配置。
94
+ */
95
+ readonly modificationProtectionStatus: string;
96
+ /**
97
+ * ALB 实例的冻结时间。该参数只有实例处于 FinancialLocked 状态时有返回值。
98
+ */
99
+ readonly overdueTime: string;
100
+ /**
101
+ * 实例所属项目名称。
102
+ */
103
+ readonly projectName: string;
104
+ /**
105
+ * ALB 实例状态:Active(运行中)、Provisioning(创建中)、Configuring(配置中)、Deleting(删除中)、CreateFailed(创建失败)、Inactive(已停止)。
106
+ */
107
+ readonly status: string;
108
+ /**
109
+ * 为实例绑定的标签列表,用于分类和计费。
110
+ */
111
+ readonly tags: outputs.alb.GetLoadBalancerTag[];
112
+ /**
113
+ * ALB 实例的类型。取值是 public 或 private 。public:表示创建一个公网负载均衡实例,系统会分配一个公网IP地址和一个私网IP地址,可用于转发公网请求和私网请求。private:表示创建一个私网负载均衡实例,系统会分配一个私网IP地址,仅用于转发私网请求。
114
+ */
115
+ readonly type: string;
116
+ /**
117
+ * ALB 实例的最后更新时间。
118
+ */
119
+ readonly updateTime: string;
120
+ /**
121
+ * 负载均衡实例所属的私有网络(VPC)的ID。
122
+ */
123
+ readonly vpcId: string;
124
+ /**
125
+ * ALB 实例绑定的 WAF 安全防护实例 ID。
126
+ */
127
+ readonly wafInstanceId: string;
128
+ /**
129
+ * WAF防护的域名,用于精确匹配防护规则。
130
+ */
131
+ readonly wafProtectedDomain: string;
132
+ /**
133
+ * WAF 安全防护开关。on:开启;off:关闭。
134
+ */
135
+ readonly wafProtectionEnabled: string;
136
+ /**
137
+ * 可用区映射列表,定义了实例在哪些可用区提供服务。
138
+ */
139
+ readonly zoneMappings: outputs.alb.GetLoadBalancerZoneMapping[];
140
+ }
141
+ /**
142
+ * Data Source schema for Byteplus::ALB::LoadBalancer
143
+ */
144
+ export declare function getLoadBalancerOutput(args: GetLoadBalancerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoadBalancerResult>;
145
+ /**
146
+ * A collection of arguments for invoking getLoadBalancer.
147
+ */
148
+ export interface GetLoadBalancerOutputArgs {
149
+ /**
150
+ * Uniquely identifies the resource.
151
+ */
152
+ id: pulumi.Input<string>;
153
+ }
@@ -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.getLoadBalancerOutput = exports.getLoadBalancer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::ALB::LoadBalancer
10
+ */
11
+ function getLoadBalancer(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:alb/getLoadBalancer:getLoadBalancer", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getLoadBalancer = getLoadBalancer;
18
+ /**
19
+ * Data Source schema for Byteplus::ALB::LoadBalancer
20
+ */
21
+ function getLoadBalancerOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:alb/getLoadBalancer:getLoadBalancer", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getLoadBalancerOutput = getLoadBalancerOutput;
28
+ //# sourceMappingURL=getLoadBalancer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLoadBalancer.js","sourceRoot":"","sources":["../../alb/getLoadBalancer.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,gDAAgD,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC;AAyID;;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,gDAAgD,EAAE;QACjF,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 Byteplus::ALB::LoadBalancer
4
+ */
5
+ export declare function getLoadBalancers(opts?: pulumi.InvokeOptions): Promise<GetLoadBalancersResult>;
6
+ /**
7
+ * A collection of values returned by getLoadBalancers.
8
+ */
9
+ export interface GetLoadBalancersResult {
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 Byteplus::ALB::LoadBalancer
21
+ */
22
+ export declare function getLoadBalancersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoadBalancersResult>;
@@ -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.getLoadBalancersOutput = exports.getLoadBalancers = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::ALB::LoadBalancer
10
+ */
11
+ function getLoadBalancers(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:alb/getLoadBalancers:getLoadBalancers", {}, opts);
14
+ }
15
+ exports.getLoadBalancers = getLoadBalancers;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::ALB::LoadBalancer
18
+ */
19
+ function getLoadBalancersOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:alb/getLoadBalancers:getLoadBalancers", {}, opts);
22
+ }
23
+ exports.getLoadBalancersOutput = getLoadBalancersOutput;
24
+ //# sourceMappingURL=getLoadBalancers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLoadBalancers.js","sourceRoot":"","sources":["../../alb/getLoadBalancers.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,kDAAkD,EAAE,EAChF,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,kDAAkD,EAAE,EACtF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wDAIC"}