@distilled.cloud/cloudflare 0.6.1 → 0.7.1

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 (261) hide show
  1. package/lib/services/accounts.d.ts +901 -36
  2. package/lib/services/accounts.d.ts.map +1 -1
  3. package/lib/services/accounts.js +1386 -32
  4. package/lib/services/accounts.js.map +1 -1
  5. package/lib/services/addressing.d.ts +8 -2
  6. package/lib/services/addressing.d.ts.map +1 -1
  7. package/lib/services/addressing.js +14 -2
  8. package/lib/services/addressing.js.map +1 -1
  9. package/lib/services/ai-gateway.d.ts.map +1 -1
  10. package/lib/services/ai-gateway.js +7 -7
  11. package/lib/services/ai-gateway.js.map +1 -1
  12. package/lib/services/aisearch.d.ts.map +1 -1
  13. package/lib/services/aisearch.js +24 -9
  14. package/lib/services/aisearch.js.map +1 -1
  15. package/lib/services/alerting.js +2 -2
  16. package/lib/services/alerting.js.map +1 -1
  17. package/lib/services/api-gateway.d.ts +114 -16
  18. package/lib/services/api-gateway.d.ts.map +1 -1
  19. package/lib/services/api-gateway.js +187 -15
  20. package/lib/services/api-gateway.js.map +1 -1
  21. package/lib/services/audit-logs.d.ts +63 -3
  22. package/lib/services/audit-logs.d.ts.map +1 -1
  23. package/lib/services/audit-logs.js +62 -3
  24. package/lib/services/audit-logs.js.map +1 -1
  25. package/lib/services/bot-management.d.ts +54 -8
  26. package/lib/services/bot-management.d.ts.map +1 -1
  27. package/lib/services/bot-management.js +128 -16
  28. package/lib/services/bot-management.js.map +1 -1
  29. package/lib/services/brand-protection.d.ts.map +1 -1
  30. package/lib/services/brand-protection.js +26 -8
  31. package/lib/services/brand-protection.js.map +1 -1
  32. package/lib/services/browser-rendering.d.ts.map +1 -1
  33. package/lib/services/browser-rendering.js +13 -10
  34. package/lib/services/browser-rendering.js.map +1 -1
  35. package/lib/services/cloudforce-one.d.ts +61 -6
  36. package/lib/services/cloudforce-one.d.ts.map +1 -1
  37. package/lib/services/cloudforce-one.js +107 -6
  38. package/lib/services/cloudforce-one.js.map +1 -1
  39. package/lib/services/custom-certificates.d.ts +145 -8
  40. package/lib/services/custom-certificates.d.ts.map +1 -1
  41. package/lib/services/custom-certificates.js +226 -7
  42. package/lib/services/custom-certificates.js.map +1 -1
  43. package/lib/services/custom-hostnames.d.ts +8 -8
  44. package/lib/services/custom-hostnames.d.ts.map +1 -1
  45. package/lib/services/custom-hostnames.js +17 -14
  46. package/lib/services/custom-hostnames.js.map +1 -1
  47. package/lib/services/d1.d.ts +68 -8
  48. package/lib/services/d1.d.ts.map +1 -1
  49. package/lib/services/d1.js +96 -8
  50. package/lib/services/d1.js.map +1 -1
  51. package/lib/services/dns-firewall.d.ts +57 -4
  52. package/lib/services/dns-firewall.d.ts.map +1 -1
  53. package/lib/services/dns-firewall.js +86 -5
  54. package/lib/services/dns-firewall.js.map +1 -1
  55. package/lib/services/dns.d.ts +85 -745
  56. package/lib/services/dns.d.ts.map +1 -1
  57. package/lib/services/dns.js +118 -1424
  58. package/lib/services/dns.js.map +1 -1
  59. package/lib/services/email-routing.d.ts +59 -7
  60. package/lib/services/email-routing.d.ts.map +1 -1
  61. package/lib/services/email-routing.js +165 -7
  62. package/lib/services/email-routing.js.map +1 -1
  63. package/lib/services/firewall.d.ts +228 -39
  64. package/lib/services/firewall.d.ts.map +1 -1
  65. package/lib/services/firewall.js +220 -33
  66. package/lib/services/firewall.js.map +1 -1
  67. package/lib/services/healthchecks.d.ts +112 -6
  68. package/lib/services/healthchecks.d.ts.map +1 -1
  69. package/lib/services/healthchecks.js +248 -14
  70. package/lib/services/healthchecks.js.map +1 -1
  71. package/lib/services/hostnames.d.ts +5 -5
  72. package/lib/services/hostnames.d.ts.map +1 -1
  73. package/lib/services/hostnames.js +16 -4
  74. package/lib/services/hostnames.js.map +1 -1
  75. package/lib/services/hyperdrive.d.ts +223 -11
  76. package/lib/services/hyperdrive.d.ts.map +1 -1
  77. package/lib/services/hyperdrive.js +351 -11
  78. package/lib/services/hyperdrive.js.map +1 -1
  79. package/lib/services/iam.d.ts +62 -2
  80. package/lib/services/iam.d.ts.map +1 -1
  81. package/lib/services/iam.js +82 -11
  82. package/lib/services/iam.js.map +1 -1
  83. package/lib/services/images.d.ts +9 -1
  84. package/lib/services/images.d.ts.map +1 -1
  85. package/lib/services/images.js +12 -1
  86. package/lib/services/images.js.map +1 -1
  87. package/lib/services/intel.d.ts +4 -4
  88. package/lib/services/intel.d.ts.map +1 -1
  89. package/lib/services/intel.js +2 -3
  90. package/lib/services/intel.js.map +1 -1
  91. package/lib/services/kv.d.ts.map +1 -1
  92. package/lib/services/kv.js +2 -2
  93. package/lib/services/kv.js.map +1 -1
  94. package/lib/services/load-balancers.d.ts +537 -108
  95. package/lib/services/load-balancers.d.ts.map +1 -1
  96. package/lib/services/load-balancers.js +1266 -161
  97. package/lib/services/load-balancers.js.map +1 -1
  98. package/lib/services/logpush.d.ts +153 -9
  99. package/lib/services/logpush.d.ts.map +1 -1
  100. package/lib/services/logpush.js +246 -9
  101. package/lib/services/logpush.js.map +1 -1
  102. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  103. package/lib/services/magic-cloud-networking.js +54 -30
  104. package/lib/services/magic-cloud-networking.js.map +1 -1
  105. package/lib/services/magic-network-monitoring.d.ts +46 -5
  106. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  107. package/lib/services/magic-network-monitoring.js +79 -5
  108. package/lib/services/magic-network-monitoring.js.map +1 -1
  109. package/lib/services/magic-transit.d.ts +127 -21
  110. package/lib/services/magic-transit.d.ts.map +1 -1
  111. package/lib/services/magic-transit.js +291 -29
  112. package/lib/services/magic-transit.js.map +1 -1
  113. package/lib/services/memberships.d.ts +248 -52
  114. package/lib/services/memberships.d.ts.map +1 -1
  115. package/lib/services/memberships.js +360 -39
  116. package/lib/services/memberships.js.map +1 -1
  117. package/lib/services/page-rules.d.ts +432 -8
  118. package/lib/services/page-rules.d.ts.map +1 -1
  119. package/lib/services/page-rules.js +877 -33
  120. package/lib/services/page-rules.js.map +1 -1
  121. package/lib/services/pages.d.ts +457 -297
  122. package/lib/services/pages.d.ts.map +1 -1
  123. package/lib/services/pages.js +1366 -491
  124. package/lib/services/pages.js.map +1 -1
  125. package/lib/services/pipelines.d.ts +96 -76
  126. package/lib/services/pipelines.d.ts.map +1 -1
  127. package/lib/services/pipelines.js +145 -197
  128. package/lib/services/pipelines.js.map +1 -1
  129. package/lib/services/queues.d.ts +228 -12
  130. package/lib/services/queues.d.ts.map +1 -1
  131. package/lib/services/queues.js +487 -11
  132. package/lib/services/queues.js.map +1 -1
  133. package/lib/services/radar.d.ts +82 -18
  134. package/lib/services/radar.d.ts.map +1 -1
  135. package/lib/services/radar.js +111 -47
  136. package/lib/services/radar.js.map +1 -1
  137. package/lib/services/realtime-kit.d.ts +650 -334
  138. package/lib/services/realtime-kit.d.ts.map +1 -1
  139. package/lib/services/realtime-kit.js +1472 -693
  140. package/lib/services/realtime-kit.js.map +1 -1
  141. package/lib/services/request-tracers.d.ts +12 -1
  142. package/lib/services/request-tracers.d.ts.map +1 -1
  143. package/lib/services/request-tracers.js +28 -3
  144. package/lib/services/request-tracers.js.map +1 -1
  145. package/lib/services/rules.d.ts +65 -10
  146. package/lib/services/rules.d.ts.map +1 -1
  147. package/lib/services/rules.js +102 -8
  148. package/lib/services/rules.js.map +1 -1
  149. package/lib/services/rulesets.d.ts +7892 -1806
  150. package/lib/services/rulesets.d.ts.map +1 -1
  151. package/lib/services/rulesets.js +18720 -4149
  152. package/lib/services/rulesets.js.map +1 -1
  153. package/lib/services/rum.d.ts +45 -5
  154. package/lib/services/rum.d.ts.map +1 -1
  155. package/lib/services/rum.js +80 -4
  156. package/lib/services/rum.js.map +1 -1
  157. package/lib/services/schema-validation.js +2 -2
  158. package/lib/services/schema-validation.js.map +1 -1
  159. package/lib/services/spectrum.d.ts +139 -33
  160. package/lib/services/spectrum.d.ts.map +1 -1
  161. package/lib/services/spectrum.js +190 -34
  162. package/lib/services/spectrum.js.map +1 -1
  163. package/lib/services/speed.d.ts +345 -24
  164. package/lib/services/speed.d.ts.map +1 -1
  165. package/lib/services/speed.js +785 -19
  166. package/lib/services/speed.js.map +1 -1
  167. package/lib/services/ssl.d.ts +6 -6
  168. package/lib/services/ssl.d.ts.map +1 -1
  169. package/lib/services/ssl.js +5 -5
  170. package/lib/services/ssl.js.map +1 -1
  171. package/lib/services/stream.d.ts +171 -17
  172. package/lib/services/stream.d.ts.map +1 -1
  173. package/lib/services/stream.js +164 -11
  174. package/lib/services/stream.js.map +1 -1
  175. package/lib/services/token-validation.d.ts +16 -2
  176. package/lib/services/token-validation.d.ts.map +1 -1
  177. package/lib/services/token-validation.js +32 -2
  178. package/lib/services/token-validation.js.map +1 -1
  179. package/lib/services/url-scanner.d.ts +43 -11
  180. package/lib/services/url-scanner.d.ts.map +1 -1
  181. package/lib/services/url-scanner.js +46 -11
  182. package/lib/services/url-scanner.js.map +1 -1
  183. package/lib/services/user.d.ts +312 -21
  184. package/lib/services/user.d.ts.map +1 -1
  185. package/lib/services/user.js +442 -19
  186. package/lib/services/user.js.map +1 -1
  187. package/lib/services/workers-for-platforms.d.ts +223 -13
  188. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  189. package/lib/services/workers-for-platforms.js +481 -13
  190. package/lib/services/workers-for-platforms.js.map +1 -1
  191. package/lib/services/workers.d.ts +345 -31
  192. package/lib/services/workers.d.ts.map +1 -1
  193. package/lib/services/workers.js +649 -34
  194. package/lib/services/workers.js.map +1 -1
  195. package/lib/services/zaraz.d.ts +212 -11
  196. package/lib/services/zaraz.d.ts.map +1 -1
  197. package/lib/services/zaraz.js +311 -30
  198. package/lib/services/zaraz.js.map +1 -1
  199. package/lib/services/zero-trust.d.ts +19333 -1905
  200. package/lib/services/zero-trust.d.ts.map +1 -1
  201. package/lib/services/zero-trust.js +30269 -5710
  202. package/lib/services/zero-trust.js.map +1 -1
  203. package/lib/services/zones.d.ts +61 -7
  204. package/lib/services/zones.d.ts.map +1 -1
  205. package/lib/services/zones.js +188 -7
  206. package/lib/services/zones.js.map +1 -1
  207. package/package.json +2 -2
  208. package/src/services/accounts.ts +2897 -63
  209. package/src/services/addressing.ts +28 -4
  210. package/src/services/ai-gateway.ts +9 -7
  211. package/src/services/aisearch.ts +28 -9
  212. package/src/services/alerting.ts +2 -2
  213. package/src/services/api-gateway.ts +410 -27
  214. package/src/services/audit-logs.ts +135 -5
  215. package/src/services/bot-management.ts +282 -24
  216. package/src/services/brand-protection.ts +28 -8
  217. package/src/services/browser-rendering.ts +31 -11
  218. package/src/services/cloudforce-one.ts +201 -9
  219. package/src/services/custom-certificates.ts +405 -14
  220. package/src/services/custom-hostnames.ts +29 -22
  221. package/src/services/d1.ts +180 -12
  222. package/src/services/dns-firewall.ts +163 -7
  223. package/src/services/dns.ts +213 -2389
  224. package/src/services/email-routing.ts +346 -12
  225. package/src/services/firewall.ts +556 -72
  226. package/src/services/healthchecks.ts +463 -18
  227. package/src/services/hostnames.ts +21 -9
  228. package/src/services/hyperdrive.ts +730 -17
  229. package/src/services/iam.ts +228 -24
  230. package/src/services/images.ts +29 -2
  231. package/src/services/intel.ts +6 -5
  232. package/src/services/kv.ts +6 -2
  233. package/src/services/load-balancers.ts +2387 -294
  234. package/src/services/logpush.ts +659 -15
  235. package/src/services/magic-cloud-networking.ts +74 -30
  236. package/src/services/magic-network-monitoring.ts +170 -8
  237. package/src/services/magic-transit.ts +631 -62
  238. package/src/services/memberships.ts +710 -91
  239. package/src/services/page-rules.ts +1592 -88
  240. package/src/services/pages.ts +2011 -1098
  241. package/src/services/pipelines.ts +285 -331
  242. package/src/services/queues.ts +1110 -22
  243. package/src/services/radar.ts +128 -64
  244. package/src/services/realtime-kit.ts +2829 -1603
  245. package/src/services/request-tracers.ts +54 -4
  246. package/src/services/rules.ts +214 -18
  247. package/src/services/rulesets.ts +34524 -6913
  248. package/src/services/rum.ts +187 -9
  249. package/src/services/schema-validation.ts +2 -2
  250. package/src/services/spectrum.ts +357 -67
  251. package/src/services/speed.ts +1845 -42
  252. package/src/services/ssl.ts +11 -11
  253. package/src/services/stream.ts +397 -22
  254. package/src/services/token-validation.ts +64 -4
  255. package/src/services/url-scanner.ts +92 -20
  256. package/src/services/user.ts +973 -34
  257. package/src/services/workers-for-platforms.ts +1012 -39
  258. package/src/services/workers.ts +1472 -120
  259. package/src/services/zaraz.ts +640 -37
  260. package/src/services/zero-trust.ts +55498 -12667
  261. package/src/services/zones.ts +360 -14
