@byteplus/pulumi-bytepluscc 0.0.53 → 0.0.54

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 (198) hide show
  1. package/billing/financialRelation.d.ts +211 -0
  2. package/billing/financialRelation.d.ts.map +1 -0
  3. package/billing/financialRelation.js +130 -0
  4. package/billing/financialRelation.js.map +1 -0
  5. package/billing/getFinancialRelation.d.ts +102 -0
  6. package/billing/getFinancialRelation.d.ts.map +1 -0
  7. package/billing/getFinancialRelation.js +51 -0
  8. package/billing/getFinancialRelation.js.map +1 -0
  9. package/billing/getFinancialRelations.d.ts +23 -0
  10. package/billing/getFinancialRelations.d.ts.map +1 -0
  11. package/billing/getFinancialRelations.js +47 -0
  12. package/billing/getFinancialRelations.js.map +1 -0
  13. package/billing/index.d.ts +10 -0
  14. package/billing/index.d.ts.map +1 -0
  15. package/billing/index.js +51 -0
  16. package/billing/index.js.map +1 -0
  17. package/cloudmonitor/alertTemplate.d.ts +252 -0
  18. package/cloudmonitor/alertTemplate.d.ts.map +1 -0
  19. package/cloudmonitor/alertTemplate.js +172 -0
  20. package/cloudmonitor/alertTemplate.js.map +1 -0
  21. package/cloudmonitor/getAlertTemplate.d.ts +90 -0
  22. package/cloudmonitor/getAlertTemplate.d.ts.map +1 -0
  23. package/cloudmonitor/getAlertTemplate.js +51 -0
  24. package/cloudmonitor/getAlertTemplate.js.map +1 -0
  25. package/cloudmonitor/getAlertTemplates.d.ts +23 -0
  26. package/cloudmonitor/getAlertTemplates.d.ts.map +1 -0
  27. package/cloudmonitor/getAlertTemplates.js +47 -0
  28. package/cloudmonitor/getAlertTemplates.js.map +1 -0
  29. package/cloudmonitor/getObjectGroup.d.ts +66 -0
  30. package/cloudmonitor/getObjectGroup.d.ts.map +1 -0
  31. package/cloudmonitor/getObjectGroup.js +51 -0
  32. package/cloudmonitor/getObjectGroup.js.map +1 -0
  33. package/cloudmonitor/getObjectGroups.d.ts +23 -0
  34. package/cloudmonitor/getObjectGroups.d.ts.map +1 -0
  35. package/cloudmonitor/getObjectGroups.js +47 -0
  36. package/cloudmonitor/getObjectGroups.js.map +1 -0
  37. package/cloudmonitor/index.d.ts +18 -0
  38. package/cloudmonitor/index.d.ts.map +1 -1
  39. package/cloudmonitor/index.js +23 -1
  40. package/cloudmonitor/index.js.map +1 -1
  41. package/cloudmonitor/objectGroup.d.ts +143 -0
  42. package/cloudmonitor/objectGroup.d.ts.map +1 -0
  43. package/cloudmonitor/objectGroup.js +124 -0
  44. package/cloudmonitor/objectGroup.js.map +1 -0
  45. package/ecs/getInstance.d.ts +1 -0
  46. package/ecs/getInstance.d.ts.map +1 -1
  47. package/ecs/getInstance.js.map +1 -1
  48. package/ecs/instance.d.ts +8 -0
  49. package/ecs/instance.d.ts.map +1 -1
  50. package/ecs/instance.js +2 -0
  51. package/ecs/instance.js.map +1 -1
  52. package/hbase/instance.d.ts +0 -5
  53. package/hbase/instance.d.ts.map +1 -1
  54. package/hbase/instance.js +1 -1
  55. package/hbase/instance.js.map +1 -1
  56. package/index.d.ts +3 -1
  57. package/index.d.ts.map +1 -1
  58. package/index.js +6 -1
  59. package/index.js.map +1 -1
  60. package/mongodb/getInstance.d.ts +24 -0
  61. package/mongodb/getInstance.d.ts.map +1 -1
  62. package/mongodb/getInstance.js.map +1 -1
  63. package/mongodb/instance.d.ts +68 -0
  64. package/mongodb/instance.d.ts.map +1 -1
  65. package/mongodb/instance.js +12 -0
  66. package/mongodb/instance.js.map +1 -1
  67. package/package.json +1 -1
  68. package/rdsmssql/getInstance.d.ts +12 -0
  69. package/rdsmssql/getInstance.d.ts.map +1 -1
  70. package/rdsmssql/getInstance.js.map +1 -1
  71. package/rdsmssql/instance.d.ts +32 -0
  72. package/rdsmssql/instance.d.ts.map +1 -1
  73. package/rdsmssql/instance.js +6 -0
  74. package/rdsmssql/instance.js.map +1 -1
  75. package/rdspostgresql/getInstance.d.ts +4 -0
  76. package/rdspostgresql/getInstance.d.ts.map +1 -1
  77. package/rdspostgresql/getInstance.js.map +1 -1
  78. package/rdspostgresql/instance.d.ts +12 -0
  79. package/rdspostgresql/instance.d.ts.map +1 -1
  80. package/rdspostgresql/instance.js +2 -0
  81. package/rdspostgresql/instance.js.map +1 -1
  82. package/redis/getInstance.d.ts +4 -0
  83. package/redis/getInstance.d.ts.map +1 -1
  84. package/redis/getInstance.js.map +1 -1
  85. package/redis/instance.d.ts +12 -0
  86. package/redis/instance.d.ts.map +1 -1
  87. package/redis/instance.js +2 -0
  88. package/redis/instance.js.map +1 -1
  89. package/securitycenter/agent.d.ts +221 -0
  90. package/securitycenter/agent.d.ts.map +1 -0
  91. package/securitycenter/agent.js +131 -0
  92. package/securitycenter/agent.js.map +1 -0
  93. package/securitycenter/getAgent.d.ts +118 -0
  94. package/securitycenter/getAgent.d.ts.map +1 -0
  95. package/securitycenter/getAgent.js +51 -0
  96. package/securitycenter/getAgent.js.map +1 -0
  97. package/securitycenter/getAgents.d.ts +23 -0
  98. package/securitycenter/getAgents.d.ts.map +1 -0
  99. package/securitycenter/getAgents.js +47 -0
  100. package/securitycenter/getAgents.js.map +1 -0
  101. package/securitycenter/index.d.ts +10 -0
  102. package/securitycenter/index.d.ts.map +1 -0
  103. package/securitycenter/index.js +51 -0
  104. package/securitycenter/index.js.map +1 -0
  105. package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts +23 -0
  106. package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts.map +1 -0
  107. package/transitrouter/getTransitRouterForwardPolicyEntries.js +47 -0
  108. package/transitrouter/getTransitRouterForwardPolicyEntries.js.map +1 -0
  109. package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts +77 -0
  110. package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts.map +1 -0
  111. package/transitrouter/getTransitRouterForwardPolicyEntry.js +51 -0
  112. package/transitrouter/getTransitRouterForwardPolicyEntry.js.map +1 -0
  113. package/transitrouter/getTransitRouterRoutePolicyTable.d.ts +73 -0
  114. package/transitrouter/getTransitRouterRoutePolicyTable.d.ts.map +1 -0
  115. package/transitrouter/getTransitRouterRoutePolicyTable.js +51 -0
  116. package/transitrouter/getTransitRouterRoutePolicyTable.js.map +1 -0
  117. package/transitrouter/getTransitRouterRoutePolicyTables.d.ts +23 -0
  118. package/transitrouter/getTransitRouterRoutePolicyTables.d.ts.map +1 -0
  119. package/transitrouter/getTransitRouterRoutePolicyTables.js +47 -0
  120. package/transitrouter/getTransitRouterRoutePolicyTables.js.map +1 -0
  121. package/transitrouter/index.d.ts +18 -0
  122. package/transitrouter/index.d.ts.map +1 -1
  123. package/transitrouter/index.js +24 -2
  124. package/transitrouter/index.js.map +1 -1
  125. package/transitrouter/transitRouterForwardPolicyEntry.d.ts +166 -0
  126. package/transitrouter/transitRouterForwardPolicyEntry.d.ts.map +1 -0
  127. package/transitrouter/transitRouterForwardPolicyEntry.js +127 -0
  128. package/transitrouter/transitRouterForwardPolicyEntry.js.map +1 -0
  129. package/transitrouter/transitRouterRoutePolicyTable.d.ts +148 -0
  130. package/transitrouter/transitRouterRoutePolicyTable.d.ts.map +1 -0
  131. package/transitrouter/transitRouterRoutePolicyTable.js +117 -0
  132. package/transitrouter/transitRouterRoutePolicyTable.js.map +1 -0
  133. package/types/input.d.ts +774 -81
  134. package/types/input.d.ts.map +1 -1
  135. package/types/output.d.ts +1594 -221
  136. package/types/output.d.ts.map +1 -1
  137. package/vke/getNodePool.d.ts +3 -3
  138. package/vke/getNodepoolScalingPolicies.d.ts +23 -0
  139. package/vke/getNodepoolScalingPolicies.d.ts.map +1 -0
  140. package/vke/getNodepoolScalingPolicies.js +47 -0
  141. package/vke/getNodepoolScalingPolicies.js.map +1 -0
  142. package/vke/getNodepoolScalingPolicy.d.ts +82 -0
  143. package/vke/getNodepoolScalingPolicy.d.ts.map +1 -0
  144. package/vke/getNodepoolScalingPolicy.js +51 -0
  145. package/vke/getNodepoolScalingPolicy.js.map +1 -0
  146. package/vke/index.d.ts +9 -0
  147. package/vke/index.d.ts.map +1 -1
  148. package/vke/index.js +12 -1
  149. package/vke/index.js.map +1 -1
  150. package/vke/nodePool.d.ts +9 -9
  151. package/vke/nodepoolScalingPolicy.d.ts +191 -0
  152. package/vke/nodepoolScalingPolicy.d.ts.map +1 -0
  153. package/vke/nodepoolScalingPolicy.js +140 -0
  154. package/vke/nodepoolScalingPolicy.js.map +1 -0
  155. package/vpc/getIpamResourceDiscoveries.d.ts +23 -0
  156. package/vpc/getIpamResourceDiscoveries.d.ts.map +1 -0
  157. package/vpc/getIpamResourceDiscoveries.js +47 -0
  158. package/vpc/getIpamResourceDiscoveries.js.map +1 -0
  159. package/vpc/getIpamResourceDiscovery.d.ts +90 -0
  160. package/vpc/getIpamResourceDiscovery.d.ts.map +1 -0
  161. package/vpc/getIpamResourceDiscovery.js +51 -0
  162. package/vpc/getIpamResourceDiscovery.js.map +1 -0
  163. package/vpc/index.d.ts +9 -0
  164. package/vpc/index.d.ts.map +1 -1
  165. package/vpc/index.js +14 -3
  166. package/vpc/index.js.map +1 -1
  167. package/vpc/ipamResourceDiscovery.d.ts +194 -0
  168. package/vpc/ipamResourceDiscovery.d.ts.map +1 -0
  169. package/vpc/ipamResourceDiscovery.js +128 -0
  170. package/vpc/ipamResourceDiscovery.js.map +1 -0
  171. package/waf/botAnalyseProtectRule.d.ts +316 -0
  172. package/waf/botAnalyseProtectRule.d.ts.map +1 -0
  173. package/waf/botAnalyseProtectRule.js +171 -0
  174. package/waf/botAnalyseProtectRule.js.map +1 -0
  175. package/waf/customBot.d.ts +207 -0
  176. package/waf/customBot.d.ts.map +1 -0
  177. package/waf/customBot.js +150 -0
  178. package/waf/customBot.js.map +1 -0
  179. package/waf/getBotAnalyseProtectRule.d.ts +126 -0
  180. package/waf/getBotAnalyseProtectRule.d.ts.map +1 -0
  181. package/waf/getBotAnalyseProtectRule.js +51 -0
  182. package/waf/getBotAnalyseProtectRule.js.map +1 -0
  183. package/waf/getBotAnalyseProtectRules.d.ts +23 -0
  184. package/waf/getBotAnalyseProtectRules.d.ts.map +1 -0
  185. package/waf/getBotAnalyseProtectRules.js +47 -0
  186. package/waf/getBotAnalyseProtectRules.js.map +1 -0
  187. package/waf/getCustomBot.d.ts +86 -0
  188. package/waf/getCustomBot.d.ts.map +1 -0
  189. package/waf/getCustomBot.js +51 -0
  190. package/waf/getCustomBot.js.map +1 -0
  191. package/waf/getCustomBots.d.ts +23 -0
  192. package/waf/getCustomBots.d.ts.map +1 -0
  193. package/waf/getCustomBots.js +47 -0
  194. package/waf/getCustomBots.js.map +1 -0
  195. package/waf/index.d.ts +18 -0
  196. package/waf/index.d.ts.map +1 -1
  197. package/waf/index.js +23 -1
  198. package/waf/index.js.map +1 -1
