@volcengine/pulumi-volcenginecc 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/alb/acl.d.ts +149 -0
  2. package/alb/acl.js +96 -0
  3. package/alb/acl.js.map +1 -0
  4. package/alb/getAcl.d.ts +81 -0
  5. package/alb/getAcl.js +28 -0
  6. package/alb/getAcl.js.map +1 -0
  7. package/alb/getAcls.d.ts +22 -0
  8. package/alb/getAcls.js +24 -0
  9. package/alb/getAcls.js.map +1 -0
  10. package/alb/getListener.d.ts +157 -0
  11. package/alb/getListener.js +28 -0
  12. package/alb/getListener.js.map +1 -0
  13. package/alb/getListeners.d.ts +22 -0
  14. package/alb/getListeners.js +24 -0
  15. package/alb/getListeners.js.map +1 -0
  16. package/alb/getLoadBalancer.d.ts +153 -0
  17. package/alb/getLoadBalancer.js +28 -0
  18. package/alb/getLoadBalancer.js.map +1 -0
  19. package/alb/getLoadBalancers.d.ts +22 -0
  20. package/alb/getLoadBalancers.js +24 -0
  21. package/alb/getLoadBalancers.js.map +1 -0
  22. package/alb/getServerGroup.d.ts +109 -0
  23. package/alb/getServerGroup.js +28 -0
  24. package/alb/getServerGroup.js.map +1 -0
  25. package/alb/getServerGroups.d.ts +22 -0
  26. package/alb/getServerGroups.js +24 -0
  27. package/alb/getServerGroups.js.map +1 -0
  28. package/alb/index.d.ts +36 -0
  29. package/alb/index.js +45 -1
  30. package/alb/index.js.map +1 -1
  31. package/alb/listener.d.ts +360 -0
  32. package/alb/listener.js +128 -0
  33. package/alb/listener.js.map +1 -0
  34. package/alb/loadBalancer.d.ts +341 -0
  35. package/alb/loadBalancer.js +120 -0
  36. package/alb/loadBalancer.js.map +1 -0
  37. package/alb/serverGroup.d.ts +219 -0
  38. package/alb/serverGroup.js +95 -0
  39. package/alb/serverGroup.js.map +1 -0
  40. package/apig/gatewayService.d.ts +179 -0
  41. package/apig/gatewayService.js +114 -0
  42. package/apig/gatewayService.js.map +1 -0
  43. package/apig/getGatewayService.d.ts +89 -0
  44. package/apig/getGatewayService.js +28 -0
  45. package/apig/getGatewayService.js.map +1 -0
  46. package/apig/getGatewayServices.d.ts +22 -0
  47. package/apig/getGatewayServices.js +24 -0
  48. package/apig/getGatewayServices.js.map +1 -0
  49. package/apig/getUpstreamSource.d.ts +81 -0
  50. package/apig/getUpstreamSource.js +28 -0
  51. package/apig/getUpstreamSource.js.map +1 -0
  52. package/apig/getUpstreamSources.d.ts +22 -0
  53. package/apig/getUpstreamSources.js +24 -0
  54. package/apig/getUpstreamSources.js.map +1 -0
  55. package/apig/index.d.ts +18 -0
  56. package/apig/index.js +39 -0
  57. package/apig/index.js.map +1 -0
  58. package/apig/upstreamSource.d.ts +159 -0
  59. package/apig/upstreamSource.js +87 -0
  60. package/apig/upstreamSource.js.map +1 -0
  61. package/autoscaling/getScalingConfiguration.d.ts +140 -0
  62. package/autoscaling/getScalingConfiguration.js +28 -0
  63. package/autoscaling/getScalingConfiguration.js.map +1 -0
  64. package/autoscaling/getScalingConfigurations.d.ts +22 -0
  65. package/autoscaling/getScalingConfigurations.js +24 -0
  66. package/autoscaling/getScalingConfigurations.js.map +1 -0
  67. package/autoscaling/index.d.ts +9 -0
  68. package/autoscaling/index.js +28 -0
  69. package/autoscaling/index.js.map +1 -0
  70. package/autoscaling/scalingConfiguration.d.ts +318 -0
  71. package/autoscaling/scalingConfiguration.js +108 -0
  72. package/autoscaling/scalingConfiguration.js.map +1 -0
  73. package/clb/acl.d.ts +166 -0
  74. package/clb/acl.js +107 -0
  75. package/clb/acl.js.map +1 -0
  76. package/clb/certificate.d.ts +187 -0
  77. package/clb/certificate.js +109 -0
  78. package/clb/certificate.js.map +1 -0
  79. package/clb/getAcl.d.ts +85 -0
  80. package/clb/getAcl.js +28 -0
  81. package/clb/getAcl.js.map +1 -0
  82. package/clb/getAcls.d.ts +22 -0
  83. package/clb/getAcls.js +24 -0
  84. package/clb/getAcls.js.map +1 -0
  85. package/clb/getCertificate.d.ts +89 -0
  86. package/clb/getCertificate.js +28 -0
  87. package/clb/getCertificate.js.map +1 -0
  88. package/clb/getCertificates.d.ts +22 -0
  89. package/clb/getCertificates.js +24 -0
  90. package/clb/getCertificates.js.map +1 -0
  91. package/clb/getListener.d.ts +213 -0
  92. package/clb/getListener.js +28 -0
  93. package/clb/getListener.js.map +1 -0
  94. package/clb/getListeners.d.ts +22 -0
  95. package/clb/getListeners.js +24 -0
  96. package/clb/getListeners.js.map +1 -0
  97. package/clb/getRule.d.ts +73 -0
  98. package/clb/getRule.js +28 -0
  99. package/clb/getRule.js.map +1 -0
  100. package/clb/getRules.d.ts +22 -0
  101. package/clb/getRules.js +24 -0
  102. package/clb/getRules.js.map +1 -0
  103. package/clb/index.d.ts +36 -0
  104. package/clb/index.js +45 -1
  105. package/clb/index.js.map +1 -1
  106. package/clb/listener.d.ts +546 -0
  107. package/clb/listener.js +156 -0
  108. package/clb/listener.js.map +1 -0
  109. package/clb/rule.d.ts +162 -0
  110. package/clb/rule.js +97 -0
  111. package/clb/rule.js.map +1 -0
  112. package/cr/getNameSpace.d.ts +52 -0
  113. package/cr/getNameSpace.js +28 -0
  114. package/cr/getNameSpace.js.map +1 -0
  115. package/cr/getNameSpaces.d.ts +22 -0
  116. package/cr/getNameSpaces.js +24 -0
  117. package/cr/getNameSpaces.js.map +1 -0
  118. package/cr/getRegistries.d.ts +22 -0
  119. package/cr/getRegistries.js +24 -0
  120. package/cr/getRegistries.js.map +1 -0
  121. package/cr/getRegistry.d.ts +81 -0
  122. package/cr/getRegistry.js +28 -0
  123. package/cr/getRegistry.js.map +1 -0
  124. package/cr/index.d.ts +18 -0
  125. package/cr/index.js +23 -1
  126. package/cr/index.js.map +1 -1
  127. package/cr/nameSpace.d.ts +102 -0
  128. package/cr/nameSpace.js +83 -0
  129. package/cr/nameSpace.js.map +1 -0
  130. package/cr/registry.d.ts +159 -0
  131. package/cr/registry.js +98 -0
  132. package/cr/registry.js.map +1 -0
  133. package/directconnect/directConnectGateway.d.ts +191 -0
  134. package/directconnect/directConnectGateway.js +104 -0
  135. package/directconnect/directConnectGateway.js.map +1 -0
  136. package/directconnect/getDirectConnectGateway.d.ts +97 -0
  137. package/directconnect/getDirectConnectGateway.js +28 -0
  138. package/directconnect/getDirectConnectGateway.js.map +1 -0
  139. package/directconnect/getDirectConnectGateways.d.ts +22 -0
  140. package/directconnect/getDirectConnectGateways.js +24 -0
  141. package/directconnect/getDirectConnectGateways.js.map +1 -0
  142. package/directconnect/index.d.ts +9 -0
  143. package/directconnect/index.js +28 -0
  144. package/directconnect/index.js.map +1 -0
  145. package/ecs/getInstance.d.ts +66 -0
  146. package/ecs/getInstance.js +28 -0
  147. package/ecs/getInstance.js.map +1 -0
  148. package/ecs/getInstances.d.ts +22 -0
  149. package/ecs/getInstances.js +24 -0
  150. package/ecs/getInstances.js.map +1 -0
  151. package/ecs/index.d.ts +9 -0
  152. package/ecs/index.js +12 -1
  153. package/ecs/index.js.map +1 -1
  154. package/ecs/instance.d.ts +582 -0
  155. package/ecs/instance.js +150 -0
  156. package/ecs/instance.js.map +1 -0
  157. package/index.d.ts +10 -1
  158. package/index.js +19 -1
  159. package/index.js.map +1 -1
  160. package/package.json +2 -2
  161. package/rdsmysql/database.d.ts +100 -0
  162. package/rdsmysql/database.js +74 -0
  163. package/rdsmysql/database.js.map +1 -0
  164. package/rdsmysql/getDatabase.d.ts +58 -0
  165. package/rdsmysql/getDatabase.js +28 -0
  166. package/rdsmysql/getDatabase.js.map +1 -0
  167. package/rdsmysql/getDatabases.d.ts +22 -0
  168. package/rdsmysql/getDatabases.js +24 -0
  169. package/rdsmysql/getDatabases.js.map +1 -0
  170. package/rdsmysql/index.d.ts +9 -0
  171. package/rdsmysql/index.js +28 -0
  172. package/rdsmysql/index.js.map +1 -0
  173. package/redis/getInstance.d.ts +205 -0
  174. package/redis/getInstance.js +28 -0
  175. package/redis/getInstance.js.map +1 -0
  176. package/redis/getInstances.d.ts +22 -0
  177. package/redis/getInstances.js +24 -0
  178. package/redis/getInstances.js.map +1 -0
  179. package/redis/index.d.ts +9 -0
  180. package/redis/index.js +28 -0
  181. package/redis/index.js.map +1 -0
  182. package/redis/instance.d.ts +485 -0
  183. package/redis/instance.js +200 -0
  184. package/redis/instance.js.map +1 -0
  185. package/storageebs/getVolume.d.ts +4 -0
  186. package/storageebs/getVolume.js.map +1 -1
  187. package/storageebs/volume.d.ts +3 -0
  188. package/storageebs/volume.js +2 -0
  189. package/storageebs/volume.js.map +1 -1
  190. package/tls/getTopic.d.ts +113 -0
  191. package/tls/getTopic.js +28 -0
  192. package/tls/getTopic.js.map +1 -0
  193. package/tls/getTopics.d.ts +22 -0
  194. package/tls/getTopics.js +24 -0
  195. package/tls/getTopics.js.map +1 -0
  196. package/tls/index.d.ts +9 -0
  197. package/tls/index.js +28 -0
  198. package/tls/index.js.map +1 -0
  199. package/tls/topic.d.ts +280 -0
  200. package/tls/topic.js +129 -0
  201. package/tls/topic.js.map +1 -0
  202. package/transitrouter/getTransitRouterRouteEntries.d.ts +22 -0
  203. package/transitrouter/getTransitRouterRouteEntries.js +24 -0
  204. package/transitrouter/getTransitRouterRouteEntries.js.map +1 -0
  205. package/transitrouter/getTransitRouterRouteEntry.d.ts +84 -0
  206. package/transitrouter/getTransitRouterRouteEntry.js +28 -0
  207. package/transitrouter/getTransitRouterRouteEntry.js.map +1 -0
  208. package/transitrouter/getTransitRouterRouteTable.d.ts +81 -0
  209. package/transitrouter/getTransitRouterRouteTable.js +28 -0
  210. package/transitrouter/getTransitRouterRouteTable.js.map +1 -0
  211. package/transitrouter/getTransitRouterRouteTables.d.ts +22 -0
  212. package/transitrouter/getTransitRouterRouteTables.js +24 -0
  213. package/transitrouter/getTransitRouterRouteTables.js.map +1 -0
  214. package/transitrouter/index.d.ts +18 -0
  215. package/transitrouter/index.js +23 -1
  216. package/transitrouter/index.js.map +1 -1
  217. package/transitrouter/transitRouterRouteEntry.d.ts +186 -0
  218. package/transitrouter/transitRouterRouteEntry.js +106 -0
  219. package/transitrouter/transitRouterRouteEntry.js.map +1 -0
  220. package/transitrouter/transitRouterRouteTable.d.ts +159 -0
  221. package/transitrouter/transitRouterRouteTable.js +98 -0
  222. package/transitrouter/transitRouterRouteTable.js.map +1 -0
  223. package/types/input.d.ts +1375 -43
  224. package/types/output.d.ts +3534 -723
  225. package/vefaas/getKafkaTrigger.d.ts +101 -0
  226. package/vefaas/getKafkaTrigger.js +28 -0
  227. package/vefaas/getKafkaTrigger.js.map +1 -0
  228. package/vefaas/getKafkaTriggers.d.ts +22 -0
  229. package/vefaas/getKafkaTriggers.js +24 -0
  230. package/vefaas/getKafkaTriggers.js.map +1 -0
  231. package/vefaas/getSandbox.d.ts +117 -0
  232. package/vefaas/getSandbox.js +28 -0
  233. package/vefaas/getSandbox.js.map +1 -0
  234. package/vefaas/getSandboxes.d.ts +22 -0
  235. package/vefaas/getSandboxes.js +24 -0
  236. package/vefaas/getSandboxes.js.map +1 -0
  237. package/vefaas/index.d.ts +18 -0
  238. package/vefaas/index.js +39 -0
  239. package/vefaas/index.js.map +1 -0
  240. package/vefaas/kafkaTrigger.d.ts +244 -0
  241. package/vefaas/kafkaTrigger.js +128 -0
  242. package/vefaas/kafkaTrigger.js.map +1 -0
  243. package/vefaas/sandbox.d.ts +229 -0
  244. package/vefaas/sandbox.js +99 -0
  245. package/vefaas/sandbox.js.map +1 -0
  246. package/vke/addon.d.ts +159 -0
  247. package/vke/addon.js +90 -0
  248. package/vke/addon.js.map +1 -0
  249. package/vke/getAddon.d.ts +73 -0
  250. package/vke/getAddon.js +28 -0
  251. package/vke/getAddon.js.map +1 -0
  252. package/vke/getAddons.d.ts +22 -0
  253. package/vke/getAddons.js +24 -0
  254. package/vke/getAddons.js.map +1 -0
  255. package/vke/index.d.ts +9 -0
  256. package/vke/index.js +28 -0
  257. package/vke/index.js.map +1 -0
  258. package/vpc/getNetworkAcl.d.ts +93 -0
  259. package/vpc/getNetworkAcl.js +28 -0
  260. package/vpc/getNetworkAcl.js.map +1 -0
  261. package/vpc/getNetworkAcls.d.ts +22 -0
  262. package/vpc/getNetworkAcls.js +24 -0
  263. package/vpc/getNetworkAcls.js.map +1 -0
  264. package/vpc/getPrefixList.d.ts +93 -0
  265. package/vpc/getPrefixList.js +28 -0
  266. package/vpc/getPrefixList.js.map +1 -0
  267. package/vpc/getPrefixLists.d.ts +22 -0
  268. package/vpc/getPrefixLists.js +24 -0
  269. package/vpc/getPrefixLists.js.map +1 -0
  270. package/vpc/index.d.ts +18 -0
  271. package/vpc/index.js +23 -1
  272. package/vpc/index.js.map +1 -1
  273. package/vpc/networkAcl.d.ts +143 -0
  274. package/vpc/networkAcl.js +87 -0
  275. package/vpc/networkAcl.js.map +1 -0
  276. package/vpc/prefixList.d.ts +180 -0
  277. package/vpc/prefixList.js +110 -0
  278. package/vpc/prefixList.js.map +1 -0
  279. package/waf/getDomain.d.ts +344 -0
  280. package/waf/getDomain.js +28 -0
  281. package/waf/getDomain.js.map +1 -0
  282. package/waf/getDomains.d.ts +22 -0
  283. package/waf/getDomains.js +24 -0
  284. package/waf/getDomains.js.map +1 -0
  285. package/waf/index.d.ts +6 -0
  286. package/waf/index.js +13 -0
  287. package/waf/index.js.map +1 -0