@@ -65,18 +65,33 @@ export interface GetLoadBalancerResponse {
65
65
  } | null;
66
66
  name?: string | null;
67
67
  overrides?: {
68
- adaptiveRouting?: unknown | null;
68
+ adaptiveRouting?: {
69
+ failoverAcrossPools?: boolean | null;
70
+ } | null;
69
71
  countryPools?: Record<string, unknown> | null;
70
72
  defaultPools?: string[] | null;
71
73
  fallbackPool?: string | null;
72
- locationStrategy?: unknown | null;
74
+ locationStrategy?: {
75
+ mode?: "pop" | "resolver_ip" | null;
76
+ preferEcs?: "always" | "never" | "proximity" | "geo" | null;
77
+ } | null;
73
78
  popPools?: Record<string, unknown> | null;
74
- randomSteering?: unknown | null;
79
+ randomSteering?: {
80
+ defaultWeight?: number | null;
81
+ poolWeights?: Record<string, unknown> | null;
82
+ } | null;
75
83
  regionPools?: Record<string, unknown> | null;
76
84
  sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header" | null;
77
- sessionAffinityAttributes?: unknown | null;
85
+ sessionAffinityAttributes?: {
86
+ drainDuration?: number | null;
87
+ headers?: string[] | null;
88
+ requireAllHeaders?: boolean | null;
89
+ samesite?: "Auto" | "Lax" | "None" | "Strict" | null;
90
+ secure?: "Auto" | "Always" | "Never" | null;
91
+ zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
92
+ } | null;
78
93
  sessionAffinityTtl?: number | null;
79
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
94
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
80
95
  ttl?: number | null;
81
96
  } | null;
