@volcengine/pulumi 0.0.33 → 0.0.34

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 (246) hide show
  1. package/apig/apigCustomDomain.d.ts +244 -0
  2. package/apig/apigCustomDomain.js +167 -0
  3. package/apig/apigCustomDomain.js.map +1 -0
  4. package/apig/apigGateway.d.ts +262 -0
  5. package/apig/apigGateway.js +150 -0
  6. package/apig/apigGateway.js.map +1 -0
  7. package/apig/apigGatewayService.d.ts +206 -0
  8. package/apig/apigGatewayService.js +159 -0
  9. package/apig/apigGatewayService.js.map +1 -0
  10. package/apig/apigRoute.d.ts +397 -0
  11. package/apig/apigRoute.js +299 -0
  12. package/apig/apigRoute.js.map +1 -0
  13. package/apig/apigUpstream.d.ts +375 -0
  14. package/apig/apigUpstream.js +278 -0
  15. package/apig/apigUpstream.js.map +1 -0
  16. package/apig/apigUpstreamSource.d.ts +214 -0
  17. package/apig/apigUpstreamSource.js +182 -0
  18. package/apig/apigUpstreamSource.js.map +1 -0
  19. package/apig/apigUpstreamVersion.d.ts +211 -0
  20. package/apig/apigUpstreamVersion.js +206 -0
  21. package/apig/apigUpstreamVersion.js.map +1 -0
  22. package/apig/customDomains.d.ts +112 -0
  23. package/apig/customDomains.js +55 -0
  24. package/apig/customDomains.js.map +1 -0
  25. package/apig/gatewayServices.d.ts +104 -0
  26. package/apig/gatewayServices.js +52 -0
  27. package/apig/gatewayServices.js.map +1 -0
  28. package/apig/gateways.d.ts +162 -0
  29. package/apig/gateways.js +63 -0
  30. package/apig/gateways.js.map +1 -0
  31. package/apig/getCustomDomains.d.ts +110 -0
  32. package/apig/getCustomDomains.js +52 -0
  33. package/apig/getCustomDomains.js.map +1 -0
  34. package/apig/getGatewayServices.d.ts +102 -0
  35. package/apig/getGatewayServices.js +49 -0
  36. package/apig/getGatewayServices.js.map +1 -0
  37. package/apig/getGateways.d.ts +160 -0
  38. package/apig/getGateways.js +60 -0
  39. package/apig/getGateways.js.map +1 -0
  40. package/apig/getRoutes.d.ts +153 -0
  41. package/apig/getRoutes.js +54 -0
  42. package/apig/getRoutes.js.map +1 -0
  43. package/apig/getUpstreamSources.d.ts +123 -0
  44. package/apig/getUpstreamSources.js +51 -0
  45. package/apig/getUpstreamSources.js.map +1 -0
  46. package/apig/getUpstreamVersions.d.ts +84 -0
  47. package/apig/getUpstreamVersions.js +47 -0
  48. package/apig/getUpstreamVersions.js.map +1 -0
  49. package/apig/getUpstreams.d.ts +140 -0
  50. package/apig/getUpstreams.js +60 -0
  51. package/apig/getUpstreams.js.map +1 -0
  52. package/apig/index.d.ts +63 -0
  53. package/apig/index.js +94 -0
  54. package/apig/index.js.map +1 -0
  55. package/apig/routes.d.ts +155 -0
  56. package/apig/routes.js +57 -0
  57. package/apig/routes.js.map +1 -0
  58. package/apig/upstreamSources.d.ts +125 -0
  59. package/apig/upstreamSources.js +54 -0
  60. package/apig/upstreamSources.js.map +1 -0
  61. package/apig/upstreamVersions.d.ts +86 -0
  62. package/apig/upstreamVersions.js +50 -0
  63. package/apig/upstreamVersions.js.map +1 -0
  64. package/apig/upstreams.d.ts +142 -0
  65. package/apig/upstreams.js +63 -0
  66. package/apig/upstreams.js.map +1 -0
  67. package/cen/interRegionBandwidth.d.ts +12 -0
  68. package/cen/interRegionBandwidth.js +2 -0
  69. package/cen/interRegionBandwidth.js.map +1 -1
  70. package/index.d.ts +3 -1
  71. package/index.js +6 -2
  72. package/index.js.map +1 -1
  73. package/package.json +1 -1
  74. package/types/input.d.ts +5918 -4016
  75. package/types/output.d.ts +35080 -27674
  76. package/vpc/cidrBlockAssociate.d.ts +83 -0
  77. package/vpc/cidrBlockAssociate.js +80 -0
  78. package/vpc/cidrBlockAssociate.js.map +1 -0
  79. package/vpc/flowLog.d.ts +266 -0
  80. package/vpc/flowLog.js +148 -0
  81. package/vpc/flowLog.js.map +1 -0
  82. package/vpc/flowLogActive.d.ts +103 -0
  83. package/vpc/flowLogActive.js +101 -0
  84. package/vpc/flowLogActive.js.map +1 -0
  85. package/vpc/flowLogs.d.ts +231 -0
  86. package/vpc/flowLogs.js +63 -0
  87. package/vpc/flowLogs.js.map +1 -0
  88. package/vpc/getFlowLogs.d.ts +229 -0
  89. package/vpc/getFlowLogs.js +60 -0
  90. package/vpc/getFlowLogs.js.map +1 -0
  91. package/vpc/getSubnets.d.ts +9 -0
  92. package/vpc/getSubnets.js +1 -0
  93. package/vpc/getSubnets.js.map +1 -1
  94. package/vpc/getTrafficMirrorFilterRules.d.ts +103 -0
  95. package/vpc/getTrafficMirrorFilterRules.js +50 -0
  96. package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
  97. package/vpc/getTrafficMirrorFilters.d.ts +118 -0
  98. package/vpc/getTrafficMirrorFilters.js +51 -0
  99. package/vpc/getTrafficMirrorFilters.js.map +1 -0
  100. package/vpc/getTrafficMirrorSessions.d.ts +187 -0
  101. package/vpc/getTrafficMirrorSessions.js +57 -0
  102. package/vpc/getTrafficMirrorSessions.js.map +1 -0
  103. package/vpc/getTrafficMirrorTargets.d.ts +121 -0
  104. package/vpc/getTrafficMirrorTargets.js +51 -0
  105. package/vpc/getTrafficMirrorTargets.js.map +1 -0
  106. package/vpc/getVpcs.d.ts +9 -0
  107. package/vpc/getVpcs.js +1 -0
  108. package/vpc/getVpcs.js.map +1 -1
  109. package/vpc/index.d.ts +51 -0
  110. package/vpc/index.js +67 -2
  111. package/vpc/index.js.map +1 -1
  112. package/vpc/subnets.d.ts +9 -0
  113. package/vpc/subnets.js +1 -0
  114. package/vpc/subnets.js.map +1 -1
  115. package/vpc/trafficMirrorFilter.d.ts +137 -0
  116. package/vpc/trafficMirrorFilter.js +88 -0
  117. package/vpc/trafficMirrorFilter.js.map +1 -0
  118. package/vpc/trafficMirrorFilterRule.d.ts +245 -0
  119. package/vpc/trafficMirrorFilterRule.js +144 -0
  120. package/vpc/trafficMirrorFilterRule.js.map +1 -0
  121. package/vpc/trafficMirrorFilterRules.d.ts +105 -0
  122. package/vpc/trafficMirrorFilterRules.js +53 -0
  123. package/vpc/trafficMirrorFilterRules.js.map +1 -0
  124. package/vpc/trafficMirrorFilters.d.ts +120 -0
  125. package/vpc/trafficMirrorFilters.js +54 -0
  126. package/vpc/trafficMirrorFilters.js.map +1 -0
  127. package/vpc/trafficMirrorSession.d.ts +330 -0
  128. package/vpc/trafficMirrorSession.js +221 -0
  129. package/vpc/trafficMirrorSession.js.map +1 -0
  130. package/vpc/trafficMirrorSessions.d.ts +189 -0
  131. package/vpc/trafficMirrorSessions.js +60 -0
  132. package/vpc/trafficMirrorSessions.js.map +1 -0
  133. package/vpc/trafficMirrorTarget.d.ts +222 -0
  134. package/vpc/trafficMirrorTarget.js +159 -0
  135. package/vpc/trafficMirrorTarget.js.map +1 -0
  136. package/vpc/trafficMirrorTargets.d.ts +123 -0
  137. package/vpc/trafficMirrorTargets.js +54 -0
  138. package/vpc/trafficMirrorTargets.js.map +1 -0
  139. package/vpc/vpc.d.ts +8 -0
  140. package/vpc/vpc.js +2 -0
  141. package/vpc/vpc.js.map +1 -1
  142. package/vpc/vpcs.d.ts +9 -0
  143. package/vpc/vpcs.js +1 -0
  144. package/vpc/vpcs.js.map +1 -1
  145. package/waf/aclRule.d.ts +326 -0
  146. package/waf/aclRule.js +150 -0
  147. package/waf/aclRule.js.map +1 -0
  148. package/waf/aclRules.d.ts +170 -0
  149. package/waf/aclRules.js +69 -0
  150. package/waf/aclRules.js.map +1 -0
  151. package/waf/botAnalyseProtectRule.d.ts +320 -0
  152. package/waf/botAnalyseProtectRule.js +171 -0
  153. package/waf/botAnalyseProtectRule.js.map +1 -0
  154. package/waf/botAnalyseProtectRules.d.ts +145 -0
  155. package/waf/botAnalyseProtectRules.js +57 -0
  156. package/waf/botAnalyseProtectRules.js.map +1 -0
  157. package/waf/ccRule.d.ts +337 -0
  158. package/waf/ccRule.js +182 -0
  159. package/waf/ccRule.js.map +1 -0
  160. package/waf/ccRules.d.ts +149 -0
  161. package/waf/ccRules.js +61 -0
  162. package/waf/ccRules.js.map +1 -0
  163. package/waf/customBot.d.ts +191 -0
  164. package/waf/customBot.js +127 -0
  165. package/waf/customBot.js.map +1 -0
  166. package/waf/customBots.d.ts +86 -0
  167. package/waf/customBots.js +51 -0
  168. package/waf/customBots.js.map +1 -0
  169. package/waf/customPage.d.ts +310 -0
  170. package/waf/customPage.js +160 -0
  171. package/waf/customPage.js.map +1 -0
  172. package/waf/customPages.d.ts +110 -0
  173. package/waf/customPages.js +52 -0
  174. package/waf/customPages.js.map +1 -0
  175. package/waf/domains.d.ts +94 -0
  176. package/waf/domains.js +48 -0
  177. package/waf/domains.js.map +1 -0
  178. package/waf/getAclRules.d.ts +168 -0
  179. package/waf/getAclRules.js +66 -0
  180. package/waf/getAclRules.js.map +1 -0
  181. package/waf/getBotAnalyseProtectRules.d.ts +143 -0
  182. package/waf/getBotAnalyseProtectRules.js +54 -0
  183. package/waf/getBotAnalyseProtectRules.js.map +1 -0
  184. package/waf/getCcRules.d.ts +147 -0
  185. package/waf/getCcRules.js +58 -0
  186. package/waf/getCcRules.js.map +1 -0
  187. package/waf/getCustomBots.d.ts +84 -0
  188. package/waf/getCustomBots.js +48 -0
  189. package/waf/getCustomBots.js.map +1 -0
  190. package/waf/getCustomPages.d.ts +108 -0
  191. package/waf/getCustomPages.js +49 -0
  192. package/waf/getCustomPages.js.map +1 -0
  193. package/waf/getDomains.d.ts +92 -0
  194. package/waf/getDomains.js +45 -0
  195. package/waf/getDomains.js.map +1 -0
  196. package/waf/getHostGroups.d.ts +146 -0
  197. package/waf/getHostGroups.js +55 -0
  198. package/waf/getHostGroups.js.map +1 -0
  199. package/waf/getIpGroups.d.ts +105 -0
  200. package/waf/getIpGroups.js +49 -0
  201. package/waf/getIpGroups.js.map +1 -0
  202. package/waf/getProhibitions.d.ts +127 -0
  203. package/waf/getProhibitions.js +55 -0
  204. package/waf/getProhibitions.js.map +1 -0
  205. package/waf/getServiceCertificates.d.ts +71 -0
  206. package/waf/getServiceCertificates.js +43 -0
  207. package/waf/getServiceCertificates.js.map +1 -0
  208. package/waf/getSystemBots.d.ts +84 -0
  209. package/waf/getSystemBots.js +47 -0
  210. package/waf/getSystemBots.js.map +1 -0
  211. package/waf/hostGroup.d.ts +152 -0
  212. package/waf/hostGroup.js +90 -0
  213. package/waf/hostGroup.js.map +1 -0
  214. package/waf/hostGroups.d.ts +148 -0
  215. package/waf/hostGroups.js +58 -0
  216. package/waf/hostGroups.js.map +1 -0
  217. package/waf/index.d.ts +99 -0
  218. package/waf/index.js +139 -0
  219. package/waf/index.js.map +1 -0
  220. package/waf/instanceCtl.d.ts +95 -0
  221. package/waf/instanceCtl.js +76 -0
  222. package/waf/instanceCtl.js.map +1 -0
  223. package/waf/ipGroup.d.ts +132 -0
  224. package/waf/ipGroup.js +93 -0
  225. package/waf/ipGroup.js.map +1 -0
  226. package/waf/ipGroups.d.ts +107 -0
  227. package/waf/ipGroups.js +52 -0
  228. package/waf/ipGroups.js.map +1 -0
  229. package/waf/prohibitions.d.ts +129 -0
  230. package/waf/prohibitions.js +58 -0
  231. package/waf/prohibitions.js.map +1 -0
  232. package/waf/serviceCertificates.d.ts +73 -0
  233. package/waf/serviceCertificates.js +46 -0
  234. package/waf/serviceCertificates.js.map +1 -0
  235. package/waf/systemBot.d.ts +137 -0
  236. package/waf/systemBot.js +92 -0
  237. package/waf/systemBot.js.map +1 -0
  238. package/waf/systemBots.d.ts +86 -0
  239. package/waf/systemBots.js +50 -0
  240. package/waf/systemBots.js.map +1 -0
  241. package/waf/vulnerability.d.ts +116 -0
  242. package/waf/vulnerability.js +72 -0
  243. package/waf/vulnerability.js.map +1 -0
  244. package/waf/wafDomain.d.ts +877 -0
  245. package/waf/wafDomain.js +252 -0
  246. package/waf/wafDomain.js.map +1 -0
