@byteplus/pulumi-bytepluscc 0.0.47 → 0.0.49

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 (235) hide show
  1. package/autoscaling/getNotificationConfiguration.d.ts +57 -0
  2. package/autoscaling/getNotificationConfiguration.d.ts.map +1 -0
  3. package/autoscaling/getNotificationConfiguration.js +51 -0
  4. package/autoscaling/getNotificationConfiguration.js.map +1 -0
  5. package/autoscaling/getNotificationConfigurations.d.ts +23 -0
  6. package/autoscaling/getNotificationConfigurations.d.ts.map +1 -0
  7. package/autoscaling/getNotificationConfigurations.js +47 -0
  8. package/autoscaling/getNotificationConfigurations.js.map +1 -0
  9. package/autoscaling/index.d.ts +9 -0
  10. package/autoscaling/index.d.ts.map +1 -1
  11. package/autoscaling/index.js +12 -1
  12. package/autoscaling/index.js.map +1 -1
  13. package/autoscaling/notificationConfiguration.d.ts +122 -0
  14. package/autoscaling/notificationConfiguration.d.ts.map +1 -0
  15. package/autoscaling/notificationConfiguration.js +122 -0
  16. package/autoscaling/notificationConfiguration.js.map +1 -0
  17. package/config/configurationRecorder.d.ts +127 -0
  18. package/config/configurationRecorder.d.ts.map +1 -0
  19. package/config/configurationRecorder.js +109 -0
  20. package/config/configurationRecorder.js.map +1 -0
  21. package/config/getConfigurationRecorder.d.ts +65 -0
  22. package/config/getConfigurationRecorder.d.ts.map +1 -0
  23. package/config/getConfigurationRecorder.js +51 -0
  24. package/config/getConfigurationRecorder.js.map +1 -0
  25. package/config/getConfigurationRecorders.d.ts +23 -0
  26. package/config/getConfigurationRecorders.d.ts.map +1 -0
  27. package/config/getConfigurationRecorders.js +47 -0
  28. package/config/getConfigurationRecorders.js.map +1 -0
  29. package/config/index.d.ts +9 -0
  30. package/config/index.d.ts.map +1 -1
  31. package/config/index.js +12 -1
  32. package/config/index.js.map +1 -1
  33. package/fwcenter/getNatFireWall.d.ts +113 -0
  34. package/fwcenter/getNatFireWall.d.ts.map +1 -0
  35. package/fwcenter/getNatFireWall.js +51 -0
  36. package/fwcenter/getNatFireWall.js.map +1 -0
  37. package/fwcenter/getNatFireWalls.d.ts +23 -0
  38. package/fwcenter/getNatFireWalls.d.ts.map +1 -0
  39. package/fwcenter/getNatFireWalls.js +47 -0
  40. package/fwcenter/getNatFireWalls.js.map +1 -0
  41. package/fwcenter/index.d.ts +9 -0
  42. package/fwcenter/index.d.ts.map +1 -1
  43. package/fwcenter/index.js +12 -1
  44. package/fwcenter/index.js.map +1 -1
  45. package/fwcenter/natFireWall.d.ts +238 -0
  46. package/fwcenter/natFireWall.d.ts.map +1 -0
  47. package/fwcenter/natFireWall.js +145 -0
  48. package/fwcenter/natFireWall.js.map +1 -0
  49. package/kafka/acl.d.ts +147 -0
  50. package/kafka/acl.d.ts.map +1 -0
  51. package/kafka/acl.js +131 -0
  52. package/kafka/acl.js.map +1 -0
  53. package/kafka/getAcl.d.ts +65 -0
  54. package/kafka/getAcl.d.ts.map +1 -0
  55. package/kafka/getAcl.js +51 -0
  56. package/kafka/getAcl.js.map +1 -0
  57. package/kafka/getAcls.d.ts +23 -0
  58. package/kafka/getAcls.d.ts.map +1 -0
  59. package/kafka/getAcls.js +47 -0
  60. package/kafka/getAcls.js.map +1 -0
  61. package/kafka/index.d.ts +9 -0
  62. package/kafka/index.d.ts.map +1 -1
  63. package/kafka/index.js +12 -1
  64. package/kafka/index.js.map +1 -1
  65. package/package.json +1 -1
  66. package/rdsmysql/getInstance.d.ts +5 -5
  67. package/rdsmysql/getInstance.d.ts.map +1 -1
  68. package/rdsmysql/getSsl.d.ts +35 -0
  69. package/rdsmysql/getSsl.d.ts.map +1 -0
  70. package/rdsmysql/getSsl.js +51 -0
  71. package/rdsmysql/getSsl.js.map +1 -0
  72. package/rdsmysql/getSsls.d.ts +23 -0
  73. package/rdsmysql/getSsls.d.ts.map +1 -0
  74. package/rdsmysql/getSsls.js +47 -0
  75. package/rdsmysql/getSsls.js.map +1 -0
  76. package/rdsmysql/index.d.ts +9 -0
  77. package/rdsmysql/index.d.ts.map +1 -1
  78. package/rdsmysql/index.js +12 -1
  79. package/rdsmysql/index.js.map +1 -1
  80. package/rdsmysql/instance.d.ts +15 -15
  81. package/rdsmysql/instance.d.ts.map +1 -1
  82. package/rdsmysql/instance.js +2 -2
  83. package/rdsmysql/instance.js.map +1 -1
  84. package/rdsmysql/ssl.d.ts +131 -0
  85. package/rdsmysql/ssl.d.ts.map +1 -0
  86. package/rdsmysql/ssl.js +105 -0
  87. package/rdsmysql/ssl.js.map +1 -0
  88. package/transitrouter/getTransitRouterAttachmentToRouteTable.d.ts +49 -0
  89. package/transitrouter/getTransitRouterAttachmentToRouteTable.d.ts.map +1 -0
  90. package/transitrouter/getTransitRouterAttachmentToRouteTable.js +51 -0
  91. package/transitrouter/getTransitRouterAttachmentToRouteTable.js.map +1 -0
  92. package/transitrouter/getTransitRouterAttachmentToRouteTables.d.ts +23 -0
  93. package/transitrouter/getTransitRouterAttachmentToRouteTables.d.ts.map +1 -0
  94. package/transitrouter/getTransitRouterAttachmentToRouteTables.js +47 -0
  95. package/transitrouter/getTransitRouterAttachmentToRouteTables.js.map +1 -0
  96. package/transitrouter/getTransitRouterForwardPolicyTable.d.ts +69 -0
  97. package/transitrouter/getTransitRouterForwardPolicyTable.d.ts.map +1 -0
  98. package/transitrouter/getTransitRouterForwardPolicyTable.js +51 -0
  99. package/transitrouter/getTransitRouterForwardPolicyTable.js.map +1 -0
  100. package/transitrouter/getTransitRouterForwardPolicyTables.d.ts +23 -0
  101. package/transitrouter/getTransitRouterForwardPolicyTables.d.ts.map +1 -0
  102. package/transitrouter/getTransitRouterForwardPolicyTables.js +47 -0
  103. package/transitrouter/getTransitRouterForwardPolicyTables.js.map +1 -0
  104. package/transitrouter/getTransitRouterMulticastDomain.d.ts +70 -0
  105. package/transitrouter/getTransitRouterMulticastDomain.d.ts.map +1 -0
  106. package/transitrouter/getTransitRouterMulticastDomain.js +51 -0
  107. package/transitrouter/getTransitRouterMulticastDomain.js.map +1 -0
  108. package/transitrouter/getTransitRouterMulticastDomains.d.ts +23 -0
  109. package/transitrouter/getTransitRouterMulticastDomains.d.ts.map +1 -0
  110. package/transitrouter/getTransitRouterMulticastDomains.js +47 -0
  111. package/transitrouter/getTransitRouterMulticastDomains.js.map +1 -0
  112. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts +23 -0
  113. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts.map +1 -0
  114. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js +47 -0
  115. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js.map +1 -0
  116. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts +129 -0
  117. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
  118. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js +51 -0
  119. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js.map +1 -0
  120. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts +23 -0
  121. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts.map +1 -0
  122. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js +47 -0
  123. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js.map +1 -0
  124. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts +65 -0
  125. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
  126. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js +51 -0
  127. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js.map +1 -0
  128. package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts +23 -0
  129. package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts.map +1 -0
  130. package/transitrouter/getTransitRouterTrafficQosQueueEntries.js +47 -0
  131. package/transitrouter/getTransitRouterTrafficQosQueueEntries.js.map +1 -0
  132. package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts +81 -0
  133. package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts.map +1 -0
  134. package/transitrouter/getTransitRouterTrafficQosQueueEntry.js +51 -0
  135. package/transitrouter/getTransitRouterTrafficQosQueueEntry.js.map +1 -0
  136. package/transitrouter/getTransitRouterTrafficQosQueuePolicies.d.ts +23 -0
  137. package/transitrouter/getTransitRouterTrafficQosQueuePolicies.d.ts.map +1 -0
  138. package/transitrouter/getTransitRouterTrafficQosQueuePolicies.js +47 -0
  139. package/transitrouter/getTransitRouterTrafficQosQueuePolicies.js.map +1 -0
  140. package/transitrouter/getTransitRouterTrafficQosQueuePolicy.d.ts +65 -0
  141. package/transitrouter/getTransitRouterTrafficQosQueuePolicy.d.ts.map +1 -0
  142. package/transitrouter/getTransitRouterTrafficQosQueuePolicy.js +51 -0
  143. package/transitrouter/getTransitRouterTrafficQosQueuePolicy.js.map +1 -0
  144. package/transitrouter/index.d.ts +63 -0
  145. package/transitrouter/index.d.ts.map +1 -1
  146. package/transitrouter/index.js +79 -1
  147. package/transitrouter/index.js.map +1 -1
  148. package/transitrouter/transitRouterAttachmentToRouteTable.d.ts +90 -0
  149. package/transitrouter/transitRouterAttachmentToRouteTable.d.ts.map +1 -0
  150. package/transitrouter/transitRouterAttachmentToRouteTable.js +103 -0
  151. package/transitrouter/transitRouterAttachmentToRouteTable.js.map +1 -0
  152. package/transitrouter/transitRouterForwardPolicyTable.d.ts +140 -0
  153. package/transitrouter/transitRouterForwardPolicyTable.d.ts.map +1 -0
  154. package/transitrouter/transitRouterForwardPolicyTable.js +112 -0
  155. package/transitrouter/transitRouterForwardPolicyTable.js.map +1 -0
  156. package/transitrouter/transitRouterMulticastDomain.d.ts +154 -0
  157. package/transitrouter/transitRouterMulticastDomain.d.ts.map +1 -0
  158. package/transitrouter/transitRouterMulticastDomain.js +121 -0
  159. package/transitrouter/transitRouterMulticastDomain.js.map +1 -0
  160. package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts +329 -0
  161. package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
  162. package/transitrouter/transitRouterTrafficQosMarkingEntry.js +163 -0
  163. package/transitrouter/transitRouterTrafficQosMarkingEntry.js.map +1 -0
  164. package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts +127 -0
  165. package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
  166. package/transitrouter/transitRouterTrafficQosMarkingPolicy.js +109 -0
  167. package/transitrouter/transitRouterTrafficQosMarkingPolicy.js.map +1 -0
  168. package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts +177 -0
  169. package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts.map +1 -0
  170. package/transitrouter/transitRouterTrafficQosQueueEntry.js +129 -0
  171. package/transitrouter/transitRouterTrafficQosQueueEntry.js.map +1 -0
  172. package/transitrouter/transitRouterTrafficQosQueuePolicy.d.ts +127 -0
  173. package/transitrouter/transitRouterTrafficQosQueuePolicy.d.ts.map +1 -0
  174. package/transitrouter/transitRouterTrafficQosQueuePolicy.js +109 -0
  175. package/transitrouter/transitRouterTrafficQosQueuePolicy.js.map +1 -0
  176. package/types/input.d.ts +112 -0
  177. package/types/input.d.ts.map +1 -1
  178. package/types/output.d.ts +224 -0
  179. package/types/output.d.ts.map +1 -1
  180. package/vepfs/dataFlowTask.d.ts +335 -0
  181. package/vepfs/dataFlowTask.d.ts.map +1 -0
  182. package/vepfs/dataFlowTask.js +163 -0
  183. package/vepfs/dataFlowTask.js.map +1 -0
  184. package/vepfs/getDataFlowTask.d.ts +146 -0
  185. package/vepfs/getDataFlowTask.d.ts.map +1 -0
  186. package/vepfs/getDataFlowTask.js +51 -0
  187. package/vepfs/getDataFlowTask.js.map +1 -0
  188. package/vepfs/getDataFlowTasks.d.ts +23 -0
  189. package/vepfs/getDataFlowTasks.d.ts.map +1 -0
  190. package/vepfs/getDataFlowTasks.js +47 -0
  191. package/vepfs/getDataFlowTasks.js.map +1 -0
  192. package/vepfs/index.d.ts +9 -0
  193. package/vepfs/index.d.ts.map +1 -1
  194. package/vepfs/index.js +12 -1
  195. package/vepfs/index.js.map +1 -1
  196. package/vpc/getIpam.d.ts +106 -0
  197. package/vpc/getIpam.d.ts.map +1 -0
  198. package/vpc/getIpam.js +51 -0
  199. package/vpc/getIpam.js.map +1 -0
  200. package/vpc/getIpamPool.d.ts +130 -0
  201. package/vpc/getIpamPool.d.ts.map +1 -0
  202. package/vpc/getIpamPool.js +51 -0
  203. package/vpc/getIpamPool.js.map +1 -0
  204. package/vpc/getIpamPools.d.ts +23 -0
  205. package/vpc/getIpamPools.d.ts.map +1 -0
  206. package/vpc/getIpamPools.js +47 -0
  207. package/vpc/getIpamPools.js.map +1 -0
  208. package/vpc/getIpamScope.d.ts +94 -0
  209. package/vpc/getIpamScope.d.ts.map +1 -0
  210. package/vpc/getIpamScope.js +51 -0
  211. package/vpc/getIpamScope.js.map +1 -0
  212. package/vpc/getIpamScopes.d.ts +23 -0
  213. package/vpc/getIpamScopes.d.ts.map +1 -0
  214. package/vpc/getIpamScopes.js +47 -0
  215. package/vpc/getIpamScopes.js.map +1 -0
  216. package/vpc/getIpams.d.ts +23 -0
  217. package/vpc/getIpams.d.ts.map +1 -0
  218. package/vpc/getIpams.js +47 -0
  219. package/vpc/getIpams.js.map +1 -0
  220. package/vpc/index.d.ts +27 -0
  221. package/vpc/index.d.ts.map +1 -1
  222. package/vpc/index.js +36 -2
  223. package/vpc/index.js.map +1 -1
  224. package/vpc/ipam.d.ts +231 -0
  225. package/vpc/ipam.d.ts.map +1 -0
  226. package/vpc/ipam.js +140 -0
  227. package/vpc/ipam.js.map +1 -0
  228. package/vpc/ipamPool.d.ts +317 -0
  229. package/vpc/ipamPool.d.ts.map +1 -0
  230. package/vpc/ipamPool.js +161 -0
  231. package/vpc/ipamPool.js.map +1 -0
  232. package/vpc/ipamScope.d.ts +212 -0
  233. package/vpc/ipamScope.d.ts.map +1 -0
  234. package/vpc/ipamScope.js +135 -0
  235. package/vpc/ipamScope.js.map +1 -0
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.NatFireWall = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * NAT boundary firewall instance. Provides security protection and access control for north-south traffic passing through the NAT gateway.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
39
+ *
40
+ * const example = new bytepluscc.fwcenter.NatFireWall("example", {
41
+ * natGatewayId: "ngw-xxxxxx",
42
+ * natFirewallName: "example",
43
+ * firewallCidr: "192.168.208.0/28",
44
+ * bandwidth: 100,
45
+ * projectName: "default",
46
+ * cloudFirewallId: "CloudFirewallxxxxxxxx",
47
+ * });
48
+ * ```
49
+ *
50
+ * ## Import
51
+ *
52
+ * ```sh
53
+ * $ pulumi import bytepluscc:fwcenter/natFireWall:NatFireWall example "nat_firewall_id"
54
+ * ```
55
+ */
56
+ class NatFireWall extends pulumi.CustomResource {
57
+ /**
58
+ * Get an existing NatFireWall resource's state with the given name, ID, and optional extra
59
+ * properties used to qualify the lookup.
60
+ *
61
+ * @param name The _unique_ name of the resulting resource.
62
+ * @param id The _unique_ provider ID of the resource to lookup.
63
+ * @param state Any extra arguments used during the lookup.
64
+ * @param opts Optional settings to control the behavior of the CustomResource.
65
+ */
66
+ static get(name, id, state, opts) {
67
+ return new NatFireWall(name, state, { ...opts, id: id });
68
+ }
69
+ /** @internal */
70
+ static __pulumiType = 'bytepluscc:fwcenter/natFireWall:NatFireWall';
71
+ /**
72
+ * Returns true if the given object is an instance of NatFireWall. This is designed to work even
73
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
74
+ */
75
+ static isInstance(obj) {
76
+ if (obj === undefined || obj === null) {
77
+ return false;
78
+ }
79
+ return obj['__pulumiType'] === NatFireWall.__pulumiType;
80
+ }
81
+ constructor(name, argsOrState, opts) {
82
+ let resourceInputs = {};
83
+ opts = opts || {};
84
+ if (opts.id) {
85
+ const state = argsOrState;
86
+ resourceInputs["accountId"] = state?.accountId;
87
+ resourceInputs["bandwidth"] = state?.bandwidth;
88
+ resourceInputs["canCreate"] = state?.canCreate;
89
+ resourceInputs["cloudFirewallId"] = state?.cloudFirewallId;
90
+ resourceInputs["errMessage"] = state?.errMessage;
91
+ resourceInputs["firewallCidr"] = state?.firewallCidr;
92
+ resourceInputs["firewallStatus"] = state?.firewallStatus;
93
+ resourceInputs["natFirewallId"] = state?.natFirewallId;
94
+ resourceInputs["natFirewallName"] = state?.natFirewallName;
95
+ resourceInputs["natFirewallSubnetCidr"] = state?.natFirewallSubnetCidr;
96
+ resourceInputs["natGatewayId"] = state?.natGatewayId;
97
+ resourceInputs["natGatewayName"] = state?.natGatewayName;
98
+ resourceInputs["peakTrafficWithin7Day"] = state?.peakTrafficWithin7Day;
99
+ resourceInputs["projectName"] = state?.projectName;
100
+ resourceInputs["projectNameForNatGate"] = state?.projectNameForNatGate;
101
+ resourceInputs["vpcCidr"] = state?.vpcCidr;
102
+ resourceInputs["vpcId"] = state?.vpcId;
103
+ resourceInputs["vpcName"] = state?.vpcName;
104
+ resourceInputs["zoneId"] = state?.zoneId;
105
+ }
106
+ else {
107
+ const args = argsOrState;
108
+ if (args?.bandwidth === undefined && !opts.urn) {
109
+ throw new Error("Missing required property 'bandwidth'");
110
+ }
111
+ if (args?.firewallCidr === undefined && !opts.urn) {
112
+ throw new Error("Missing required property 'firewallCidr'");
113
+ }
114
+ if (args?.natFirewallName === undefined && !opts.urn) {
115
+ throw new Error("Missing required property 'natFirewallName'");
116
+ }
117
+ if (args?.natGatewayId === undefined && !opts.urn) {
118
+ throw new Error("Missing required property 'natGatewayId'");
119
+ }
120
+ resourceInputs["bandwidth"] = args?.bandwidth;
121
+ resourceInputs["cloudFirewallId"] = args?.cloudFirewallId;
122
+ resourceInputs["firewallCidr"] = args?.firewallCidr;
123
+ resourceInputs["natFirewallName"] = args?.natFirewallName;
124
+ resourceInputs["natGatewayId"] = args?.natGatewayId;
125
+ resourceInputs["projectName"] = args?.projectName;
126
+ resourceInputs["accountId"] = undefined /*out*/;
127
+ resourceInputs["canCreate"] = undefined /*out*/;
128
+ resourceInputs["errMessage"] = undefined /*out*/;
129
+ resourceInputs["firewallStatus"] = undefined /*out*/;
130
+ resourceInputs["natFirewallId"] = undefined /*out*/;
131
+ resourceInputs["natFirewallSubnetCidr"] = undefined /*out*/;
132
+ resourceInputs["natGatewayName"] = undefined /*out*/;
133
+ resourceInputs["peakTrafficWithin7Day"] = undefined /*out*/;
134
+ resourceInputs["projectNameForNatGate"] = undefined /*out*/;
135
+ resourceInputs["vpcCidr"] = undefined /*out*/;
136
+ resourceInputs["vpcId"] = undefined /*out*/;
137
+ resourceInputs["vpcName"] = undefined /*out*/;
138
+ resourceInputs["zoneId"] = undefined /*out*/;
139
+ }
140
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
141
+ super(NatFireWall.__pulumiType, name, resourceInputs, opts);
142
+ }
143
+ }
144
+ exports.NatFireWall = NatFireWall;
145
+ //# sourceMappingURL=natFireWall.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"natFireWall.js","sourceRoot":"","sources":["../../fwcenter/natFireWall.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,6CAA6C,CAAC;IAEpF;;;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,CAAC;IAuFD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG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O,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;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;;AA7KL,kCA8KC"}
package/kafka/acl.d.ts ADDED
@@ -0,0 +1,147 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Kafka ACL rule used to control permissions for specified SASL users to access Topic or Group resources from specified IPs.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
10
+ *
11
+ * const example = new bytepluscc.kafka.Acl("example", {
12
+ * instanceId: "kafka-xxxxxx",
13
+ * userName: "*",
14
+ * ip: "*",
15
+ * resourceType: "Topic",
16
+ * patternType: "Literal",
17
+ * resource: "*",
18
+ * accessPolicy: "Write",
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * ```sh
25
+ * $ pulumi import bytepluscc:kafka/acl:Acl example "instance_id|user_name|ip|resource_type|pattern_type|resource|access_policy"
26
+ * ```
27
+ */
28
+ export declare class Acl extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing Acl resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param state Any extra arguments used during the lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AclState, opts?: pulumi.CustomResourceOptions): Acl;
39
+ /**
40
+ * Returns true if the given object is an instance of Acl. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is Acl;
44
+ /**
45
+ * Access policy for the rule. Read grants read permission; Write grants write permission. Only one value is allowed—if multiple are provided, only the first takes effect.
46
+ */
47
+ readonly accessPolicy: pulumi.Output<string>;
48
+ /**
49
+ * Instance ID for the ACL to be created.
50
+ */
51
+ readonly instanceId: pulumi.Output<string>;
52
+ /**
53
+ * IP address or subnet allowed by the rule. Supports specifying '*', which allows access from any IP. Separate multiple IPs with ','.
54
+ */
55
+ readonly ip: pulumi.Output<string>;
56
+ /**
57
+ * Rule matching method. Literal: exact match; Prefixed: prefix match.
58
+ */
59
+ readonly patternType: pulumi.Output<string>;
60
+ /**
61
+ * Name or prefix of the Topic or Group resource bound to the rule.
62
+ */
63
+ readonly resource: pulumi.Output<string>;
64
+ /**
65
+ * Resource type bound to the rule. Supports configuring 'Topic' or 'Group'.
66
+ */
67
+ readonly resourceType: pulumi.Output<string>;
68
+ /**
69
+ * SASL users allowed by the rule. Supports specifying '*', which allows access for any user.
70
+ */
71
+ readonly userName: pulumi.Output<string>;
72
+ /**
73
+ * Create a Acl resource with the given unique name, arguments, and options.
74
+ *
75
+ * @param name The _unique_ name of the resource.
76
+ * @param args The arguments to use to populate this resource's properties.
77
+ * @param opts A bag of options that control this resource's behavior.
78
+ */
79
+ constructor(name: string, args: AclArgs, opts?: pulumi.CustomResourceOptions);
80
+ }
81
+ /**
82
+ * Input properties used for looking up and filtering Acl resources.
83
+ */
84
+ export interface AclState {
85
+ /**
86
+ * Access policy for the rule. Read grants read permission; Write grants write permission. Only one value is allowed—if multiple are provided, only the first takes effect.
87
+ */
88
+ accessPolicy?: pulumi.Input<string | undefined>;
89
+ /**
90
+ * Instance ID for the ACL to be created.
91
+ */
92
+ instanceId?: pulumi.Input<string | undefined>;
93
+ /**
94
+ * IP address or subnet allowed by the rule. Supports specifying '*', which allows access from any IP. Separate multiple IPs with ','.
95
+ */
96
+ ip?: pulumi.Input<string | undefined>;
97
+ /**
98
+ * Rule matching method. Literal: exact match; Prefixed: prefix match.
99
+ */
100
+ patternType?: pulumi.Input<string | undefined>;
101
+ /**
102
+ * Name or prefix of the Topic or Group resource bound to the rule.
103
+ */
104
+ resource?: pulumi.Input<string | undefined>;
105
+ /**
106
+ * Resource type bound to the rule. Supports configuring 'Topic' or 'Group'.
107
+ */
108
+ resourceType?: pulumi.Input<string | undefined>;
109
+ /**
110
+ * SASL users allowed by the rule. Supports specifying '*', which allows access for any user.
111
+ */
112
+ userName?: pulumi.Input<string | undefined>;
113
+ }
114
+ /**
115
+ * The set of arguments for constructing a Acl resource.
116
+ */
117
+ export interface AclArgs {
118
+ /**
119
+ * Access policy for the rule. Read grants read permission; Write grants write permission. Only one value is allowed—if multiple are provided, only the first takes effect.
120
+ */
121
+ accessPolicy: pulumi.Input<string>;
122
+ /**
123
+ * Instance ID for the ACL to be created.
124
+ */
125
+ instanceId: pulumi.Input<string>;
126
+ /**
127
+ * IP address or subnet allowed by the rule. Supports specifying '*', which allows access from any IP. Separate multiple IPs with ','.
128
+ */
129
+ ip: pulumi.Input<string>;
130
+ /**
131
+ * Rule matching method. Literal: exact match; Prefixed: prefix match.
132
+ */
133
+ patternType: pulumi.Input<string>;
134
+ /**
135
+ * Name or prefix of the Topic or Group resource bound to the rule.
136
+ */
137
+ resource: pulumi.Input<string>;
138
+ /**
139
+ * Resource type bound to the rule. Supports configuring 'Topic' or 'Group'.
140
+ */
141
+ resourceType: pulumi.Input<string>;
142
+ /**
143
+ * SASL users allowed by the rule. Supports specifying '*', which allows access for any user.
144
+ */
145
+ userName: pulumi.Input<string>;
146
+ }
147
+ //# sourceMappingURL=acl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acl.d.ts","sourceRoot":"","sources":["../../kafka/acl.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,GAAG;IAOxH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,GAAG;IAO9C;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,SAAwB,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,C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,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
package/kafka/acl.js ADDED
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Acl = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Kafka ACL rule used to control permissions for specified SASL users to access Topic or Group resources from specified IPs.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
39
+ *
40
+ * const example = new bytepluscc.kafka.Acl("example", {
41
+ * instanceId: "kafka-xxxxxx",
42
+ * userName: "*",
43
+ * ip: "*",
44
+ * resourceType: "Topic",
45
+ * patternType: "Literal",
46
+ * resource: "*",
47
+ * accessPolicy: "Write",
48
+ * });
49
+ * ```
50
+ *
51
+ * ## Import
52
+ *
53
+ * ```sh
54
+ * $ pulumi import bytepluscc:kafka/acl:Acl example "instance_id|user_name|ip|resource_type|pattern_type|resource|access_policy"
55
+ * ```
56
+ */
57
+ class Acl extends pulumi.CustomResource {
58
+ /**
59
+ * Get an existing Acl resource's state with the given name, ID, and optional extra
60
+ * properties used to qualify the lookup.
61
+ *
62
+ * @param name The _unique_ name of the resulting resource.
63
+ * @param id The _unique_ provider ID of the resource to lookup.
64
+ * @param state Any extra arguments used during the lookup.
65
+ * @param opts Optional settings to control the behavior of the CustomResource.
66
+ */
67
+ static get(name, id, state, opts) {
68
+ return new Acl(name, state, { ...opts, id: id });
69
+ }
70
+ /** @internal */
71
+ static __pulumiType = 'bytepluscc:kafka/acl:Acl';
72
+ /**
73
+ * Returns true if the given object is an instance of Acl. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj) {
77
+ if (obj === undefined || obj === null) {
78
+ return false;
79
+ }
80
+ return obj['__pulumiType'] === Acl.__pulumiType;
81
+ }
82
+ constructor(name, argsOrState, opts) {
83
+ let resourceInputs = {};
84
+ opts = opts || {};
85
+ if (opts.id) {
86
+ const state = argsOrState;
87
+ resourceInputs["accessPolicy"] = state?.accessPolicy;
88
+ resourceInputs["instanceId"] = state?.instanceId;
89
+ resourceInputs["ip"] = state?.ip;
90
+ resourceInputs["patternType"] = state?.patternType;
91
+ resourceInputs["resource"] = state?.resource;
92
+ resourceInputs["resourceType"] = state?.resourceType;
93
+ resourceInputs["userName"] = state?.userName;
94
+ }
95
+ else {
96
+ const args = argsOrState;
97
+ if (args?.accessPolicy === undefined && !opts.urn) {
98
+ throw new Error("Missing required property 'accessPolicy'");
99
+ }
100
+ if (args?.instanceId === undefined && !opts.urn) {
101
+ throw new Error("Missing required property 'instanceId'");
102
+ }
103
+ if (args?.ip === undefined && !opts.urn) {
104
+ throw new Error("Missing required property 'ip'");
105
+ }
106
+ if (args?.patternType === undefined && !opts.urn) {
107
+ throw new Error("Missing required property 'patternType'");
108
+ }
109
+ if (args?.resource === undefined && !opts.urn) {
110
+ throw new Error("Missing required property 'resource'");
111
+ }
112
+ if (args?.resourceType === undefined && !opts.urn) {
113
+ throw new Error("Missing required property 'resourceType'");
114
+ }
115
+ if (args?.userName === undefined && !opts.urn) {
116
+ throw new Error("Missing required property 'userName'");
117
+ }
118
+ resourceInputs["accessPolicy"] = args?.accessPolicy;
119
+ resourceInputs["instanceId"] = args?.instanceId;
120
+ resourceInputs["ip"] = args?.ip;
121
+ resourceInputs["patternType"] = args?.patternType;
122
+ resourceInputs["resource"] = args?.resource;
123
+ resourceInputs["resourceType"] = args?.resourceType;
124
+ resourceInputs["userName"] = args?.userName;
125
+ }
126
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
127
+ super(Acl.__pulumiType, name, resourceInputs, opts);
128
+ }
129
+ }
130
+ exports.Acl = Acl;
131
+ //# sourceMappingURL=acl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acl.js","sourceRoot":"","sources":["../../kafka/acl.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1D,CAAC;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AY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AA9GL,kBA+GC"}
@@ -0,0 +1,65 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Byteplus::Kafka::ACL
4
+ */
5
+ export declare function getAcl(args: GetAclArgs, opts?: pulumi.InvokeOptions): Promise<GetAclResult>;
6
+ /**
7
+ * A collection of arguments for invoking getAcl.
8
+ */
9
+ export interface GetAclArgs {
10
+ /**
11
+ * Uniquely identifies the resource.
12
+ */
13
+ id: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getAcl.
17
+ */
18
+ export interface GetAclResult {
19
+ /**
20
+ * Access policy for the rule. Read grants read permission; Write grants write permission. Only one value is allowed—if multiple are provided, only the first takes effect.
21
+ */
22
+ readonly accessPolicy: string;
23
+ /**
24
+ * Uniquely identifies the resource.
25
+ */
26
+ readonly id: string;
27
+ /**
28
+ * Instance ID for the ACL to be created.
29
+ */
30
+ readonly instanceId: string;
31
+ /**
32
+ * IP address or subnet allowed by the rule. Supports specifying '*', which allows access from any IP. Separate multiple IPs with ','.
33
+ */
34
+ readonly ip: string;
35
+ /**
36
+ * Rule matching method. Literal: exact match; Prefixed: prefix match.
37
+ */
38
+ readonly patternType: string;
39
+ /**
40
+ * Name or prefix of the Topic or Group resource bound to the rule.
41
+ */
42
+ readonly resource: string;
43
+ /**
44
+ * Resource type bound to the rule. Supports configuring 'Topic' or 'Group'.
45
+ */
46
+ readonly resourceType: string;
47
+ /**
48
+ * SASL users allowed by the rule. Supports specifying '*', which allows access for any user.
49
+ */
50
+ readonly userName: string;
51
+ }
52
+ /**
53
+ * Data Source schema for Byteplus::Kafka::ACL
54
+ */
55
+ export declare function getAclOutput(args: GetAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAclResult>;
56
+ /**
57
+ * A collection of arguments for invoking getAcl.
58
+ */
59
+ export interface GetAclOutputArgs {
60
+ /**
61
+ * Uniquely identifies the resource.
62
+ */
63
+ id: pulumi.Input<string>;
64
+ }
65
+ //# sourceMappingURL=getAcl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAcl.d.ts","sourceRoot":"","sources":["../../kafka/getAcl.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,CAK3F;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC7B;AACD;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAKnH;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getAclOutput = exports.getAcl = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Data Source schema for Byteplus::Kafka::ACL
33
+ */
34
+ function getAcl(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("bytepluscc:kafka/getAcl:getAcl", {
37
+ "id": args.id,
38
+ }, opts);
39
+ }
40
+ exports.getAcl = getAcl;
41
+ /**
42
+ * Data Source schema for Byteplus::Kafka::ACL
43
+ */
44
+ function getAclOutput(args, opts) {
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("bytepluscc:kafka/getAcl:getAcl", {
47
+ "id": args.id,
48
+ }, opts);
49
+ }
50
+ exports.getAclOutput = getAclOutput;
51
+ //# sourceMappingURL=getAcl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAcl.js","sourceRoot":"","sources":["../../kafka/getAcl.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;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;AAiDD;;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,23 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::Kafka::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::Kafka::ACL
21
+ */
22
+ export declare function getAclsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAclsResult>;
23
+ //# sourceMappingURL=getAcls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAcls.d.ts","sourceRoot":"","sources":["../../kafka/getAcls.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAI3E;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAI7F"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getAclsOutput = exports.getAcls = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Plural Data Source schema for Byteplus::Kafka::ACL
33
+ */
34
+ function getAcls(opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("bytepluscc:kafka/getAcls:getAcls", {}, opts);
37
+ }
38
+ exports.getAcls = getAcls;
39
+ /**
40
+ * Plural Data Source schema for Byteplus::Kafka::ACL
41
+ */
42
+ function getAclsOutput(opts) {
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("bytepluscc:kafka/getAcls:getAcls", {}, opts);
45
+ }
46
+ exports.getAclsOutput = getAclsOutput;
47
+ //# sourceMappingURL=getAcls.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAcls.js","sourceRoot":"","sources":["../../kafka/getAcls.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;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"}