82
97
  priority?: number | null;
@@ -96,7 +111,7 @@ export interface GetLoadBalancerResponse {
96
111
  /** Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `s */
97
112
  sessionAffinityTtl?: number | null;
98
113
  /** Steering Policy for this load balancer. - `"off"`: Use `default_pools`. - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determi */
99
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
114
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
100
115
  /** Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers. */
101
116
  ttl?: number | null;
102
117
  zoneName?: string | null;
@@ -145,18 +160,33 @@ export interface ListLoadBalancersResponse {
145
160
  } | null;
146
161
  name?: string | null;
147
162
  overrides?: {
148
- adaptiveRouting?: unknown | null;
163
+ adaptiveRouting?: {
164
+ failoverAcrossPools?: boolean | null;
165
+ } | null;
149
166
  countryPools?: Record<string, unknown> | null;
150
167
  defaultPools?: string[] | null;
151
168
  fallbackPool?: string | null;
152
- locationStrategy?: unknown | null;
169
+ locationStrategy?: {
170
+ mode?: "pop" | "resolver_ip" | null;
171
+ preferEcs?: "always" | "never" | "proximity" | "geo" | null;
172
+ } | null;
153
173
  popPools?: Record<string, unknown> | null;
154
- randomSteering?: unknown | null;
174
+ randomSteering?: {
175
+ defaultWeight?: number | null;
176
+ poolWeights?: Record<string, unknown> | null;
177
+ } | null;
155
178
  regionPools?: Record<string, unknown> | null;
156
179
  sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header" | null;
157
- sessionAffinityAttributes?: unknown | null;
180
+ sessionAffinityAttributes?: {
181
+ drainDuration?: number | null;
182
+ headers?: string[] | null;
183
+ requireAllHeaders?: boolean | null;
184
+ samesite?: "Auto" | "Lax" | "None" | "Strict" | null;
185
+ secure?: "Auto" | "Always" | "Never" | null;
186
+ zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
187
+ } | null;
158
188
  sessionAffinityTtl?: number | null;
159
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
189
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
160
190
  ttl?: number | null;
161
191
  } | null;
162
192
  priority?: number | null;
@@ -172,7 +202,7 @@ export interface ListLoadBalancersResponse {
172
202
  zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
173
203
  } | null;
174
204
  sessionAffinityTtl?: number | null;
175
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
205
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
176
206
  ttl?: number | null;
177
207
  zoneName?: string | null;
178
208
  }[];
@@ -217,18 +247,33 @@ export declare const listLoadBalancers: API.PaginatedOperationMethod<ListLoadBal
217
247
  } | null;
218
248
  name?: string | null;
219
249
  overrides?: {
220
- adaptiveRouting?: unknown | null;
250
+ adaptiveRouting?: {
251
+ failoverAcrossPools?: boolean | null;
252
+ } | null;
221
253
  countryPools?: Record<string, unknown> | null;
222
254
  defaultPools?: string[] | null;
223
255
  fallbackPool?: string | null;
224
- locationStrategy?: unknown | null;
256
+ locationStrategy?: {
257
+ mode?: "pop" | "resolver_ip" | null;
258
+ preferEcs?: "always" | "never" | "proximity" | "geo" | null;
259
+ } | null;
225
260
  popPools?: Record<string, unknown> | null;
226
- randomSteering?: unknown | null;
261
+ randomSteering?: {
262
+ defaultWeight?: number | null;
263
+ poolWeights?: Record<string, unknown> | null;
264
+ } | null;
227
265
  regionPools?: Record<string, unknown> | null;
228
266
  sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header" | null;
229
- sessionAffinityAttributes?: unknown | null;
267
+ sessionAffinityAttributes?: {
268
+ drainDuration?: number | null;
269
+ headers?: string[] | null;
270
+ requireAllHeaders?: boolean | null;
271
+ samesite?: "Auto" | "Lax" | "None" | "Strict" | null;
272
+ secure?: "Auto" | "Always" | "Never" | null;
273
+ zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
274
+ } | null;
230
275
  sessionAffinityTtl?: number | null;
231
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
276
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
232
277
  ttl?: number | null;
233
278
  } | null;
234
279
  priority?: number | null;
@@ -244,7 +289,7 @@ export declare const listLoadBalancers: API.PaginatedOperationMethod<ListLoadBal
244
289
  zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
245
290
  } | null;
246
291
  sessionAffinityTtl?: number | null;
247
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
292
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
248
293
  ttl?: number | null;
249
294
  zoneName?: string | null;
250
295
  }, ListLoadBalancersError, Credentials | HttpClient.HttpClient>;
@@ -296,18 +341,33 @@ export interface CreateLoadBalancerRequest {
296
341
  };
297
342
  name?: string;
298
343
  overrides?: {
299
- adaptiveRouting?: unknown;
344
+ adaptiveRouting?: {
345
+ failoverAcrossPools?: boolean;
346
+ };
300
347
  countryPools?: Record<string, unknown>;
301
348
  defaultPools?: string[];
302
349
  fallbackPool?: string;
303
- locationStrategy?: unknown;
350
+ locationStrategy?: {
351
+ mode?: "pop" | "resolver_ip";
352
+ preferEcs?: "always" | "never" | "proximity" | "geo";
353
+ };
304
354
  popPools?: Record<string, unknown>;
305
- randomSteering?: unknown;
355
+ randomSteering?: {
356
+ defaultWeight?: number;
357
+ poolWeights?: Record<string, unknown>;
358
+ };
306
359
  regionPools?: Record<string, unknown>;
307
360
  sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header";
308
- sessionAffinityAttributes?: unknown;
361
+ sessionAffinityAttributes?: {
362
+ drainDuration?: number;
363
+ headers?: string[];
364
+ requireAllHeaders?: boolean;
365
+ samesite?: "Auto" | "Lax" | "None" | "Strict";
366
+ secure?: "Auto" | "Always" | "Never";
367
+ zeroDowntimeFailover?: "none" | "temporary" | "sticky";
368
+ };
309
369
  sessionAffinityTtl?: number;
310
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections";
370
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "";
311
371
  ttl?: number;
312
372
  };
