@volcengine/pulumi 0.0.27 → 0.0.28

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 (264) hide show
  1. package/clb/clb.d.ts +8 -8
  2. package/clb/clb.js +0 -3
  3. package/clb/clb.js.map +1 -1
  4. package/cloud_firewall/cfwAddressBook.d.ts +128 -0
  5. package/cloud_firewall/cfwAddressBook.js +93 -0
  6. package/cloud_firewall/cfwAddressBook.js.map +1 -0
  7. package/cloud_firewall/cfwAddressBooks.d.ts +122 -0
  8. package/cloud_firewall/cfwAddressBooks.js +53 -0
  9. package/cloud_firewall/cfwAddressBooks.js.map +1 -0
  10. package/cloud_firewall/cfwControlPolicies.d.ts +176 -0
  11. package/cloud_firewall/cfwControlPolicies.js +56 -0
  12. package/cloud_firewall/cfwControlPolicies.js.map +1 -0
  13. package/cloud_firewall/cfwControlPolicy.d.ts +384 -0
  14. package/cloud_firewall/cfwControlPolicy.js +170 -0
  15. package/cloud_firewall/cfwControlPolicy.js.map +1 -0
  16. package/cloud_firewall/cfwControlPolicyPriority.d.ts +135 -0
  17. package/cloud_firewall/cfwControlPolicyPriority.js +116 -0
  18. package/cloud_firewall/cfwControlPolicyPriority.js.map +1 -0
  19. package/cloud_firewall/cfwDnsControlPolicies.d.ts +160 -0
  20. package/cloud_firewall/cfwDnsControlPolicies.js +80 -0
  21. package/cloud_firewall/cfwDnsControlPolicies.js.map +1 -0
  22. package/cloud_firewall/cfwDnsControlPolicy.d.ts +173 -0
  23. package/cloud_firewall/cfwDnsControlPolicy.js +107 -0
  24. package/cloud_firewall/cfwDnsControlPolicy.js.map +1 -0
  25. package/cloud_firewall/cfwNatFirewallControlPolicies.d.ts +200 -0
  26. package/cloud_firewall/cfwNatFirewallControlPolicies.js +58 -0
  27. package/cloud_firewall/cfwNatFirewallControlPolicies.js.map +1 -0
  28. package/cloud_firewall/cfwNatFirewallControlPolicy.d.ts +406 -0
  29. package/cloud_firewall/cfwNatFirewallControlPolicy.js +179 -0
  30. package/cloud_firewall/cfwNatFirewallControlPolicy.js.map +1 -0
  31. package/cloud_firewall/cfwNatFirewallControlPolicyPriority.d.ts +150 -0
  32. package/cloud_firewall/cfwNatFirewallControlPolicyPriority.js +124 -0
  33. package/cloud_firewall/cfwNatFirewallControlPolicyPriority.js.map +1 -0
  34. package/cloud_firewall/cfwVpcFirewallAclRule.d.ts +392 -0
  35. package/cloud_firewall/cfwVpcFirewallAclRule.js +172 -0
  36. package/cloud_firewall/cfwVpcFirewallAclRule.js.map +1 -0
  37. package/cloud_firewall/cfwVpcFirewallAclRulePriority.d.ts +135 -0
  38. package/cloud_firewall/cfwVpcFirewallAclRulePriority.js +116 -0
  39. package/cloud_firewall/cfwVpcFirewallAclRulePriority.js.map +1 -0
  40. package/cloud_firewall/cfwVpcFirewallAclRules.d.ts +182 -0
  41. package/cloud_firewall/cfwVpcFirewallAclRules.js +62 -0
  42. package/cloud_firewall/cfwVpcFirewallAclRules.js.map +1 -0
  43. package/cloud_firewall/index.d.ts +39 -0
  44. package/cloud_firewall/index.js +72 -0
  45. package/cloud_firewall/index.js.map +1 -0
  46. package/cloud_monitor/rule.d.ts +29 -11
  47. package/cloud_monitor/rule.js +10 -2
  48. package/cloud_monitor/rule.js.map +1 -1
  49. package/config/vars.d.ts +4 -0
  50. package/config/vars.js +6 -0
  51. package/config/vars.js.map +1 -1
  52. package/dns/backup.d.ts +83 -0
  53. package/dns/backup.js +75 -0
  54. package/dns/backup.js.map +1 -0
  55. package/dns/backupSchedule.d.ts +90 -0
  56. package/dns/backupSchedule.js +81 -0
  57. package/dns/backupSchedule.js.map +1 -0
  58. package/dns/backups.d.ts +84 -0
  59. package/dns/backups.js +47 -0
  60. package/dns/backups.js.map +1 -0
  61. package/dns/index.d.ts +24 -0
  62. package/dns/index.js +49 -0
  63. package/dns/index.js.map +1 -0
  64. package/dns/record.d.ts +220 -0
  65. package/dns/record.js +115 -0
  66. package/dns/record.js.map +1 -0
  67. package/dns/recordSets.d.ts +122 -0
  68. package/dns/recordSets.js +58 -0
  69. package/dns/recordSets.js.map +1 -0
  70. package/dns/records.d.ts +150 -0
  71. package/dns/records.js +53 -0
  72. package/dns/records.js.map +1 -0
  73. package/dns/zone.d.ts +225 -0
  74. package/dns/zone.js +113 -0
  75. package/dns/zone.js.map +1 -0
  76. package/dns/zones.d.ts +169 -0
  77. package/dns/zones.js +61 -0
  78. package/dns/zones.js.map +1 -0
  79. package/ebs/volume.d.ts +27 -15
  80. package/ebs/volume.js +2 -0
  81. package/ebs/volume.js.map +1 -1
  82. package/ecs/instance.d.ts +12 -0
  83. package/ecs/instance.js +2 -0
  84. package/ecs/instance.js.map +1 -1
  85. package/escloud/instance.d.ts +1 -1
  86. package/escloud/instance.js +1 -1
  87. package/escloud/instances.d.ts +2 -2
  88. package/escloud/instances.js +2 -2
  89. package/escloud/regions.d.ts +2 -2
  90. package/escloud/regions.js +2 -2
  91. package/escloud/zones.d.ts +2 -2
  92. package/escloud/zones.js +2 -2
  93. package/escloud_v2/escloudInstanceV2.d.ts +496 -0
  94. package/escloud_v2/escloudInstanceV2.js +243 -0
  95. package/escloud_v2/escloudInstanceV2.js.map +1 -0
  96. package/escloud_v2/escloudInstancesV2.d.ts +53 -0
  97. package/escloud_v2/escloudInstancesV2.js +28 -0
  98. package/escloud_v2/escloudInstancesV2.js.map +1 -0
  99. package/escloud_v2/escloudIpWhiteList.d.ts +188 -0
  100. package/escloud_v2/escloudIpWhiteList.js +171 -0
  101. package/escloud_v2/escloudIpWhiteList.js.map +1 -0
  102. package/escloud_v2/index.d.ts +9 -0
  103. package/escloud_v2/index.js +30 -0
  104. package/escloud_v2/index.js.map +1 -0
  105. package/index.d.ts +6 -1
  106. package/index.js +11 -1
  107. package/index.js.map +1 -1
  108. package/mongodb/account.d.ts +188 -0
  109. package/mongodb/account.js +142 -0
  110. package/mongodb/account.js.map +1 -0
  111. package/mongodb/accounts.d.ts +16 -4
  112. package/mongodb/accounts.js +1 -0
  113. package/mongodb/accounts.js.map +1 -1
  114. package/mongodb/endpoint.d.ts +3 -3
  115. package/mongodb/index.d.ts +3 -0
  116. package/mongodb/index.js +6 -1
  117. package/mongodb/index.js.map +1 -1
  118. package/mongodb/instance.d.ts +117 -46
  119. package/mongodb/instance.js +40 -7
  120. package/mongodb/instance.js.map +1 -1
  121. package/mongodb/instanceParameter.d.ts +3 -3
  122. package/mongodb/instances.d.ts +12 -0
  123. package/mongodb/instances.js +1 -0
  124. package/mongodb/instances.js.map +1 -1
  125. package/mongodb/mongoAllowList.d.ts +43 -4
  126. package/mongodb/mongoAllowList.js +10 -1
  127. package/mongodb/mongoAllowList.js.map +1 -1
  128. package/mongodb/mongoAllowLists.d.ts +12 -0
  129. package/mongodb/mongoAllowLists.js +1 -0
  130. package/mongodb/mongoAllowLists.js.map +1 -1
  131. package/package.json +1 -1
  132. package/privatelink/vpcEndpoint.d.ts +20 -0
  133. package/privatelink/vpcEndpoint.js +4 -0
  134. package/privatelink/vpcEndpoint.js.map +1 -1
  135. package/provider.d.ts +8 -0
  136. package/provider.js +1 -0
  137. package/provider.js.map +1 -1
  138. package/rabbitmq/index.d.ts +15 -0
  139. package/rabbitmq/index.js +38 -0
  140. package/rabbitmq/index.js.map +1 -0
  141. package/rabbitmq/instance.d.ts +323 -0
  142. package/rabbitmq/instance.js +172 -0
  143. package/rabbitmq/instance.js.map +1 -0
  144. package/rabbitmq/instancePlugin.d.ts +173 -0
  145. package/rabbitmq/instancePlugin.js +128 -0
  146. package/rabbitmq/instancePlugin.js.map +1 -0
  147. package/rabbitmq/instancePlugins.d.ts +154 -0
  148. package/rabbitmq/instancePlugins.js +117 -0
  149. package/rabbitmq/instancePlugins.js.map +1 -0
  150. package/rabbitmq/instances.d.ts +251 -0
  151. package/rabbitmq/instances.js +126 -0
  152. package/rabbitmq/instances.js.map +1 -0
  153. package/rabbitmq/publicAddress.d.ts +124 -0
  154. package/rabbitmq/publicAddress.js +121 -0
  155. package/rabbitmq/publicAddress.js.map +1 -0
  156. package/rds_mysql/account.d.ts +15 -5
  157. package/rds_mysql/account.js +15 -5
  158. package/rds_mysql/account.js.map +1 -1
  159. package/rds_mysql/allowlist.d.ts +77 -8
  160. package/rds_mysql/allowlist.js +22 -7
  161. package/rds_mysql/allowlist.js.map +1 -1
  162. package/rds_mysql/backup.d.ts +128 -0
  163. package/rds_mysql/backup.js +85 -0
  164. package/rds_mysql/backup.js.map +1 -0
  165. package/rds_mysql/backupPolicy.d.ts +380 -0
  166. package/rds_mysql/backupPolicy.js +125 -0
  167. package/rds_mysql/backupPolicy.js.map +1 -0
  168. package/rds_mysql/backups.d.ts +178 -0
  169. package/rds_mysql/backups.js +68 -0
  170. package/rds_mysql/backups.js.map +1 -0
  171. package/rds_mysql/endpoint.d.ts +254 -0
  172. package/rds_mysql/endpoint.js +124 -0
  173. package/rds_mysql/endpoint.js.map +1 -0
  174. package/rds_mysql/endpointPublicAddress.d.ts +108 -0
  175. package/rds_mysql/endpointPublicAddress.js +88 -0
  176. package/rds_mysql/endpointPublicAddress.js.map +1 -0
  177. package/rds_mysql/endpoints.d.ts +75 -0
  178. package/rds_mysql/endpoints.js +46 -0
  179. package/rds_mysql/endpoints.js.map +1 -0
  180. package/rds_mysql/index.d.ts +33 -0
  181. package/rds_mysql/index.js +44 -1
  182. package/rds_mysql/index.js.map +1 -1
  183. package/rds_mysql/instance.d.ts +107 -5
  184. package/rds_mysql/instance.js +21 -3
  185. package/rds_mysql/instance.js.map +1 -1
  186. package/rds_mysql/instanceSpecs.d.ts +122 -0
  187. package/rds_mysql/instanceSpecs.js +52 -0
  188. package/rds_mysql/instanceSpecs.js.map +1 -0
  189. package/rds_mysql/parameterTemplate.d.ts +132 -0
  190. package/rds_mysql/parameterTemplate.js +97 -0
  191. package/rds_mysql/parameterTemplate.js.map +1 -0
  192. package/rds_mysql/parameterTemplates.d.ts +124 -0
  193. package/rds_mysql/parameterTemplates.js +52 -0
  194. package/rds_mysql/parameterTemplates.js.map +1 -0
  195. package/rds_mysql/regions.d.ts +62 -0
  196. package/rds_mysql/regions.js +42 -0
  197. package/rds_mysql/regions.js.map +1 -0
  198. package/rds_mysql/zones.d.ts +62 -0
  199. package/rds_mysql/zones.js +42 -0
  200. package/rds_mysql/zones.js.map +1 -0
  201. package/redis/instance.d.ts +4 -4
  202. package/redis/instance.js +4 -4
  203. package/rocketmq/accessKeys.d.ts +90 -0
  204. package/rocketmq/accessKeys.js +47 -0
  205. package/rocketmq/accessKeys.js.map +1 -0
  206. package/rocketmq/allowLists.d.ts +62 -0
  207. package/rocketmq/allowLists.js +42 -0
  208. package/rocketmq/allowLists.js.map +1 -0
  209. package/rocketmq/groups.d.ts +99 -0
  210. package/rocketmq/groups.js +48 -0
  211. package/rocketmq/groups.js.map +1 -0
  212. package/rocketmq/index.d.ts +36 -0
  213. package/rocketmq/index.js +67 -0
  214. package/rocketmq/index.js.map +1 -0
  215. package/rocketmq/instances.d.ts +193 -0
  216. package/rocketmq/instances.js +57 -0
  217. package/rocketmq/instances.js.map +1 -0
  218. package/rocketmq/rocketMQAccessKey.d.ts +176 -0
  219. package/rocketmq/rocketMQAccessKey.js +130 -0
  220. package/rocketmq/rocketMQAccessKey.js.map +1 -0
  221. package/rocketmq/rocketMQAllowList.d.ts +132 -0
  222. package/rocketmq/rocketMQAllowList.js +93 -0
  223. package/rocketmq/rocketMQAllowList.js.map +1 -0
  224. package/rocketmq/rocketMQAllowListAssociate.d.ts +121 -0
  225. package/rocketmq/rocketMQAllowListAssociate.js +118 -0
  226. package/rocketmq/rocketMQAllowListAssociate.js.map +1 -0
  227. package/rocketmq/rocketMQGroup.d.ts +190 -0
  228. package/rocketmq/rocketMQGroup.js +129 -0
  229. package/rocketmq/rocketMQGroup.js.map +1 -0
  230. package/rocketmq/rocketMQInstance.d.ts +351 -0
  231. package/rocketmq/rocketMQInstance.js +171 -0
  232. package/rocketmq/rocketMQInstance.js.map +1 -0
  233. package/rocketmq/rocketMQPublicAddress.d.ts +133 -0
  234. package/rocketmq/rocketMQPublicAddress.js +120 -0
  235. package/rocketmq/rocketMQPublicAddress.js.map +1 -0
  236. package/rocketmq/rocketMQTopic.d.ts +191 -0
  237. package/rocketmq/rocketMQTopic.js +140 -0
  238. package/rocketmq/rocketMQTopic.js.map +1 -0
  239. package/rocketmq/topics.d.ts +121 -0
  240. package/rocketmq/topics.js +49 -0
  241. package/rocketmq/topics.js.map +1 -0
  242. package/tos/bucket.d.ts +27 -1
  243. package/tos/bucket.js +7 -1
  244. package/tos/bucket.js.map +1 -1
  245. package/tos/bucketInventories.d.ts +156 -0
  246. package/tos/bucketInventories.js +108 -0
  247. package/tos/bucketInventories.js.map +1 -0
  248. package/tos/bucketInventory.d.ts +180 -0
  249. package/tos/bucketInventory.js +127 -0
  250. package/tos/bucketInventory.js.map +1 -0
  251. package/tos/bucketObject.d.ts +11 -3
  252. package/tos/bucketObject.js +2 -0
  253. package/tos/bucketObject.js.map +1 -1
  254. package/tos/bucketRealtimeLog.d.ts +100 -0
  255. package/tos/bucketRealtimeLog.js +88 -0
  256. package/tos/bucketRealtimeLog.js.map +1 -0
  257. package/tos/index.d.ts +9 -0
  258. package/tos/index.js +14 -1
  259. package/tos/index.js.map +1 -1
  260. package/types/input.d.ts +570 -8
  261. package/types/output.d.ts +8719 -5442
  262. package/vke/nodePool.d.ts +1 -0
  263. package/vke/nodePool.js +1 -0
  264. package/vke/nodePool.js.map +1 -1
