@byteplus/pulumi-bytepluscc 0.0.48 → 0.0.50

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 (182) hide show
  1. package/cdn/domain.d.ts +12 -0
  2. package/cdn/domain.d.ts.map +1 -1
  3. package/cdn/domain.js +2 -0
  4. package/cdn/domain.js.map +1 -1
  5. package/cdn/getDomain.d.ts +4 -0
  6. package/cdn/getDomain.d.ts.map +1 -1
  7. package/cdn/getDomain.js.map +1 -1
  8. package/clb/getListener.d.ts +8 -0
  9. package/clb/getListener.d.ts.map +1 -1
  10. package/clb/getListener.js.map +1 -1
  11. package/clb/listener.d.ts +20 -16
  12. package/clb/listener.d.ts.map +1 -1
  13. package/clb/listener.js +8 -4
  14. package/clb/listener.js.map +1 -1
  15. package/cloudmonitor/getRule.d.ts +8 -0
  16. package/cloudmonitor/getRule.d.ts.map +1 -1
  17. package/cloudmonitor/getRule.js.map +1 -1
  18. package/cloudmonitor/rule.d.ts +24 -0
  19. package/cloudmonitor/rule.d.ts.map +1 -1
  20. package/cloudmonitor/rule.js +4 -0
  21. package/cloudmonitor/rule.js.map +1 -1
  22. package/fwcenter/getNatFireWall.d.ts +113 -0
  23. package/fwcenter/getNatFireWall.d.ts.map +1 -0
  24. package/fwcenter/getNatFireWall.js +51 -0
  25. package/fwcenter/getNatFireWall.js.map +1 -0
  26. package/fwcenter/getNatFireWalls.d.ts +23 -0
  27. package/fwcenter/getNatFireWalls.d.ts.map +1 -0
  28. package/fwcenter/getNatFireWalls.js +47 -0
  29. package/fwcenter/getNatFireWalls.js.map +1 -0
  30. package/fwcenter/index.d.ts +9 -0
  31. package/fwcenter/index.d.ts.map +1 -1
  32. package/fwcenter/index.js +12 -1
  33. package/fwcenter/index.js.map +1 -1
  34. package/fwcenter/natFireWall.d.ts +238 -0
  35. package/fwcenter/natFireWall.d.ts.map +1 -0
  36. package/fwcenter/natFireWall.js +145 -0
  37. package/fwcenter/natFireWall.js.map +1 -0
  38. package/kafka/acl.d.ts +147 -0
  39. package/kafka/acl.d.ts.map +1 -0
  40. package/kafka/acl.js +131 -0
  41. package/kafka/acl.js.map +1 -0
  42. package/kafka/getAcl.d.ts +65 -0
  43. package/kafka/getAcl.d.ts.map +1 -0
  44. package/kafka/getAcl.js +51 -0
  45. package/kafka/getAcl.js.map +1 -0
  46. package/kafka/getAcls.d.ts +23 -0
  47. package/kafka/getAcls.d.ts.map +1 -0
  48. package/kafka/getAcls.js +47 -0
  49. package/kafka/getAcls.js.map +1 -0
  50. package/kafka/index.d.ts +9 -0
  51. package/kafka/index.d.ts.map +1 -1
  52. package/kafka/index.js +12 -1
  53. package/kafka/index.js.map +1 -1
  54. package/package.json +1 -1
  55. package/rdsmysql/getSsl.d.ts +35 -0
  56. package/rdsmysql/getSsl.d.ts.map +1 -0
  57. package/rdsmysql/getSsl.js +51 -0
  58. package/rdsmysql/getSsl.js.map +1 -0
  59. package/rdsmysql/getSsls.d.ts +23 -0
  60. package/rdsmysql/getSsls.d.ts.map +1 -0
  61. package/rdsmysql/getSsls.js +47 -0
  62. package/rdsmysql/getSsls.js.map +1 -0
  63. package/rdsmysql/index.d.ts +9 -0
  64. package/rdsmysql/index.d.ts.map +1 -1
  65. package/rdsmysql/index.js +12 -1
  66. package/rdsmysql/index.js.map +1 -1
  67. package/rdsmysql/ssl.d.ts +131 -0
  68. package/rdsmysql/ssl.d.ts.map +1 -0
  69. package/rdsmysql/ssl.js +105 -0
  70. package/rdsmysql/ssl.js.map +1 -0
  71. package/transitrouter/getTransitRouterAttachmentToRouteTable.d.ts +49 -0
  72. package/transitrouter/getTransitRouterAttachmentToRouteTable.d.ts.map +1 -0
  73. package/transitrouter/getTransitRouterAttachmentToRouteTable.js +51 -0
  74. package/transitrouter/getTransitRouterAttachmentToRouteTable.js.map +1 -0
  75. package/transitrouter/getTransitRouterAttachmentToRouteTables.d.ts +23 -0
  76. package/transitrouter/getTransitRouterAttachmentToRouteTables.d.ts.map +1 -0
  77. package/transitrouter/getTransitRouterAttachmentToRouteTables.js +47 -0
  78. package/transitrouter/getTransitRouterAttachmentToRouteTables.js.map +1 -0
  79. package/transitrouter/getTransitRouterForwardPolicyTable.d.ts +69 -0
  80. package/transitrouter/getTransitRouterForwardPolicyTable.d.ts.map +1 -0
  81. package/transitrouter/getTransitRouterForwardPolicyTable.js +51 -0
  82. package/transitrouter/getTransitRouterForwardPolicyTable.js.map +1 -0
  83. package/transitrouter/getTransitRouterForwardPolicyTables.d.ts +23 -0
  84. package/transitrouter/getTransitRouterForwardPolicyTables.d.ts.map +1 -0
  85. package/transitrouter/getTransitRouterForwardPolicyTables.js +47 -0
  86. package/transitrouter/getTransitRouterForwardPolicyTables.js.map +1 -0
  87. package/transitrouter/getTransitRouterMulticastDomain.d.ts +70 -0
  88. package/transitrouter/getTransitRouterMulticastDomain.d.ts.map +1 -0
  89. package/transitrouter/getTransitRouterMulticastDomain.js +51 -0
  90. package/transitrouter/getTransitRouterMulticastDomain.js.map +1 -0
  91. package/transitrouter/getTransitRouterMulticastDomains.d.ts +23 -0
  92. package/transitrouter/getTransitRouterMulticastDomains.d.ts.map +1 -0
  93. package/transitrouter/getTransitRouterMulticastDomains.js +47 -0
  94. package/transitrouter/getTransitRouterMulticastDomains.js.map +1 -0
  95. package/transitrouter/getTransitRouterTrafficQosQueuePolicies.d.ts +23 -0
  96. package/transitrouter/getTransitRouterTrafficQosQueuePolicies.d.ts.map +1 -0
  97. package/transitrouter/getTransitRouterTrafficQosQueuePolicies.js +47 -0
  98. package/transitrouter/getTransitRouterTrafficQosQueuePolicies.js.map +1 -0
  99. package/transitrouter/getTransitRouterTrafficQosQueuePolicy.d.ts +65 -0
  100. package/transitrouter/getTransitRouterTrafficQosQueuePolicy.d.ts.map +1 -0
  101. package/transitrouter/getTransitRouterTrafficQosQueuePolicy.js +51 -0
  102. package/transitrouter/getTransitRouterTrafficQosQueuePolicy.js.map +1 -0
  103. package/transitrouter/index.d.ts +36 -0
  104. package/transitrouter/index.d.ts.map +1 -1
  105. package/transitrouter/index.js +46 -2
  106. package/transitrouter/index.js.map +1 -1
  107. package/transitrouter/transitRouterAttachmentToRouteTable.d.ts +90 -0
  108. package/transitrouter/transitRouterAttachmentToRouteTable.d.ts.map +1 -0
  109. package/transitrouter/transitRouterAttachmentToRouteTable.js +103 -0
  110. package/transitrouter/transitRouterAttachmentToRouteTable.js.map +1 -0
  111. package/transitrouter/transitRouterForwardPolicyTable.d.ts +140 -0
  112. package/transitrouter/transitRouterForwardPolicyTable.d.ts.map +1 -0
  113. package/transitrouter/transitRouterForwardPolicyTable.js +112 -0
  114. package/transitrouter/transitRouterForwardPolicyTable.js.map +1 -0
  115. package/transitrouter/transitRouterMulticastDomain.d.ts +154 -0
  116. package/transitrouter/transitRouterMulticastDomain.d.ts.map +1 -0
  117. package/transitrouter/transitRouterMulticastDomain.js +121 -0
  118. package/transitrouter/transitRouterMulticastDomain.js.map +1 -0
  119. package/transitrouter/transitRouterTrafficQosQueuePolicy.d.ts +127 -0
  120. package/transitrouter/transitRouterTrafficQosQueuePolicy.d.ts.map +1 -0
  121. package/transitrouter/transitRouterTrafficQosQueuePolicy.js +109 -0
  122. package/transitrouter/transitRouterTrafficQosQueuePolicy.js.map +1 -0
  123. package/types/input.d.ts +212 -2
  124. package/types/input.d.ts.map +1 -1
  125. package/types/output.d.ts +424 -2
  126. package/types/output.d.ts.map +1 -1
  127. package/vepfs/dataFlowTask.d.ts +335 -0
  128. package/vepfs/dataFlowTask.d.ts.map +1 -0
  129. package/vepfs/dataFlowTask.js +163 -0
  130. package/vepfs/dataFlowTask.js.map +1 -0
  131. package/vepfs/getDataFlowTask.d.ts +146 -0
  132. package/vepfs/getDataFlowTask.d.ts.map +1 -0
  133. package/vepfs/getDataFlowTask.js +51 -0
  134. package/vepfs/getDataFlowTask.js.map +1 -0
  135. package/vepfs/getDataFlowTasks.d.ts +23 -0
  136. package/vepfs/getDataFlowTasks.d.ts.map +1 -0
  137. package/vepfs/getDataFlowTasks.js +47 -0
  138. package/vepfs/getDataFlowTasks.js.map +1 -0
  139. package/vepfs/index.d.ts +9 -0
  140. package/vepfs/index.d.ts.map +1 -1
  141. package/vepfs/index.js +12 -1
  142. package/vepfs/index.js.map +1 -1
  143. package/vpc/getIpam.d.ts +106 -0
  144. package/vpc/getIpam.d.ts.map +1 -0
  145. package/vpc/getIpam.js +51 -0
  146. package/vpc/getIpam.js.map +1 -0
  147. package/vpc/getIpamPool.d.ts +130 -0
  148. package/vpc/getIpamPool.d.ts.map +1 -0
  149. package/vpc/getIpamPool.js +51 -0
  150. package/vpc/getIpamPool.js.map +1 -0
  151. package/vpc/getIpamPools.d.ts +23 -0
  152. package/vpc/getIpamPools.d.ts.map +1 -0
  153. package/vpc/getIpamPools.js +47 -0
  154. package/vpc/getIpamPools.js.map +1 -0
  155. package/vpc/getIpamScope.d.ts +94 -0
  156. package/vpc/getIpamScope.d.ts.map +1 -0
  157. package/vpc/getIpamScope.js +51 -0
  158. package/vpc/getIpamScope.js.map +1 -0
  159. package/vpc/getIpamScopes.d.ts +23 -0
  160. package/vpc/getIpamScopes.d.ts.map +1 -0
  161. package/vpc/getIpamScopes.js +47 -0
  162. package/vpc/getIpamScopes.js.map +1 -0
  163. package/vpc/getIpams.d.ts +23 -0
  164. package/vpc/getIpams.d.ts.map +1 -0
  165. package/vpc/getIpams.js +47 -0
  166. package/vpc/getIpams.js.map +1 -0
  167. package/vpc/index.d.ts +27 -0
  168. package/vpc/index.d.ts.map +1 -1
  169. package/vpc/index.js +36 -2
  170. package/vpc/index.js.map +1 -1
  171. package/vpc/ipam.d.ts +231 -0
  172. package/vpc/ipam.d.ts.map +1 -0
  173. package/vpc/ipam.js +140 -0
  174. package/vpc/ipam.js.map +1 -0
  175. package/vpc/ipamPool.d.ts +317 -0
  176. package/vpc/ipamPool.d.ts.map +1 -0
  177. package/vpc/ipamPool.js +161 -0
  178. package/vpc/ipamPool.js.map +1 -0
  179. package/vpc/ipamScope.d.ts +212 -0
  180. package/vpc/ipamScope.d.ts.map +1 -0
  181. package/vpc/ipamScope.js +135 -0
  182. package/vpc/ipamScope.js.map +1 -0