313
373
  priority?: number;
@@ -327,7 +387,7 @@ export interface CreateLoadBalancerRequest {
327
387
  /** Body param: Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted r */
328
388
  sessionAffinityTtl?: number;
329
389
  /** Body param: Steering Policy for this load balancer. - `"off"`: Use `default_pools`. - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools */
330
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections";
390
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "";
331
391
  /** Body param: Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers. */
332
392
  ttl?: number;
333
393
  }
@@ -382,18 +442,33 @@ export interface CreateLoadBalancerResponse {
382
442
  } | null;
383
443
  name?: string | null;
384
444
  overrides?: {
385
- adaptiveRouting?: unknown | null;
445
+ adaptiveRouting?: {
446
+ failoverAcrossPools?: boolean | null;
447
+ } | null;
386
448
  countryPools?: Record<string, unknown> | null;
387
449
  defaultPools?: string[] | null;
388
450
  fallbackPool?: string | null;
389
- locationStrategy?: unknown | null;
451
+ locationStrategy?: {
452
+ mode?: "pop" | "resolver_ip" | null;
453
+ preferEcs?: "always" | "never" | "proximity" | "geo" | null;
454
+ } | null;
390
455
  popPools?: Record<string, unknown> | null;
391
- randomSteering?: unknown | null;
456
+ randomSteering?: {
457
+ defaultWeight?: number | null;
458
+ poolWeights?: Record<string, unknown> | null;
459
+ } | null;
392
460
  regionPools?: Record<string, unknown> | null;
393
461
  sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header" | null;
394
- sessionAffinityAttributes?: unknown | null;
462
+ sessionAffinityAttributes?: {
463
+ drainDuration?: number | null;
464
+ headers?: string[] | null;
465
+ requireAllHeaders?: boolean | null;
466
+ samesite?: "Auto" | "Lax" | "None" | "Strict" | null;
467
+ secure?: "Auto" | "Always" | "Never" | null;
468
+ zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
469
+ } | null;
395
470
  sessionAffinityTtl?: number | null;
396
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
471
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
397
472
  ttl?: number | null;
398
473
  } | null;
399
474
  priority?: number | null;