@@ -0,0 +1,207 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * WAF custom Bot configuration
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
12
+ *
13
+ * const example = new bytepluscc.waf.CustomBot("example", {
14
+ * accurate: {
15
+ * accurate_rules: [
16
+ * {
17
+ * httpObj: "request.header.User-Agent",
18
+ * objType: 14,
19
+ * opretar: 6,
20
+ * property: 0,
21
+ * valueString: "curl",
22
+ * },
23
+ * {
24
+ * httpObj: "request.method",
25
+ * objType: 2,
26
+ * opretar: 2,
27
+ * property: 0,
28
+ * valueString: "GET",
29
+ * },
30
+ * ],
31
+ * logic: 1,
32
+ * },
33
+ * action: "js",
34
+ * botType: "ccapiBotFull",
35
+ * description: "ccapi custom bot full",
36
+ * enable: 1,
37
+ * host: "www.testwaf.com",
38
+ * verificationExemptionTime: 300,
39
+ * });
40
+ * ```
41
+ *
42
+ * ## Import
43
+ *
44
+ * ```sh
45
+ * $ pulumi import bytepluscc:waf/customBot:CustomBot example "host|bot_id"
46
+ * ```
47
+ */
48
+ export declare class CustomBot extends pulumi.CustomResource {
49
+ /**
50
+ * Get an existing CustomBot resource's state with the given name, ID, and optional extra
51
+ * properties used to qualify the lookup.
52
+ *
53
+ * @param name The _unique_ name of the resulting resource.
54
+ * @param id The _unique_ provider ID of the resource to lookup.
55
+ * @param state Any extra arguments used during the lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomBotState, opts?: pulumi.CustomResourceOptions): CustomBot;
59
+ /**
60
+ * Returns true if the given object is an instance of CustomBot. This is designed to work even
61
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
+ */
63
+ static isInstance(obj: any): obj is CustomBot;
64
+ /**
65
+ * Advanced configuration details
66
+ */
67
+ readonly accurate: pulumi.Output<outputs.waf.CustomBotAccurate>;
68
+ /**
69
+ * Action. observe: Observe; block: Block; js: JS challenge; captcha: CAPTCHA; pow: Proof of Work; permit: Allow
70
+ */
71
+ readonly action: pulumi.Output<string>;
72
+ /**
73
+ * Is advanced rule
74
+ */
75
+ readonly advanced: pulumi.Output<number>;
76
+ /**
77
+ * Bot configuration ID
78
+ */
79
+ readonly botId: pulumi.Output<string>;
80
+ /**
81
+ * Bot name. Must start with a Chinese character, letter, or number. Letters, numbers, Chinese characters, period '.', underscore '_', and hyphen '-' are allowed. Length: 1–128 characters
82
+ */
83
+ readonly botType: pulumi.Output<string>;
84
+ /**
85
+ * Description. Must start with a Chinese character, letter, or number. Letters, numbers, Chinese characters, period '.', space, underscore '_', hyphen '-', equal sign '=', English comma ',', Chinese comma ',', and Chinese period '。' are allowed. Length: 0–255 characters
86
+ */
87
+ readonly description: pulumi.Output<string>;
88
+ /**
89
+ * Enable or not. 0 means disabled, 1 means enabled
90
+ */
91
+ readonly enable: pulumi.Output<number>;
92
+ /**
93
+ * Domain name of the protected website for which the rule needs to be created
94
+ */
95
+ readonly host: pulumi.Output<string>;
96
+ /**
97
+ * Project name of the resource
98
+ */
99
+ readonly projectName: pulumi.Output<string>;
100
+ /**
101
+ * Rule tags
102
+ */
103
+ readonly ruleTag: pulumi.Output<string>;
104
+ /**
105
+ * Update time
106
+ */
107
+ readonly updateTime: pulumi.Output<string>;
108
+ /**
109
+ * Verification exemption time
110
+ */
111
+ readonly verificationExemptionTime: pulumi.Output<number>;
112
+ /**
113
+ * Create a CustomBot resource with the given unique name, arguments, and options.
114
+ *
115
+ * @param name The _unique_ name of the resource.
116
+ * @param args The arguments to use to populate this resource's properties.
117
+ * @param opts A bag of options that control this resource's behavior.
118
+ */
119
+ constructor(name: string, args: CustomBotArgs, opts?: pulumi.CustomResourceOptions);
120
+ }
121
+ /**
122
+ * Input properties used for looking up and filtering CustomBot resources.
123
+ */
124
+ export interface CustomBotState {
125
+ /**
126
+ * Advanced configuration details
127
+ */
128
+ accurate?: pulumi.Input<inputs.waf.CustomBotAccurate | undefined>;
129
+ /**
130
+ * Action. observe: Observe; block: Block; js: JS challenge; captcha: CAPTCHA; pow: Proof of Work; permit: Allow
131
+ */
132
+ action?: pulumi.Input<string | undefined>;
133
+ /**
134
+ * Is advanced rule
135
+ */
136
+ advanced?: pulumi.Input<number | undefined>;
137
+ /**
138
+ * Bot configuration ID
139
+ */
140
+ botId?: pulumi.Input<string | undefined>;
141
+ /**
142
+ * Bot name. Must start with a Chinese character, letter, or number. Letters, numbers, Chinese characters, period '.', underscore '_', and hyphen '-' are allowed. Length: 1–128 characters
143
+ */
144
+ botType?: pulumi.Input<string | undefined>;
145
+ /**
146
+ * Description. Must start with a Chinese character, letter, or number. Letters, numbers, Chinese characters, period '.', space, underscore '_', hyphen '-', equal sign '=', English comma ',', Chinese comma ',', and Chinese period '。' are allowed. Length: 0–255 characters
147
+ */
148
+ description?: pulumi.Input<string | undefined>;
149
+ /**
150
+ * Enable or not. 0 means disabled, 1 means enabled
151
+ */
152
+ enable?: pulumi.Input<number | undefined>;
153
+ /**
154
+ * Domain name of the protected website for which the rule needs to be created
155
+ */
156
+ host?: pulumi.Input<string | undefined>;
157
+ /**
158
+ * Project name of the resource
159
+ */
160
+ projectName?: pulumi.Input<string | undefined>;
161
+ /**
162
+ * Rule tags
163
+ */
164
+ ruleTag?: pulumi.Input<string | undefined>;
165
+ /**
166
+ * Update time
167
+ */
168
+ updateTime?: pulumi.Input<string | undefined>;
169
+ /**
170
+ * Verification exemption time
171
+ */
172
+ verificationExemptionTime?: pulumi.Input<number | undefined>;
173
+ }
174
+ /**
175
+ * The set of arguments for constructing a CustomBot resource.
176
+ */
177
+ export interface CustomBotArgs {
178
+ /**
179
+ * Advanced configuration details
180
+ */
181
+ accurate?: pulumi.Input<inputs.waf.CustomBotAccurate | undefined>;
182
+ /**
183
+ * Action. observe: Observe; block: Block; js: JS challenge; captcha: CAPTCHA; pow: Proof of Work; permit: Allow
184
+ */
185
+ action: pulumi.Input<string>;
186
+ /**
187
+ * Bot name. Must start with a Chinese character, letter, or number. Letters, numbers, Chinese characters, period '.', underscore '_', and hyphen '-' are allowed. Length: 1–128 characters
188
+ */
189
+ botType: pulumi.Input<string>;
190
+ /**
191
+ * Description. Must start with a Chinese character, letter, or number. Letters, numbers, Chinese characters, period '.', space, underscore '_', hyphen '-', equal sign '=', English comma ',', Chinese comma ',', and Chinese period '。' are allowed. Length: 0–255 characters
192
+ */
193
+ description?: pulumi.Input<string | undefined>;
194
+ /**
195
+ * Enable or not. 0 means disabled, 1 means enabled
196
+ */
197
+ enable: pulumi.Input<number>;
198
+ /**
199
+ * Domain name of the protected website for which the rule needs to be created
200
+ */
201
+ host: pulumi.Input<string>;
202
+ /**
203
+ * Verification exemption time
204
+ */
205
+ verificationExemptionTime?: pulumi.Input<number | undefined>;
206
+ }
207
+ //# sourceMappingURL=customBot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customBot.d.ts","sourceRoot":"","sources":["../../waf/customBot.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC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AM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChE;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAClE;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChE"}
@@ -0,0 +1,150 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.CustomBot = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * WAF custom Bot configuration
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
39
+ *
40
+ * const example = new bytepluscc.waf.CustomBot("example", {
41
+ * accurate: {
42
+ * accurate_rules: [
43
+ * {
44
+ * httpObj: "request.header.User-Agent",
45
+ * objType: 14,
46
+ * opretar: 6,
47
+ * property: 0,
48
+ * valueString: "curl",
49
+ * },
50
+ * {
51
+ * httpObj: "request.method",
52
+ * objType: 2,
53
+ * opretar: 2,
54
+ * property: 0,
55
+ * valueString: "GET",
56
+ * },
57
+ * ],
58
+ * logic: 1,
59
+ * },
60
+ * action: "js",
61
+ * botType: "ccapiBotFull",
62
+ * description: "ccapi custom bot full",
63
+ * enable: 1,
64
+ * host: "www.testwaf.com",
65
+ * verificationExemptionTime: 300,
66
+ * });
67
+ * ```
68
+ *
69
+ * ## Import
70
+ *
71
+ * ```sh
72
+ * $ pulumi import bytepluscc:waf/customBot:CustomBot example "host|bot_id"
73
+ * ```
74
+ */
75
+ class CustomBot extends pulumi.CustomResource {
76
+ /**
77
+ * Get an existing CustomBot resource's state with the given name, ID, and optional extra
78
+ * properties used to qualify the lookup.
79
+ *
80
+ * @param name The _unique_ name of the resulting resource.
81
+ * @param id The _unique_ provider ID of the resource to lookup.
82
+ * @param state Any extra arguments used during the lookup.
83
+ * @param opts Optional settings to control the behavior of the CustomResource.
84
+ */
85
+ static get(name, id, state, opts) {
86
+ return new CustomBot(name, state, { ...opts, id: id });
87
+ }
88
+ /** @internal */
89
+ static __pulumiType = 'bytepluscc:waf/customBot:CustomBot';
90
+ /**
91
+ * Returns true if the given object is an instance of CustomBot. This is designed to work even
92
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
93
+ */
94
+ static isInstance(obj) {
95
+ if (obj === undefined || obj === null) {
96
+ return false;
97
+ }
98
+ return obj['__pulumiType'] === CustomBot.__pulumiType;
99
+ }
100
+ constructor(name, argsOrState, opts) {
101
+ let resourceInputs = {};
102
+ opts = opts || {};
103
+ if (opts.id) {
104
+ const state = argsOrState;
105
+ resourceInputs["accurate"] = state?.accurate;
106
+ resourceInputs["action"] = state?.action;
107
+ resourceInputs["advanced"] = state?.advanced;
108
+ resourceInputs["botId"] = state?.botId;
109
+ resourceInputs["botType"] = state?.botType;
110
+ resourceInputs["description"] = state?.description;
111
+ resourceInputs["enable"] = state?.enable;
112
+ resourceInputs["host"] = state?.host;
113
+ resourceInputs["projectName"] = state?.projectName;
114
+ resourceInputs["ruleTag"] = state?.ruleTag;
115
+ resourceInputs["updateTime"] = state?.updateTime;
116
+ resourceInputs["verificationExemptionTime"] = state?.verificationExemptionTime;
117
+ }
118
+ else {
119
+ const args = argsOrState;
120
+ if (args?.action === undefined && !opts.urn) {
121
+ throw new Error("Missing required property 'action'");
122
+ }
123
+ if (args?.botType === undefined && !opts.urn) {
124
+ throw new Error("Missing required property 'botType'");
125
+ }
126
+ if (args?.enable === undefined && !opts.urn) {
127
+ throw new Error("Missing required property 'enable'");
128
+ }
129
+ if (args?.host === undefined && !opts.urn) {
130
+ throw new Error("Missing required property 'host'");
131
+ }
132
+ resourceInputs["accurate"] = args?.accurate;
133
+ resourceInputs["action"] = args?.action;
134
+ resourceInputs["botType"] = args?.botType;
135
+ resourceInputs["description"] = args?.description;
136
+ resourceInputs["enable"] = args?.enable;
137
+ resourceInputs["host"] = args?.host;
138
+ resourceInputs["verificationExemptionTime"] = args?.verificationExemptionTime;
139
+ resourceInputs["advanced"] = undefined /*out*/;
140
+ resourceInputs["botId"] = undefined /*out*/;
141
+ resourceInputs["projectName"] = undefined /*out*/;
142
+ resourceInputs["ruleTag"] = undefined /*out*/;
143
+ resourceInputs["updateTime"] = undefined /*out*/;
144
+ }
145
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
146
+ super(CustomBot.__pulumiType, name, resourceInputs, opts);
147
+ }
148
+ }
149
+ exports.CustomBot = CustomBot;
150
+ //# sourceMappingURL=customBot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customBot.js","sourceRoot":"","sources":["../../waf/customBot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oCAAoC,CAAC;IAE3E;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;Y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;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAnIL,8BAoIC"}
@@ -0,0 +1,126 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::WAF::BotAnalyseProtectRule
5
+ */
6
+ export declare function getBotAnalyseProtectRule(args: GetBotAnalyseProtectRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetBotAnalyseProtectRuleResult>;
7
+ /**
8
+ * A collection of arguments for invoking getBotAnalyseProtectRule.
9
+ */
10
+ export interface GetBotAnalyseProtectRuleArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getBotAnalyseProtectRule.
18
+ */
19
+ export interface GetBotAnalyseProtectRuleResult {
20
+ /**
21
+ * Advanced condition group. Do not include this field if not enabled or if the list is empty.
22
+ */
23
+ readonly accurateGroup: outputs.waf.GetBotAnalyseProtectRuleAccurateGroup;
24
+ /**
25
+ * Follow-up actions after challenge verification succeeds. Applies only when ActionType is 6 (JS challenge), 7 (human verification), or 10 (proof of work). 1: Block; 2: Monitor.
26
+ */
27
+ readonly actionAfterVerification: number;
28
+ /**
29
+ * Action to execute. 0: Observe; 1: Rate limit (supported only in frequency limit scenario, i.e., StatisticalType=1); 2: Block; 6: JS challenge; 7: CAPTCHA; 10: Proof of work; 11: Drop.
30
+ */
31
+ readonly actionType: number;
32
+ /**
33
+ * Periodic cycle configuration list. Supported only for frequency limit rules with StatisticalType=1. Threshold switching is specified by crontab.
34
+ */
35
+ readonly cronConfs: outputs.waf.GetBotAnalyseProtectRuleCronConf[];
36
+ /**
37
+ * Action effective duration in seconds, range 30~86400. Required when creating or updating rules except for ActionType=1 (rate limiting).
38
+ */
39
+ readonly effectTime: number;
40
+ /**
41
+ * Rule switch. 0: Off; 1: On.
42
+ */
43
+ readonly enable: number;
44
+ /**
45
+ * Exemption time for human verification, JS challenge, or proof of work, in seconds. Range 30~3600. Applies only when ActionType is 6/7/10.
46
+ */
47
+ readonly exemptionTime: number;
48
+ /**
49
+ * Statistical object. Supports single or multiple fields, separated by commas. Maximum of 10 fields. Basic format is DataType:Value, for example HEADER:X-Forwarded-For, CLIENTIP, COOKIE:token, ARGS:device_id, JA3HASH.
50
+ */
51
+ readonly field: string;
52
+ /**
53
+ * Domain name. The website domain to be protected. Make sure the domain has been added to the current WAF instance before calling.
54
+ */
55
+ readonly host: string;
56
+ /**
57
+ * Uniquely identifies the resource.
58
+ */
59
+ readonly id: string;
60
+ /**
61
+ * Rule name. Must start with Chinese/letter/number. Allows Chinese/letters/numbers/period (.)/underscore (_)/hyphen (-). Length 1~128 characters.
62
+ */
63
+ readonly name: string;
64
+ /**
65
+ * JS challenge or CAPTCHA pass rate. Returned only when ActionType is 6/7/10.
66
+ */
67
+ readonly passRatio: number;
68
+ /**
69
+ * Request path to which the rule applies. You can specify an exact page path, match the entire site, or all paths under a directory (using wildcard *). The wildcard * can only appear at the end of the path.
70
+ */
71
+ readonly path: string;
72
+ /**
73
+ * Overall threshold for the current path. Effective only when StatisticalType=1. Range 1~300000.
74
+ */
75
+ readonly pathThreshold: number;
76
+ /**
77
+ * Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated.
78
+ */
79
+ readonly projectName: string;
80
+ /**
81
+ * Bot statistical protection rule ID.
82
+ */
83
+ readonly ruleId: string;
84
+ /**
85
+ * Rule priority under the same path and advanced condition. Range 0~9, with 0 being the highest priority.
86
+ */
87
+ readonly rulePriority: number;
88
+ /**
89
+ * Rule display ID. Frequency limit rule prefix is R (e.g., R000000018673); repeated statistics rule prefix is S (e.g., S000000018674).
90
+ */
91
+ readonly ruleTag: string;
92
+ /**
93
+ * Ratio threshold for a single statistical object. Enabled only when StatisticalType=3 (repeat ratio). Value range: [0, 1).
94
+ */
95
+ readonly singleProportion: number;
96
+ /**
97
+ * Threshold for the number of times per statistical object. Used only when StatisticalType=1. Range 1~300000.
98
+ */
99
+ readonly singleThreshold: number;
100
+ /**
101
+ * Statistical time window, in seconds. Frequency limit scenario (StatisticalType=1): 5~1800; repeat statistics scenario (StatisticalType=2/3): 1~60.
102
+ */
103
+ readonly statisticalDuration: number;
104
+ /**
105
+ * Statistical method. "1": access frequency; "2": repeat count; "3": repeat ratio.
106
+ */
107
+ readonly statisticalType: string;
108
+ /**
109
+ * Last update time of the rule.
110
+ */
111
+ readonly updateTime: string;
112
+ }
113
+ /**
114
+ * Data Source schema for Byteplus::WAF::BotAnalyseProtectRule
115
+ */
116
+ export declare function getBotAnalyseProtectRuleOutput(args: GetBotAnalyseProtectRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBotAnalyseProtectRuleResult>;
117
+ /**
118
+ * A collection of arguments for invoking getBotAnalyseProtectRule.
119
+ */
120
+ export interface GetBotAnalyseProtectRuleOutputArgs {
121
+ /**
122
+ * Uniquely identifies the resource.
123
+ */
124
+ id: pulumi.Input<string>;
125
+ }
126
+ //# sourceMappingURL=getBotAnalyseProtectRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBotAnalyseProtectRule.d.ts","sourceRoot":"","sources":["../../waf/getBotAnalyseProtectRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAKjJ;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC,G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AAC;IACjC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC/B;AACD;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,kCAAkC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAKzK;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getBotAnalyseProtectRuleOutput = exports.getBotAnalyseProtectRule = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Data Source schema for Byteplus::WAF::BotAnalyseProtectRule
33
+ */
34
+ function getBotAnalyseProtectRule(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("bytepluscc:waf/getBotAnalyseProtectRule:getBotAnalyseProtectRule", {
37
+ "id": args.id,
38
+ }, opts);
39
+ }
40
+ exports.getBotAnalyseProtectRule = getBotAnalyseProtectRule;
41
+ /**
42
+ * Data Source schema for Byteplus::WAF::BotAnalyseProtectRule
43
+ */
44
+ function getBotAnalyseProtectRuleOutput(args, opts) {
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("bytepluscc:waf/getBotAnalyseProtectRule:getBotAnalyseProtectRule", {
47
+ "id": args.id,
48
+ }, opts);
49
+ }
50
+ exports.getBotAnalyseProtectRuleOutput = getBotAnalyseProtectRuleOutput;
51
+ //# sourceMappingURL=getBotAnalyseProtectRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBotAnalyseProtectRule.js","sourceRoot":"","sources":["../../waf/getBotAnalyseProtectRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC;AA6GD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAAiC;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wEAKC"}
@@ -0,0 +1,23 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::WAF::BotAnalyseProtectRule
4
+ */
5
+ export declare function getBotAnalyseProtectRules(opts?: pulumi.InvokeOptions): Promise<GetBotAnalyseProtectRulesResult>;
6
+ /**
7
+ * A collection of values returned by getBotAnalyseProtectRules.
8
+ */
9
+ export interface GetBotAnalyseProtectRulesResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Byteplus::WAF::BotAnalyseProtectRule
21
+ */
22
+ export declare function getBotAnalyseProtectRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBotAnalyseProtectRulesResult>;
23
+ //# sourceMappingURL=getBotAnalyseProtectRules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBotAnalyseProtectRules.d.ts","sourceRoot":"","sources":["../../waf/getBotAnalyseProtectRules.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAI/G;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAIjI"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getBotAnalyseProtectRulesOutput = exports.getBotAnalyseProtectRules = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Plural Data Source schema for Byteplus::WAF::BotAnalyseProtectRule
33
+ */
34
+ function getBotAnalyseProtectRules(opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("bytepluscc:waf/getBotAnalyseProtectRules:getBotAnalyseProtectRules", {}, opts);
37
+ }
38
+ exports.getBotAnalyseProtectRules = getBotAnalyseProtectRules;
39
+ /**
40
+ * Plural Data Source schema for Byteplus::WAF::BotAnalyseProtectRule
41
+ */
42
+ function getBotAnalyseProtectRulesOutput(opts) {
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("bytepluscc:waf/getBotAnalyseProtectRules:getBotAnalyseProtectRules", {}, opts);
45
+ }
46
+ exports.getBotAnalyseProtectRulesOutput = getBotAnalyseProtectRulesOutput;
47
+ //# sourceMappingURL=getBotAnalyseProtectRules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBotAnalyseProtectRules.js","sourceRoot":"","sources":["../../waf/getBotAnalyseProtectRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAA2B;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE,EAClG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8DAIC;AAeD;;GAEG;AACH,SAAgB,+BAA+B,CAAC,IAAiC;IAC7E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE,EACxG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0EAIC"}