@@ -0,0 +1,320 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a resource to manage waf bot analyse protect rule
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const foo = new volcengine.waf.BotAnalyseProtectRule("foo", {
13
+ * accurateGroup: {
14
+ * accurateRules: [
15
+ * {
16
+ * httpObj: "request.uri",
17
+ * objType: 1,
18
+ * opretar: 2,
19
+ * property: 0,
20
+ * valueString: "tf",
21
+ * },
22
+ * {
23
+ * httpObj: "request.schema",
24
+ * objType: 0,
25
+ * opretar: 2,
26
+ * property: 0,
27
+ * valueString: "tf-2",
28
+ * },
29
+ * ],
30
+ * logic: 2,
31
+ * },
32
+ * actionAfterVerification: 1,
33
+ * actionType: 1,
34
+ * effectTime: 1000,
35
+ * enable: 1,
36
+ * exemptionTime: 60,
37
+ * field: "HEADER:User-Agent",
38
+ * host: "www.tf-test.com",
39
+ * path: "/mod",
40
+ * pathThreshold: 1000,
41
+ * projectName: "default",
42
+ * rulePriority: 3,
43
+ * singleProportion: 0.25,
44
+ * singleThreshold: 100,
45
+ * statisticalDuration: 50,
46
+ * statisticalType: 2,
47
+ * });
48
+ * ```
49
+ *
50
+ * ## Import
51
+ *
52
+ * WafBotAnalyseProtectRule can be imported using the id, e.g.
53
+ *
54
+ * ```sh
55
+ * $ pulumi import volcengine:waf/botAnalyseProtectRule:BotAnalyseProtectRule default resource_id:bot_space:host
56
+ * ```
57
+ */
58
+ export declare class BotAnalyseProtectRule extends pulumi.CustomResource {
59
+ /**
60
+ * Get an existing BotAnalyseProtectRule resource's state with the given name, ID, and optional extra
61
+ * properties used to qualify the lookup.
62
+ *
63
+ * @param name The _unique_ name of the resulting resource.
64
+ * @param id The _unique_ provider ID of the resource to lookup.
65
+ * @param state Any extra arguments used during the lookup.
66
+ * @param opts Optional settings to control the behavior of the CustomResource.
67
+ */
68
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BotAnalyseProtectRuleState, opts?: pulumi.CustomResourceOptions): BotAnalyseProtectRule;
69
+ /**
70
+ * Returns true if the given object is an instance of BotAnalyseProtectRule. This is designed to work even
71
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
+ */
73
+ static isInstance(obj: any): obj is BotAnalyseProtectRule;
74
+ /**
75
+ * Advanced conditions.
76
+ */
77
+ readonly accurateGroup: pulumi.Output<outputs.waf.BotAnalyseProtectRuleAccurateGroup | undefined>;
78
+ /**
79
+ * Perform the action after verification/challenge.
80
+ */
81
+ readonly actionAfterVerification: pulumi.Output<number | undefined>;
82
+ /**
83
+ * perform the action.
84
+ */
85
+ readonly actionType: pulumi.Output<number>;
86
+ /**
87
+ * Limit the duration.
88
+ */
89
+ readonly effectTime: pulumi.Output<number>;
90
+ /**
91
+ * Whether to enable the rules.
92
+ */
93
+ readonly enable: pulumi.Output<number>;
94
+ /**
95
+ * The number of statistical protection rules enabled under the current domain name.
96
+ */
97
+ readonly enableCount: pulumi.Output<number>;
98
+ /**
99
+ * Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
100
+ */
101
+ readonly exemptionTime: pulumi.Output<number | undefined>;
102
+ /**
103
+ * Statistical objects, with multiple objects separated by commas.
104
+ */
105
+ readonly field: pulumi.Output<string>;
106
+ /**
107
+ * Website domain names that require the setting of protection rules.
108
+ */
109
+ readonly host: pulumi.Output<string>;
110
+ /**
111
+ * The name of rule.
112
+ */
113
+ readonly name: pulumi.Output<string>;
114
+ /**
115
+ * The requested path.
116
+ */
117
+ readonly path: pulumi.Output<string>;
118
+ /**
119
+ * The path access frequency threshold is enabled when StatisticalType=1.
120
+ */
121
+ readonly pathThreshold: pulumi.Output<number | undefined>;
122
+ /**
123
+ * The Name of the affiliated project resource.
124
+ */
125
+ readonly projectName: pulumi.Output<string | undefined>;
126
+ /**
127
+ * Details of the rule group.
128
+ */
129
+ readonly ruleGroups: pulumi.Output<outputs.waf.BotAnalyseProtectRuleRuleGroup[]>;
130
+ /**
131
+ * Priority of rule effectiveness.
132
+ */
133
+ readonly rulePriority: pulumi.Output<number>;
134
+ /**
135
+ * The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
136
+ */
137
+ readonly singleProportion: pulumi.Output<number | undefined>;
138
+ /**
139
+ * The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
140
+ */
141
+ readonly singleThreshold: pulumi.Output<number>;
142
+ /**
143
+ * The duration of statistics.
144
+ */
145
+ readonly statisticalDuration: pulumi.Output<number>;
146
+ /**
147
+ * Statistical content and methods.
148
+ */
149
+ readonly statisticalType: pulumi.Output<number>;
150
+ /**
151
+ * The total number of statistical protection rules under the current domain name.
152
+ */
153
+ readonly totalCount: pulumi.Output<number>;
154
+ /**
155
+ * Create a BotAnalyseProtectRule resource with the given unique name, arguments, and options.
156
+ *
157
+ * @param name The _unique_ name of the resource.
158
+ * @param args The arguments to use to populate this resource's properties.
159
+ * @param opts A bag of options that control this resource's behavior.
160
+ */
161
+ constructor(name: string, args: BotAnalyseProtectRuleArgs, opts?: pulumi.CustomResourceOptions);
162
+ }
163
+ /**
164
+ * Input properties used for looking up and filtering BotAnalyseProtectRule resources.
165
+ */
166
+ export interface BotAnalyseProtectRuleState {
167
+ /**
168
+ * Advanced conditions.
169
+ */
170
+ accurateGroup?: pulumi.Input<inputs.waf.BotAnalyseProtectRuleAccurateGroup>;
171
+ /**
172
+ * Perform the action after verification/challenge.
173
+ */
174
+ actionAfterVerification?: pulumi.Input<number>;
175
+ /**
176
+ * perform the action.
177
+ */
178
+ actionType?: pulumi.Input<number>;
179
+ /**
180
+ * Limit the duration.
181
+ */
182
+ effectTime?: pulumi.Input<number>;
183
+ /**
184
+ * Whether to enable the rules.
185
+ */
186
+ enable?: pulumi.Input<number>;
187
+ /**
188
+ * The number of statistical protection rules enabled under the current domain name.
189
+ */
190
+ enableCount?: pulumi.Input<number>;
191
+ /**
192
+ * Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
193
+ */
194
+ exemptionTime?: pulumi.Input<number>;
195
+ /**
196
+ * Statistical objects, with multiple objects separated by commas.
197
+ */
198
+ field?: pulumi.Input<string>;
199
+ /**
200
+ * Website domain names that require the setting of protection rules.
201
+ */
202
+ host?: pulumi.Input<string>;
203
+ /**
204
+ * The name of rule.
205
+ */
206
+ name?: pulumi.Input<string>;
207
+ /**
208
+ * The requested path.
209
+ */
210
+ path?: pulumi.Input<string>;
211
+ /**
212
+ * The path access frequency threshold is enabled when StatisticalType=1.
213
+ */
214
+ pathThreshold?: pulumi.Input<number>;
215
+ /**
216
+ * The Name of the affiliated project resource.
217
+ */
218
+ projectName?: pulumi.Input<string>;
219
+ /**
220
+ * Details of the rule group.
221
+ */
222
+ ruleGroups?: pulumi.Input<pulumi.Input<inputs.waf.BotAnalyseProtectRuleRuleGroup>[]>;
223
+ /**
224
+ * Priority of rule effectiveness.
225
+ */
226
+ rulePriority?: pulumi.Input<number>;
227
+ /**
228
+ * The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
229
+ */
230
+ singleProportion?: pulumi.Input<number>;
231
+ /**
232
+ * The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
233
+ */
234
+ singleThreshold?: pulumi.Input<number>;
235
+ /**
236
+ * The duration of statistics.
237
+ */
238
+ statisticalDuration?: pulumi.Input<number>;
239
+ /**
240
+ * Statistical content and methods.
241
+ */
242
+ statisticalType?: pulumi.Input<number>;
243
+ /**
244
+ * The total number of statistical protection rules under the current domain name.
245
+ */
246
+ totalCount?: pulumi.Input<number>;
247
+ }
248
+ /**
249
+ * The set of arguments for constructing a BotAnalyseProtectRule resource.
250
+ */
251
+ export interface BotAnalyseProtectRuleArgs {
252
+ /**
253
+ * Advanced conditions.
254
+ */
255
+ accurateGroup?: pulumi.Input<inputs.waf.BotAnalyseProtectRuleAccurateGroup>;
256
+ /**
257
+ * Perform the action after verification/challenge.
258
+ */
259
+ actionAfterVerification?: pulumi.Input<number>;
260
+ /**
261
+ * perform the action.
262
+ */
263
+ actionType: pulumi.Input<number>;
264
+ /**
265
+ * Limit the duration.
266
+ */
267
+ effectTime: pulumi.Input<number>;
268
+ /**
269
+ * Whether to enable the rules.
270
+ */
271
+ enable: pulumi.Input<number>;
272
+ /**
273
+ * Exemption time takes effect when the execution action is human-machine challenge /JS/ Proof of work.
274
+ */
275
+ exemptionTime?: pulumi.Input<number>;
276
+ /**
277
+ * Statistical objects, with multiple objects separated by commas.
278
+ */
279
+ field: pulumi.Input<string>;
280
+ /**
281
+ * Website domain names that require the setting of protection rules.
282
+ */
283
+ host: pulumi.Input<string>;
284
+ /**
285
+ * The name of rule.
286
+ */
287
+ name?: pulumi.Input<string>;
288
+ /**
289
+ * The requested path.
290
+ */
291
+ path: pulumi.Input<string>;
292
+ /**
293
+ * The path access frequency threshold is enabled when StatisticalType=1.
294
+ */
295
+ pathThreshold?: pulumi.Input<number>;
296
+ /**
297
+ * The Name of the affiliated project resource.
298
+ */
299
+ projectName?: pulumi.Input<string>;
300
+ /**
301
+ * Priority of rule effectiveness.
302
+ */
303
+ rulePriority: pulumi.Input<number>;
304
+ /**
305
+ * The IP proportion of the same statistical object needs to be configured when StatisticalType=3.
306
+ */
307
+ singleProportion?: pulumi.Input<number>;
308
+ /**
309
+ * The maximum number of ips of the same statistical object is enabled when StatisticalType=2.
310
+ */
311
+ singleThreshold: pulumi.Input<number>;
312
+ /**
313
+ * The duration of statistics.
314
+ */
315
+ statisticalDuration: pulumi.Input<number>;
316
+ /**
317
+ * Statistical content and methods.
318
+ */
319
+ statisticalType: pulumi.Input<number>;
320
+ }
@@ -0,0 +1,171 @@
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.BotAnalyseProtectRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage waf bot analyse protect rule
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.waf.BotAnalyseProtectRule("foo", {
17
+ * accurateGroup: {
18
+ * accurateRules: [
19
+ * {
20
+ * httpObj: "request.uri",
21
+ * objType: 1,
22
+ * opretar: 2,
23
+ * property: 0,
24
+ * valueString: "tf",
25
+ * },
26
+ * {
27
+ * httpObj: "request.schema",
28
+ * objType: 0,
29
+ * opretar: 2,
30
+ * property: 0,
31
+ * valueString: "tf-2",
32
+ * },
33
+ * ],
34
+ * logic: 2,
35
+ * },
36
+ * actionAfterVerification: 1,
37
+ * actionType: 1,
38
+ * effectTime: 1000,
39
+ * enable: 1,
40
+ * exemptionTime: 60,
41
+ * field: "HEADER:User-Agent",
42
+ * host: "www.tf-test.com",
43
+ * path: "/mod",
44
+ * pathThreshold: 1000,
45
+ * projectName: "default",
46
+ * rulePriority: 3,
47
+ * singleProportion: 0.25,
48
+ * singleThreshold: 100,
49
+ * statisticalDuration: 50,
50
+ * statisticalType: 2,
51
+ * });
52
+ * ```
53
+ *
54
+ * ## Import
55
+ *
56
+ * WafBotAnalyseProtectRule can be imported using the id, e.g.
57
+ *
58
+ * ```sh
59
+ * $ pulumi import volcengine:waf/botAnalyseProtectRule:BotAnalyseProtectRule default resource_id:bot_space:host
60
+ * ```
61
+ */
62
+ class BotAnalyseProtectRule extends pulumi.CustomResource {
63
+ /**
64
+ * Get an existing BotAnalyseProtectRule resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param state Any extra arguments used during the lookup.
70
+ * @param opts Optional settings to control the behavior of the CustomResource.
71
+ */
72
+ static get(name, id, state, opts) {
73
+ return new BotAnalyseProtectRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
74
+ }
75
+ /**
76
+ * Returns true if the given object is an instance of BotAnalyseProtectRule. This is designed to work even
77
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
78
+ */
79
+ static isInstance(obj) {
80
+ if (obj === undefined || obj === null) {
81
+ return false;
82
+ }
83
+ return obj['__pulumiType'] === BotAnalyseProtectRule.__pulumiType;
84
+ }
85
+ constructor(name, argsOrState, opts) {
86
+ let resourceInputs = {};
87
+ opts = opts || {};
88
+ if (opts.id) {
89
+ const state = argsOrState;
90
+ resourceInputs["accurateGroup"] = state ? state.accurateGroup : undefined;
91
+ resourceInputs["actionAfterVerification"] = state ? state.actionAfterVerification : undefined;
92
+ resourceInputs["actionType"] = state ? state.actionType : undefined;
93
+ resourceInputs["effectTime"] = state ? state.effectTime : undefined;
94
+ resourceInputs["enable"] = state ? state.enable : undefined;
95
+ resourceInputs["enableCount"] = state ? state.enableCount : undefined;
96
+ resourceInputs["exemptionTime"] = state ? state.exemptionTime : undefined;
97
+ resourceInputs["field"] = state ? state.field : undefined;
98
+ resourceInputs["host"] = state ? state.host : undefined;
99
+ resourceInputs["name"] = state ? state.name : undefined;
100
+ resourceInputs["path"] = state ? state.path : undefined;
101
+ resourceInputs["pathThreshold"] = state ? state.pathThreshold : undefined;
102
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
103
+ resourceInputs["ruleGroups"] = state ? state.ruleGroups : undefined;
104
+ resourceInputs["rulePriority"] = state ? state.rulePriority : undefined;
105
+ resourceInputs["singleProportion"] = state ? state.singleProportion : undefined;
106
+ resourceInputs["singleThreshold"] = state ? state.singleThreshold : undefined;
107
+ resourceInputs["statisticalDuration"] = state ? state.statisticalDuration : undefined;
108
+ resourceInputs["statisticalType"] = state ? state.statisticalType : undefined;
109
+ resourceInputs["totalCount"] = state ? state.totalCount : undefined;
110
+ }
111
+ else {
112
+ const args = argsOrState;
113
+ if ((!args || args.actionType === undefined) && !opts.urn) {
114
+ throw new Error("Missing required property 'actionType'");
115
+ }
116
+ if ((!args || args.effectTime === undefined) && !opts.urn) {
117
+ throw new Error("Missing required property 'effectTime'");
118
+ }
119
+ if ((!args || args.enable === undefined) && !opts.urn) {
120
+ throw new Error("Missing required property 'enable'");
121
+ }
122
+ if ((!args || args.field === undefined) && !opts.urn) {
123
+ throw new Error("Missing required property 'field'");
124
+ }
125
+ if ((!args || args.host === undefined) && !opts.urn) {
126
+ throw new Error("Missing required property 'host'");
127
+ }
128
+ if ((!args || args.path === undefined) && !opts.urn) {
129
+ throw new Error("Missing required property 'path'");
130
+ }
131
+ if ((!args || args.rulePriority === undefined) && !opts.urn) {
132
+ throw new Error("Missing required property 'rulePriority'");
133
+ }
134
+ if ((!args || args.singleThreshold === undefined) && !opts.urn) {
135
+ throw new Error("Missing required property 'singleThreshold'");
136
+ }
137
+ if ((!args || args.statisticalDuration === undefined) && !opts.urn) {
138
+ throw new Error("Missing required property 'statisticalDuration'");
139
+ }
140
+ if ((!args || args.statisticalType === undefined) && !opts.urn) {
141
+ throw new Error("Missing required property 'statisticalType'");
142
+ }
143
+ resourceInputs["accurateGroup"] = args ? args.accurateGroup : undefined;
144
+ resourceInputs["actionAfterVerification"] = args ? args.actionAfterVerification : undefined;
145
+ resourceInputs["actionType"] = args ? args.actionType : undefined;
146
+ resourceInputs["effectTime"] = args ? args.effectTime : undefined;
147
+ resourceInputs["enable"] = args ? args.enable : undefined;
148
+ resourceInputs["exemptionTime"] = args ? args.exemptionTime : undefined;
149
+ resourceInputs["field"] = args ? args.field : undefined;
150
+ resourceInputs["host"] = args ? args.host : undefined;
151
+ resourceInputs["name"] = args ? args.name : undefined;
152
+ resourceInputs["path"] = args ? args.path : undefined;
153
+ resourceInputs["pathThreshold"] = args ? args.pathThreshold : undefined;
154
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
155
+ resourceInputs["rulePriority"] = args ? args.rulePriority : undefined;
156
+ resourceInputs["singleProportion"] = args ? args.singleProportion : undefined;
157
+ resourceInputs["singleThreshold"] = args ? args.singleThreshold : undefined;
158
+ resourceInputs["statisticalDuration"] = args ? args.statisticalDuration : undefined;
159
+ resourceInputs["statisticalType"] = args ? args.statisticalType : undefined;
160
+ resourceInputs["enableCount"] = undefined /*out*/;
161
+ resourceInputs["ruleGroups"] = undefined /*out*/;
162
+ resourceInputs["totalCount"] = undefined /*out*/;
163
+ }
164
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
165
+ super(BotAnalyseProtectRule.__pulumiType, name, resourceInputs, opts);
166
+ }
167
+ }
168
+ exports.BotAnalyseProtectRule = BotAnalyseProtectRule;
169
+ /** @internal */
170
+ BotAnalyseProtectRule.__pulumiType = 'volcengine:waf/botAnalyseProtectRule:BotAnalyseProtectRule';
171
+ //# sourceMappingURL=botAnalyseProtectRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"botAnalyseProtectRule.js","sourceRoot":"","sources":["../../waf/botAnalyseProtectRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA2FD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,E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,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AArML,sDAsMC;AAxLG,gBAAgB;AACO,kCAAY,GAAG,4DAA4D,CAAC"}
@@ -0,0 +1,145 @@
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 waf bot analyse protect rules
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.waf.getBotAnalyseProtectRules({
12
+ * botSpace: "BotRepeat",
13
+ * host: "www.tf-test.com",
14
+ * });
15
+ * ```
16
+ */
17
+ /** @deprecated volcengine.waf.BotAnalyseProtectRules has been deprecated in favor of volcengine.waf.getBotAnalyseProtectRules */
18
+ export declare function botAnalyseProtectRules(args: BotAnalyseProtectRulesArgs, opts?: pulumi.InvokeOptions): Promise<BotAnalyseProtectRulesResult>;
19
+ /**
20
+ * A collection of arguments for invoking BotAnalyseProtectRules.
21
+ */
22
+ export interface BotAnalyseProtectRulesArgs {
23
+ /**
24
+ * Bot protection rule type.
25
+ */
26
+ botSpace: string;
27
+ /**
28
+ * Website domain names that require the setting of protection rules.
29
+ */
30
+ host: string;
31
+ /**
32
+ * The name of the rule.
33
+ */
34
+ name?: string;
35
+ /**
36
+ * A Name Regex of Resource.
37
+ */
38
+ nameRegex?: string;
39
+ /**
40
+ * File name where to save data source results.
41
+ */
42
+ outputFile?: string;
43
+ /**
44
+ * Protective path.
45
+ */
46
+ path?: string;
47
+ /**
48
+ * The name of the project to which your domain names belong.
49
+ */
50
+ projectName?: string;
51
+ /**
52
+ * Unique identification of rules.
53
+ */
54
+ ruleTag?: string;
55
+ }
56
+ /**
57
+ * A collection of values returned by BotAnalyseProtectRules.
58
+ */
59
+ export interface BotAnalyseProtectRulesResult {
60
+ readonly botSpace: string;
61
+ /**
62
+ * The details of the Bot rules.
63
+ */
64
+ readonly datas: outputs.waf.BotAnalyseProtectRulesData[];
65
+ /**
66
+ * The domain name where the protection rule is located.
67
+ */
68
+ readonly host: string;
69
+ /**
70
+ * The provider-assigned unique ID for this managed resource.
71
+ */
72
+ readonly id: string;
73
+ /**
74
+ * The name of rule.
75
+ */
76
+ readonly name?: string;
77
+ readonly nameRegex?: string;
78
+ readonly outputFile?: string;
79
+ /**
80
+ * Request path.
81
+ */
82
+ readonly path?: string;
83
+ readonly projectName?: string;
84
+ /**
85
+ * Rule label, that is, the complete rule ID.
86
+ */
87
+ readonly ruleTag?: string;
88
+ /**
89
+ * The total count of query.
90
+ */
91
+ readonly totalCount: number;
92
+ }
93
+ /**
94
+ * Use this data source to query detailed information of waf bot analyse protect rules
95
+ * ## Example Usage
96
+ *
97
+ * ```typescript
98
+ * import * as pulumi from "@pulumi/pulumi";
99
+ * import * as volcengine from "@pulumi/volcengine";
100
+ *
101
+ * const foo = volcengine.waf.getBotAnalyseProtectRules({
102
+ * botSpace: "BotRepeat",
103
+ * host: "www.tf-test.com",
104
+ * });
105
+ * ```
106
+ */
107
+ /** @deprecated volcengine.waf.BotAnalyseProtectRules has been deprecated in favor of volcengine.waf.getBotAnalyseProtectRules */
108
+ export declare function botAnalyseProtectRulesOutput(args: BotAnalyseProtectRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<BotAnalyseProtectRulesResult>;
109
+ /**
110
+ * A collection of arguments for invoking BotAnalyseProtectRules.
111
+ */
112
+ export interface BotAnalyseProtectRulesOutputArgs {
113
+ /**
114
+ * Bot protection rule type.
115
+ */
116
+ botSpace: pulumi.Input<string>;
117
+ /**
118
+ * Website domain names that require the setting of protection rules.
119
+ */
120
+ host: pulumi.Input<string>;
121
+ /**
122
+ * The name of the rule.
123
+ */
124
+ name?: pulumi.Input<string>;
125
+ /**
126
+ * A Name Regex of Resource.
127
+ */
128
+ nameRegex?: pulumi.Input<string>;
129
+ /**
130
+ * File name where to save data source results.
131
+ */
132
+ outputFile?: pulumi.Input<string>;
133
+ /**
134
+ * Protective path.
135
+ */
136
+ path?: pulumi.Input<string>;
137
+ /**
138
+ * The name of the project to which your domain names belong.
139
+ */
140
+ projectName?: pulumi.Input<string>;
141
+ /**
142
+ * Unique identification of rules.
143
+ */
144
+ ruleTag?: pulumi.Input<string>;
145
+ }