@@ -413,7 +488,7 @@ export interface CreateLoadBalancerResponse {
413
488
  /** Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `s */
414
489
  sessionAffinityTtl?: number | null;
415
490
  /** Steering Policy for this load balancer. - `"off"`: Use `default_pools`. - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determi */
416
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
491
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
417
492
  /** Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers. */
418
493
  ttl?: number | null;
419
494
  zoneName?: string | null;
@@ -471,18 +546,33 @@ export interface UpdateLoadBalancerRequest {
471
546
  };
472
547
  name?: string;
473
548
  overrides?: {
474
- adaptiveRouting?: unknown;
549
+ adaptiveRouting?: {
550
+ failoverAcrossPools?: boolean;
551
+ };
475
552
  countryPools?: Record<string, unknown>;
476
553
  defaultPools?: string[];
477
554
  fallbackPool?: string;
478
- locationStrategy?: unknown;
555
+ locationStrategy?: {
556
+ mode?: "pop" | "resolver_ip";
557
+ preferEcs?: "always" | "never" | "proximity" | "geo";
558
+ };
479
559
  popPools?: Record<string, unknown>;
480
- randomSteering?: unknown;
560
+ randomSteering?: {
561
+ defaultWeight?: number;
562
+ poolWeights?: Record<string, unknown>;
563
+ };
481
564
  regionPools?: Record<string, unknown>;
482
565
  sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header";
483
- sessionAffinityAttributes?: unknown;
566
+ sessionAffinityAttributes?: {
567
+ drainDuration?: number;
568
+ headers?: string[];
569
+ requireAllHeaders?: boolean;
570
+ samesite?: "Auto" | "Lax" | "None" | "Strict";
571
+ secure?: "Auto" | "Always" | "Never";
572
+ zeroDowntimeFailover?: "none" | "temporary" | "sticky";
573
+ };
484
574
  sessionAffinityTtl?: number;
485
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections";
575
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "";
486
576
  ttl?: number;
487
577
  };
488
578
  priority?: number;
@@ -502,7 +592,7 @@ export interface UpdateLoadBalancerRequest {
502
592
  /** Body param: Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted r */
503
593
  sessionAffinityTtl?: number;
504
594
  /** Body param: Steering Policy for this load balancer. - `"off"`: Use `default_pools`. - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools */
505
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections";
595
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "";
506
596
  /** Body param: Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers. */
507
597
  ttl?: number;
508
598
  }
@@ -557,18 +647,33 @@ export interface UpdateLoadBalancerResponse {
557
647
  } | null;
558
648
  name?: string | null;
559
649
  overrides?: {
560
- adaptiveRouting?: unknown | null;
650
+ adaptiveRouting?: {
651
+ failoverAcrossPools?: boolean | null;
652
+ } | null;
561
653
  countryPools?: Record<string, unknown> | null;
562
654
  defaultPools?: string[] | null;
563
655
  fallbackPool?: string | null;
564
- locationStrategy?: unknown | null;
656
+ locationStrategy?: {
657
+ mode?: "pop" | "resolver_ip" | null;
658
+ preferEcs?: "always" | "never" | "proximity" | "geo" | null;
659
+ } | null;
565
660
  popPools?: Record<string, unknown> | null;
566
- randomSteering?: unknown | null;
661
+ randomSteering?: {
662
+ defaultWeight?: number | null;
663
+ poolWeights?: Record<string, unknown> | null;
664
+ } | null;
567
665
  regionPools?: Record<string, unknown> | null;
568
666
  sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header" | null;
569
- sessionAffinityAttributes?: unknown | null;
667
+ sessionAffinityAttributes?: {
668
+ drainDuration?: number | null;
669
+ headers?: string[] | null;
670
+ requireAllHeaders?: boolean | null;
671
+ samesite?: "Auto" | "Lax" | "None" | "Strict" | null;
672
+ secure?: "Auto" | "Always" | "Never" | null;
673
+ zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
674
+ } | null;
570
675
  sessionAffinityTtl?: number | null;
571
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
676
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
572
677
  ttl?: number | null;
573
678
  } | null;
574
679
  priority?: number | null;
@@ -588,7 +693,7 @@ export interface UpdateLoadBalancerResponse {
588
693
  /** Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `s */
589
694
  sessionAffinityTtl?: number | null;
590
695
  /** Steering Policy for this load balancer. - `"off"`: Use `default_pools`. - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determi */
591
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
696
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
592
697
  /** Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers. */
593
698
  ttl?: number | null;
594
699
  zoneName?: string | null;
@@ -644,18 +749,33 @@ export interface PatchLoadBalancerRequest {
644
749
  };
645
750
  name?: string;
646
751
  overrides?: {
647
- adaptiveRouting?: unknown;
752
+ adaptiveRouting?: {
753
+ failoverAcrossPools?: boolean;
754
+ };
648
755
  countryPools?: Record<string, unknown>;
649
756
  defaultPools?: string[];
650
757
  fallbackPool?: string;
651
- locationStrategy?: unknown;
758
+ locationStrategy?: {
759
+ mode?: "pop" | "resolver_ip";
760
+ preferEcs?: "always" | "never" | "proximity" | "geo";
761
+ };
652
762
  popPools?: Record<string, unknown>;
653
- randomSteering?: unknown;
763
+ randomSteering?: {
764
+ defaultWeight?: number;
765
+ poolWeights?: Record<string, unknown>;
766
+ };
654
767
  regionPools?: Record<string, unknown>;
655
768
  sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header";
656
- sessionAffinityAttributes?: unknown;
769
+ sessionAffinityAttributes?: {
770
+ drainDuration?: number;
771
+ headers?: string[];
772
+ requireAllHeaders?: boolean;
773
+ samesite?: "Auto" | "Lax" | "None" | "Strict";
774
+ secure?: "Auto" | "Always" | "Never";
775
+ zeroDowntimeFailover?: "none" | "temporary" | "sticky";
776
+ };
657
777
  sessionAffinityTtl?: number;
658
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections";
778
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "";
659
779
  ttl?: number;
660
780
  };
661
781
  priority?: number;
@@ -675,7 +795,7 @@ export interface PatchLoadBalancerRequest {
675
795
  /** Body param: Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted r */
676
796
  sessionAffinityTtl?: number;
677
797
  /** Body param: Steering Policy for this load balancer. - `"off"`: Use `default_pools`. - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools */
678
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections";
798
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "";
679
799
  /** Body param: Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers. */
680
800
  ttl?: number;
681
801
  }
@@ -730,18 +850,33 @@ export interface PatchLoadBalancerResponse {
730
850
  } | null;
731
851
  name?: string | null;
732
852
  overrides?: {
733
- adaptiveRouting?: unknown | null;
853
+ adaptiveRouting?: {
854
+ failoverAcrossPools?: boolean | null;
855
+ } | null;
734
856
  countryPools?: Record<string, unknown> | null;
735
857
  defaultPools?: string[] | null;
736
858
  fallbackPool?: string | null;
737
- locationStrategy?: unknown | null;
859
+ locationStrategy?: {
860
+ mode?: "pop" | "resolver_ip" | null;
861
+ preferEcs?: "always" | "never" | "proximity" | "geo" | null;
862
+ } | null;
738
863
  popPools?: Record<string, unknown> | null;
739
- randomSteering?: unknown | null;
864
+ randomSteering?: {
865
+ defaultWeight?: number | null;
866
+ poolWeights?: Record<string, unknown> | null;
867
+ } | null;
740
868
  regionPools?: Record<string, unknown> | null;
741
869
  sessionAffinity?: "none" | "cookie" | "ip_cookie" | "header" | null;
742
- sessionAffinityAttributes?: unknown | null;
870
+ sessionAffinityAttributes?: {
871
+ drainDuration?: number | null;
872
+ headers?: string[] | null;
873
+ requireAllHeaders?: boolean | null;
874
+ samesite?: "Auto" | "Lax" | "None" | "Strict" | null;
875
+ secure?: "Auto" | "Always" | "Never" | null;
876
+ zeroDowntimeFailover?: "none" | "temporary" | "sticky" | null;
877
+ } | null;
743
878
  sessionAffinityTtl?: number | null;
744
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
879
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
745
880
  ttl?: number | null;
746
881
  } | null;
747
882
  priority?: number | null;
@@ -761,7 +896,7 @@ export interface PatchLoadBalancerResponse {
761
896
  /** Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `s */
762
897
  sessionAffinityTtl?: number | null;
763
898
  /** Steering Policy for this load balancer. - `"off"`: Use `default_pools`. - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determi */
764
- steeringPolicy?: "" | "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | null;
899
+ steeringPolicy?: "off" | "geo" | "random" | "dynamic_latency" | "proximity" | "least_outstanding_requests" | "least_connections" | "" | null;
765
900
  /** Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers. */
766
901
  ttl?: number | null;
767
902
  zoneName?: string | null;
@@ -1417,7 +1552,7 @@ export declare const GetPoolRequest: Schema.Schema<GetPoolRequest>;
1417
1552
  export interface GetPoolResponse {
1418
1553
  id?: string | null;
1419
1554
  /** A list of regions from which to run health checks. Null means every Cloudflare data center. */
1420
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
1555
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1421
1556
  createdOn?: string | null;
1422
1557
  /** A human-readable description of the pool. */
1423
1558
  description?: string | null;
@@ -1428,7 +1563,12 @@ export interface GetPoolResponse {
1428
1563
  /** The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */
1429
1564
  latitude?: number | null;
1430
1565
  /** Configures load shedding policies and percentages for the pool. */
1431
- loadShedding?: unknown | null;
1566
+ loadShedding?: {
1567
+ defaultPercent?: number | null;
1568
+ defaultPolicy?: "random" | "hash" | null;
1569
+ sessionPercent?: number | null;
1570
+ sessionPolicy?: "hash" | null;
1571
+ } | null;
1432
1572
  /** The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */
1433
1573
  longitude?: number | null;
1434
1574
  /** The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the */
@@ -1445,11 +1585,33 @@ export interface GetPoolResponse {
1445
1585
  /** This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status */
1446
1586
  notificationEmail?: string | null;
1447
1587
  /** Filter pool and origin health notifications by resource type or health status. Use null to reset. */
1448
- notificationFilter?: unknown | null;
1588
+ notificationFilter?: {
1589
+ origin?: {
1590
+ disable?: boolean | null;
1591
+ healthy?: boolean | null;
1592
+ } | null;
1593
+ pool?: {
1594
+ disable?: boolean | null;
1595
+ healthy?: boolean | null;
1596
+ } | null;
1597
+ } | null;
1449
1598
  /** Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */
1450
- originSteering?: unknown | null;
1599
+ originSteering?: {
1600
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections" | null;
1601
+ } | null;
1451
1602
  /** The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */
1452
- origins?: unknown[] | null;
1603
+ origins?: {
1604
+ address?: string | null;
1605
+ disabledAt?: string | null;
1606
+ enabled?: boolean | null;
1607
+ header?: {
1608
+ host?: string[] | null;
1609
+ } | null;
1610
+ name?: string | null;
1611
+ port?: number | null;
1612
+ virtualNetworkId?: string | null;
1613
+ weight?: number | null;
1614
+ }[] | null;
1453
1615
  }
1454
1616
  export declare const GetPoolResponse: Schema.Schema<GetPoolResponse>;
1455
1617
  export type GetPoolError = DefaultErrors;
@@ -1464,13 +1626,18 @@ export declare const ListPoolsRequest: Schema.Schema<ListPoolsRequest>;
1464
1626
  export interface ListPoolsResponse {
1465
1627
  result: {
1466
1628
  id?: string | null;
1467
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
1629
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1468
1630
  createdOn?: string | null;
1469
1631
  description?: string | null;
1470
1632
  disabledAt?: string | null;
1471
1633
  enabled?: boolean | null;
1472
1634
  latitude?: number | null;
1473
- loadShedding?: unknown | null;
1635
+ loadShedding?: {
1636
+ defaultPercent?: number | null;
1637
+ defaultPolicy?: "random" | "hash" | null;
1638
+ sessionPercent?: number | null;
1639
+ sessionPolicy?: "hash" | null;
1640
+ } | null;
1474
1641
  longitude?: number | null;
1475
1642
  minimumOrigins?: number | null;
1476
1643
  modifiedOn?: string | null;
@@ -1479,9 +1646,31 @@ export interface ListPoolsResponse {
1479
1646
  name?: string | null;
1480
1647
  networks?: string[] | null;
1481
1648
  notificationEmail?: string | null;
1482
- notificationFilter?: unknown | null;
1483
- originSteering?: unknown | null;
1484
- origins?: unknown[] | null;
1649
+ notificationFilter?: {
1650
+ origin?: {
1651
+ disable?: boolean | null;
1652
+ healthy?: boolean | null;
1653
+ } | null;
1654
+ pool?: {
1655
+ disable?: boolean | null;
1656
+ healthy?: boolean | null;
1657
+ } | null;
1658
+ } | null;
1659
+ originSteering?: {
1660
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections" | null;
1661
+ } | null;
1662
+ origins?: {
1663
+ address?: string | null;
1664
+ disabledAt?: string | null;
1665
+ enabled?: boolean | null;
1666
+ header?: {
1667
+ host?: string[] | null;
1668
+ } | null;
1669
+ name?: string | null;
1670
+ port?: number | null;
1671
+ virtualNetworkId?: string | null;
1672
+ weight?: number | null;
1673
+ }[] | null;
1485
1674
  }[];
1486
1675
  }
1487
1676
  export declare const ListPoolsResponse: Schema.Schema<ListPoolsResponse>;
@@ -1490,13 +1679,18 @@ export declare const listPools: API.PaginatedOperationMethod<ListPoolsRequest, L
1490
1679
  pages: (input: ListPoolsRequest) => stream.Stream<ListPoolsResponse, ListPoolsError, Credentials | HttpClient.HttpClient>;
1491
1680
  items: (input: ListPoolsRequest) => stream.Stream<{
1492
1681
  id?: string | null;
1493
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
1682
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1494
1683
  createdOn?: string | null;
1495
1684
  description?: string | null;
1496
1685
  disabledAt?: string | null;
1497
1686
  enabled?: boolean | null;
1498
1687
  latitude?: number | null;
1499
- loadShedding?: unknown | null;
1688
+ loadShedding?: {
1689
+ defaultPercent?: number | null;
1690
+ defaultPolicy?: "random" | "hash" | null;
1691
+ sessionPercent?: number | null;
1692
+ sessionPolicy?: "hash" | null;
1693
+ } | null;
1500
1694
  longitude?: number | null;
1501
1695
  minimumOrigins?: number | null;
1502
1696
  modifiedOn?: string | null;
@@ -1505,9 +1699,31 @@ export declare const listPools: API.PaginatedOperationMethod<ListPoolsRequest, L
1505
1699
  name?: string | null;
1506
1700
  networks?: string[] | null;
1507
1701
  notificationEmail?: string | null;
1508
- notificationFilter?: unknown | null;
1509
- originSteering?: unknown | null;
1510
- origins?: unknown[] | null;
1702
+ notificationFilter?: {
1703
+ origin?: {
1704
+ disable?: boolean | null;
1705
+ healthy?: boolean | null;
1706
+ } | null;
1707
+ pool?: {
1708
+ disable?: boolean | null;
1709
+ healthy?: boolean | null;
1710
+ } | null;
1711
+ } | null;
1712
+ originSteering?: {
1713
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections" | null;
1714
+ } | null;
1715
+ origins?: {
1716
+ address?: string | null;
1717
+ disabledAt?: string | null;
1718
+ enabled?: boolean | null;
1719
+ header?: {
1720
+ host?: string[] | null;
1721
+ } | null;
1722
+ name?: string | null;
1723
+ port?: number | null;
1724
+ virtualNetworkId?: string | null;
1725
+ weight?: number | null;
1726
+ }[] | null;
1511
1727
  }, ListPoolsError, Credentials | HttpClient.HttpClient>;
1512
1728
  };
1513
1729
  export interface CreatePoolRequest {
@@ -1516,7 +1732,17 @@ export interface CreatePoolRequest {
1516
1732
  /** Body param: A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed. */
1517
1733
  name: string;
1518
1734
  /** Body param: The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */
1519
- origins: unknown[];
1735
+ origins: {
1736
+ address?: string;
1737
+ enabled?: boolean;
1738
+ header?: {
1739
+ host?: string[];
1740
+ };
1741
+ name?: string;
1742
+ port?: number;
1743
+ virtualNetworkId?: string;
1744
+ weight?: number;
1745
+ }[];
1520
1746
  /** Body param: A human-readable description of the pool. */
1521
1747
  description?: string;
1522
1748
  /** Body param: Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it t */
@@ -1524,7 +1750,12 @@ export interface CreatePoolRequest {
1524
1750
  /** Body param: The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */
1525
1751
  latitude?: number;
1526
1752
  /** Body param: Configures load shedding policies and percentages for the pool. */
1527
- loadShedding?: unknown | null;
1753
+ loadShedding?: {
1754
+ defaultPercent?: number;
1755
+ defaultPolicy?: "random" | "hash";
1756
+ sessionPercent?: number;
1757
+ sessionPolicy?: "hash";
1758
+ } | null;
1528
1759
  /** Body param: The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */
1529
1760
  longitude?: number;
1530
1761
  /** Body param: The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will fail */
@@ -1536,15 +1767,26 @@ export interface CreatePoolRequest {
1536
1767
  /** Body param: This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send he */
1537
1768
  notificationEmail?: string;
1538
1769
  /** Body param: Filter pool and origin health notifications by resource type or health status. Use null to reset. */
1539
- notificationFilter?: unknown | null;
1770
+ notificationFilter?: {
1771
+ origin?: {
1772
+ disable?: boolean;
1773
+ healthy?: boolean | null;
1774
+ } | null;
1775
+ pool?: {
1776
+ disable?: boolean;
1777
+ healthy?: boolean | null;
1778
+ } | null;
1779
+ } | null;
1540
1780
  /** Body param: Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */
1541
- originSteering?: unknown | null;
1781
+ originSteering?: {
1782
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections";
1783
+ } | null;
1542
1784
  }
1543
1785
  export declare const CreatePoolRequest: Schema.Schema<CreatePoolRequest>;
1544
1786
  export interface CreatePoolResponse {
1545
1787
  id?: string | null;
1546
1788
  /** A list of regions from which to run health checks. Null means every Cloudflare data center. */
1547
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
1789
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1548
1790
  createdOn?: string | null;
1549
1791
  /** A human-readable description of the pool. */
1550
1792
  description?: string | null;
@@ -1555,7 +1797,12 @@ export interface CreatePoolResponse {
1555
1797
  /** The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */
1556
1798
  latitude?: number | null;
1557
1799
  /** Configures load shedding policies and percentages for the pool. */
1558
- loadShedding?: unknown | null;
1800
+ loadShedding?: {
1801
+ defaultPercent?: number | null;
1802
+ defaultPolicy?: "random" | "hash" | null;
1803
+ sessionPercent?: number | null;
1804
+ sessionPolicy?: "hash" | null;
1805
+ } | null;
1559
1806
  /** The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */
1560
1807
  longitude?: number | null;
1561
1808
  /** The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the */
@@ -1572,11 +1819,33 @@ export interface CreatePoolResponse {
1572
1819
  /** This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status */
1573
1820
  notificationEmail?: string | null;
1574
1821
  /** Filter pool and origin health notifications by resource type or health status. Use null to reset. */
1575
- notificationFilter?: unknown | null;
1822
+ notificationFilter?: {
1823
+ origin?: {
1824
+ disable?: boolean | null;
1825
+ healthy?: boolean | null;
1826
+ } | null;
1827
+ pool?: {
1828
+ disable?: boolean | null;
1829
+ healthy?: boolean | null;
1830
+ } | null;
1831
+ } | null;
1576
1832
  /** Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */
1577
- originSteering?: unknown | null;
1833
+ originSteering?: {
1834
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections" | null;
1835
+ } | null;
1578
1836
  /** The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */
1579
- origins?: unknown[] | null;
1837
+ origins?: {
1838
+ address?: string | null;
1839
+ disabledAt?: string | null;
1840
+ enabled?: boolean | null;
1841
+ header?: {
1842
+ host?: string[] | null;
1843
+ } | null;
1844
+ name?: string | null;
1845
+ port?: number | null;
1846
+ virtualNetworkId?: string | null;
1847
+ weight?: number | null;
1848
+ }[] | null;
1580
1849
  }
1581
1850
  export declare const CreatePoolResponse: Schema.Schema<CreatePoolResponse>;
1582
1851
  export type CreatePoolError = DefaultErrors;
@@ -1588,9 +1857,19 @@ export interface UpdatePoolRequest {
1588
1857
  /** Body param: A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed. */
1589
1858
  name: string;
1590
1859
  /** Body param: The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */
1591
- origins: unknown[];
1860
+ origins: {
1861
+ address?: string;
1862
+ enabled?: boolean;
1863
+ header?: {
1864
+ host?: string[];
1865
+ };
1866
+ name?: string;
1867
+ port?: number;
1868
+ virtualNetworkId?: string;
1869
+ weight?: number;
1870
+ }[];
1592
1871
  /** Body param: A list of regions from which to run health checks. Null means every Cloudflare data center. */
1593
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
1872
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1594
1873
  /** Body param: A human-readable description of the pool. */
1595
1874
  description?: string;
1596
1875
  /** Body param: Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it t */
@@ -1598,7 +1877,12 @@ export interface UpdatePoolRequest {
1598
1877
  /** Body param: The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */
1599
1878
  latitude?: number;
1600
1879
  /** Body param: Configures load shedding policies and percentages for the pool. */
1601
- loadShedding?: unknown | null;
1880
+ loadShedding?: {
1881
+ defaultPercent?: number;
1882
+ defaultPolicy?: "random" | "hash";
1883
+ sessionPercent?: number;
1884
+ sessionPolicy?: "hash";
1885
+ } | null;
1602
1886
  /** Body param: The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */
1603
1887
  longitude?: number;
1604
1888
  /** Body param: The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will fail */
@@ -1610,15 +1894,26 @@ export interface UpdatePoolRequest {
1610
1894
  /** Body param: This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send he */
1611
1895
  notificationEmail?: string;
1612
1896
  /** Body param: Filter pool and origin health notifications by resource type or health status. Use null to reset. */
1613
- notificationFilter?: unknown | null;
1897
+ notificationFilter?: {
1898
+ origin?: {
1899
+ disable?: boolean;
1900
+ healthy?: boolean | null;
1901
+ } | null;
1902
+ pool?: {
1903
+ disable?: boolean;
1904
+ healthy?: boolean | null;
1905
+ } | null;
1906
+ } | null;
1614
1907
  /** Body param: Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */
1615
- originSteering?: unknown | null;
1908
+ originSteering?: {
1909
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections";
1910
+ } | null;
1616
1911
  }
1617
1912
  export declare const UpdatePoolRequest: Schema.Schema<UpdatePoolRequest>;
1618
1913
  export interface UpdatePoolResponse {
1619
1914
  id?: string | null;
1620
1915
  /** A list of regions from which to run health checks. Null means every Cloudflare data center. */
1621
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
1916
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1622
1917
  createdOn?: string | null;
1623
1918
  /** A human-readable description of the pool. */
1624
1919
  description?: string | null;
@@ -1629,7 +1924,12 @@ export interface UpdatePoolResponse {
1629
1924
  /** The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */
1630
1925
  latitude?: number | null;
1631
1926
  /** Configures load shedding policies and percentages for the pool. */
1632
- loadShedding?: unknown | null;
1927
+ loadShedding?: {
1928
+ defaultPercent?: number | null;
1929
+ defaultPolicy?: "random" | "hash" | null;
1930
+ sessionPercent?: number | null;
1931
+ sessionPolicy?: "hash" | null;
1932
+ } | null;
1633
1933
  /** The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */
1634
1934
  longitude?: number | null;
1635
1935
  /** The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the */
@@ -1646,11 +1946,33 @@ export interface UpdatePoolResponse {
1646
1946
  /** This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status */
1647
1947
  notificationEmail?: string | null;
1648
1948
  /** Filter pool and origin health notifications by resource type or health status. Use null to reset. */
1649
- notificationFilter?: unknown | null;
1949
+ notificationFilter?: {
1950
+ origin?: {
1951
+ disable?: boolean | null;
1952
+ healthy?: boolean | null;
1953
+ } | null;
1954
+ pool?: {
1955
+ disable?: boolean | null;
1956
+ healthy?: boolean | null;
1957
+ } | null;
1958
+ } | null;
1650
1959
  /** Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */
1651
- originSteering?: unknown | null;
1960
+ originSteering?: {
1961
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections" | null;
1962
+ } | null;
1652
1963
  /** The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */
1653
- origins?: unknown[] | null;
1964
+ origins?: {
1965
+ address?: string | null;
1966
+ disabledAt?: string | null;
1967
+ enabled?: boolean | null;
1968
+ header?: {
1969
+ host?: string[] | null;
1970
+ } | null;
1971
+ name?: string | null;
1972
+ port?: number | null;
1973
+ virtualNetworkId?: string | null;
1974
+ weight?: number | null;
1975
+ }[] | null;
1654
1976
  }
1655
1977
  export declare const UpdatePoolResponse: Schema.Schema<UpdatePoolResponse>;
1656
1978
  export type UpdatePoolError = DefaultErrors;
@@ -1660,7 +1982,7 @@ export interface PatchPoolRequest {
1660
1982
  /** Path param: Identifier. */
1661
1983
  accountId: string;
1662
1984
  /** Body param: A list of regions from which to run health checks. Null means every Cloudflare data center. */
1663
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
1985
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1664
1986
  /** Body param: A human-readable description of the pool. */
1665
1987
  description?: string;
1666
1988
  /** Body param: Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it t */
@@ -1668,7 +1990,12 @@ export interface PatchPoolRequest {
1668
1990
  /** Body param: The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */
1669
1991
  latitude?: number;
1670
1992
  /** Body param: Configures load shedding policies and percentages for the pool. */
1671
- loadShedding?: unknown | null;
1993
+ loadShedding?: {
1994
+ defaultPercent?: number;
1995
+ defaultPolicy?: "random" | "hash";
1996
+ sessionPercent?: number;
1997
+ sessionPolicy?: "hash";
1998
+ } | null;
1672
1999
  /** Body param: The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */
1673
2000
  longitude?: number;
1674
2001
  /** Body param: The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will fail */
@@ -1682,17 +2009,38 @@ export interface PatchPoolRequest {
1682
2009
  /** Body param: This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send he */
1683
2010
  notificationEmail?: string;
1684
2011
  /** Body param: Filter pool and origin health notifications by resource type or health status. Use null to reset. */
1685
- notificationFilter?: unknown | null;
2012
+ notificationFilter?: {
2013
+ origin?: {
2014
+ disable?: boolean;
2015
+ healthy?: boolean | null;
2016
+ } | null;
2017
+ pool?: {
2018
+ disable?: boolean;
2019
+ healthy?: boolean | null;
2020
+ } | null;
2021
+ } | null;
1686
2022
  /** Body param: Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */
1687
- originSteering?: unknown | null;
2023
+ originSteering?: {
2024
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections";
2025
+ } | null;
1688
2026
  /** Body param: The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */
1689
- origins?: unknown[];
2027
+ origins?: {
2028
+ address?: string;
2029
+ enabled?: boolean;
2030
+ header?: {
2031
+ host?: string[];
2032
+ };
2033
+ name?: string;
2034
+ port?: number;
2035
+ virtualNetworkId?: string;
2036
+ weight?: number;
2037
+ }[];
1690
2038
  }
1691
2039
  export declare const PatchPoolRequest: Schema.Schema<PatchPoolRequest>;
1692
2040
  export interface PatchPoolResponse {
1693
2041
  id?: string | null;
1694
2042
  /** A list of regions from which to run health checks. Null means every Cloudflare data center. */
1695
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
2043
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1696
2044
  createdOn?: string | null;
1697
2045
  /** A human-readable description of the pool. */
1698
2046
  description?: string | null;
@@ -1703,7 +2051,12 @@ export interface PatchPoolResponse {
1703
2051
  /** The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set. */
1704
2052
  latitude?: number | null;
1705
2053
  /** Configures load shedding policies and percentages for the pool. */
1706
- loadShedding?: unknown | null;
2054
+ loadShedding?: {
2055
+ defaultPercent?: number | null;
2056
+ defaultPolicy?: "random" | "hash" | null;
2057
+ sessionPercent?: number | null;
2058
+ sessionPolicy?: "hash" | null;
2059
+ } | null;
1707
2060
  /** The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set. */
1708
2061
  longitude?: number | null;
1709
2062
  /** The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the */
@@ -1720,11 +2073,33 @@ export interface PatchPoolResponse {
1720
2073
  /** This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status */
1721
2074
  notificationEmail?: string | null;
1722
2075
  /** Filter pool and origin health notifications by resource type or health status. Use null to reset. */
1723
- notificationFilter?: unknown | null;
2076
+ notificationFilter?: {
2077
+ origin?: {
2078
+ disable?: boolean | null;
2079
+ healthy?: boolean | null;
2080
+ } | null;
2081
+ pool?: {
2082
+ disable?: boolean | null;
2083
+ healthy?: boolean | null;
2084
+ } | null;
2085
+ } | null;
1724
2086
  /** Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity. */
1725
- originSteering?: unknown | null;
2087
+ originSteering?: {
2088
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections" | null;
2089
+ } | null;
1726
2090
  /** The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy. */
1727
- origins?: unknown[] | null;
2091
+ origins?: {
2092
+ address?: string | null;
2093
+ disabledAt?: string | null;
2094
+ enabled?: boolean | null;
2095
+ header?: {
2096
+ host?: string[] | null;
2097
+ } | null;
2098
+ name?: string | null;
2099
+ port?: number | null;
2100
+ virtualNetworkId?: string | null;
2101
+ weight?: number | null;
2102
+ }[] | null;
1728
2103
  }
1729
2104
  export declare const PatchPoolResponse: Schema.Schema<PatchPoolResponse>;
1730
2105
  export type PatchPoolError = DefaultErrors;
@@ -1751,13 +2126,18 @@ export declare const BulkPatchPoolsRequest: Schema.Schema<BulkPatchPoolsRequest>
1751
2126
  export interface BulkPatchPoolsResponse {
1752
2127
  result: {
1753
2128
  id?: string | null;
1754
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
2129
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1755
2130
  createdOn?: string | null;
1756
2131
  description?: string | null;
1757
2132
  disabledAt?: string | null;
1758
2133
  enabled?: boolean | null;
1759
2134
  latitude?: number | null;
1760
- loadShedding?: unknown | null;
2135
+ loadShedding?: {
2136
+ defaultPercent?: number | null;
2137
+ defaultPolicy?: "random" | "hash" | null;
2138
+ sessionPercent?: number | null;
2139
+ sessionPolicy?: "hash" | null;
2140
+ } | null;
1761
2141
  longitude?: number | null;
1762
2142
  minimumOrigins?: number | null;
1763
2143
  modifiedOn?: string | null;
@@ -1766,9 +2146,31 @@ export interface BulkPatchPoolsResponse {
1766
2146
  name?: string | null;
1767
2147
  networks?: string[] | null;
1768
2148
  notificationEmail?: string | null;
1769
- notificationFilter?: unknown | null;
1770
- originSteering?: unknown | null;
1771
- origins?: unknown[] | null;
2149
+ notificationFilter?: {
2150
+ origin?: {
2151
+ disable?: boolean | null;
2152
+ healthy?: boolean | null;
2153
+ } | null;
2154
+ pool?: {
2155
+ disable?: boolean | null;
2156
+ healthy?: boolean | null;
2157
+ } | null;
2158
+ } | null;
2159
+ originSteering?: {
2160
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections" | null;
2161
+ } | null;
2162
+ origins?: {
2163
+ address?: string | null;
2164
+ disabledAt?: string | null;
2165
+ enabled?: boolean | null;
2166
+ header?: {
2167
+ host?: string[] | null;
2168
+ } | null;
2169
+ name?: string | null;
2170
+ port?: number | null;
2171
+ virtualNetworkId?: string | null;
2172
+ weight?: number | null;
2173
+ }[] | null;
1772
2174
  }[];
1773
2175
  }
1774
2176
  export declare const BulkPatchPoolsResponse: Schema.Schema<BulkPatchPoolsResponse>;
@@ -1777,13 +2179,18 @@ export declare const bulkPatchPools: API.PaginatedOperationMethod<BulkPatchPools
1777
2179
  pages: (input: BulkPatchPoolsRequest) => stream.Stream<BulkPatchPoolsResponse, BulkPatchPoolsError, Credentials | HttpClient.HttpClient>;
1778
2180
  items: (input: BulkPatchPoolsRequest) => stream.Stream<{
1779
2181
  id?: string | null;
1780
- checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SEAS" | "NEAS" | "ALL_REGIONS" | "SAS")[] | null;
2182
+ checkRegions?: ("WNAM" | "ENAM" | "WEU" | "EEU" | "NSAM" | "SSAM" | "OC" | "ME" | "NAF" | "SAF" | "SAS" | "SEAS" | "NEAS" | "ALL_REGIONS")[] | null;
1781
2183
  createdOn?: string | null;
1782
2184
  description?: string | null;
1783
2185
  disabledAt?: string | null;
1784
2186
  enabled?: boolean | null;
1785
2187
  latitude?: number | null;
1786
- loadShedding?: unknown | null;
2188
+ loadShedding?: {
2189
+ defaultPercent?: number | null;
2190
+ defaultPolicy?: "random" | "hash" | null;
2191
+ sessionPercent?: number | null;
2192
+ sessionPolicy?: "hash" | null;
2193
+ } | null;
1787
2194
  longitude?: number | null;
1788
2195
  minimumOrigins?: number | null;
1789
2196
  modifiedOn?: string | null;
@@ -1792,9 +2199,31 @@ export declare const bulkPatchPools: API.PaginatedOperationMethod<BulkPatchPools
1792
2199
  name?: string | null;
1793
2200
  networks?: string[] | null;
1794
2201
  notificationEmail?: string | null;
1795
- notificationFilter?: unknown | null;
1796
- originSteering?: unknown | null;
1797
- origins?: unknown[] | null;
2202
+ notificationFilter?: {
2203
+ origin?: {
2204
+ disable?: boolean | null;
2205
+ healthy?: boolean | null;
2206
+ } | null;
2207
+ pool?: {
2208
+ disable?: boolean | null;
2209
+ healthy?: boolean | null;
2210
+ } | null;
2211
+ } | null;
2212
+ originSteering?: {
2213
+ policy?: "random" | "hash" | "least_outstanding_requests" | "least_connections" | null;
2214
+ } | null;
2215
+ origins?: {
2216
+ address?: string | null;
2217
+ disabledAt?: string | null;
2218
+ enabled?: boolean | null;
2219
+ header?: {
2220
+ host?: string[] | null;
2221
+ } | null;
2222
+ name?: string | null;
2223
+ port?: number | null;
2224
+ virtualNetworkId?: string | null;
2225
+ weight?: number | null;
2226
+ }[] | null;
1798
2227
  }, BulkPatchPoolsError, Credentials | HttpClient.HttpClient>;
1799
2228
  };
1800
2229
  export interface GetPoolHealthRequest {