@@ -0,0 +1,238 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * NAT boundary firewall instance. Provides security protection and access control for north-south traffic passing through the NAT gateway.
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.fwcenter.NatFireWall("example", {
12
+ * natGatewayId: "ngw-xxxxxx",
13
+ * natFirewallName: "example",
14
+ * firewallCidr: "192.168.208.0/28",
15
+ * bandwidth: 100,
16
+ * projectName: "default",
17
+ * cloudFirewallId: "CloudFirewallxxxxxxxx",
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * ```sh
24
+ * $ pulumi import bytepluscc:fwcenter/natFireWall:NatFireWall example "nat_firewall_id"
25
+ * ```
26
+ */
27
+ export declare class NatFireWall extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing NatFireWall resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NatFireWallState, opts?: pulumi.CustomResourceOptions): NatFireWall;
38
+ /**
39
+ * Returns true if the given object is an instance of NatFireWall. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is NatFireWall;
43
+ /**
44
+ * Account ID for creating the NAT firewall, used to identify the account to which the NAT boundary firewall instance belongs.
45
+ */
46
+ readonly accountId: pulumi.Output<string>;
47
+ /**
48
+ * Authorized traffic bandwidth of the NAT boundary firewall instance, measured in Mbps, indicating the maximum network bandwidth allowed for the firewall instance. The minimum value is 10.
49
+ */
50
+ readonly bandwidth: pulumi.Output<number>;
51
+ /**
52
+ * Indicates whether creating a NAT boundary firewall is currently supported. true means supported, false means not supported.
53
+ */
54
+ readonly canCreate: pulumi.Output<boolean>;
55
+ /**
56
+ * Cloud firewall instance ID, used to identify and manage the cloud firewall instance.
57
+ */
58
+ readonly cloudFirewallId: pulumi.Output<string>;
59
+ /**
60
+ * Error message returned when an error occurs during the creation or query of a NAT boundary firewall instance, used to describe the specific cause of the error.
61
+ */
62
+ readonly errMessage: pulumi.Output<string>;
63
+ /**
64
+ * Subnet CIDR of the NAT boundary firewall, used to specify the network range protected by the firewall, expressed in CIDR format.
65
+ */
66
+ readonly firewallCidr: pulumi.Output<string>;
67
+ /**
68
+ * Status of the NAT boundary firewall instance. creating: being created; deleting: being deleted; opened: created; closed: not created; error: error; updating: being upgraded.
69
+ */
70
+ readonly firewallStatus: pulumi.Output<string>;
71
+ /**
72
+ * Unique identifier of the NAT boundary firewall instance.
73
+ */
74
+ readonly natFirewallId: pulumi.Output<string>;
75
+ /**
76
+ * Name of the NAT boundary firewall instance, used to identify and manage the firewall instance.
77
+ */
78
+ readonly natFirewallName: pulumi.Output<string>;
79
+ /**
80
+ * Subnet CIDR of the NAT boundary firewall instance, used to identify the subnet IP address range protected by the firewall instance.
81
+ */
82
+ readonly natFirewallSubnetCidr: pulumi.Output<string>;
83
+ /**
84
+ * NAT gateway instance ID, used to identify and manage the NAT gateway instance. You must specify the associated NAT gateway when creating a NAT firewall.
85
+ */
86
+ readonly natGatewayId: pulumi.Output<string>;
87
+ /**
88
+ * Name of the NAT gateway, used to identify the associated NAT gateway.
89
+ */
90
+ readonly natGatewayName: pulumi.Output<string>;
91
+ /**
92
+ * Peak traffic of the NAT boundary firewall instance in the past 7 days, measured in bps, used to monitor the highest network traffic usage.
93
+ */
94
+ readonly peakTrafficWithin7Day: pulumi.Output<number>;
95
+ /**
96
+ * Project name, used to identify and manage the project to which the resource belongs. The default value is default.
97
+ */
98
+ readonly projectName: pulumi.Output<string>;
99
+ /**
100
+ * Project name to which the associated NAT gateway belongs.
101
+ */
102
+ readonly projectNameForNatGate: pulumi.Output<string>;
103
+ /**
104
+ * Subnet CIDR of the associated VPC, used to identify the IP address range of the VPC.
105
+ */
106
+ readonly vpcCidr: pulumi.Output<string>;
107
+ /**
108
+ * Unique identifier of the associated VPC.
109
+ */
110
+ readonly vpcId: pulumi.Output<string>;
111
+ /**
112
+ * Name of the associated VPC.
113
+ */
114
+ readonly vpcName: pulumi.Output<string>;
115
+ /**
116
+ * Availability zone where the NAT boundary firewall instance is located, used to identify the specific physical area where the instance is deployed.
117
+ */
118
+ readonly zoneId: pulumi.Output<string>;
119
+ /**
120
+ * Create a NatFireWall resource with the given unique name, arguments, and options.
121
+ *
122
+ * @param name The _unique_ name of the resource.
123
+ * @param args The arguments to use to populate this resource's properties.
124
+ * @param opts A bag of options that control this resource's behavior.
125
+ */
126
+ constructor(name: string, args: NatFireWallArgs, opts?: pulumi.CustomResourceOptions);
127
+ }
128
+ /**
129
+ * Input properties used for looking up and filtering NatFireWall resources.
130
+ */
131
+ export interface NatFireWallState {
132
+ /**
133
+ * Account ID for creating the NAT firewall, used to identify the account to which the NAT boundary firewall instance belongs.
134
+ */
135
+ accountId?: pulumi.Input<string | undefined>;
136
+ /**
137
+ * Authorized traffic bandwidth of the NAT boundary firewall instance, measured in Mbps, indicating the maximum network bandwidth allowed for the firewall instance. The minimum value is 10.
138
+ */
139
+ bandwidth?: pulumi.Input<number | undefined>;
140
+ /**
141
+ * Indicates whether creating a NAT boundary firewall is currently supported. true means supported, false means not supported.
142
+ */
143
+ canCreate?: pulumi.Input<boolean | undefined>;
144
+ /**
145
+ * Cloud firewall instance ID, used to identify and manage the cloud firewall instance.
146
+ */
147
+ cloudFirewallId?: pulumi.Input<string | undefined>;
148
+ /**
149
+ * Error message returned when an error occurs during the creation or query of a NAT boundary firewall instance, used to describe the specific cause of the error.
150
+ */
151
+ errMessage?: pulumi.Input<string | undefined>;
152
+ /**
153
+ * Subnet CIDR of the NAT boundary firewall, used to specify the network range protected by the firewall, expressed in CIDR format.
154
+ */
155
+ firewallCidr?: pulumi.Input<string | undefined>;
156
+ /**
157
+ * Status of the NAT boundary firewall instance. creating: being created; deleting: being deleted; opened: created; closed: not created; error: error; updating: being upgraded.
158
+ */
159
+ firewallStatus?: pulumi.Input<string | undefined>;
160
+ /**
161
+ * Unique identifier of the NAT boundary firewall instance.
162
+ */
163
+ natFirewallId?: pulumi.Input<string | undefined>;
164
+ /**
165
+ * Name of the NAT boundary firewall instance, used to identify and manage the firewall instance.
166
+ */
167
+ natFirewallName?: pulumi.Input<string | undefined>;
168
+ /**
169
+ * Subnet CIDR of the NAT boundary firewall instance, used to identify the subnet IP address range protected by the firewall instance.
170
+ */
171
+ natFirewallSubnetCidr?: pulumi.Input<string | undefined>;
172
+ /**
173
+ * NAT gateway instance ID, used to identify and manage the NAT gateway instance. You must specify the associated NAT gateway when creating a NAT firewall.
174
+ */
175
+ natGatewayId?: pulumi.Input<string | undefined>;
176
+ /**
177
+ * Name of the NAT gateway, used to identify the associated NAT gateway.
178
+ */
179
+ natGatewayName?: pulumi.Input<string | undefined>;
180
+ /**
181
+ * Peak traffic of the NAT boundary firewall instance in the past 7 days, measured in bps, used to monitor the highest network traffic usage.
182
+ */
183
+ peakTrafficWithin7Day?: pulumi.Input<number | undefined>;
184
+ /**
185
+ * Project name, used to identify and manage the project to which the resource belongs. The default value is default.
186
+ */
187
+ projectName?: pulumi.Input<string | undefined>;
188
+ /**
189
+ * Project name to which the associated NAT gateway belongs.
190
+ */
191
+ projectNameForNatGate?: pulumi.Input<string | undefined>;
192
+ /**
193
+ * Subnet CIDR of the associated VPC, used to identify the IP address range of the VPC.
194
+ */
195
+ vpcCidr?: pulumi.Input<string | undefined>;
196
+ /**
197
+ * Unique identifier of the associated VPC.
198
+ */
199
+ vpcId?: pulumi.Input<string | undefined>;
200
+ /**
201
+ * Name of the associated VPC.
202
+ */
203
+ vpcName?: pulumi.Input<string | undefined>;
204
+ /**
205
+ * Availability zone where the NAT boundary firewall instance is located, used to identify the specific physical area where the instance is deployed.
206
+ */
207
+ zoneId?: pulumi.Input<string | undefined>;
208
+ }
209
+ /**
210
+ * The set of arguments for constructing a NatFireWall resource.
211
+ */
212
+ export interface NatFireWallArgs {
213
+ /**
214
+ * Authorized traffic bandwidth of the NAT boundary firewall instance, measured in Mbps, indicating the maximum network bandwidth allowed for the firewall instance. The minimum value is 10.
215
+ */
216
+ bandwidth: pulumi.Input<number>;
217
+ /**
218
+ * Cloud firewall instance ID, used to identify and manage the cloud firewall instance.
219
+ */
220
+ cloudFirewallId?: pulumi.Input<string | undefined>;
221
+ /**
222
+ * Subnet CIDR of the NAT boundary firewall, used to specify the network range protected by the firewall, expressed in CIDR format.
223
+ */
224
+ firewallCidr: pulumi.Input<string>;
225
+ /**
226
+ * Name of the NAT boundary firewall instance, used to identify and manage the firewall instance.
227
+ */
228
+ natFirewallName: pulumi.Input<string>;
229
+ /**
230
+ * NAT gateway instance ID, used to identify and manage the NAT gateway instance. You must specify the associated NAT gateway when creating a NAT firewall.
231
+ */
232
+ natGatewayId: pulumi.Input<string>;
233
+ /**
234
+ * Project name, used to identify and manage the project to which the resource belongs. The default value is default.
235
+ */
236
+ projectName?: pulumi.Input<string | undefined>;
237
+ }
238
+ //# sourceMappingURL=natFireWall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"natFireWall.d.ts","sourceRoot":"","sources":["../../fwcenter/natFireWall.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAA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AAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAClD"}
@@ -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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;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,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,CAA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