package/clb/clb.d.ts CHANGED
@@ -149,7 +149,7 @@ export declare class Clb extends pulumi.CustomResource {
149
149
  */
150
150
  readonly ipv6EipId: pulumi.Output<string>;
151
151
  /**
152
- * The billing type of the CLB, the value can be `PostPaid` or `PrePaid`.
152
+ * The billing type of the CLB, valid values: `PostPaid`, `PrePaid`, `PostPaidByLCU`. Default is `PostPaid`.
153
153
  */
154
154
  readonly loadBalancerBillingType: pulumi.Output<string>;
155
155
  /**
@@ -157,9 +157,9 @@ export declare class Clb extends pulumi.CustomResource {
157
157
  */
158
158
  readonly loadBalancerName: pulumi.Output<string>;
159
159
  /**
160
- * The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`.
160
+ * The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`. When the value of the `loadBalancerBillingType` is `PostPaidByLCU`, this field does not need to be specified.
161
161
  */
162
- readonly loadBalancerSpec: pulumi.Output<string>;
162
+ readonly loadBalancerSpec: pulumi.Output<string | undefined>;
163
163
  /**
164
164
  * The master zone ID of the CLB.
165
165
  */
@@ -255,7 +255,7 @@ export interface ClbState {
255
255
  */
256
256
  ipv6EipId?: pulumi.Input<string>;
257
257
  /**
258
- * The billing type of the CLB, the value can be `PostPaid` or `PrePaid`.
258
+ * The billing type of the CLB, valid values: `PostPaid`, `PrePaid`, `PostPaidByLCU`. Default is `PostPaid`.
259
259
  */
260
260
  loadBalancerBillingType?: pulumi.Input<string>;
261
261
  /**
@@ -263,7 +263,7 @@ export interface ClbState {
263
263
  */
264
264
  loadBalancerName?: pulumi.Input<string>;
265
265
  /**
266
- * The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`.
266
+ * The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`. When the value of the `loadBalancerBillingType` is `PostPaidByLCU`, this field does not need to be specified.
267
267
  */
268
268
  loadBalancerSpec?: pulumi.Input<string>;
269
269
  /**
@@ -341,7 +341,7 @@ export interface ClbArgs {
341
341
  */
342
342
  eniIpv6Address?: pulumi.Input<string>;
343
343
  /**
344
- * The billing type of the CLB, the value can be `PostPaid` or `PrePaid`.
344
+ * The billing type of the CLB, valid values: `PostPaid`, `PrePaid`, `PostPaidByLCU`. Default is `PostPaid`.
345
345
  */
346
346
  loadBalancerBillingType?: pulumi.Input<string>;
347
347
  /**
@@ -349,9 +349,9 @@ export interface ClbArgs {
349
349
  */
350
350
  loadBalancerName?: pulumi.Input<string>;
351
351
  /**
352
- * The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`.
352
+ * The specification of the CLB, the value can be `small1`, `small2`, `medium1`, `medium2`, `large1`, `large2`. When the value of the `loadBalancerBillingType` is `PostPaidByLCU`, this field does not need to be specified.
353
353
  */
354
- loadBalancerSpec: pulumi.Input<string>;
354
+ loadBalancerSpec?: pulumi.Input<string>;
355
355
  /**
356
356
  * The master zone ID of the CLB.
357
357
  */
package/clb/clb.js CHANGED
@@ -157,9 +157,6 @@ class Clb extends pulumi.CustomResource {
157
157
  }
158
158
  else {
159
159
  const args = argsOrState;
160
- if ((!args || args.loadBalancerSpec === undefined) && !opts.urn) {
161
- throw new Error("Missing required property 'loadBalancerSpec'");
162
- }
163
160
  if ((!args || args.subnetId === undefined) && !opts.urn) {
164
161
  throw new Error("Missing required property 'subnetId'");
165
162
  }
package/clb/clb.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"clb.js","sourceRoot":"","sources":["../../clb/clb.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiGG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,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AnLG,gBAAgB;AACO,gBAAY,GAAG,wBAAwB,CAAC"}
@@ -0,0 +1,128 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage cfw address book
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.cloud_firewall.CfwAddressBook("foo", {
11
+ * addressLists: [
12
+ * "192.168.1.1",
13
+ * "192.168.2.2",
14
+ * ],
15
+ * description: "acc-test",
16
+ * groupName: "acc-test-address-book",
17
+ * groupType: "ip",
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * AddressBook can be imported using the id, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import volcengine:cloud_firewall/cfwAddressBook:CfwAddressBook default resource_id
27
+ * ```
28
+ */
29
+ export declare class CfwAddressBook extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing CfwAddressBook resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CfwAddressBookState, opts?: pulumi.CustomResourceOptions): CfwAddressBook;
40
+ /**
41
+ * Returns true if the given object is an instance of CfwAddressBook. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is CfwAddressBook;
45
+ /**
46
+ * The address list of the address book.
47
+ * When groupType is `ip`, fill in IPv4/CIDRV4 addresses in the address list.
48
+ * When groupType is `port`, fill in the port information in the address list, supporting two formats: 22 and 100/200.
49
+ * When groupType is `domain`, fill in the domain name information in the address list.
50
+ */
51
+ readonly addressLists: pulumi.Output<string[]>;
52
+ /**
53
+ * The description of the address book.
54
+ */
55
+ readonly description: pulumi.Output<string | undefined>;
56
+ /**
57
+ * The name of the address book.
58
+ */
59
+ readonly groupName: pulumi.Output<string>;
60
+ /**
61
+ * The type of the address book. Valid values: `ip`, `port`, `domain`.
62
+ */
63
+ readonly groupType: pulumi.Output<string>;
64
+ /**
65
+ * The reference count of the address book.
66
+ */
67
+ readonly refCnt: pulumi.Output<number>;
68
+ /**
69
+ * Create a CfwAddressBook resource with the given unique name, arguments, and options.
70
+ *
71
+ * @param name The _unique_ name of the resource.
72
+ * @param args The arguments to use to populate this resource's properties.
73
+ * @param opts A bag of options that control this resource's behavior.
74
+ */
75
+ constructor(name: string, args: CfwAddressBookArgs, opts?: pulumi.CustomResourceOptions);
76
+ }
77
+ /**
78
+ * Input properties used for looking up and filtering CfwAddressBook resources.
79
+ */
80
+ export interface CfwAddressBookState {
81
+ /**
82
+ * The address list of the address book.
83
+ * When groupType is `ip`, fill in IPv4/CIDRV4 addresses in the address list.
84
+ * When groupType is `port`, fill in the port information in the address list, supporting two formats: 22 and 100/200.
85
+ * When groupType is `domain`, fill in the domain name information in the address list.
86
+ */
87
+ addressLists?: pulumi.Input<pulumi.Input<string>[]>;
88
+ /**
89
+ * The description of the address book.
90
+ */
91
+ description?: pulumi.Input<string>;
92
+ /**
93
+ * The name of the address book.
94
+ */
95
+ groupName?: pulumi.Input<string>;
96
+ /**
97
+ * The type of the address book. Valid values: `ip`, `port`, `domain`.
98
+ */
99
+ groupType?: pulumi.Input<string>;
100
+ /**
101
+ * The reference count of the address book.
102
+ */
103
+ refCnt?: pulumi.Input<number>;
104
+ }
105
+ /**
106
+ * The set of arguments for constructing a CfwAddressBook resource.
107
+ */
108
+ export interface CfwAddressBookArgs {
109
+ /**
110
+ * The address list of the address book.
111
+ * When groupType is `ip`, fill in IPv4/CIDRV4 addresses in the address list.
112
+ * When groupType is `port`, fill in the port information in the address list, supporting two formats: 22 and 100/200.
113
+ * When groupType is `domain`, fill in the domain name information in the address list.
114
+ */
115
+ addressLists: pulumi.Input<pulumi.Input<string>[]>;
116
+ /**
117
+ * The description of the address book.
118
+ */
119
+ description?: pulumi.Input<string>;
120
+ /**
121
+ * The name of the address book.
122
+ */
123
+ groupName: pulumi.Input<string>;
124
+ /**
125
+ * The type of the address book. Valid values: `ip`, `port`, `domain`.
126
+ */
127
+ groupType: pulumi.Input<string>;
128
+ }
@@ -0,0 +1,93 @@
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.CfwAddressBook = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage cfw address book
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.cloud_firewall.CfwAddressBook("foo", {
17
+ * addressLists: [
18
+ * "192.168.1.1",
19
+ * "192.168.2.2",
20
+ * ],
21
+ * description: "acc-test",
22
+ * groupName: "acc-test-address-book",
23
+ * groupType: "ip",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * AddressBook can be imported using the id, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import volcengine:cloud_firewall/cfwAddressBook:CfwAddressBook default resource_id
33
+ * ```
34
+ */
35
+ class CfwAddressBook extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing CfwAddressBook resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name, id, state, opts) {
46
+ return new CfwAddressBook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of CfwAddressBook. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === CfwAddressBook.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["addressLists"] = state ? state.addressLists : undefined;
64
+ resourceInputs["description"] = state ? state.description : undefined;
65
+ resourceInputs["groupName"] = state ? state.groupName : undefined;
66
+ resourceInputs["groupType"] = state ? state.groupType : undefined;
67
+ resourceInputs["refCnt"] = state ? state.refCnt : undefined;
68
+ }
69
+ else {
70
+ const args = argsOrState;
71
+ if ((!args || args.addressLists === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'addressLists'");
73
+ }
74
+ if ((!args || args.groupName === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'groupName'");
76
+ }
77
+ if ((!args || args.groupType === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'groupType'");
79
+ }
80
+ resourceInputs["addressLists"] = args ? args.addressLists : undefined;
81
+ resourceInputs["description"] = args ? args.description : undefined;
82
+ resourceInputs["groupName"] = args ? args.groupName : undefined;
83
+ resourceInputs["groupType"] = args ? args.groupType : undefined;
84
+ resourceInputs["refCnt"] = undefined /*out*/;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(CfwAddressBook.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.CfwAddressBook = CfwAddressBook;
91
+ /** @internal */
92
+ CfwAddressBook.__pulumiType = 'volcengine:cloud_firewall/cfwAddressBook:CfwAddressBook';
93
+ //# sourceMappingURL=cfwAddressBook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"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,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAzFL,wCA0FC;AA5EG,gBAAgB;AACO,2BAAY,GAAG,yDAAyD,CAAC"}
@@ -0,0 +1,122 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of cfw address books
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const foo = volcengine.cloud_firewall.CfwAddressBooks({
12
+ * groupName: "acc-test",
13
+ * groupType: "ip",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function cfwAddressBooks(args?: CfwAddressBooksArgs, opts?: pulumi.InvokeOptions): Promise<CfwAddressBooksResult>;
18
+ /**
19
+ * A collection of arguments for invoking CfwAddressBooks.
20
+ */
21
+ export interface CfwAddressBooksArgs {
22
+ /**
23
+ * The group type of address book. This field support fuzzy query.
24
+ */
25
+ address?: string;
26
+ /**
27
+ * The group type of address book. This field support fuzzy query.
28
+ */
29
+ description?: string;
30
+ /**
31
+ * The group name of address book. This field support fuzzy query.
32
+ */
33
+ groupName?: string;
34
+ /**
35
+ * The group type of address book. Valid values: `ip`, `port`, `domain`.
36
+ */
37
+ groupType?: string;
38
+ /**
39
+ * A Name Regex of Resource.
40
+ */
41
+ nameRegex?: string;
42
+ /**
43
+ * File name where to save data source results.
44
+ */
45
+ outputFile?: string;
46
+ }
47
+ /**
48
+ * A collection of values returned by CfwAddressBooks.
49
+ */
50
+ export interface CfwAddressBooksResult {
51
+ readonly address?: string;
52
+ /**
53
+ * The collection of query.
54
+ */
55
+ readonly addressBooks: outputs.cloud_firewall.CfwAddressBooksAddressBook[];
56
+ /**
57
+ * The description of the address book.
58
+ */
59
+ readonly description?: string;
60
+ /**
61
+ * The name of the address book.
62
+ */
63
+ readonly groupName?: string;
64
+ /**
65
+ * The type of the address book.
66
+ */
67
+ readonly groupType?: string;
68
+ /**
69
+ * The provider-assigned unique ID for this managed resource.
70
+ */
71
+ readonly id: string;
72
+ readonly nameRegex?: string;
73
+ readonly outputFile?: string;
74
+ /**
75
+ * The total count of query.
76
+ */
77
+ readonly totalCount: number;
78
+ }
79
+ /**
80
+ * Use this data source to query detailed information of cfw address books
81
+ * ## Example Usage
82
+ *
83
+ * ```typescript
84
+ * import * as pulumi from "@pulumi/pulumi";
85
+ * import * as volcengine from "@pulumi/volcengine";
86
+ *
87
+ * const foo = volcengine.cloud_firewall.CfwAddressBooks({
88
+ * groupName: "acc-test",
89
+ * groupType: "ip",
90
+ * });
91
+ * ```
92
+ */
93
+ export declare function cfwAddressBooksOutput(args?: CfwAddressBooksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CfwAddressBooksResult>;
94
+ /**
95
+ * A collection of arguments for invoking CfwAddressBooks.
96
+ */
97
+ export interface CfwAddressBooksOutputArgs {
98
+ /**
99
+ * The group type of address book. This field support fuzzy query.
100
+ */
101
+ address?: pulumi.Input<string>;
102
+ /**
103
+ * The group type of address book. This field support fuzzy query.
104
+ */
105
+ description?: pulumi.Input<string>;
106
+ /**
107
+ * The group name of address book. This field support fuzzy query.
108
+ */
109
+ groupName?: pulumi.Input<string>;
110
+ /**
111
+ * The group type of address book. Valid values: `ip`, `port`, `domain`.
112
+ */
113
+ groupType?: pulumi.Input<string>;
114
+ /**
115
+ * A Name Regex of Resource.
116
+ */
117
+ nameRegex?: pulumi.Input<string>;
118
+ /**
119
+ * File name where to save data source results.
120
+ */
121
+ outputFile?: pulumi.Input<string>;
122
+ }
@@ -0,0 +1,53 @@
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.cfwAddressBooksOutput = exports.cfwAddressBooks = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of cfw address books
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const foo = volcengine.cloud_firewall.CfwAddressBooks({
17
+ * groupName: "acc-test",
18
+ * groupType: "ip",
19
+ * });
20
+ * ```
21
+ */
22
+ function cfwAddressBooks(args, opts) {
23
+ args = args || {};
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("volcengine:cloud_firewall/cfwAddressBooks:CfwAddressBooks", {
26
+ "address": args.address,
27
+ "description": args.description,
28
+ "groupName": args.groupName,
29
+ "groupType": args.groupType,
30
+ "nameRegex": args.nameRegex,
31
+ "outputFile": args.outputFile,
32
+ }, opts);
33
+ }
34
+ exports.cfwAddressBooks = cfwAddressBooks;
35
+ /**
36
+ * Use this data source to query detailed information of cfw address books
37
+ * ## Example Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as volcengine from "@pulumi/volcengine";
42
+ *
43
+ * const foo = volcengine.cloud_firewall.CfwAddressBooks({
44
+ * groupName: "acc-test",
45
+ * groupType: "ip",
46
+ * });
47
+ * ```
48
+ */
49
+ function cfwAddressBooksOutput(args, opts) {
50
+ return pulumi.output(args).apply((a) => cfwAddressBooks(a, opts));
51
+ }
52
+ exports.cfwAddressBooksOutput = cfwAddressBooksOutput;
53
+ //# sourceMappingURL=cfwAddressBooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cfwAddressBooks.js","sourceRoot":"","sources":["../../cloud_firewall/cfwAddressBooks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0CAYC;AAgED;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -0,0 +1,176 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of cfw control policies
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const foo = volcengine.cloud_firewall.CfwControlPolicies({
12
+ * actions: ["deny"],
13
+ * direction: "in",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function cfwControlPolicies(args: CfwControlPoliciesArgs, opts?: pulumi.InvokeOptions): Promise<CfwControlPoliciesResult>;
18
+ /**
19
+ * A collection of arguments for invoking CfwControlPolicies.
20
+ */
21
+ export interface CfwControlPoliciesArgs {
22
+ /**
23
+ * The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
24
+ */
25
+ actions?: string[];
26
+ /**
27
+ * The description of the control policy. This field support fuzzy query.
28
+ */
29
+ description?: string;
30
+ /**
31
+ * The destination of the control policy. This field support fuzzy query.
32
+ */
33
+ destination?: string;
34
+ /**
35
+ * The direction of control policy. Valid values: `in`, `out`.
36
+ */
37
+ direction: string;
38
+ /**
39
+ * File name where to save data source results.
40
+ */
41
+ outputFile?: string;
42
+ /**
43
+ * The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
44
+ */
45
+ protos?: string[];
46
+ /**
47
+ * The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
48
+ */
49
+ repeatTypes?: string[];
50
+ /**
51
+ * The rule id of the control policy. This field support fuzzy query.
52
+ */
53
+ ruleId?: string;
54
+ /**
55
+ * The source of the control policy. This field support fuzzy query.
56
+ */
57
+ source?: string;
58
+ /**
59
+ * The enable status list of the control policy.
60
+ */
61
+ statuses?: boolean[];
62
+ }
63
+ /**
64
+ * A collection of values returned by CfwControlPolicies.
65
+ */
66
+ export interface CfwControlPoliciesResult {
67
+ /**
68
+ * The action of the control policy.
69
+ */
70
+ readonly actions?: string[];
71
+ /**
72
+ * The collection of query.
73
+ */
74
+ readonly controlPolicies: outputs.cloud_firewall.CfwControlPoliciesControlPolicy[];
75
+ /**
76
+ * The description of the control policy.
77
+ */
78
+ readonly description?: string;
79
+ /**
80
+ * The destination of the control policy.
81
+ */
82
+ readonly destination?: string;
83
+ /**
84
+ * The direction of the control policy.
85
+ */
86
+ readonly direction: string;
87
+ /**
88
+ * The provider-assigned unique ID for this managed resource.
89
+ */
90
+ readonly id: string;
91
+ readonly outputFile?: string;
92
+ /**
93
+ * The proto of the control policy.
94
+ */
95
+ readonly protos?: string[];
96
+ /**
97
+ * The repeat type of the control policy.
98
+ */
99
+ readonly repeatTypes?: string[];
100
+ /**
101
+ * The id of the control policy.
102
+ */
103
+ readonly ruleId?: string;
104
+ /**
105
+ * The source of the control policy.
106
+ */
107
+ readonly source?: string;
108
+ /**
109
+ * Whether to enable the control policy.
110
+ */
111
+ readonly statuses?: boolean[];
112
+ /**
113
+ * The total count of query.
114
+ */
115
+ readonly totalCount: number;
116
+ }
117
+ /**
118
+ * Use this data source to query detailed information of cfw control policies
119
+ * ## Example Usage
120
+ *
121
+ * ```typescript
122
+ * import * as pulumi from "@pulumi/pulumi";
123
+ * import * as volcengine from "@pulumi/volcengine";
124
+ *
125
+ * const foo = volcengine.cloud_firewall.CfwControlPolicies({
126
+ * actions: ["deny"],
127
+ * direction: "in",
128
+ * });
129
+ * ```
130
+ */
131
+ export declare function cfwControlPoliciesOutput(args: CfwControlPoliciesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CfwControlPoliciesResult>;
132
+ /**
133
+ * A collection of arguments for invoking CfwControlPolicies.
134
+ */
135
+ export interface CfwControlPoliciesOutputArgs {
136
+ /**
137
+ * The action list of the control policy. Valid values: `accept`, `deny`, `monitor`.
138
+ */
139
+ actions?: pulumi.Input<pulumi.Input<string>[]>;
140
+ /**
141
+ * The description of the control policy. This field support fuzzy query.
142
+ */
143
+ description?: pulumi.Input<string>;
144
+ /**
145
+ * The destination of the control policy. This field support fuzzy query.
146
+ */
147
+ destination?: pulumi.Input<string>;
148
+ /**
149
+ * The direction of control policy. Valid values: `in`, `out`.
150
+ */
151
+ direction: pulumi.Input<string>;
152
+ /**
153
+ * File name where to save data source results.
154
+ */
155
+ outputFile?: pulumi.Input<string>;
156
+ /**
157
+ * The proto list of the control policy. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`.
158
+ */
159
+ protos?: pulumi.Input<pulumi.Input<string>[]>;
160
+ /**
161
+ * The repeat type of the control policy. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`.
162
+ */
163
+ repeatTypes?: pulumi.Input<pulumi.Input<string>[]>;
164
+ /**
165
+ * The rule id of the control policy. This field support fuzzy query.
166
+ */
167
+ ruleId?: pulumi.Input<string>;
168
+ /**
169
+ * The source of the control policy. This field support fuzzy query.
170
+ */
171
+ source?: pulumi.Input<string>;
172
+ /**
173
+ * The enable status list of the control policy.
174
+ */
175
+ statuses?: pulumi.Input<pulumi.Input<boolean>[]>;
176
+ }