@@ -0,0 +1,180 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * 前缀列表是一组CIDR地址块的集合,用于简化安全组规则、路由表条目的配置。当前缀列表修改时,所有关联它的资源均会同步修改。
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
12
+ *
13
+ * const prefixlistDemo = new volcenginecc.vpc.PrefixList("PrefixlistDemo", {
14
+ * description: "PrefixlistDemo Example",
15
+ * ipVersion: "IPv4",
16
+ * maxEntries: 20,
17
+ * prefixListName: "my-prefix-list",
18
+ * projectName: "default",
19
+ * prefixListEntries: [{
20
+ * cidr: "192.168.0.0/*",
21
+ * description: "privite description",
22
+ * }],
23
+ * tags: [{
24
+ * key: "env",
25
+ * value: "test",
26
+ * }],
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * ```sh
33
+ * $ pulumi import volcenginecc:vpc/prefixList:PrefixList example "prefix_list_id"
34
+ * ```
35
+ */
36
+ export declare class PrefixList extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing PrefixList resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PrefixListState, opts?: pulumi.CustomResourceOptions): PrefixList;
47
+ /**
48
+ * Returns true if the given object is an instance of PrefixList. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj: any): obj is PrefixList;
52
+ /**
53
+ * 前缀列表关联的资源数量。
54
+ */
55
+ readonly associationCount: pulumi.Output<number>;
56
+ readonly associationsRouteTables: pulumi.Output<outputs.vpc.PrefixListAssociationsRouteTable[]>;
57
+ readonly associationsSecurityGroups: pulumi.Output<outputs.vpc.PrefixListAssociationsSecurityGroup[]>;
58
+ /**
59
+ * 前缀列表的创建时间。
60
+ */
61
+ readonly createdTime: pulumi.Output<string>;
62
+ /**
63
+ * 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
64
+ */
65
+ readonly description: pulumi.Output<string>;
66
+ /**
67
+ * IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
68
+ */
69
+ readonly ipVersion: pulumi.Output<string>;
70
+ /**
71
+ * 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
72
+ */
73
+ readonly maxEntries: pulumi.Output<number>;
74
+ readonly prefixListEntries: pulumi.Output<outputs.vpc.PrefixListPrefixListEntry[]>;
75
+ /**
76
+ * 前缀列表的ID。
77
+ */
78
+ readonly prefixListId: pulumi.Output<string>;
79
+ /**
80
+ * 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
81
+ */
82
+ readonly prefixListName: pulumi.Output<string>;
83
+ /**
84
+ * 前缀列表所属项目的名称,不填默认加入default项目。
85
+ */
86
+ readonly projectName: pulumi.Output<string>;
87
+ /**
88
+ * 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
89
+ */
90
+ readonly status: pulumi.Output<string>;
91
+ readonly tags: pulumi.Output<outputs.vpc.PrefixListTag[]>;
92
+ /**
93
+ * 前缀列表的最近一次修改时间。
94
+ */
95
+ readonly updatedTime: pulumi.Output<string>;
96
+ /**
97
+ * Create a PrefixList resource with the given unique name, arguments, and options.
98
+ *
99
+ * @param name The _unique_ name of the resource.
100
+ * @param args The arguments to use to populate this resource's properties.
101
+ * @param opts A bag of options that control this resource's behavior.
102
+ */
103
+ constructor(name: string, args: PrefixListArgs, opts?: pulumi.CustomResourceOptions);
104
+ }
105
+ /**
106
+ * Input properties used for looking up and filtering PrefixList resources.
107
+ */
108
+ export interface PrefixListState {
109
+ /**
110
+ * 前缀列表关联的资源数量。
111
+ */
112
+ associationCount?: pulumi.Input<number>;
113
+ associationsRouteTables?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListAssociationsRouteTable>[]>;
114
+ associationsSecurityGroups?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListAssociationsSecurityGroup>[]>;
115
+ /**
116
+ * 前缀列表的创建时间。
117
+ */
118
+ createdTime?: pulumi.Input<string>;
119
+ /**
120
+ * 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
121
+ */
122
+ description?: pulumi.Input<string>;
123
+ /**
124
+ * IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
125
+ */
126
+ ipVersion?: pulumi.Input<string>;
127
+ /**
128
+ * 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
129
+ */
130
+ maxEntries?: pulumi.Input<number>;
131
+ prefixListEntries?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListPrefixListEntry>[]>;
132
+ /**
133
+ * 前缀列表的ID。
134
+ */
135
+ prefixListId?: pulumi.Input<string>;
136
+ /**
137
+ * 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
138
+ */
139
+ prefixListName?: pulumi.Input<string>;
140
+ /**
141
+ * 前缀列表所属项目的名称,不填默认加入default项目。
142
+ */
143
+ projectName?: pulumi.Input<string>;
144
+ /**
145
+ * 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
146
+ */
147
+ status?: pulumi.Input<string>;
148
+ tags?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListTag>[]>;
149
+ /**
150
+ * 前缀列表的最近一次修改时间。
151
+ */
152
+ updatedTime?: pulumi.Input<string>;
153
+ }
154
+ /**
155
+ * The set of arguments for constructing a PrefixList resource.
156
+ */
157
+ export interface PrefixListArgs {
158
+ /**
159
+ * 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
160
+ */
161
+ description?: pulumi.Input<string>;
162
+ /**
163
+ * IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
164
+ */
165
+ ipVersion?: pulumi.Input<string>;
166
+ /**
167
+ * 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
168
+ */
169
+ maxEntries: pulumi.Input<number>;
170
+ prefixListEntries?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListPrefixListEntry>[]>;
171
+ /**
172
+ * 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
173
+ */
174
+ prefixListName?: pulumi.Input<string>;
175
+ /**
176
+ * 前缀列表所属项目的名称,不填默认加入default项目。
177
+ */
178
+ projectName?: pulumi.Input<string>;
179
+ tags?: pulumi.Input<pulumi.Input<inputs.vpc.PrefixListTag>[]>;
180
+ }
@@ -0,0 +1,110 @@
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.PrefixList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * 前缀列表是一组CIDR地址块的集合,用于简化安全组规则、路由表条目的配置。当前缀列表修改时,所有关联它的资源均会同步修改。
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
16
+ *
17
+ * const prefixlistDemo = new volcenginecc.vpc.PrefixList("PrefixlistDemo", {
18
+ * description: "PrefixlistDemo Example",
19
+ * ipVersion: "IPv4",
20
+ * maxEntries: 20,
21
+ * prefixListName: "my-prefix-list",
22
+ * projectName: "default",
23
+ * prefixListEntries: [{
24
+ * cidr: "192.168.0.0/*",
25
+ * description: "privite description",
26
+ * }],
27
+ * tags: [{
28
+ * key: "env",
29
+ * value: "test",
30
+ * }],
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * ```sh
37
+ * $ pulumi import volcenginecc:vpc/prefixList:PrefixList example "prefix_list_id"
38
+ * ```
39
+ */
40
+ class PrefixList extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing PrefixList resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new PrefixList(name, state, Object.assign(Object.assign({}, opts), { id: id }));
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of PrefixList. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === PrefixList.__pulumiType;
62
+ }
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["associationCount"] = state ? state.associationCount : undefined;
69
+ resourceInputs["associationsRouteTables"] = state ? state.associationsRouteTables : undefined;
70
+ resourceInputs["associationsSecurityGroups"] = state ? state.associationsSecurityGroups : undefined;
71
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
72
+ resourceInputs["description"] = state ? state.description : undefined;
73
+ resourceInputs["ipVersion"] = state ? state.ipVersion : undefined;
74
+ resourceInputs["maxEntries"] = state ? state.maxEntries : undefined;
75
+ resourceInputs["prefixListEntries"] = state ? state.prefixListEntries : undefined;
76
+ resourceInputs["prefixListId"] = state ? state.prefixListId : undefined;
77
+ resourceInputs["prefixListName"] = state ? state.prefixListName : undefined;
78
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
79
+ resourceInputs["status"] = state ? state.status : undefined;
80
+ resourceInputs["tags"] = state ? state.tags : undefined;
81
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
82
+ }
83
+ else {
84
+ const args = argsOrState;
85
+ if ((!args || args.maxEntries === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'maxEntries'");
87
+ }
88
+ resourceInputs["description"] = args ? args.description : undefined;
89
+ resourceInputs["ipVersion"] = args ? args.ipVersion : undefined;
90
+ resourceInputs["maxEntries"] = args ? args.maxEntries : undefined;
91
+ resourceInputs["prefixListEntries"] = args ? args.prefixListEntries : undefined;
92
+ resourceInputs["prefixListName"] = args ? args.prefixListName : undefined;
93
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
94
+ resourceInputs["tags"] = args ? args.tags : undefined;
95
+ resourceInputs["associationCount"] = undefined /*out*/;
96
+ resourceInputs["associationsRouteTables"] = undefined /*out*/;
97
+ resourceInputs["associationsSecurityGroups"] = undefined /*out*/;
98
+ resourceInputs["createdTime"] = undefined /*out*/;
99
+ resourceInputs["prefixListId"] = undefined /*out*/;
100
+ resourceInputs["status"] = undefined /*out*/;
101
+ resourceInputs["updatedTime"] = undefined /*out*/;
102
+ }
103
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
+ super(PrefixList.__pulumiType, name, resourceInputs, opts);
105
+ }
106
+ }
107
+ exports.PrefixList = PrefixList;
108
+ /** @internal */
109
+ PrefixList.__pulumiType = 'volcenginecc:vpc/prefixList:PrefixList';
110
+ //# sourceMappingURL=prefixList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prefixList.js","sourceRoot":"","sources":["../../vpc/prefixList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC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ema for Volcengine::WAF::Domain
5
+ */
6
+ export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainResult>;
7
+ /**
8
+ * A collection of arguments for invoking getDomain.
9
+ */
10
+ export interface GetDomainArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getDomain.
18
+ */
19
+ export interface GetDomainResult {
20
+ /**
21
+ * 接入模式。10:CNAME 接入,11:负载均衡(CLB)7 层接入。
22
+ */
23
+ readonly accessMode: number;
24
+ /**
25
+ * 高防实例 IP。高防型 WAF 接入展示,否则为空。
26
+ */
27
+ readonly advancedDefenseIp: string;
28
+ /**
29
+ * 高防实例 Ipv6。高防型 WAF 接入展示,否则为空。
30
+ */
31
+ readonly advancedDefenseIpv6: string;
32
+ /**
33
+ * 是否开启了 API 防护策略。0:关闭,1:开启。
34
+ */
35
+ readonly apiEnable: number;
36
+ /**
37
+ * 攻击状态。0:未发现攻击,1:发现攻击。
38
+ */
39
+ readonly attackStatus: number;
40
+ /**
41
+ * 是否开启智能 CC 防护策略。0:关闭,1:开启。
42
+ */
43
+ readonly autoCcEnable: number;
44
+ /**
45
+ * 是否开启自动封禁。0:关闭,1:开启。
46
+ */
47
+ readonly automaticBlackEnable: number;
48
+ /**
49
+ * 源站配置。
50
+ */
51
+ readonly backendGroups: outputs.waf.GetDomainBackendGroup[];
52
+ /**
53
+ * 是否开启了黑名单策略。0:关闭, 1:开启。
54
+ */
55
+ readonly blackIpEnable: number;
56
+ /**
57
+ * 是否开启了区域封禁策略。0:关闭;1:开启。
58
+ */
59
+ readonly blackLctEnable: number;
60
+ /**
61
+ * 是否开启动态Token防护。
62
+ */
63
+ readonly botDytokenEnable: number;
64
+ /**
65
+ * 是否开启 bot 频率限制策略。
66
+ * 0:关闭
67
+ * 1:开启。
68
+ */
69
+ readonly botFrequencyEnable: number;
70
+ /**
71
+ * 是否开启 bot 统计防护策略。
72
+ * 0:关闭
73
+ * 1:开启。
74
+ */
75
+ readonly botRepeatEnable: number;
76
+ /**
77
+ * 设置 bot 行为地图策略默认动作,当 BotSequenceEnable = 1 开启状态时生效。默认为 0 (观察)。
78
+ * 0:观察
79
+ * 2:拦截
80
+ * 6:JS 挑战
81
+ * 7:人机验证。
82
+ */
83
+ readonly botSequenceDefaultAction: number;
84
+ /**
85
+ * 是否开启 bot 行为地图。
86
+ * 0:关闭
87
+ * 1:开启。
88
+ */
89
+ readonly botSequenceEnable: number;
90
+ /**
91
+ * 是否开启 CC 防护策略。
92
+ * 0:关闭
93
+ * 1:开启。
94
+ */
95
+ readonly ccEnable: number;
96
+ /**
97
+ * 托管至证书中心的证书ID。
98
+ */
99
+ readonly certificateId: string;
100
+ /**
101
+ * 证书名称,协议类型包含 HTTPS 时显示。
102
+ */
103
+ readonly certificateName: string;
104
+ /**
105
+ * 证书托管平台:waf/certificate_service。
106
+ */
107
+ readonly certificatePlatform: string;
108
+ /**
109
+ * CLB实例ID。
110
+ */
111
+ readonly clbInstanceIds: string;
112
+ /**
113
+ * CLB监听器ID。
114
+ */
115
+ readonly clbListenerId: string;
116
+ /**
117
+ * CLB后端服务器组ID。
118
+ */
119
+ readonly clbPoolId: string;
120
+ /**
121
+ * CLB后端服务器ID。
122
+ */
123
+ readonly clbServerId: string;
124
+ /**
125
+ * 客户端IP获取方式。0:自定义Header字段,1:通过X-Forwarded-For(XFF)字段中第一个公网IP地址作为客户端真实IP地址。
126
+ */
127
+ readonly clientIpLocation: number;
128
+ /**
129
+ * 客户端请求body最大值(MB)。
130
+ */
131
+ readonly clientMaxBodySize: number;
132
+ /**
133
+ * LB接入参数。
134
+ */
135
+ readonly cloudAccessConfigs: outputs.waf.GetDomainCloudAccessConfig[];
136
+ /**
137
+ * CNAME记录。
138
+ */
139
+ readonly cname: string;
140
+ /**
141
+ * 是否开启自定义BOT防护。
142
+ */
143
+ readonly customBotEnable: number;
144
+ /**
145
+ * 自定义Header。
146
+ */
147
+ readonly customHeaders: string[];
148
+ /**
149
+ * 是否开启自定义响应。
150
+ */
151
+ readonly customRspEnable: number;
152
+ /**
153
+ * 自定义SNI。
154
+ */
155
+ readonly customSni: string;
156
+ /**
157
+ * 为例外 ALB 实例设置防护模式。
158
+ * 1:启用防护,已配置的防护策略生效。
159
+ * 2:暂停防护,仅执行转发而不检测,已配置的防护策略不生效。
160
+ * 3:回源模式,直接将请求解析至源站,不再转发至 WAF 实例。
161
+ * 设置例外防护实例后,域名可能还会存在以下防护状态:
162
+ * 5:部分启用,默认防护模式为启用防护,但存在例外实例为暂停防护或回源模式状态。
163
+ * 6:部分暂停,默认防护模式为暂停防护,但存在例外实例为启用防护或回源模式状态。
164
+ * 7:部分回源,默认防护模式为回源模式,但存在例外实例为启用防护或暂停防护状态。
165
+ */
166
+ readonly defenceMode: number;
167
+ /**
168
+ * 是否开启数据泄露防护。
169
+ */
170
+ readonly dlpEnable: number;
171
+ /**
172
+ * 防护的域名信息,支持泛域名和精确域名。
173
+ */
174
+ readonly domain: string;
175
+ /**
176
+ * 是否开启用户自定义重定向。0:关闭,1:开启。
177
+ */
178
+ readonly enableCustomRedirect: number;
179
+ /**
180
+ * 是否开启HTTP2.0。0:关闭,1:开启。
181
+ */
182
+ readonly enableHttp2: number;
183
+ /**
184
+ * 是否支持防护Ipv6请求。0:关闭,1:开启。
185
+ */
186
+ readonly enableIpv6: number;
187
+ /**
188
+ * 是否开启SNI配置。0:关闭,1:开启。
189
+ */
190
+ readonly enableSni: number;
191
+ /**
192
+ * Uniquely identifies the resource.
193
+ */
194
+ readonly id: string;
195
+ /**
196
+ * 长连接复用个数。
197
+ */
198
+ readonly keepAliveRequest: number;
199
+ /**
200
+ * 长连接保持时间(秒)。
201
+ */
202
+ readonly keepAliveTimeout: number;
203
+ /**
204
+ * 负载均衡算法类型。wrr:加权轮询,wlc:加权最小连接数,sh:源地址哈希。
205
+ */
206
+ readonly lbAlgorithm: string;
207
+ /**
208
+ * 端口号。
209
+ */
210
+ readonly port: number;
211
+ /**
212
+ * 项目名称。
213
+ */
214
+ readonly projectName: string;
215
+ /**
216
+ * 是否开启协议跟随。0:关闭,1:开启。
217
+ */
218
+ readonly protocolFollow: number;
219
+ /**
220
+ * 接入端口信息。
221
+ */
222
+ readonly protocolPorts: outputs.waf.GetDomainProtocolPorts;
223
+ /**
224
+ * 接入协议类型,支持HTTP/HTTPS。
225
+ */
226
+ readonly protocols: string[];
227
+ /**
228
+ * 是否开启代理配置。0:关闭,1:开启。
229
+ */
230
+ readonly proxyConfig: number;
231
+ /**
232
+ * WAF和后端服务器的建连超时时间(秒)。
233
+ */
234
+ readonly proxyConnectTimeout: number;
235
+ /**
236
+ * WAF回源长连接可复用个数。
237
+ */
238
+ readonly proxyKeepAlive: number;
239
+ /**
240
+ * 空闲长连接超时时间(秒)。
241
+ */
242
+ readonly proxyKeepAliveTimeout: number;
243
+ /**
244
+ * WAF从后端服务器读取响应的超时时间(秒)。
245
+ */
246
+ readonly proxyReadTimeout: number;
247
+ /**
248
+ * WAF回源重试次数。
249
+ */
250
+ readonly proxyRetry: number;
251
+ /**
252
+ * WAF将请求传输到后端服务器的超时时间(秒)。
253
+ */
254
+ readonly proxyWriteTimeout: number;
255
+ /**
256
+ * CNAME接入回源方式。0:私网回源,1:公网回源。
257
+ */
258
+ readonly publicRealServer: number;
259
+ /**
260
+ * 是否开启异常响应防护。
261
+ */
262
+ readonly rspAbnormalEnable: number;
263
+ /**
264
+ * 服务IP。
265
+ */
266
+ readonly serverIps: string;
267
+ /**
268
+ * WAF回源IP。
269
+ */
270
+ readonly srcIps: string;
271
+ /**
272
+ * 源站协议。
273
+ */
274
+ readonly srcProtocol: string;
275
+ /**
276
+ * 加密套件。
277
+ */
278
+ readonly sslCiphers: string[];
279
+ /**
280
+ * TLS协议版本。如:TLSv1,TLSv1.1,TLSv1.2,TLSv1.3。
281
+ */
282
+ readonly sslProtocols: string[];
283
+ /**
284
+ * 接入状态。0:正常,1:DNS未解析,2:配置中,3:配置失败,4:配置未生效,5:更新中,6:实例已删除。
285
+ */
286
+ readonly status: number;
287
+ /**
288
+ * 是否开启托管BOT防护。
289
+ */
290
+ readonly systemBotEnable: number;
291
+ /**
292
+ * 是否开启防篡改。
293
+ */
294
+ readonly tamperProofEnable: number;
295
+ /**
296
+ * TCP监听器配置。
297
+ */
298
+ readonly tcpListenerConfigs: outputs.waf.GetDomainTcpListenerConfig[];
299
+ /**
300
+ * 是否开启日志服务。0:关闭,1:开启。
301
+ */
302
+ readonly tlsEnable: number;
303
+ /**
304
+ * 日志字段配置详情。
305
+ */
306
+ readonly tlsFieldsConfig: outputs.waf.GetDomainTlsFieldsConfig;
307
+ /**
308
+ * 更新时间。
309
+ */
310
+ readonly updateTime: string;
311
+ /**
312
+ * VPC ID。
313
+ */
314
+ readonly vpcId: string;
315
+ /**
316
+ * 是否开启WAF防护。
317
+ */
318
+ readonly wafEnable: number;
319
+ /**
320
+ * 是否开启白名单请求防护。
321
+ */
322
+ readonly wafWhiteReqEnable: number;
323
+ /**
324
+ * 是否开启白名单防护。
325
+ */
326
+ readonly whiteEnable: number;
327
+ /**
328
+ * 是否开启字段白名单防护。
329
+ */
330
+ readonly whiteFieldEnable: number;
331
+ }
332
+ /**
333
+ * Data Source schema for Volcengine::WAF::Domain
334
+ */
335
+ export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainResult>;
336
+ /**
337
+ * A collection of arguments for invoking getDomain.
338
+ */
339
+ export interface GetDomainOutputArgs {
340
+ /**
341
+ * Uniquely identifies the resource.
342
+ */
343
+ id: pulumi.Input<string>;
344
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getDomainOutput = exports.getDomain = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::WAF::Domain
10
+ */
11
+ function getDomain(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:waf/getDomain:getDomain", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getDomain = getDomain;
18
+ /**
19
+ * Data Source schema for Volcengine::WAF::Domain
20
+ */
21
+ function getDomainOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:waf/getDomain:getDomain", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getDomainOutput = getDomainOutput;
28
+ //# sourceMappingURL=getDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../../waf/getDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAwUD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}