cloudflare 3.0.0 → 3.2.0
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.
- package/CHANGELOG.md +291 -0
- package/README.md +1 -3
- package/index.d.mts +31 -286
- package/index.d.ts +31 -286
- package/index.d.ts.map +1 -1
- package/index.js +15 -37
- package/index.js.map +1 -1
- package/index.mjs +15 -37
- package/index.mjs.map +1 -1
- package/package.json +5 -6
- package/resources/accounts/accounts.d.ts +6 -13
- package/resources/accounts/accounts.d.ts.map +1 -1
- package/resources/accounts/accounts.js +0 -3
- package/resources/accounts/accounts.js.map +1 -1
- package/resources/accounts/accounts.mjs +0 -3
- package/resources/accounts/accounts.mjs.map +1 -1
- package/resources/accounts/index.d.ts +3 -3
- package/resources/accounts/index.d.ts.map +1 -1
- package/resources/accounts/index.js +3 -5
- package/resources/accounts/index.js.map +1 -1
- package/resources/accounts/index.mjs +2 -2
- package/resources/accounts/index.mjs.map +1 -1
- package/resources/accounts/members.d.ts +32 -196
- package/resources/accounts/members.d.ts.map +1 -1
- package/resources/accounts/members.js.map +1 -1
- package/resources/accounts/members.mjs.map +1 -1
- package/resources/accounts/roles.d.ts +6 -26
- package/resources/accounts/roles.d.ts.map +1 -1
- package/resources/accounts/roles.js +3 -30
- package/resources/accounts/roles.js.map +1 -1
- package/resources/accounts/roles.mjs +2 -5
- package/resources/accounts/roles.mjs.map +1 -1
- package/resources/acm/acm.d.ts +1 -0
- package/resources/acm/acm.d.ts.map +1 -1
- package/resources/acm/acm.js.map +1 -1
- package/resources/acm/acm.mjs.map +1 -1
- package/resources/acm/index.d.ts +1 -1
- package/resources/acm/index.d.ts.map +1 -1
- package/resources/acm/index.js.map +1 -1
- package/resources/acm/index.mjs.map +1 -1
- package/resources/acm/total-tls.d.ts +12 -3
- package/resources/acm/total-tls.d.ts.map +1 -1
- package/resources/acm/total-tls.js.map +1 -1
- package/resources/acm/total-tls.mjs.map +1 -1
- package/resources/addressing/address-maps/accounts.d.ts +7 -3
- package/resources/addressing/address-maps/accounts.d.ts.map +1 -1
- package/resources/addressing/address-maps/accounts.js +2 -2
- package/resources/addressing/address-maps/accounts.js.map +1 -1
- package/resources/addressing/address-maps/accounts.mjs +2 -2
- package/resources/addressing/address-maps/accounts.mjs.map +1 -1
- package/resources/addressing/address-maps/address-maps.d.ts +14 -9
- package/resources/addressing/address-maps/address-maps.d.ts.map +1 -1
- package/resources/addressing/address-maps/address-maps.js +5 -5
- package/resources/addressing/address-maps/address-maps.js.map +1 -1
- package/resources/addressing/address-maps/address-maps.mjs +3 -3
- package/resources/addressing/address-maps/address-maps.mjs.map +1 -1
- package/resources/addressing/address-maps/index.d.ts +1 -1
- package/resources/addressing/address-maps/index.d.ts.map +1 -1
- package/resources/addressing/address-maps/index.js +2 -2
- package/resources/addressing/address-maps/index.js.map +1 -1
- package/resources/addressing/address-maps/index.mjs +1 -1
- package/resources/addressing/address-maps/index.mjs.map +1 -1
- package/resources/addressing/address-maps/ips.d.ts +7 -3
- package/resources/addressing/address-maps/ips.d.ts.map +1 -1
- package/resources/addressing/address-maps/ips.js +5 -2
- package/resources/addressing/address-maps/ips.js.map +1 -1
- package/resources/addressing/address-maps/ips.mjs +5 -2
- package/resources/addressing/address-maps/ips.mjs.map +1 -1
- package/resources/addressing/address-maps/zones.d.ts +8 -4
- package/resources/addressing/address-maps/zones.d.ts.map +1 -1
- package/resources/addressing/address-maps/zones.js +6 -34
- package/resources/addressing/address-maps/zones.js.map +1 -1
- package/resources/addressing/address-maps/zones.mjs +6 -34
- package/resources/addressing/address-maps/zones.mjs.map +1 -1
- package/resources/addressing/addressing.d.ts +5 -4
- package/resources/addressing/addressing.d.ts.map +1 -1
- package/resources/addressing/addressing.js +2 -2
- package/resources/addressing/addressing.js.map +1 -1
- package/resources/addressing/addressing.mjs +2 -2
- package/resources/addressing/addressing.mjs.map +1 -1
- package/resources/addressing/index.d.ts +2 -2
- package/resources/addressing/index.d.ts.map +1 -1
- package/resources/addressing/index.js +9 -9
- package/resources/addressing/index.js.map +1 -1
- package/resources/addressing/index.mjs +2 -2
- package/resources/addressing/index.mjs.map +1 -1
- package/resources/addressing/prefixes/bgp/bgp.d.ts +4 -4
- package/resources/addressing/prefixes/bgp/bgp.d.ts.map +1 -1
- package/resources/addressing/prefixes/bgp/bgp.js +2 -2
- package/resources/addressing/prefixes/bgp/bgp.js.map +1 -1
- package/resources/addressing/prefixes/bgp/bgp.mjs +2 -2
- package/resources/addressing/prefixes/bgp/bgp.mjs.map +1 -1
- package/resources/addressing/prefixes/bgp/bindings.d.ts +18 -10
- package/resources/addressing/prefixes/bgp/bindings.d.ts.map +1 -1
- package/resources/addressing/prefixes/bgp/bindings.js +6 -6
- package/resources/addressing/prefixes/bgp/bindings.js.map +1 -1
- package/resources/addressing/prefixes/bgp/bindings.mjs +4 -4
- package/resources/addressing/prefixes/bgp/bindings.mjs.map +1 -1
- package/resources/addressing/prefixes/bgp/index.d.ts +2 -2
- package/resources/addressing/prefixes/bgp/index.d.ts.map +1 -1
- package/resources/addressing/prefixes/bgp/index.js +5 -5
- package/resources/addressing/prefixes/bgp/index.js.map +1 -1
- package/resources/addressing/prefixes/bgp/index.mjs +2 -2
- package/resources/addressing/prefixes/bgp/index.mjs.map +1 -1
- package/resources/addressing/prefixes/bgp/prefixes.d.ts +10 -10
- package/resources/addressing/prefixes/bgp/prefixes.d.ts.map +1 -1
- package/resources/addressing/prefixes/bgp/prefixes.js +5 -5
- package/resources/addressing/prefixes/bgp/prefixes.js.map +1 -1
- package/resources/addressing/prefixes/bgp/prefixes.mjs +3 -3
- package/resources/addressing/prefixes/bgp/prefixes.mjs.map +1 -1
- package/resources/addressing/prefixes/delegations.d.ts +6 -6
- package/resources/addressing/prefixes/delegations.d.ts.map +1 -1
- package/resources/addressing/prefixes/delegations.js +6 -5
- package/resources/addressing/prefixes/delegations.js.map +1 -1
- package/resources/addressing/prefixes/delegations.mjs +4 -3
- package/resources/addressing/prefixes/delegations.mjs.map +1 -1
- package/resources/addressing/prefixes/index.d.ts +2 -2
- package/resources/addressing/prefixes/index.d.ts.map +1 -1
- package/resources/addressing/prefixes/index.js +5 -5
- package/resources/addressing/prefixes/index.js.map +1 -1
- package/resources/addressing/prefixes/index.mjs +2 -2
- package/resources/addressing/prefixes/index.mjs.map +1 -1
- package/resources/addressing/prefixes/prefixes.d.ts +10 -11
- package/resources/addressing/prefixes/prefixes.d.ts.map +1 -1
- package/resources/addressing/prefixes/prefixes.js +6 -6
- package/resources/addressing/prefixes/prefixes.js.map +1 -1
- package/resources/addressing/prefixes/prefixes.mjs +4 -4
- package/resources/addressing/prefixes/prefixes.mjs.map +1 -1
- package/resources/ai-gateway/ai-gateway.d.ts +201 -0
- package/resources/ai-gateway/ai-gateway.d.ts.map +1 -0
- package/resources/ai-gateway/ai-gateway.js +85 -0
- package/resources/ai-gateway/ai-gateway.js.map +1 -0
- package/resources/ai-gateway/ai-gateway.mjs +57 -0
- package/resources/ai-gateway/ai-gateway.mjs.map +1 -0
- package/resources/ai-gateway/index.d.ts +3 -0
- package/resources/ai-gateway/index.d.ts.map +1 -0
- package/resources/ai-gateway/index.js +9 -0
- package/resources/ai-gateway/index.js.map +1 -0
- package/resources/ai-gateway/index.mjs +4 -0
- package/resources/ai-gateway/index.mjs.map +1 -0
- package/resources/ai-gateway/logs.d.ts +73 -0
- package/resources/ai-gateway/logs.d.ts.map +1 -0
- package/resources/ai-gateway/logs.js +21 -0
- package/resources/ai-gateway/logs.js.map +1 -0
- package/resources/ai-gateway/logs.mjs +17 -0
- package/resources/ai-gateway/logs.mjs.map +1 -0
- package/resources/alerting/alerting.d.ts +13 -5
- package/resources/alerting/alerting.d.ts.map +1 -1
- package/resources/alerting/alerting.js +4 -4
- package/resources/alerting/alerting.js.map +1 -1
- package/resources/alerting/alerting.mjs +4 -4
- package/resources/alerting/alerting.mjs.map +1 -1
- package/resources/alerting/destinations/destinations.d.ts +3 -4
- package/resources/alerting/destinations/destinations.d.ts.map +1 -1
- package/resources/alerting/destinations/destinations.js +3 -3
- package/resources/alerting/destinations/destinations.js.map +1 -1
- package/resources/alerting/destinations/destinations.mjs +3 -3
- package/resources/alerting/destinations/destinations.mjs.map +1 -1
- package/resources/alerting/destinations/index.d.ts +2 -2
- package/resources/alerting/destinations/index.d.ts.map +1 -1
- package/resources/alerting/destinations/index.js +6 -6
- package/resources/alerting/destinations/index.js.map +1 -1
- package/resources/alerting/destinations/index.mjs +2 -2
- package/resources/alerting/destinations/index.mjs.map +1 -1
- package/resources/alerting/destinations/pagerduty.d.ts +5 -5
- package/resources/alerting/destinations/pagerduty.d.ts.map +1 -1
- package/resources/alerting/destinations/pagerduty.js +5 -5
- package/resources/alerting/destinations/pagerduty.js.map +1 -1
- package/resources/alerting/destinations/pagerduty.mjs +3 -3
- package/resources/alerting/destinations/pagerduty.mjs.map +1 -1
- package/resources/alerting/destinations/webhooks.d.ts +6 -6
- package/resources/alerting/destinations/webhooks.d.ts.map +1 -1
- package/resources/alerting/destinations/webhooks.js +6 -5
- package/resources/alerting/destinations/webhooks.js.map +1 -1
- package/resources/alerting/destinations/webhooks.mjs +4 -3
- package/resources/alerting/destinations/webhooks.mjs.map +1 -1
- package/resources/alerting/history.d.ts +7 -7
- package/resources/alerting/history.d.ts.map +1 -1
- package/resources/alerting/history.js +9 -9
- package/resources/alerting/history.js.map +1 -1
- package/resources/alerting/history.mjs +6 -6
- package/resources/alerting/history.mjs.map +1 -1
- package/resources/alerting/index.d.ts +2 -2
- package/resources/alerting/index.d.ts.map +1 -1
- package/resources/alerting/index.js +7 -7
- package/resources/alerting/index.js.map +1 -1
- package/resources/alerting/index.mjs +2 -2
- package/resources/alerting/index.mjs.map +1 -1
- package/resources/alerting/policies.d.ts +373 -537
- package/resources/alerting/policies.d.ts.map +1 -1
- package/resources/alerting/policies.js +5 -5
- package/resources/alerting/policies.js.map +1 -1
- package/resources/alerting/policies.mjs +3 -3
- package/resources/alerting/policies.mjs.map +1 -1
- package/resources/audit-logs.d.ts +5 -88
- package/resources/audit-logs.d.ts.map +1 -1
- package/resources/audit-logs.js +7 -33
- package/resources/audit-logs.js.map +1 -1
- package/resources/audit-logs.mjs +6 -8
- package/resources/audit-logs.mjs.map +1 -1
- package/resources/bot-management.d.ts +108 -222
- package/resources/bot-management.d.ts.map +1 -1
- package/resources/bot-management.js +0 -2
- package/resources/bot-management.js.map +1 -1
- package/resources/bot-management.mjs +0 -2
- package/resources/bot-management.mjs.map +1 -1
- package/resources/brand-protection.d.ts +60 -67
- package/resources/brand-protection.d.ts.map +1 -1
- package/resources/brand-protection.js +0 -2
- package/resources/brand-protection.js.map +1 -1
- package/resources/brand-protection.mjs +0 -2
- package/resources/brand-protection.mjs.map +1 -1
- package/resources/cache/cache-reserve.d.ts +28 -9
- package/resources/cache/cache-reserve.d.ts.map +1 -1
- package/resources/cache/cache-reserve.js +10 -7
- package/resources/cache/cache-reserve.js.map +1 -1
- package/resources/cache/cache-reserve.mjs +8 -5
- package/resources/cache/cache-reserve.mjs.map +1 -1
- package/resources/cache/cache.d.ts +11 -7
- package/resources/cache/cache.d.ts.map +1 -1
- package/resources/cache/cache.js +7 -5
- package/resources/cache/cache.js.map +1 -1
- package/resources/cache/cache.mjs +7 -5
- package/resources/cache/cache.mjs.map +1 -1
- package/resources/cache/index.d.ts +4 -4
- package/resources/cache/index.d.ts.map +1 -1
- package/resources/cache/index.js +3 -3
- package/resources/cache/index.js.map +1 -1
- package/resources/cache/index.mjs +2 -2
- package/resources/cache/index.mjs.map +1 -1
- package/resources/cache/regional-tiered-cache.d.ts +11 -6
- package/resources/cache/regional-tiered-cache.d.ts.map +1 -1
- package/resources/cache/regional-tiered-cache.js +5 -5
- package/resources/cache/regional-tiered-cache.js.map +1 -1
- package/resources/cache/regional-tiered-cache.mjs +3 -3
- package/resources/cache/regional-tiered-cache.mjs.map +1 -1
- package/resources/cache/variants.d.ts +44 -39
- package/resources/cache/variants.d.ts.map +1 -1
- package/resources/cache/variants.js.map +1 -1
- package/resources/cache/variants.mjs.map +1 -1
- package/resources/calls.d.ts +0 -11
- package/resources/calls.d.ts.map +1 -1
- package/resources/calls.js +0 -27
- package/resources/calls.js.map +1 -1
- package/resources/calls.mjs +0 -4
- package/resources/calls.mjs.map +1 -1
- package/resources/certificate-authorities/certificate-authorities.d.ts +3 -0
- package/resources/certificate-authorities/certificate-authorities.d.ts.map +1 -1
- package/resources/certificate-authorities/certificate-authorities.js.map +1 -1
- package/resources/certificate-authorities/certificate-authorities.mjs.map +1 -1
- package/resources/certificate-authorities/hostname-associations.d.ts +15 -4
- package/resources/certificate-authorities/hostname-associations.d.ts.map +1 -1
- package/resources/certificate-authorities/hostname-associations.js.map +1 -1
- package/resources/certificate-authorities/hostname-associations.mjs.map +1 -1
- package/resources/certificate-authorities/index.d.ts +1 -1
- package/resources/certificate-authorities/index.d.ts.map +1 -1
- package/resources/certificate-authorities/index.js.map +1 -1
- package/resources/certificate-authorities/index.mjs.map +1 -1
- package/resources/challenges/challenges.d.ts +4 -3
- package/resources/challenges/challenges.d.ts.map +1 -1
- package/resources/challenges/challenges.js +1 -1
- package/resources/challenges/challenges.js.map +1 -1
- package/resources/challenges/challenges.mjs +1 -1
- package/resources/challenges/challenges.mjs.map +1 -1
- package/resources/challenges/index.d.ts +1 -1
- package/resources/challenges/index.d.ts.map +1 -1
- package/resources/challenges/index.js +2 -2
- package/resources/challenges/index.js.map +1 -1
- package/resources/challenges/index.mjs +1 -1
- package/resources/challenges/index.mjs.map +1 -1
- package/resources/challenges/widgets.d.ts +27 -16
- package/resources/challenges/widgets.d.ts.map +1 -1
- package/resources/challenges/widgets.js +5 -5
- package/resources/challenges/widgets.js.map +1 -1
- package/resources/challenges/widgets.mjs +3 -3
- package/resources/challenges/widgets.mjs.map +1 -1
- package/resources/client-certificates.d.ts +2 -11
- package/resources/client-certificates.d.ts.map +1 -1
- package/resources/client-certificates.js +0 -27
- package/resources/client-certificates.js.map +1 -1
- package/resources/client-certificates.mjs +0 -4
- package/resources/client-certificates.mjs.map +1 -1
- package/resources/cloudforce-one/cloudforce-one.d.ts +6 -6
- package/resources/cloudforce-one/cloudforce-one.d.ts.map +1 -1
- package/resources/cloudforce-one/cloudforce-one.js +1 -1
- package/resources/cloudforce-one/cloudforce-one.js.map +1 -1
- package/resources/cloudforce-one/cloudforce-one.mjs +1 -1
- package/resources/cloudforce-one/cloudforce-one.mjs.map +1 -1
- package/resources/cloudforce-one/index.d.ts +1 -1
- package/resources/cloudforce-one/index.d.ts.map +1 -1
- package/resources/cloudforce-one/index.js +2 -2
- package/resources/cloudforce-one/index.js.map +1 -1
- package/resources/cloudforce-one/index.mjs +1 -1
- package/resources/cloudforce-one/index.mjs.map +1 -1
- package/resources/cloudforce-one/requests/index.d.ts +3 -3
- package/resources/cloudforce-one/requests/index.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/index.js +5 -5
- package/resources/cloudforce-one/requests/index.js.map +1 -1
- package/resources/cloudforce-one/requests/index.mjs +3 -3
- package/resources/cloudforce-one/requests/index.mjs.map +1 -1
- package/resources/cloudforce-one/requests/message.d.ts +16 -8
- package/resources/cloudforce-one/requests/message.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/message.js +6 -6
- package/resources/cloudforce-one/requests/message.js.map +1 -1
- package/resources/cloudforce-one/requests/message.mjs +4 -4
- package/resources/cloudforce-one/requests/message.mjs.map +1 -1
- package/resources/cloudforce-one/requests/priority.d.ts +42 -12
- package/resources/cloudforce-one/requests/priority.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/priority.js +6 -6
- package/resources/cloudforce-one/requests/priority.js.map +1 -1
- package/resources/cloudforce-one/requests/priority.mjs +4 -4
- package/resources/cloudforce-one/requests/priority.mjs.map +1 -1
- package/resources/cloudforce-one/requests/requests.d.ts +55 -45
- package/resources/cloudforce-one/requests/requests.d.ts.map +1 -1
- package/resources/cloudforce-one/requests/requests.js +10 -10
- package/resources/cloudforce-one/requests/requests.js.map +1 -1
- package/resources/cloudforce-one/requests/requests.mjs +8 -8
- package/resources/cloudforce-one/requests/requests.mjs.map +1 -1
- package/resources/custom-certificates/custom-certificates.d.ts +43 -63
- package/resources/custom-certificates/custom-certificates.d.ts.map +1 -1
- package/resources/custom-certificates/custom-certificates.js +0 -2
- package/resources/custom-certificates/custom-certificates.js.map +1 -1
- package/resources/custom-certificates/custom-certificates.mjs +0 -2
- package/resources/custom-certificates/custom-certificates.mjs.map +1 -1
- package/resources/custom-certificates/index.d.ts +1 -1
- package/resources/custom-certificates/index.d.ts.map +1 -1
- package/resources/custom-certificates/index.js +1 -2
- package/resources/custom-certificates/index.js.map +1 -1
- package/resources/custom-certificates/index.mjs +1 -1
- package/resources/custom-certificates/index.mjs.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.d.ts +456 -40
- package/resources/custom-hostnames/custom-hostnames.d.ts.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.js +0 -2
- package/resources/custom-hostnames/custom-hostnames.js.map +1 -1
- package/resources/custom-hostnames/custom-hostnames.mjs +0 -2
- package/resources/custom-hostnames/custom-hostnames.mjs.map +1 -1
- package/resources/custom-hostnames/fallback-origin.d.ts +3 -3
- package/resources/custom-hostnames/fallback-origin.d.ts.map +1 -1
- package/resources/custom-hostnames/index.d.ts +1 -1
- package/resources/custom-hostnames/index.d.ts.map +1 -1
- package/resources/custom-hostnames/index.js +1 -2
- package/resources/custom-hostnames/index.js.map +1 -1
- package/resources/custom-hostnames/index.mjs +1 -1
- package/resources/custom-hostnames/index.mjs.map +1 -1
- package/resources/custom-nameservers.d.ts +1 -25
- package/resources/custom-nameservers.d.ts.map +1 -1
- package/resources/custom-nameservers.js +0 -9
- package/resources/custom-nameservers.js.map +1 -1
- package/resources/custom-nameservers.mjs +0 -9
- package/resources/custom-nameservers.mjs.map +1 -1
- package/resources/d1/d1.d.ts +20 -6
- package/resources/d1/d1.d.ts.map +1 -1
- package/resources/d1/d1.js +7 -7
- package/resources/d1/d1.js.map +1 -1
- package/resources/d1/d1.mjs +5 -5
- package/resources/d1/d1.mjs.map +1 -1
- package/resources/d1/database.d.ts +30 -34
- package/resources/d1/database.d.ts.map +1 -1
- package/resources/d1/database.js +5 -5
- package/resources/d1/database.js.map +1 -1
- package/resources/d1/database.mjs +3 -3
- package/resources/d1/database.mjs.map +1 -1
- package/resources/d1/index.d.ts +2 -2
- package/resources/d1/index.d.ts.map +1 -1
- package/resources/d1/index.js +3 -3
- package/resources/d1/index.js.map +1 -1
- package/resources/d1/index.mjs +2 -2
- package/resources/d1/index.mjs.map +1 -1
- package/resources/diagnostics/diagnostics.d.ts +1 -1
- package/resources/diagnostics/diagnostics.d.ts.map +1 -1
- package/resources/diagnostics/index.d.ts +1 -1
- package/resources/diagnostics/index.d.ts.map +1 -1
- package/resources/diagnostics/index.js.map +1 -1
- package/resources/diagnostics/index.mjs +1 -1
- package/resources/diagnostics/index.mjs.map +1 -1
- package/resources/diagnostics/traceroutes.d.ts +5 -5
- package/resources/diagnostics/traceroutes.d.ts.map +1 -1
- package/resources/dns/analytics/analytics.d.ts +1 -1
- package/resources/dns/analytics/analytics.d.ts.map +1 -1
- package/resources/dns/analytics/index.d.ts +1 -1
- package/resources/dns/analytics/index.d.ts.map +1 -1
- package/resources/dns/analytics/index.js.map +1 -1
- package/resources/dns/analytics/index.mjs.map +1 -1
- package/resources/dns/analytics/reports/bytimes.d.ts +10 -43
- package/resources/dns/analytics/reports/bytimes.d.ts.map +1 -1
- package/resources/dns/analytics/reports/bytimes.js.map +1 -1
- package/resources/dns/analytics/reports/bytimes.mjs.map +1 -1
- package/resources/dns/analytics/reports/index.d.ts +2 -2
- package/resources/dns/analytics/reports/index.d.ts.map +1 -1
- package/resources/dns/analytics/reports/index.js +3 -3
- package/resources/dns/analytics/reports/index.js.map +1 -1
- package/resources/dns/analytics/reports/index.mjs +1 -1
- package/resources/dns/analytics/reports/index.mjs.map +1 -1
- package/resources/dns/analytics/reports/reports.d.ts +7 -7
- package/resources/dns/analytics/reports/reports.d.ts.map +1 -1
- package/resources/dns/dns.d.ts +72 -5
- package/resources/dns/dns.d.ts.map +1 -1
- package/resources/dns/dns.js +4 -4
- package/resources/dns/dns.js.map +1 -1
- package/resources/dns/dns.mjs +4 -4
- package/resources/dns/dns.mjs.map +1 -1
- package/resources/dns/firewall/analytics/analytics.d.ts +10 -0
- package/resources/dns/firewall/analytics/analytics.d.ts.map +1 -1
- package/resources/dns/firewall/analytics/analytics.js.map +1 -1
- package/resources/dns/firewall/analytics/analytics.mjs.map +1 -1
- package/resources/dns/firewall/analytics/index.d.ts +1 -1
- package/resources/dns/firewall/analytics/index.d.ts.map +1 -1
- package/resources/dns/firewall/analytics/index.js.map +1 -1
- package/resources/dns/firewall/analytics/index.mjs.map +1 -1
- package/resources/dns/firewall/analytics/reports/bytimes.d.ts +3 -2
- package/resources/dns/firewall/analytics/reports/bytimes.d.ts.map +1 -1
- package/resources/dns/firewall/analytics/reports/bytimes.js.map +1 -1
- package/resources/dns/firewall/analytics/reports/bytimes.mjs.map +1 -1
- package/resources/dns/firewall/analytics/reports/reports.d.ts +1 -1
- package/resources/dns/firewall/analytics/reports/reports.d.ts.map +1 -1
- package/resources/dns/firewall/firewall.d.ts +66 -66
- package/resources/dns/firewall/firewall.d.ts.map +1 -1
- package/resources/dns/firewall/firewall.js +13 -10
- package/resources/dns/firewall/firewall.js.map +1 -1
- package/resources/dns/firewall/firewall.mjs +10 -7
- package/resources/dns/firewall/firewall.mjs.map +1 -1
- package/resources/dns/firewall/index.d.ts +2 -2
- package/resources/dns/firewall/index.d.ts.map +1 -1
- package/resources/dns/firewall/index.js +4 -4
- package/resources/dns/firewall/index.js.map +1 -1
- package/resources/dns/firewall/index.mjs +1 -1
- package/resources/dns/firewall/index.mjs.map +1 -1
- package/resources/dns/index.d.ts +2 -2
- package/resources/dns/index.d.ts.map +1 -1
- package/resources/dns/index.js +7 -7
- package/resources/dns/index.js.map +1 -1
- package/resources/dns/index.mjs +2 -2
- package/resources/dns/index.mjs.map +1 -1
- package/resources/dns/records.d.ts +1884 -2101
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/dns/records.js +7 -7
- package/resources/dns/records.js.map +1 -1
- package/resources/dns/records.mjs +5 -5
- package/resources/dns/records.mjs.map +1 -1
- package/resources/dnssec.d.ts +0 -8
- package/resources/dnssec.d.ts.map +1 -1
- package/resources/dnssec.js +0 -2
- package/resources/dnssec.js.map +1 -1
- package/resources/dnssec.mjs +0 -2
- package/resources/dnssec.mjs.map +1 -1
- package/resources/durable-objects/durable-objects.d.ts +2 -2
- package/resources/durable-objects/durable-objects.d.ts.map +1 -1
- package/resources/durable-objects/durable-objects.js +1 -1
- package/resources/durable-objects/durable-objects.js.map +1 -1
- package/resources/durable-objects/durable-objects.mjs +1 -1
- package/resources/durable-objects/durable-objects.mjs.map +1 -1
- package/resources/durable-objects/index.d.ts +1 -1
- package/resources/durable-objects/index.d.ts.map +1 -1
- package/resources/durable-objects/index.js +4 -4
- package/resources/durable-objects/index.js.map +1 -1
- package/resources/durable-objects/index.mjs +1 -1
- package/resources/durable-objects/index.mjs.map +1 -1
- package/resources/durable-objects/namespaces/index.d.ts +1 -1
- package/resources/durable-objects/namespaces/index.d.ts.map +1 -1
- package/resources/durable-objects/namespaces/index.js +2 -2
- package/resources/durable-objects/namespaces/index.js.map +1 -1
- package/resources/durable-objects/namespaces/index.mjs +1 -1
- package/resources/durable-objects/namespaces/index.mjs.map +1 -1
- package/resources/durable-objects/namespaces/namespaces.d.ts +5 -5
- package/resources/durable-objects/namespaces/namespaces.d.ts.map +1 -1
- package/resources/durable-objects/namespaces/namespaces.js +5 -5
- package/resources/durable-objects/namespaces/namespaces.js.map +1 -1
- package/resources/durable-objects/namespaces/namespaces.mjs +3 -3
- package/resources/durable-objects/namespaces/namespaces.mjs.map +1 -1
- package/resources/email-routing/addresses.d.ts +9 -125
- package/resources/email-routing/addresses.d.ts.map +1 -1
- package/resources/email-routing/addresses.js +5 -5
- package/resources/email-routing/addresses.js.map +1 -1
- package/resources/email-routing/addresses.mjs +3 -3
- package/resources/email-routing/addresses.mjs.map +1 -1
- package/resources/email-routing/dns.d.ts +3 -3
- package/resources/email-routing/dns.d.ts.map +1 -1
- package/resources/email-routing/email-routing.d.ts +13 -128
- package/resources/email-routing/email-routing.d.ts.map +1 -1
- package/resources/email-routing/email-routing.js +12 -6
- package/resources/email-routing/email-routing.js.map +1 -1
- package/resources/email-routing/email-routing.mjs +12 -6
- package/resources/email-routing/email-routing.mjs.map +1 -1
- package/resources/email-routing/index.d.ts +4 -4
- package/resources/email-routing/index.d.ts.map +1 -1
- package/resources/email-routing/index.js +5 -5
- package/resources/email-routing/index.js.map +1 -1
- package/resources/email-routing/index.mjs +3 -3
- package/resources/email-routing/index.mjs.map +1 -1
- package/resources/email-routing/rules/catch-alls.d.ts +74 -49
- package/resources/email-routing/rules/catch-alls.d.ts.map +1 -1
- package/resources/email-routing/rules/catch-alls.js.map +1 -1
- package/resources/email-routing/rules/catch-alls.mjs.map +1 -1
- package/resources/email-routing/rules/index.d.ts +2 -2
- package/resources/email-routing/rules/index.d.ts.map +1 -1
- package/resources/email-routing/rules/index.js +4 -4
- package/resources/email-routing/rules/index.js.map +1 -1
- package/resources/email-routing/rules/index.mjs +2 -2
- package/resources/email-routing/rules/index.mjs.map +1 -1
- package/resources/email-routing/rules/rules.d.ts +56 -384
- package/resources/email-routing/rules/rules.d.ts.map +1 -1
- package/resources/email-routing/rules/rules.js +5 -5
- package/resources/email-routing/rules/rules.js.map +1 -1
- package/resources/email-routing/rules/rules.mjs +3 -3
- package/resources/email-routing/rules/rules.mjs.map +1 -1
- package/resources/event-notifications/event-notifications.d.ts +9 -0
- package/resources/event-notifications/event-notifications.d.ts.map +1 -0
- package/resources/{workers/deployments/deployments.js → event-notifications/event-notifications.js} +9 -9
- package/resources/event-notifications/event-notifications.js.map +1 -0
- package/resources/event-notifications/event-notifications.mjs +13 -0
- package/resources/event-notifications/event-notifications.mjs.map +1 -0
- package/resources/event-notifications/index.d.ts +3 -0
- package/resources/event-notifications/index.d.ts.map +1 -0
- package/resources/event-notifications/index.js +9 -0
- package/resources/event-notifications/index.js.map +1 -0
- package/resources/event-notifications/index.mjs +4 -0
- package/resources/event-notifications/index.mjs.map +1 -0
- package/resources/event-notifications/r2/configuration/configuration.d.ts +57 -0
- package/resources/event-notifications/r2/configuration/configuration.d.ts.map +1 -0
- package/resources/{user/firewall/firewall.js → event-notifications/r2/configuration/configuration.js} +17 -10
- package/resources/event-notifications/r2/configuration/configuration.js.map +1 -0
- package/resources/event-notifications/r2/configuration/configuration.mjs +21 -0
- package/resources/event-notifications/r2/configuration/configuration.mjs.map +1 -0
- package/resources/event-notifications/r2/configuration/index.d.ts +3 -0
- package/resources/event-notifications/r2/configuration/index.d.ts.map +1 -0
- package/resources/event-notifications/r2/configuration/index.js +9 -0
- package/resources/event-notifications/r2/configuration/index.js.map +1 -0
- package/resources/event-notifications/r2/configuration/index.mjs +4 -0
- package/resources/event-notifications/r2/configuration/index.mjs.map +1 -0
- package/resources/event-notifications/r2/configuration/queues.d.ts +58 -0
- package/resources/event-notifications/r2/configuration/queues.d.ts.map +1 -0
- package/resources/event-notifications/r2/configuration/queues.js +27 -0
- package/resources/event-notifications/r2/configuration/queues.js.map +1 -0
- package/resources/event-notifications/r2/configuration/queues.mjs +23 -0
- package/resources/event-notifications/r2/configuration/queues.mjs.map +1 -0
- package/resources/event-notifications/r2/index.d.ts +3 -0
- package/resources/event-notifications/r2/index.d.ts.map +1 -0
- package/resources/event-notifications/r2/index.js +9 -0
- package/resources/event-notifications/r2/index.js.map +1 -0
- package/resources/event-notifications/r2/index.mjs +4 -0
- package/resources/event-notifications/r2/index.mjs.map +1 -0
- package/resources/event-notifications/r2/r2.d.ts +11 -0
- package/resources/event-notifications/r2/r2.d.ts.map +1 -0
- package/resources/{zones/workers/workers.js → event-notifications/r2/r2.js} +9 -9
- package/resources/event-notifications/r2/r2.js.map +1 -0
- package/resources/event-notifications/r2/r2.mjs +13 -0
- package/resources/event-notifications/r2/r2.mjs.map +1 -0
- package/resources/filters.d.ts +7 -12
- package/resources/filters.d.ts.map +1 -1
- package/resources/filters.js +0 -27
- package/resources/filters.js.map +1 -1
- package/resources/filters.mjs +0 -4
- package/resources/filters.mjs.map +1 -1
- package/resources/firewall/access-rules.d.ts +132 -130
- package/resources/firewall/access-rules.d.ts.map +1 -1
- package/resources/firewall/access-rules.js +4 -6
- package/resources/firewall/access-rules.js.map +1 -1
- package/resources/firewall/access-rules.mjs +4 -6
- package/resources/firewall/access-rules.mjs.map +1 -1
- package/resources/firewall/firewall.d.ts +16 -6
- package/resources/firewall/firewall.d.ts.map +1 -1
- package/resources/firewall/firewall.js +2 -2
- package/resources/firewall/firewall.js.map +1 -1
- package/resources/firewall/firewall.mjs +2 -2
- package/resources/firewall/firewall.mjs.map +1 -1
- package/resources/firewall/index.d.ts +4 -4
- package/resources/firewall/index.d.ts.map +1 -1
- package/resources/firewall/index.js +5 -5
- package/resources/firewall/index.js.map +1 -1
- package/resources/firewall/index.mjs +2 -2
- package/resources/firewall/index.mjs.map +1 -1
- package/resources/firewall/lockdowns.d.ts +52 -35
- package/resources/firewall/lockdowns.d.ts.map +1 -1
- package/resources/firewall/lockdowns.js +5 -5
- package/resources/firewall/lockdowns.js.map +1 -1
- package/resources/firewall/lockdowns.mjs +3 -3
- package/resources/firewall/lockdowns.mjs.map +1 -1
- package/resources/firewall/rules.d.ts +43 -31
- package/resources/firewall/rules.d.ts.map +1 -1
- package/resources/firewall/rules.js +13 -12
- package/resources/firewall/rules.js.map +1 -1
- package/resources/firewall/rules.mjs +11 -10
- package/resources/firewall/rules.mjs.map +1 -1
- package/resources/firewall/ua-rules.d.ts +7 -47
- package/resources/firewall/ua-rules.d.ts.map +1 -1
- package/resources/firewall/ua-rules.js.map +1 -1
- package/resources/firewall/ua-rules.mjs.map +1 -1
- package/resources/firewall/waf/index.d.ts +1 -1
- package/resources/firewall/waf/index.d.ts.map +1 -1
- package/resources/firewall/waf/index.js +4 -4
- package/resources/firewall/waf/index.js.map +1 -1
- package/resources/firewall/waf/index.mjs +1 -1
- package/resources/firewall/waf/index.mjs.map +1 -1
- package/resources/firewall/waf/overrides.d.ts +38 -28
- package/resources/firewall/waf/overrides.d.ts.map +1 -1
- package/resources/firewall/waf/overrides.js +5 -5
- package/resources/firewall/waf/overrides.js.map +1 -1
- package/resources/firewall/waf/overrides.mjs +3 -3
- package/resources/firewall/waf/overrides.mjs.map +1 -1
- package/resources/firewall/waf/packages/groups.d.ts +15 -7
- package/resources/firewall/waf/packages/groups.d.ts.map +1 -1
- package/resources/firewall/waf/packages/groups.js +5 -5
- package/resources/firewall/waf/packages/groups.js.map +1 -1
- package/resources/firewall/waf/packages/groups.mjs +3 -3
- package/resources/firewall/waf/packages/groups.mjs.map +1 -1
- package/resources/firewall/waf/packages/index.d.ts +2 -2
- package/resources/firewall/waf/packages/index.d.ts.map +1 -1
- package/resources/firewall/waf/packages/index.js +7 -7
- package/resources/firewall/waf/packages/index.js.map +1 -1
- package/resources/firewall/waf/packages/index.mjs +2 -2
- package/resources/firewall/waf/packages/index.mjs.map +1 -1
- package/resources/firewall/waf/packages/packages.d.ts +26 -37
- package/resources/firewall/waf/packages/packages.d.ts.map +1 -1
- package/resources/firewall/waf/packages/packages.js +2 -2
- package/resources/firewall/waf/packages/packages.js.map +1 -1
- package/resources/firewall/waf/packages/packages.mjs +2 -2
- package/resources/firewall/waf/packages/packages.mjs.map +1 -1
- package/resources/firewall/waf/packages/rules.d.ts +50 -107
- package/resources/firewall/waf/packages/rules.d.ts.map +1 -1
- package/resources/firewall/waf/packages/rules.js +5 -5
- package/resources/firewall/waf/packages/rules.js.map +1 -1
- package/resources/firewall/waf/packages/rules.mjs +3 -3
- package/resources/firewall/waf/packages/rules.mjs.map +1 -1
- package/resources/firewall/waf/waf.d.ts +5 -2
- package/resources/firewall/waf/waf.d.ts.map +1 -1
- package/resources/firewall/waf/waf.js +1 -1
- package/resources/firewall/waf/waf.js.map +1 -1
- package/resources/firewall/waf/waf.mjs +1 -1
- package/resources/firewall/waf/waf.mjs.map +1 -1
- package/resources/healthchecks/healthchecks.d.ts +198 -238
- package/resources/healthchecks/healthchecks.d.ts.map +1 -1
- package/resources/healthchecks/healthchecks.js +5 -4
- package/resources/healthchecks/healthchecks.js.map +1 -1
- package/resources/healthchecks/healthchecks.mjs +5 -4
- package/resources/healthchecks/healthchecks.mjs.map +1 -1
- package/resources/healthchecks/index.d.ts +1 -1
- package/resources/healthchecks/index.d.ts.map +1 -1
- package/resources/healthchecks/index.js +1 -2
- package/resources/healthchecks/index.js.map +1 -1
- package/resources/healthchecks/index.mjs +1 -1
- package/resources/healthchecks/index.mjs.map +1 -1
- package/resources/healthchecks/previews.d.ts +3 -59
- package/resources/healthchecks/previews.d.ts.map +1 -1
- package/resources/healthchecks/previews.js.map +1 -1
- package/resources/healthchecks/previews.mjs.map +1 -1
- package/resources/hostnames/settings/index.d.ts +1 -1
- package/resources/hostnames/settings/index.d.ts.map +1 -1
- package/resources/hostnames/settings/index.js.map +1 -1
- package/resources/hostnames/settings/index.mjs.map +1 -1
- package/resources/hostnames/settings/settings.d.ts +3 -2
- package/resources/hostnames/settings/settings.d.ts.map +1 -1
- package/resources/hostnames/settings/settings.js.map +1 -1
- package/resources/hostnames/settings/settings.mjs.map +1 -1
- package/resources/hostnames/settings/tls.d.ts +25 -16
- package/resources/hostnames/settings/tls.d.ts.map +1 -1
- package/resources/hostnames/settings/tls.js.map +1 -1
- package/resources/hostnames/settings/tls.mjs.map +1 -1
- package/resources/hyperdrive/configs.d.ts +75 -60
- package/resources/hyperdrive/configs.d.ts.map +1 -1
- package/resources/hyperdrive/configs.js +4 -31
- package/resources/hyperdrive/configs.js.map +1 -1
- package/resources/hyperdrive/configs.mjs +3 -6
- package/resources/hyperdrive/configs.mjs.map +1 -1
- package/resources/hyperdrive/hyperdrive.d.ts +67 -11
- package/resources/hyperdrive/hyperdrive.d.ts.map +1 -1
- package/resources/hyperdrive/hyperdrive.js +5 -2
- package/resources/hyperdrive/hyperdrive.js.map +1 -1
- package/resources/hyperdrive/hyperdrive.mjs +3 -1
- package/resources/hyperdrive/hyperdrive.mjs.map +1 -1
- package/resources/hyperdrive/index.d.ts +2 -2
- package/resources/hyperdrive/index.d.ts.map +1 -1
- package/resources/hyperdrive/index.js +1 -2
- package/resources/hyperdrive/index.js.map +1 -1
- package/resources/hyperdrive/index.mjs +1 -1
- package/resources/hyperdrive/index.mjs.map +1 -1
- package/resources/images/v1/index.d.ts +3 -3
- package/resources/images/v1/index.d.ts.map +1 -1
- package/resources/images/v1/index.js.map +1 -1
- package/resources/images/v1/index.mjs +1 -1
- package/resources/images/v1/index.mjs.map +1 -1
- package/resources/images/v1/keys.d.ts +24 -17
- package/resources/images/v1/keys.d.ts.map +1 -1
- package/resources/images/v1/keys.js.map +1 -1
- package/resources/images/v1/keys.mjs.map +1 -1
- package/resources/images/v1/stats.d.ts +5 -5
- package/resources/images/v1/stats.d.ts.map +1 -1
- package/resources/images/v1/v1.d.ts +37 -37
- package/resources/images/v1/v1.d.ts.map +1 -1
- package/resources/images/v1/v1.js.map +1 -1
- package/resources/images/v1/v1.mjs.map +1 -1
- package/resources/images/v1/variants.d.ts +128 -44
- package/resources/images/v1/variants.d.ts.map +1 -1
- package/resources/images/v1/variants.js.map +1 -1
- package/resources/images/v1/variants.mjs.map +1 -1
- package/resources/images/v2/direct-uploads.d.ts +6 -0
- package/resources/images/v2/direct-uploads.d.ts.map +1 -1
- package/resources/images/v2/direct-uploads.js.map +1 -1
- package/resources/images/v2/direct-uploads.mjs.map +1 -1
- package/resources/index.d.ts +45 -43
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +18 -40
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +40 -38
- package/resources/index.mjs.map +1 -1
- package/resources/intel/asn/asn.d.ts +2 -3
- package/resources/intel/asn/asn.d.ts.map +1 -1
- package/resources/intel/asn/asn.js.map +1 -1
- package/resources/intel/asn/asn.mjs.map +1 -1
- package/resources/intel/asn/index.d.ts +1 -1
- package/resources/intel/asn/index.d.ts.map +1 -1
- package/resources/intel/asn/index.js.map +1 -1
- package/resources/intel/asn/index.mjs.map +1 -1
- package/resources/intel/asn/subnets.d.ts +3 -3
- package/resources/intel/asn/subnets.d.ts.map +1 -1
- package/resources/intel/attack-surface-report/attack-surface-report.d.ts +2 -0
- package/resources/intel/attack-surface-report/attack-surface-report.d.ts.map +1 -1
- package/resources/intel/attack-surface-report/attack-surface-report.js.map +1 -1
- package/resources/intel/attack-surface-report/attack-surface-report.mjs.map +1 -1
- package/resources/intel/attack-surface-report/index.d.ts +1 -1
- package/resources/intel/attack-surface-report/index.d.ts.map +1 -1
- package/resources/intel/attack-surface-report/index.js.map +1 -1
- package/resources/intel/attack-surface-report/index.mjs.map +1 -1
- package/resources/intel/attack-surface-report/issues.d.ts +26 -27
- package/resources/intel/attack-surface-report/issues.d.ts.map +1 -1
- package/resources/intel/attack-surface-report/issues.js.map +1 -1
- package/resources/intel/attack-surface-report/issues.mjs.map +1 -1
- package/resources/intel/dns.d.ts +24 -17
- package/resources/intel/dns.d.ts.map +1 -1
- package/resources/intel/dns.js +36 -3
- package/resources/intel/dns.js.map +1 -1
- package/resources/intel/dns.mjs +11 -2
- package/resources/intel/dns.mjs.map +1 -1
- package/resources/intel/domain-history.d.ts +7 -7
- package/resources/intel/domain-history.d.ts.map +1 -1
- package/resources/intel/domain-history.js +5 -5
- package/resources/intel/domain-history.js.map +1 -1
- package/resources/intel/domain-history.mjs +3 -3
- package/resources/intel/domain-history.mjs.map +1 -1
- package/resources/intel/domains/domains.d.ts +9 -9
- package/resources/intel/domains/domains.d.ts.map +1 -1
- package/resources/intel/domains/index.d.ts +1 -1
- package/resources/intel/domains/index.d.ts.map +1 -1
- package/resources/intel/domains/index.js.map +1 -1
- package/resources/intel/domains/index.mjs.map +1 -1
- package/resources/intel/index.d.ts +8 -8
- package/resources/intel/index.d.ts.map +1 -1
- package/resources/intel/index.js +20 -19
- package/resources/intel/index.js.map +1 -1
- package/resources/intel/index.mjs +8 -8
- package/resources/intel/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/index.d.ts +1 -0
- package/resources/intel/indicator-feeds/index.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/index.js +3 -1
- package/resources/intel/indicator-feeds/index.js.map +1 -1
- package/resources/intel/indicator-feeds/index.mjs +1 -0
- package/resources/intel/indicator-feeds/index.mjs.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts +54 -9
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.js +8 -3
- package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.mjs +8 -3
- package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
- package/resources/intel/indicator-feeds/permissions.d.ts +8 -0
- package/resources/intel/indicator-feeds/permissions.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/permissions.js.map +1 -1
- package/resources/intel/indicator-feeds/permissions.mjs.map +1 -1
- package/resources/intel/indicator-feeds/snapshots.d.ts +38 -0
- package/resources/intel/indicator-feeds/snapshots.d.ts.map +1 -0
- package/resources/intel/indicator-feeds/snapshots.js +19 -0
- package/resources/intel/indicator-feeds/snapshots.js.map +1 -0
- package/resources/intel/indicator-feeds/snapshots.mjs +15 -0
- package/resources/intel/indicator-feeds/snapshots.mjs.map +1 -0
- package/resources/intel/intel.d.ts +11 -11
- package/resources/intel/intel.d.ts.map +1 -1
- package/resources/intel/intel.js +4 -3
- package/resources/intel/intel.js.map +1 -1
- package/resources/intel/intel.mjs +4 -3
- package/resources/intel/intel.mjs.map +1 -1
- package/resources/intel/ip-lists.d.ts +3 -3
- package/resources/intel/ip-lists.d.ts.map +1 -1
- package/resources/intel/ips.d.ts +5 -5
- package/resources/intel/ips.d.ts.map +1 -1
- package/resources/intel/sinkholes.d.ts +5 -5
- package/resources/intel/sinkholes.d.ts.map +1 -1
- package/resources/intel/sinkholes.js +5 -5
- package/resources/intel/sinkholes.js.map +1 -1
- package/resources/intel/sinkholes.mjs +3 -3
- package/resources/intel/sinkholes.mjs.map +1 -1
- package/resources/intel/whois.d.ts +93 -3
- package/resources/intel/whois.d.ts.map +1 -1
- package/resources/intel/whois.js +25 -0
- package/resources/intel/whois.js.map +1 -1
- package/resources/intel/whois.mjs +2 -0
- package/resources/intel/whois.mjs.map +1 -1
- package/resources/ips.d.ts +0 -7
- package/resources/ips.d.ts.map +1 -1
- package/resources/ips.js +0 -27
- package/resources/ips.js.map +1 -1
- package/resources/ips.mjs +0 -4
- package/resources/ips.mjs.map +1 -1
- package/resources/keyless-certificates.d.ts +27 -116
- package/resources/keyless-certificates.d.ts.map +1 -1
- package/resources/keyless-certificates.js +4 -31
- package/resources/keyless-certificates.js.map +1 -1
- package/resources/keyless-certificates.mjs +2 -6
- package/resources/keyless-certificates.mjs.map +1 -1
- package/resources/kv/index.d.ts +1 -1
- package/resources/kv/index.d.ts.map +1 -1
- package/resources/kv/index.js +2 -2
- package/resources/kv/index.js.map +1 -1
- package/resources/kv/index.mjs +1 -1
- package/resources/kv/index.mjs.map +1 -1
- package/resources/kv/kv.d.ts +2 -2
- package/resources/kv/kv.d.ts.map +1 -1
- package/resources/kv/kv.js +1 -1
- package/resources/kv/kv.js.map +1 -1
- package/resources/kv/kv.mjs +1 -1
- package/resources/kv/kv.mjs.map +1 -1
- package/resources/kv/namespaces/bulk.d.ts +1 -5
- package/resources/kv/namespaces/bulk.d.ts.map +1 -1
- package/resources/kv/namespaces/bulk.js +2 -5
- package/resources/kv/namespaces/bulk.js.map +1 -1
- package/resources/kv/namespaces/bulk.mjs +2 -5
- package/resources/kv/namespaces/bulk.mjs.map +1 -1
- package/resources/kv/namespaces/index.d.ts +2 -2
- package/resources/kv/namespaces/index.d.ts.map +1 -1
- package/resources/kv/namespaces/index.js +7 -7
- package/resources/kv/namespaces/index.js.map +1 -1
- package/resources/kv/namespaces/index.mjs +2 -2
- package/resources/kv/namespaces/index.mjs.map +1 -1
- package/resources/kv/namespaces/keys.d.ts +5 -5
- package/resources/kv/namespaces/keys.d.ts.map +1 -1
- package/resources/kv/namespaces/keys.js +5 -5
- package/resources/kv/namespaces/keys.js.map +1 -1
- package/resources/kv/namespaces/keys.mjs +3 -3
- package/resources/kv/namespaces/keys.mjs.map +1 -1
- package/resources/kv/namespaces/namespaces.d.ts +8 -8
- package/resources/kv/namespaces/namespaces.d.ts.map +1 -1
- package/resources/kv/namespaces/namespaces.js +6 -6
- package/resources/kv/namespaces/namespaces.js.map +1 -1
- package/resources/kv/namespaces/namespaces.mjs +4 -4
- package/resources/kv/namespaces/namespaces.mjs.map +1 -1
- package/resources/load-balancers/index.d.ts +4 -4
- package/resources/load-balancers/index.d.ts.map +1 -1
- package/resources/load-balancers/index.js +3 -2
- package/resources/load-balancers/index.js.map +1 -1
- package/resources/load-balancers/index.mjs +3 -3
- package/resources/load-balancers/index.mjs.map +1 -1
- package/resources/load-balancers/load-balancers.d.ts +1040 -1833
- package/resources/load-balancers/load-balancers.d.ts.map +1 -1
- package/resources/load-balancers/load-balancers.js +2 -2
- package/resources/load-balancers/load-balancers.js.map +1 -1
- package/resources/load-balancers/load-balancers.mjs +2 -2
- package/resources/load-balancers/load-balancers.mjs.map +1 -1
- package/resources/load-balancers/monitors/index.d.ts +1 -1
- package/resources/load-balancers/monitors/index.d.ts.map +1 -1
- package/resources/load-balancers/monitors/index.js +2 -1
- package/resources/load-balancers/monitors/index.js.map +1 -1
- package/resources/load-balancers/monitors/index.mjs +1 -1
- package/resources/load-balancers/monitors/index.mjs.map +1 -1
- package/resources/load-balancers/monitors/monitors.d.ts +96 -8
- package/resources/load-balancers/monitors/monitors.d.ts.map +1 -1
- package/resources/load-balancers/monitors/monitors.js +8 -4
- package/resources/load-balancers/monitors/monitors.js.map +1 -1
- package/resources/load-balancers/monitors/monitors.mjs +6 -3
- package/resources/load-balancers/monitors/monitors.mjs.map +1 -1
- package/resources/load-balancers/pools/index.d.ts +1 -1
- package/resources/load-balancers/pools/index.d.ts.map +1 -1
- package/resources/load-balancers/pools/index.js +2 -1
- package/resources/load-balancers/pools/index.js.map +1 -1
- package/resources/load-balancers/pools/index.mjs +1 -1
- package/resources/load-balancers/pools/index.mjs.map +1 -1
- package/resources/load-balancers/pools/pools.d.ts +103 -478
- package/resources/load-balancers/pools/pools.d.ts.map +1 -1
- package/resources/load-balancers/pools/pools.js +11 -4
- package/resources/load-balancers/pools/pools.js.map +1 -1
- package/resources/load-balancers/pools/pools.mjs +9 -3
- package/resources/load-balancers/pools/pools.mjs.map +1 -1
- package/resources/load-balancers/previews.d.ts +23 -2
- package/resources/load-balancers/previews.d.ts.map +1 -1
- package/resources/load-balancers/previews.js.map +1 -1
- package/resources/load-balancers/previews.mjs.map +1 -1
- package/resources/logpush/datasets/datasets.d.ts +0 -1
- package/resources/logpush/datasets/datasets.d.ts.map +1 -1
- package/resources/logpush/datasets/datasets.js.map +1 -1
- package/resources/logpush/datasets/datasets.mjs.map +1 -1
- package/resources/logpush/datasets/index.d.ts +1 -1
- package/resources/logpush/datasets/index.d.ts.map +1 -1
- package/resources/logpush/datasets/index.js +1 -2
- package/resources/logpush/datasets/index.js.map +1 -1
- package/resources/logpush/datasets/index.mjs +1 -1
- package/resources/logpush/datasets/index.mjs.map +1 -1
- package/resources/logpush/datasets/jobs.d.ts +5 -139
- package/resources/logpush/datasets/jobs.d.ts.map +1 -1
- package/resources/logpush/datasets/jobs.js +1 -5
- package/resources/logpush/datasets/jobs.js.map +1 -1
- package/resources/logpush/datasets/jobs.mjs +0 -3
- package/resources/logpush/datasets/jobs.mjs.map +1 -1
- package/resources/logpush/index.d.ts +2 -2
- package/resources/logpush/index.d.ts.map +1 -1
- package/resources/logpush/index.js +4 -3
- package/resources/logpush/index.js.map +1 -1
- package/resources/logpush/index.mjs +1 -1
- package/resources/logpush/index.mjs.map +1 -1
- package/resources/logpush/jobs.d.ts +309 -148
- package/resources/logpush/jobs.d.ts.map +1 -1
- package/resources/logpush/jobs.js +34 -7
- package/resources/logpush/jobs.js.map +1 -1
- package/resources/logpush/jobs.mjs +9 -6
- package/resources/logpush/jobs.mjs.map +1 -1
- package/resources/logpush/logpush.d.ts +4 -1
- package/resources/logpush/logpush.d.ts.map +1 -1
- package/resources/logpush/logpush.js +1 -0
- package/resources/logpush/logpush.js.map +1 -1
- package/resources/logpush/logpush.mjs +1 -0
- package/resources/logpush/logpush.mjs.map +1 -1
- package/resources/logpush/ownership.d.ts +5 -5
- package/resources/logpush/ownership.d.ts.map +1 -1
- package/resources/logs/control/cmb/config.d.ts +1 -1
- package/resources/logs/control/cmb/config.d.ts.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.d.ts +28 -7
- package/resources/magic-network-monitoring/configs/configs.d.ts.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.js +9 -6
- package/resources/magic-network-monitoring/configs/configs.js.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.mjs +9 -6
- package/resources/magic-network-monitoring/configs/configs.mjs.map +1 -1
- package/resources/magic-network-monitoring/configs/full.d.ts +1 -1
- package/resources/magic-network-monitoring/configs/full.d.ts.map +1 -1
- package/resources/magic-network-monitoring/configs/full.js.map +1 -1
- package/resources/magic-network-monitoring/configs/full.mjs.map +1 -1
- package/resources/magic-network-monitoring/configs/index.d.ts +1 -1
- package/resources/magic-network-monitoring/configs/index.d.ts.map +1 -1
- package/resources/magic-network-monitoring/configs/index.js +3 -3
- package/resources/magic-network-monitoring/configs/index.js.map +1 -1
- package/resources/magic-network-monitoring/configs/index.mjs +1 -1
- package/resources/magic-network-monitoring/configs/index.mjs.map +1 -1
- package/resources/magic-network-monitoring/index.d.ts +1 -1
- package/resources/magic-network-monitoring/index.d.ts.map +1 -1
- package/resources/magic-network-monitoring/index.js +3 -3
- package/resources/magic-network-monitoring/index.js.map +1 -1
- package/resources/magic-network-monitoring/index.mjs +1 -1
- package/resources/magic-network-monitoring/index.mjs.map +1 -1
- package/resources/magic-network-monitoring/magic-network-monitoring.d.ts +1 -1
- package/resources/magic-network-monitoring/magic-network-monitoring.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/advertisements.d.ts +10 -3
- package/resources/magic-network-monitoring/rules/advertisements.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/advertisements.js +5 -2
- package/resources/magic-network-monitoring/rules/advertisements.js.map +1 -1
- package/resources/magic-network-monitoring/rules/advertisements.mjs +5 -2
- package/resources/magic-network-monitoring/rules/advertisements.mjs.map +1 -1
- package/resources/magic-network-monitoring/rules/index.d.ts +1 -1
- package/resources/magic-network-monitoring/rules/index.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/index.js +3 -3
- package/resources/magic-network-monitoring/rules/index.js.map +1 -1
- package/resources/magic-network-monitoring/rules/index.mjs +1 -1
- package/resources/magic-network-monitoring/rules/index.mjs.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.d.ts +25 -1
- package/resources/magic-network-monitoring/rules/rules.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.js +9 -6
- package/resources/magic-network-monitoring/rules/rules.js.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.mjs +9 -6
- package/resources/magic-network-monitoring/rules/rules.mjs.map +1 -1
- package/resources/magic-transit/cf-interconnects.d.ts +5 -4
- package/resources/magic-transit/cf-interconnects.d.ts.map +1 -1
- package/resources/magic-transit/cf-interconnects.js.map +1 -1
- package/resources/magic-transit/cf-interconnects.mjs.map +1 -1
- package/resources/magic-transit/gre-tunnels.d.ts +4 -102
- package/resources/magic-transit/gre-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/gre-tunnels.js.map +1 -1
- package/resources/magic-transit/gre-tunnels.mjs.map +1 -1
- package/resources/magic-transit/index.d.ts +3 -3
- package/resources/magic-transit/index.d.ts.map +1 -1
- package/resources/magic-transit/index.js +4 -3
- package/resources/magic-transit/index.js.map +1 -1
- package/resources/magic-transit/index.mjs +2 -2
- package/resources/magic-transit/index.mjs.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.d.ts +31 -107
- package/resources/magic-transit/ipsec-tunnels.d.ts.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.js +5 -2
- package/resources/magic-transit/ipsec-tunnels.js.map +1 -1
- package/resources/magic-transit/ipsec-tunnels.mjs +5 -2
- package/resources/magic-transit/ipsec-tunnels.mjs.map +1 -1
- package/resources/magic-transit/magic-transit.d.ts +83 -5
- package/resources/magic-transit/magic-transit.d.ts.map +1 -1
- package/resources/magic-transit/magic-transit.js +1 -0
- package/resources/magic-transit/magic-transit.js.map +1 -1
- package/resources/magic-transit/magic-transit.mjs +1 -0
- package/resources/magic-transit/magic-transit.mjs.map +1 -1
- package/resources/magic-transit/routes.d.ts +31 -57
- package/resources/magic-transit/routes.d.ts.map +1 -1
- package/resources/magic-transit/routes.js +2 -2
- package/resources/magic-transit/routes.js.map +1 -1
- package/resources/magic-transit/routes.mjs +2 -2
- package/resources/magic-transit/routes.mjs.map +1 -1
- package/resources/magic-transit/sites/acls.d.ts +136 -461
- package/resources/magic-transit/sites/acls.d.ts.map +1 -1
- package/resources/magic-transit/sites/acls.js +31 -2
- package/resources/magic-transit/sites/acls.js.map +1 -1
- package/resources/magic-transit/sites/acls.mjs +6 -1
- package/resources/magic-transit/sites/acls.mjs.map +1 -1
- package/resources/magic-transit/sites/index.d.ts +4 -4
- package/resources/magic-transit/sites/index.d.ts.map +1 -1
- package/resources/magic-transit/sites/index.js +5 -1
- package/resources/magic-transit/sites/index.js.map +1 -1
- package/resources/magic-transit/sites/index.mjs +4 -4
- package/resources/magic-transit/sites/index.mjs.map +1 -1
- package/resources/magic-transit/sites/lans.d.ts +211 -730
- package/resources/magic-transit/sites/lans.d.ts.map +1 -1
- package/resources/magic-transit/sites/lans.js +31 -2
- package/resources/magic-transit/sites/lans.js.map +1 -1
- package/resources/magic-transit/sites/lans.mjs +6 -1
- package/resources/magic-transit/sites/lans.mjs.map +1 -1
- package/resources/magic-transit/sites/sites.d.ts +122 -340
- package/resources/magic-transit/sites/sites.d.ts.map +1 -1
- package/resources/magic-transit/sites/sites.js +14 -2
- package/resources/magic-transit/sites/sites.js.map +1 -1
- package/resources/magic-transit/sites/sites.mjs +12 -1
- package/resources/magic-transit/sites/sites.mjs.map +1 -1
- package/resources/magic-transit/sites/wans.d.ts +104 -329
- package/resources/magic-transit/sites/wans.d.ts.map +1 -1
- package/resources/magic-transit/sites/wans.js +31 -2
- package/resources/magic-transit/sites/wans.js.map +1 -1
- package/resources/magic-transit/sites/wans.mjs +6 -1
- package/resources/magic-transit/sites/wans.mjs.map +1 -1
- package/resources/managed-headers.d.ts +24 -55
- package/resources/managed-headers.d.ts.map +1 -1
- package/resources/managed-headers.js +0 -2
- package/resources/managed-headers.js.map +1 -1
- package/resources/managed-headers.mjs +0 -2
- package/resources/managed-headers.mjs.map +1 -1
- package/resources/memberships.d.ts +13 -72
- package/resources/memberships.d.ts.map +1 -1
- package/resources/memberships.js +0 -27
- package/resources/memberships.js.map +1 -1
- package/resources/memberships.mjs +0 -4
- package/resources/memberships.mjs.map +1 -1
- package/resources/mtls-certificates/associations.d.ts +3 -3
- package/resources/mtls-certificates/associations.d.ts.map +1 -1
- package/resources/mtls-certificates/index.d.ts +2 -2
- package/resources/mtls-certificates/index.d.ts.map +1 -1
- package/resources/mtls-certificates/index.js +3 -4
- package/resources/mtls-certificates/index.js.map +1 -1
- package/resources/mtls-certificates/index.mjs +1 -1
- package/resources/mtls-certificates/index.mjs.map +1 -1
- package/resources/mtls-certificates/mtls-certificates.d.ts +3 -11
- package/resources/mtls-certificates/mtls-certificates.d.ts.map +1 -1
- package/resources/mtls-certificates/mtls-certificates.js +0 -2
- package/resources/mtls-certificates/mtls-certificates.js.map +1 -1
- package/resources/mtls-certificates/mtls-certificates.mjs +0 -2
- package/resources/mtls-certificates/mtls-certificates.mjs.map +1 -1
- package/resources/origin-ca-certificates.d.ts +14 -14
- package/resources/origin-ca-certificates.d.ts.map +1 -1
- package/resources/origin-ca-certificates.js +6 -34
- package/resources/origin-ca-certificates.js.map +1 -1
- package/resources/origin-ca-certificates.mjs +6 -11
- package/resources/origin-ca-certificates.mjs.map +1 -1
- package/resources/origin-post-quantum-encryption.d.ts +0 -7
- package/resources/origin-post-quantum-encryption.d.ts.map +1 -1
- package/resources/origin-post-quantum-encryption.js +0 -2
- package/resources/origin-post-quantum-encryption.js.map +1 -1
- package/resources/origin-post-quantum-encryption.mjs +0 -2
- package/resources/origin-post-quantum-encryption.mjs.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/certificates.d.ts +113 -8
- package/resources/origin-tls-client-auth/hostnames/certificates.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/certificates.js +3 -3
- package/resources/origin-tls-client-auth/hostnames/certificates.js.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/certificates.mjs +3 -3
- package/resources/origin-tls-client-auth/hostnames/certificates.mjs.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/hostnames.d.ts +9 -35
- package/resources/origin-tls-client-auth/hostnames/hostnames.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/hostnames.js +3 -3
- package/resources/origin-tls-client-auth/hostnames/hostnames.js.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/hostnames.mjs +1 -1
- package/resources/origin-tls-client-auth/hostnames/hostnames.mjs.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/index.d.ts +2 -2
- package/resources/origin-tls-client-auth/hostnames/index.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/index.js +4 -4
- package/resources/origin-tls-client-auth/hostnames/index.js.map +1 -1
- package/resources/origin-tls-client-auth/hostnames/index.mjs +1 -1
- package/resources/origin-tls-client-auth/hostnames/index.mjs.map +1 -1
- package/resources/origin-tls-client-auth/index.d.ts +2 -2
- package/resources/origin-tls-client-auth/index.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/index.js +2 -3
- package/resources/origin-tls-client-auth/index.js.map +1 -1
- package/resources/origin-tls-client-auth/index.mjs +2 -2
- package/resources/origin-tls-client-auth/index.mjs.map +1 -1
- package/resources/origin-tls-client-auth/origin-tls-client-auth.d.ts +17 -35
- package/resources/origin-tls-client-auth/origin-tls-client-auth.d.ts.map +1 -1
- package/resources/origin-tls-client-auth/origin-tls-client-auth.js +4 -6
- package/resources/origin-tls-client-auth/origin-tls-client-auth.js.map +1 -1
- package/resources/origin-tls-client-auth/origin-tls-client-auth.mjs +2 -4
- package/resources/origin-tls-client-auth/origin-tls-client-auth.mjs.map +1 -1
- package/resources/page-shield/connections.d.ts +6 -6
- package/resources/page-shield/connections.d.ts.map +1 -1
- package/resources/page-shield/connections.js +8 -5
- package/resources/page-shield/connections.js.map +1 -1
- package/resources/page-shield/connections.mjs +6 -3
- package/resources/page-shield/connections.mjs.map +1 -1
- package/resources/page-shield/index.d.ts +4 -4
- package/resources/page-shield/index.d.ts.map +1 -1
- package/resources/page-shield/index.js +6 -6
- package/resources/page-shield/index.js.map +1 -1
- package/resources/page-shield/index.mjs +4 -4
- package/resources/page-shield/index.mjs.map +1 -1
- package/resources/page-shield/page-shield.d.ts +8 -13
- package/resources/page-shield/page-shield.d.ts.map +1 -1
- package/resources/page-shield/page-shield.js +3 -3
- package/resources/page-shield/page-shield.js.map +1 -1
- package/resources/page-shield/page-shield.mjs +3 -3
- package/resources/page-shield/page-shield.mjs.map +1 -1
- package/resources/page-shield/policies.d.ts +8 -8
- package/resources/page-shield/policies.d.ts.map +1 -1
- package/resources/page-shield/policies.js +5 -5
- package/resources/page-shield/policies.js.map +1 -1
- package/resources/page-shield/policies.mjs +3 -3
- package/resources/page-shield/policies.mjs.map +1 -1
- package/resources/page-shield/scripts.d.ts +5 -5
- package/resources/page-shield/scripts.d.ts.map +1 -1
- package/resources/page-shield/scripts.js +5 -5
- package/resources/page-shield/scripts.js.map +1 -1
- package/resources/page-shield/scripts.mjs +3 -3
- package/resources/page-shield/scripts.mjs.map +1 -1
- package/resources/pagerules/index.d.ts +2 -2
- package/resources/pagerules/index.d.ts.map +1 -1
- package/resources/pagerules/index.js +3 -3
- package/resources/pagerules/index.js.map +1 -1
- package/resources/pagerules/index.mjs +1 -1
- package/resources/pagerules/index.mjs.map +1 -1
- package/resources/pagerules/pagerules.d.ts +100 -220
- package/resources/pagerules/pagerules.d.ts.map +1 -1
- package/resources/pagerules/pagerules.js.map +1 -1
- package/resources/pagerules/pagerules.mjs.map +1 -1
- package/resources/pagerules/settings.d.ts +3 -3
- package/resources/pagerules/settings.d.ts.map +1 -1
- package/resources/pages/index.d.ts +1 -1
- package/resources/pages/index.d.ts.map +1 -1
- package/resources/pages/index.js +4 -4
- package/resources/pages/index.js.map +1 -1
- package/resources/pages/index.mjs +1 -1
- package/resources/pages/index.mjs.map +1 -1
- package/resources/pages/pages.d.ts +4 -3
- package/resources/pages/pages.d.ts.map +1 -1
- package/resources/pages/pages.js +1 -1
- package/resources/pages/pages.js.map +1 -1
- package/resources/pages/pages.mjs +1 -1
- package/resources/pages/pages.mjs.map +1 -1
- package/resources/pages/projects/deployments/deployments.d.ts +17 -9
- package/resources/pages/projects/deployments/deployments.d.ts.map +1 -1
- package/resources/pages/projects/deployments/deployments.js +7 -7
- package/resources/pages/projects/deployments/deployments.js.map +1 -1
- package/resources/pages/projects/deployments/deployments.mjs +7 -7
- package/resources/pages/projects/deployments/deployments.mjs.map +1 -1
- package/resources/pages/projects/domains.d.ts +5 -1
- package/resources/pages/projects/domains.d.ts.map +1 -1
- package/resources/pages/projects/domains.js +5 -2
- package/resources/pages/projects/domains.js.map +1 -1
- package/resources/pages/projects/domains.mjs +5 -2
- package/resources/pages/projects/domains.mjs.map +1 -1
- package/resources/pages/projects/index.d.ts +1 -1
- package/resources/pages/projects/index.d.ts.map +1 -1
- package/resources/pages/projects/index.js +4 -4
- package/resources/pages/projects/index.js.map +1 -1
- package/resources/pages/projects/index.mjs +1 -1
- package/resources/pages/projects/index.mjs.map +1 -1
- package/resources/pages/projects/projects.d.ts +51 -39
- package/resources/pages/projects/projects.d.ts.map +1 -1
- package/resources/pages/projects/projects.js +5 -5
- package/resources/pages/projects/projects.js.map +1 -1
- package/resources/pages/projects/projects.mjs +3 -3
- package/resources/pages/projects/projects.mjs.map +1 -1
- package/resources/pcaps/index.d.ts +2 -2
- package/resources/pcaps/index.d.ts.map +1 -1
- package/resources/pcaps/index.js +2 -3
- package/resources/pcaps/index.js.map +1 -1
- package/resources/pcaps/index.mjs +2 -2
- package/resources/pcaps/index.mjs.map +1 -1
- package/resources/pcaps/ownership.d.ts +7 -7
- package/resources/pcaps/ownership.d.ts.map +1 -1
- package/resources/pcaps/ownership.js +5 -5
- package/resources/pcaps/ownership.js.map +1 -1
- package/resources/pcaps/ownership.mjs +3 -3
- package/resources/pcaps/ownership.mjs.map +1 -1
- package/resources/pcaps/pcaps.d.ts +91 -326
- package/resources/pcaps/pcaps.d.ts.map +1 -1
- package/resources/pcaps/pcaps.js +2 -4
- package/resources/pcaps/pcaps.js.map +1 -1
- package/resources/pcaps/pcaps.mjs +2 -4
- package/resources/pcaps/pcaps.mjs.map +1 -1
- package/resources/plans.d.ts +0 -5
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js +0 -27
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs +0 -4
- package/resources/plans.mjs.map +1 -1
- package/resources/queues/consumers.d.ts +19 -20
- package/resources/queues/consumers.d.ts.map +1 -1
- package/resources/queues/consumers.js.map +1 -1
- package/resources/queues/consumers.mjs.map +1 -1
- package/resources/queues/index.d.ts +3 -3
- package/resources/queues/index.d.ts.map +1 -1
- package/resources/queues/index.js +3 -4
- package/resources/queues/index.js.map +1 -1
- package/resources/queues/index.mjs +1 -1
- package/resources/queues/index.mjs.map +1 -1
- package/resources/queues/messages.d.ts +0 -47
- package/resources/queues/messages.d.ts.map +1 -1
- package/resources/queues/messages.js.map +1 -1
- package/resources/queues/messages.mjs.map +1 -1
- package/resources/queues/queues.d.ts +7 -56
- package/resources/queues/queues.d.ts.map +1 -1
- package/resources/queues/queues.js +4 -6
- package/resources/queues/queues.js.map +1 -1
- package/resources/queues/queues.mjs +2 -4
- package/resources/queues/queues.mjs.map +1 -1
- package/resources/r2/buckets.d.ts +7 -7
- package/resources/r2/buckets.d.ts.map +1 -1
- package/resources/r2/buckets.js +5 -5
- package/resources/r2/buckets.js.map +1 -1
- package/resources/r2/buckets.mjs +3 -3
- package/resources/r2/buckets.mjs.map +1 -1
- package/resources/r2/index.d.ts +2 -2
- package/resources/r2/index.d.ts.map +1 -1
- package/resources/r2/index.js +5 -5
- package/resources/r2/index.js.map +1 -1
- package/resources/r2/index.mjs +2 -2
- package/resources/r2/index.mjs.map +1 -1
- package/resources/r2/r2.d.ts +5 -4
- package/resources/r2/r2.d.ts.map +1 -1
- package/resources/r2/r2.js +3 -3
- package/resources/r2/r2.js.map +1 -1
- package/resources/r2/r2.mjs +3 -3
- package/resources/r2/r2.mjs.map +1 -1
- package/resources/r2/sippy.d.ts +15 -12
- package/resources/r2/sippy.d.ts.map +1 -1
- package/resources/r2/sippy.js +5 -5
- package/resources/r2/sippy.js.map +1 -1
- package/resources/r2/sippy.mjs +3 -3
- package/resources/r2/sippy.mjs.map +1 -1
- package/resources/radar/attacks/layer3/top/top.d.ts +10 -17
- package/resources/radar/attacks/layer3/top/top.d.ts.map +1 -1
- package/resources/radar/attacks/layer3/top/top.js.map +1 -1
- package/resources/radar/attacks/layer3/top/top.mjs.map +1 -1
- package/resources/radar/attacks/layer7/top/top.d.ts +10 -17
- package/resources/radar/attacks/layer7/top/top.d.ts.map +1 -1
- package/resources/radar/attacks/layer7/top/top.js.map +1 -1
- package/resources/radar/attacks/layer7/top/top.mjs.map +1 -1
- package/resources/radar/bgp/bgp.d.ts +2 -6
- package/resources/radar/bgp/bgp.d.ts.map +1 -1
- package/resources/radar/bgp/bgp.js +2 -2
- package/resources/radar/bgp/bgp.js.map +1 -1
- package/resources/radar/bgp/bgp.mjs +2 -2
- package/resources/radar/bgp/bgp.mjs.map +1 -1
- package/resources/radar/bgp/hijacks/events.d.ts +129 -0
- package/resources/radar/bgp/hijacks/events.d.ts.map +1 -0
- package/resources/radar/bgp/hijacks/events.js +50 -0
- package/resources/radar/bgp/hijacks/events.js.map +1 -0
- package/resources/radar/bgp/hijacks/events.mjs +22 -0
- package/resources/radar/bgp/hijacks/events.mjs.map +1 -0
- package/resources/radar/bgp/hijacks/hijacks.d.ts +12 -0
- package/resources/radar/bgp/hijacks/hijacks.d.ts.map +1 -0
- package/resources/{user/load-balancers/analytics/analytics.js → radar/bgp/hijacks/hijacks.js} +9 -9
- package/resources/radar/bgp/hijacks/hijacks.js.map +1 -0
- package/resources/radar/bgp/hijacks/hijacks.mjs +14 -0
- package/resources/radar/bgp/hijacks/hijacks.mjs.map +1 -0
- package/resources/radar/bgp/hijacks/index.d.ts +3 -0
- package/resources/radar/bgp/hijacks/index.d.ts.map +1 -0
- package/resources/radar/bgp/hijacks/index.js +10 -0
- package/resources/radar/bgp/hijacks/index.js.map +1 -0
- package/resources/radar/bgp/hijacks/index.mjs +4 -0
- package/resources/radar/bgp/hijacks/index.mjs.map +1 -0
- package/resources/radar/bgp/index.d.ts +2 -2
- package/resources/radar/bgp/index.d.ts.map +1 -1
- package/resources/radar/bgp/index.js +6 -6
- package/resources/radar/bgp/index.js.map +1 -1
- package/resources/radar/bgp/index.mjs +2 -2
- package/resources/radar/bgp/index.mjs.map +1 -1
- package/resources/radar/bgp/leaks/events.d.ts +101 -0
- package/resources/radar/bgp/leaks/events.d.ts.map +1 -0
- package/resources/{user/load-balancers/analytics → radar/bgp/leaks}/events.js +9 -6
- package/resources/radar/bgp/leaks/events.js.map +1 -0
- package/resources/radar/bgp/leaks/events.mjs +22 -0
- package/resources/radar/bgp/leaks/events.mjs.map +1 -0
- package/resources/radar/bgp/leaks/index.d.ts +3 -0
- package/resources/radar/bgp/leaks/index.d.ts.map +1 -0
- package/resources/radar/bgp/leaks/index.js +10 -0
- package/resources/radar/bgp/leaks/index.js.map +1 -0
- package/resources/radar/bgp/leaks/index.mjs +4 -0
- package/resources/radar/bgp/leaks/index.mjs.map +1 -0
- package/resources/radar/bgp/leaks/leaks.d.ts +12 -0
- package/resources/radar/bgp/leaks/leaks.d.ts.map +1 -0
- package/resources/{workers/services/services.js → radar/bgp/leaks/leaks.js} +10 -9
- package/resources/radar/bgp/leaks/leaks.js.map +1 -0
- package/resources/radar/bgp/leaks/leaks.mjs +14 -0
- package/resources/radar/bgp/leaks/leaks.mjs.map +1 -0
- package/resources/radar/bgp/routes.d.ts +4 -0
- package/resources/radar/bgp/routes.d.ts.map +1 -1
- package/resources/radar/bgp/routes.js.map +1 -1
- package/resources/radar/bgp/routes.mjs.map +1 -1
- package/resources/radar/email/email.d.ts +13 -0
- package/resources/radar/email/email.d.ts.map +1 -1
- package/resources/radar/email/email.js.map +1 -1
- package/resources/radar/email/email.mjs.map +1 -1
- package/resources/radar/email/index.d.ts +1 -1
- package/resources/radar/email/index.d.ts.map +1 -1
- package/resources/radar/email/index.js.map +1 -1
- package/resources/radar/email/index.mjs.map +1 -1
- package/resources/radar/email/routing/summary.d.ts +5 -24
- package/resources/radar/email/routing/summary.d.ts.map +1 -1
- package/resources/radar/email/routing/summary.js.map +1 -1
- package/resources/radar/email/routing/summary.mjs.map +1 -1
- package/resources/radar/email/routing/timeseries-groups.d.ts +5 -32
- package/resources/radar/email/routing/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/email/routing/timeseries-groups.js.map +1 -1
- package/resources/radar/email/routing/timeseries-groups.mjs.map +1 -1
- package/resources/radar/email/security/summary.d.ts +5 -24
- package/resources/radar/email/security/summary.d.ts.map +1 -1
- package/resources/radar/email/security/summary.js.map +1 -1
- package/resources/radar/email/security/summary.mjs.map +1 -1
- package/resources/radar/email/security/timeseries-groups.d.ts +5 -32
- package/resources/radar/email/security/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/email/security/timeseries-groups.js.map +1 -1
- package/resources/radar/email/security/timeseries-groups.mjs.map +1 -1
- package/resources/radar/email/security/top/tlds/malicious.d.ts +2 -5
- package/resources/radar/email/security/top/tlds/malicious.d.ts.map +1 -1
- package/resources/radar/email/security/top/tlds/malicious.js.map +1 -1
- package/resources/radar/email/security/top/tlds/malicious.mjs.map +1 -1
- package/resources/radar/email/security/top/tlds/spam.d.ts +2 -5
- package/resources/radar/email/security/top/tlds/spam.d.ts.map +1 -1
- package/resources/radar/email/security/top/tlds/spam.js.map +1 -1
- package/resources/radar/email/security/top/tlds/spam.mjs.map +1 -1
- package/resources/radar/email/security/top/tlds/spoof.d.ts +2 -5
- package/resources/radar/email/security/top/tlds/spoof.d.ts.map +1 -1
- package/resources/radar/email/security/top/tlds/spoof.js.map +1 -1
- package/resources/radar/email/security/top/tlds/spoof.mjs.map +1 -1
- package/resources/radar/email/security/top/tlds/tlds.d.ts +2 -5
- package/resources/radar/email/security/top/tlds/tlds.d.ts.map +1 -1
- package/resources/radar/email/security/top/tlds/tlds.js.map +1 -1
- package/resources/radar/email/security/top/tlds/tlds.mjs.map +1 -1
- package/resources/radar/http/http.d.ts +5 -0
- package/resources/radar/http/http.d.ts.map +1 -1
- package/resources/radar/http/http.js.map +1 -1
- package/resources/radar/http/http.mjs.map +1 -1
- package/resources/radar/http/index.d.ts +3 -3
- package/resources/radar/http/index.d.ts.map +1 -1
- package/resources/radar/http/index.js +3 -3
- package/resources/radar/http/index.js.map +1 -1
- package/resources/radar/http/index.mjs +1 -1
- package/resources/radar/http/index.mjs.map +1 -1
- package/resources/radar/http/summary.d.ts +122 -0
- package/resources/radar/http/summary.d.ts.map +1 -1
- package/resources/radar/http/summary.js +6 -0
- package/resources/radar/http/summary.js.map +1 -1
- package/resources/radar/http/summary.mjs +6 -0
- package/resources/radar/http/summary.mjs.map +1 -1
- package/resources/radar/http/timeseries-groups.d.ts +96 -0
- package/resources/radar/http/timeseries-groups.d.ts.map +1 -1
- package/resources/radar/http/timeseries-groups.js +9 -0
- package/resources/radar/http/timeseries-groups.js.map +1 -1
- package/resources/radar/http/timeseries-groups.mjs +9 -0
- package/resources/radar/http/timeseries-groups.mjs.map +1 -1
- package/resources/radar/http/top.d.ts +7 -10
- package/resources/radar/http/top.d.ts.map +1 -1
- package/resources/radar/http/top.js.map +1 -1
- package/resources/radar/http/top.mjs.map +1 -1
- package/resources/radar/index.d.ts +1 -1
- package/resources/radar/index.d.ts.map +1 -1
- package/resources/radar/index.js +11 -11
- package/resources/radar/index.js.map +1 -1
- package/resources/radar/index.mjs +1 -1
- package/resources/radar/index.mjs.map +1 -1
- package/resources/radar/radar.d.ts +2 -0
- package/resources/radar/radar.d.ts.map +1 -1
- package/resources/radar/radar.js.map +1 -1
- package/resources/radar/radar.mjs.map +1 -1
- package/resources/rate-limits.d.ts +20 -175
- package/resources/rate-limits.d.ts.map +1 -1
- package/resources/rate-limits.js +7 -31
- package/resources/rate-limits.js.map +1 -1
- package/resources/rate-limits.mjs +5 -6
- package/resources/rate-limits.mjs.map +1 -1
- package/resources/rate-plans.d.ts +1 -50
- package/resources/rate-plans.d.ts.map +1 -1
- package/resources/rate-plans.js +0 -2
- package/resources/rate-plans.js.map +1 -1
- package/resources/rate-plans.mjs +0 -2
- package/resources/rate-plans.mjs.map +1 -1
- package/resources/registrar/domains.d.ts +8 -151
- package/resources/registrar/domains.d.ts.map +1 -1
- package/resources/registrar/domains.js +5 -5
- package/resources/registrar/domains.js.map +1 -1
- package/resources/registrar/domains.mjs +3 -3
- package/resources/registrar/domains.mjs.map +1 -1
- package/resources/registrar/index.d.ts +1 -1
- package/resources/registrar/index.d.ts.map +1 -1
- package/resources/registrar/index.js +4 -4
- package/resources/registrar/index.js.map +1 -1
- package/resources/registrar/index.mjs +1 -1
- package/resources/registrar/index.mjs.map +1 -1
- package/resources/registrar/registrar.d.ts +2 -3
- package/resources/registrar/registrar.d.ts.map +1 -1
- package/resources/registrar/registrar.js +1 -1
- package/resources/registrar/registrar.js.map +1 -1
- package/resources/registrar/registrar.mjs +1 -1
- package/resources/registrar/registrar.mjs.map +1 -1
- package/resources/request-tracers/traces.d.ts +16 -8
- package/resources/request-tracers/traces.d.ts.map +1 -1
- package/resources/request-tracers/traces.js +3 -2
- package/resources/request-tracers/traces.js.map +1 -1
- package/resources/request-tracers/traces.mjs +3 -2
- package/resources/request-tracers/traces.mjs.map +1 -1
- package/resources/rules/index.d.ts +1 -1
- package/resources/rules/index.d.ts.map +1 -1
- package/resources/rules/index.js.map +1 -1
- package/resources/rules/index.mjs.map +1 -1
- package/resources/rules/lists/bulk-operations.d.ts +5 -0
- package/resources/rules/lists/bulk-operations.d.ts.map +1 -1
- package/resources/rules/lists/bulk-operations.js.map +1 -1
- package/resources/rules/lists/bulk-operations.mjs.map +1 -1
- package/resources/rules/lists/index.d.ts +3 -3
- package/resources/rules/lists/index.d.ts.map +1 -1
- package/resources/rules/lists/index.js +6 -6
- package/resources/rules/lists/index.js.map +1 -1
- package/resources/rules/lists/index.mjs +2 -2
- package/resources/rules/lists/index.mjs.map +1 -1
- package/resources/rules/lists/items.d.ts +19 -81
- package/resources/rules/lists/items.d.ts.map +1 -1
- package/resources/rules/lists/items.js +2 -5
- package/resources/rules/lists/items.js.map +1 -1
- package/resources/rules/lists/items.mjs +2 -5
- package/resources/rules/lists/items.mjs.map +1 -1
- package/resources/rules/lists/lists.d.ts +43 -0
- package/resources/rules/lists/lists.d.ts.map +1 -1
- package/resources/rules/lists/lists.js.map +1 -1
- package/resources/rules/lists/lists.mjs.map +1 -1
- package/resources/rules/rules.d.ts +2 -0
- package/resources/rules/rules.d.ts.map +1 -1
- package/resources/rules/rules.js.map +1 -1
- package/resources/rules/rules.mjs.map +1 -1
- package/resources/rulesets/index.d.ts +4 -4
- package/resources/rulesets/index.d.ts.map +1 -1
- package/resources/rulesets/index.js +3 -5
- package/resources/rulesets/index.js.map +1 -1
- package/resources/rulesets/index.mjs +4 -4
- package/resources/rulesets/index.mjs.map +1 -1
- package/resources/rulesets/phases/index.d.ts +2 -2
- package/resources/rulesets/phases/index.d.ts.map +1 -1
- package/resources/rulesets/phases/index.js +1 -2
- package/resources/rulesets/phases/index.js.map +1 -1
- package/resources/rulesets/phases/index.mjs +1 -1
- package/resources/rulesets/phases/index.mjs.map +1 -1
- package/resources/rulesets/phases/phases.d.ts +82 -354
- package/resources/rulesets/phases/phases.d.ts.map +1 -1
- package/resources/rulesets/phases/phases.js +0 -1
- package/resources/rulesets/phases/phases.js.map +1 -1
- package/resources/rulesets/phases/phases.mjs +0 -1
- package/resources/rulesets/phases/phases.mjs.map +1 -1
- package/resources/rulesets/phases/versions.d.ts +25 -22
- package/resources/rulesets/phases/versions.d.ts.map +1 -1
- package/resources/rulesets/phases/versions.js +4 -31
- package/resources/rulesets/phases/versions.js.map +1 -1
- package/resources/rulesets/phases/versions.mjs +3 -6
- package/resources/rulesets/phases/versions.mjs.map +1 -1
- package/resources/rulesets/rules.d.ts +5516 -346
- package/resources/rulesets/rules.d.ts.map +1 -1
- package/resources/rulesets/rules.js.map +1 -1
- package/resources/rulesets/rules.mjs.map +1 -1
- package/resources/rulesets/rulesets.d.ts +137 -1118
- package/resources/rulesets/rulesets.d.ts.map +1 -1
- package/resources/rulesets/rulesets.js +4 -7
- package/resources/rulesets/rulesets.js.map +1 -1
- package/resources/rulesets/rulesets.mjs +2 -5
- package/resources/rulesets/rulesets.mjs.map +1 -1
- package/resources/rulesets/versions/by-tag.d.ts +40 -1
- package/resources/rulesets/versions/by-tag.d.ts.map +1 -1
- package/resources/rulesets/versions/by-tag.js.map +1 -1
- package/resources/rulesets/versions/by-tag.mjs.map +1 -1
- package/resources/rulesets/versions/index.d.ts +2 -2
- package/resources/rulesets/versions/index.d.ts.map +1 -1
- package/resources/rulesets/versions/index.js +1 -2
- package/resources/rulesets/versions/index.js.map +1 -1
- package/resources/rulesets/versions/index.mjs +1 -1
- package/resources/rulesets/versions/index.mjs.map +1 -1
- package/resources/rulesets/versions/versions.d.ts +26 -22
- package/resources/rulesets/versions/versions.d.ts.map +1 -1
- package/resources/rulesets/versions/versions.js +4 -8
- package/resources/rulesets/versions/versions.js.map +1 -1
- package/resources/rulesets/versions/versions.mjs +3 -6
- package/resources/rulesets/versions/versions.mjs.map +1 -1
- package/resources/rum/index.d.ts +1 -1
- package/resources/rum/index.d.ts.map +1 -1
- package/resources/rum/index.js +2 -2
- package/resources/rum/index.js.map +1 -1
- package/resources/rum/index.mjs +1 -1
- package/resources/rum/index.mjs.map +1 -1
- package/resources/rum/rum.d.ts +2 -2
- package/resources/rum/rum.d.ts.map +1 -1
- package/resources/rum/rum.js +1 -1
- package/resources/rum/rum.js.map +1 -1
- package/resources/rum/rum.mjs +1 -1
- package/resources/rum/rum.mjs.map +1 -1
- package/resources/rum/site-info.d.ts +10 -10
- package/resources/rum/site-info.d.ts.map +1 -1
- package/resources/rum/site-info.js +8 -5
- package/resources/rum/site-info.js.map +1 -1
- package/resources/rum/site-info.mjs +6 -3
- package/resources/rum/site-info.mjs.map +1 -1
- package/resources/secondary-dns/acls.d.ts +8 -8
- package/resources/secondary-dns/acls.d.ts.map +1 -1
- package/resources/secondary-dns/acls.js +5 -5
- package/resources/secondary-dns/acls.js.map +1 -1
- package/resources/secondary-dns/acls.mjs +3 -3
- package/resources/secondary-dns/acls.mjs.map +1 -1
- package/resources/secondary-dns/force-axfr.d.ts +12 -5
- package/resources/secondary-dns/force-axfr.d.ts.map +1 -1
- package/resources/secondary-dns/force-axfr.js +10 -7
- package/resources/secondary-dns/force-axfr.js.map +1 -1
- package/resources/secondary-dns/force-axfr.mjs +8 -5
- package/resources/secondary-dns/force-axfr.mjs.map +1 -1
- package/resources/secondary-dns/incoming.d.ts +35 -2
- package/resources/secondary-dns/incoming.d.ts.map +1 -1
- package/resources/secondary-dns/incoming.js +5 -5
- package/resources/secondary-dns/incoming.js.map +1 -1
- package/resources/secondary-dns/incoming.mjs +3 -3
- package/resources/secondary-dns/incoming.mjs.map +1 -1
- package/resources/secondary-dns/index.d.ts +6 -6
- package/resources/secondary-dns/index.d.ts.map +1 -1
- package/resources/secondary-dns/index.js +10 -10
- package/resources/secondary-dns/index.js.map +1 -1
- package/resources/secondary-dns/index.mjs +6 -6
- package/resources/secondary-dns/index.mjs.map +1 -1
- package/resources/secondary-dns/outgoing/index.d.ts +1 -1
- package/resources/secondary-dns/outgoing/index.d.ts.map +1 -1
- package/resources/secondary-dns/outgoing/index.js +2 -2
- package/resources/secondary-dns/outgoing/index.js.map +1 -1
- package/resources/secondary-dns/outgoing/index.mjs +1 -1
- package/resources/secondary-dns/outgoing/index.mjs.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.d.ts +62 -8
- package/resources/secondary-dns/outgoing/outgoing.d.ts.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.js +21 -12
- package/resources/secondary-dns/outgoing/outgoing.js.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.mjs +19 -10
- package/resources/secondary-dns/outgoing/outgoing.mjs.map +1 -1
- package/resources/secondary-dns/outgoing/status.d.ts +1 -1
- package/resources/secondary-dns/outgoing/status.d.ts.map +1 -1
- package/resources/secondary-dns/outgoing/status.js.map +1 -1
- package/resources/secondary-dns/outgoing/status.mjs.map +1 -1
- package/resources/secondary-dns/peers.d.ts +8 -8
- package/resources/secondary-dns/peers.d.ts.map +1 -1
- package/resources/secondary-dns/peers.js +5 -5
- package/resources/secondary-dns/peers.js.map +1 -1
- package/resources/secondary-dns/peers.mjs +3 -3
- package/resources/secondary-dns/peers.mjs.map +1 -1
- package/resources/secondary-dns/secondary-dns.d.ts +15 -12
- package/resources/secondary-dns/secondary-dns.d.ts.map +1 -1
- package/resources/secondary-dns/secondary-dns.js +9 -9
- package/resources/secondary-dns/secondary-dns.js.map +1 -1
- package/resources/secondary-dns/secondary-dns.mjs +9 -9
- package/resources/secondary-dns/secondary-dns.mjs.map +1 -1
- package/resources/secondary-dns/tsigs.d.ts +8 -8
- package/resources/secondary-dns/tsigs.d.ts.map +1 -1
- package/resources/secondary-dns/tsigs.js +5 -5
- package/resources/secondary-dns/tsigs.js.map +1 -1
- package/resources/secondary-dns/tsigs.mjs +3 -3
- package/resources/secondary-dns/tsigs.mjs.map +1 -1
- package/resources/shared.d.ts +359 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.js +8 -0
- package/resources/shared.js.map +1 -1
- package/resources/shared.mjs +5 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/snippets/content.d.ts +11 -1
- package/resources/snippets/content.d.ts.map +1 -1
- package/resources/snippets/content.js +5 -2
- package/resources/snippets/content.js.map +1 -1
- package/resources/snippets/content.mjs +5 -2
- package/resources/snippets/content.mjs.map +1 -1
- package/resources/snippets/index.d.ts +3 -3
- package/resources/snippets/index.d.ts.map +1 -1
- package/resources/snippets/index.js +1 -2
- package/resources/snippets/index.js.map +1 -1
- package/resources/snippets/index.mjs +1 -1
- package/resources/snippets/index.mjs.map +1 -1
- package/resources/snippets/rules.d.ts +14 -4
- package/resources/snippets/rules.d.ts.map +1 -1
- package/resources/snippets/rules.js +9 -11
- package/resources/snippets/rules.js.map +1 -1
- package/resources/snippets/rules.mjs +9 -11
- package/resources/snippets/rules.mjs.map +1 -1
- package/resources/snippets/snippets.d.ts +41 -12
- package/resources/snippets/snippets.d.ts.map +1 -1
- package/resources/snippets/snippets.js +16 -15
- package/resources/snippets/snippets.js.map +1 -1
- package/resources/snippets/snippets.mjs +15 -14
- package/resources/snippets/snippets.mjs.map +1 -1
- package/resources/spectrum/analytics/analytics.d.ts +1 -0
- package/resources/spectrum/analytics/analytics.d.ts.map +1 -1
- package/resources/spectrum/analytics/analytics.js.map +1 -1
- package/resources/spectrum/analytics/analytics.mjs.map +1 -1
- package/resources/spectrum/analytics/events/bytimes.d.ts +2 -1
- package/resources/spectrum/analytics/events/bytimes.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/bytimes.js.map +1 -1
- package/resources/spectrum/analytics/events/bytimes.mjs.map +1 -1
- package/resources/spectrum/analytics/events/events.d.ts +4 -0
- package/resources/spectrum/analytics/events/events.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/events.js.map +1 -1
- package/resources/spectrum/analytics/events/events.mjs.map +1 -1
- package/resources/spectrum/analytics/events/index.d.ts +1 -1
- package/resources/spectrum/analytics/events/index.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/index.js.map +1 -1
- package/resources/spectrum/analytics/events/index.mjs.map +1 -1
- package/resources/spectrum/analytics/events/summaries.d.ts +2 -1
- package/resources/spectrum/analytics/events/summaries.d.ts.map +1 -1
- package/resources/spectrum/analytics/events/summaries.js.map +1 -1
- package/resources/spectrum/analytics/events/summaries.mjs.map +1 -1
- package/resources/spectrum/analytics/index.d.ts +1 -1
- package/resources/spectrum/analytics/index.d.ts.map +1 -1
- package/resources/spectrum/analytics/index.js.map +1 -1
- package/resources/spectrum/analytics/index.mjs.map +1 -1
- package/resources/spectrum/apps.d.ts +19 -250
- package/resources/spectrum/apps.d.ts.map +1 -1
- package/resources/spectrum/apps.js.map +1 -1
- package/resources/spectrum/apps.mjs.map +1 -1
- package/resources/spectrum/spectrum.d.ts +140 -0
- package/resources/spectrum/spectrum.d.ts.map +1 -1
- package/resources/spectrum/spectrum.js.map +1 -1
- package/resources/spectrum/spectrum.mjs.map +1 -1
- package/resources/speed/availabilities.d.ts +7 -16
- package/resources/speed/availabilities.d.ts.map +1 -1
- package/resources/speed/availabilities.js.map +1 -1
- package/resources/speed/availabilities.mjs.map +1 -1
- package/resources/speed/index.d.ts +4 -5
- package/resources/speed/index.d.ts.map +1 -1
- package/resources/speed/index.js +6 -8
- package/resources/speed/index.js.map +1 -1
- package/resources/speed/index.mjs +3 -4
- package/resources/speed/index.mjs.map +1 -1
- package/resources/speed/pages/index.d.ts +3 -0
- package/resources/speed/pages/index.d.ts.map +1 -0
- package/resources/speed/pages/index.js +10 -0
- package/resources/speed/pages/index.js.map +1 -0
- package/resources/speed/pages/index.mjs +4 -0
- package/resources/speed/pages/index.mjs.map +1 -0
- package/resources/speed/pages/pages.d.ts +85 -0
- package/resources/speed/pages/pages.d.ts.map +1 -0
- package/resources/speed/{pages.js → pages/pages.js} +17 -1
- package/resources/speed/pages/pages.js.map +1 -0
- package/resources/speed/{pages.mjs → pages/pages.mjs} +17 -1
- package/resources/speed/pages/pages.mjs.map +1 -0
- package/resources/speed/pages/tests.d.ts +128 -0
- package/resources/speed/pages/tests.d.ts.map +1 -0
- package/resources/speed/pages/tests.js.map +1 -0
- package/resources/speed/pages/tests.mjs.map +1 -0
- package/resources/speed/schedule.d.ts +60 -6
- package/resources/speed/schedule.d.ts.map +1 -1
- package/resources/speed/schedule.js +25 -5
- package/resources/speed/schedule.js.map +1 -1
- package/resources/speed/schedule.mjs +23 -3
- package/resources/speed/schedule.mjs.map +1 -1
- package/resources/speed/speed.d.ts +73 -87
- package/resources/speed/speed.d.ts.map +1 -1
- package/resources/speed/speed.js +3 -36
- package/resources/speed/speed.js.map +1 -1
- package/resources/speed/speed.mjs +3 -36
- package/resources/speed/speed.mjs.map +1 -1
- package/resources/ssl/analyze.d.ts +3 -2
- package/resources/ssl/analyze.d.ts.map +1 -1
- package/resources/ssl/analyze.js.map +1 -1
- package/resources/ssl/analyze.mjs.map +1 -1
- package/resources/ssl/certificate-packs/certificate-packs.d.ts +30 -4
- package/resources/ssl/certificate-packs/certificate-packs.d.ts.map +1 -1
- package/resources/ssl/certificate-packs/certificate-packs.js +5 -2
- package/resources/ssl/certificate-packs/certificate-packs.js.map +1 -1
- package/resources/ssl/certificate-packs/certificate-packs.mjs +5 -2
- package/resources/ssl/certificate-packs/certificate-packs.mjs.map +1 -1
- package/resources/ssl/certificate-packs/index.d.ts +1 -1
- package/resources/ssl/certificate-packs/index.d.ts.map +1 -1
- package/resources/ssl/certificate-packs/index.js.map +1 -1
- package/resources/ssl/certificate-packs/index.mjs.map +1 -1
- package/resources/ssl/certificate-packs/order.d.ts +4 -3
- package/resources/ssl/certificate-packs/order.d.ts.map +1 -1
- package/resources/ssl/certificate-packs/order.js.map +1 -1
- package/resources/ssl/certificate-packs/order.mjs.map +1 -1
- package/resources/ssl/index.d.ts +2 -2
- package/resources/ssl/index.d.ts.map +1 -1
- package/resources/ssl/index.js +3 -3
- package/resources/ssl/index.js.map +1 -1
- package/resources/ssl/index.mjs +1 -1
- package/resources/ssl/index.mjs.map +1 -1
- package/resources/ssl/ssl.d.ts +6 -2
- package/resources/ssl/ssl.d.ts.map +1 -1
- package/resources/ssl/ssl.js +2 -2
- package/resources/ssl/ssl.js.map +1 -1
- package/resources/ssl/ssl.mjs +2 -2
- package/resources/ssl/ssl.mjs.map +1 -1
- package/resources/ssl/verification.d.ts +9 -8
- package/resources/ssl/verification.d.ts.map +1 -1
- package/resources/ssl/verification.js +5 -5
- package/resources/ssl/verification.js.map +1 -1
- package/resources/ssl/verification.mjs +3 -3
- package/resources/ssl/verification.mjs.map +1 -1
- package/resources/storage/analytics.d.ts +12 -12
- package/resources/storage/analytics.d.ts.map +1 -1
- package/resources/storage/analytics.js.map +1 -1
- package/resources/storage/analytics.mjs.map +1 -1
- package/resources/storage/index.d.ts +1 -1
- package/resources/storage/index.d.ts.map +1 -1
- package/resources/storage/index.js +3 -3
- package/resources/storage/index.js.map +1 -1
- package/resources/storage/index.mjs +1 -1
- package/resources/storage/index.mjs.map +1 -1
- package/resources/storage/storage.d.ts +2 -2
- package/resources/storage/storage.d.ts.map +1 -1
- package/resources/stream/audio-tracks.d.ts +5 -5
- package/resources/stream/audio-tracks.d.ts.map +1 -1
- package/resources/stream/captions/captions.d.ts +39 -0
- package/resources/stream/captions/captions.d.ts.map +1 -0
- package/resources/{workers/deployments/by-scripts/by-scripts.js → stream/captions/captions.js} +12 -12
- package/resources/stream/captions/captions.js.map +1 -0
- package/resources/stream/captions/captions.mjs +20 -0
- package/resources/stream/captions/captions.mjs.map +1 -0
- package/resources/stream/captions/index.d.ts +3 -0
- package/resources/stream/captions/index.d.ts.map +1 -0
- package/resources/stream/captions/index.js +9 -0
- package/resources/stream/captions/index.js.map +1 -0
- package/resources/stream/captions/index.mjs +4 -0
- package/resources/stream/captions/index.mjs.map +1 -0
- package/resources/stream/captions/language/index.d.ts +3 -0
- package/resources/stream/captions/language/index.d.ts.map +1 -0
- package/resources/stream/captions/language/index.js +9 -0
- package/resources/stream/captions/language/index.js.map +1 -0
- package/resources/stream/captions/language/index.mjs +4 -0
- package/resources/stream/captions/language/index.mjs.map +1 -0
- package/resources/stream/captions/language/language.d.ts +54 -0
- package/resources/stream/captions/language/language.d.ts.map +1 -0
- package/resources/stream/captions/language/language.js +63 -0
- package/resources/stream/captions/language/language.js.map +1 -0
- package/resources/stream/{captions.mjs → captions/language/language.mjs} +13 -7
- package/resources/stream/captions/language/language.mjs.map +1 -0
- package/resources/stream/captions/language/vtt.d.ts +21 -0
- package/resources/stream/captions/language/vtt.d.ts.map +1 -0
- package/resources/stream/captions/language/vtt.js +21 -0
- package/resources/stream/captions/language/vtt.js.map +1 -0
- package/resources/stream/captions/language/vtt.mjs +17 -0
- package/resources/stream/captions/language/vtt.mjs.map +1 -0
- package/resources/stream/clip.d.ts +11 -10
- package/resources/stream/clip.d.ts.map +1 -1
- package/resources/stream/clip.js +5 -5
- package/resources/stream/clip.js.map +1 -1
- package/resources/stream/clip.mjs +3 -3
- package/resources/stream/clip.mjs.map +1 -1
- package/resources/stream/copy.d.ts +2 -2
- package/resources/stream/copy.d.ts.map +1 -1
- package/resources/stream/direct-upload.d.ts +3 -2
- package/resources/stream/direct-upload.d.ts.map +1 -1
- package/resources/stream/direct-upload.js.map +1 -1
- package/resources/stream/direct-upload.mjs.map +1 -1
- package/resources/stream/downloads.d.ts +7 -3
- package/resources/stream/downloads.d.ts.map +1 -1
- package/resources/stream/downloads.js +5 -2
- package/resources/stream/downloads.js.map +1 -1
- package/resources/stream/downloads.mjs +5 -2
- package/resources/stream/downloads.mjs.map +1 -1
- package/resources/stream/index.d.ts +7 -7
- package/resources/stream/index.d.ts.map +1 -1
- package/resources/stream/index.js +12 -13
- package/resources/stream/index.js.map +1 -1
- package/resources/stream/index.mjs +5 -5
- package/resources/stream/index.mjs.map +1 -1
- package/resources/stream/keys.d.ts +8 -4
- package/resources/stream/keys.d.ts.map +1 -1
- package/resources/stream/keys.js +30 -2
- package/resources/stream/keys.js.map +1 -1
- package/resources/stream/keys.mjs +7 -2
- package/resources/stream/keys.mjs.map +1 -1
- package/resources/stream/live-inputs/index.d.ts +2 -2
- package/resources/stream/live-inputs/index.d.ts.map +1 -1
- package/resources/stream/live-inputs/index.js +2 -2
- package/resources/stream/live-inputs/index.js.map +1 -1
- package/resources/stream/live-inputs/index.mjs +1 -1
- package/resources/stream/live-inputs/index.mjs.map +1 -1
- package/resources/stream/live-inputs/live-inputs.d.ts +15 -15
- package/resources/stream/live-inputs/live-inputs.d.ts.map +1 -1
- package/resources/stream/live-inputs/live-inputs.js +1 -1
- package/resources/stream/live-inputs/live-inputs.js.map +1 -1
- package/resources/stream/live-inputs/live-inputs.mjs +1 -1
- package/resources/stream/live-inputs/live-inputs.mjs.map +1 -1
- package/resources/stream/live-inputs/outputs.d.ts +7 -7
- package/resources/stream/live-inputs/outputs.d.ts.map +1 -1
- package/resources/stream/live-inputs/outputs.js +5 -5
- package/resources/stream/live-inputs/outputs.js.map +1 -1
- package/resources/stream/live-inputs/outputs.mjs +3 -3
- package/resources/stream/live-inputs/outputs.mjs.map +1 -1
- package/resources/stream/stream.d.ts +24 -32
- package/resources/stream/stream.d.ts.map +1 -1
- package/resources/stream/stream.js +10 -14
- package/resources/stream/stream.js.map +1 -1
- package/resources/stream/stream.mjs +8 -12
- package/resources/stream/stream.mjs.map +1 -1
- package/resources/stream/watermarks.d.ts +7 -11
- package/resources/stream/watermarks.d.ts.map +1 -1
- package/resources/stream/watermarks.js +5 -5
- package/resources/stream/watermarks.js.map +1 -1
- package/resources/stream/watermarks.mjs +3 -3
- package/resources/stream/watermarks.mjs.map +1 -1
- package/resources/stream/webhooks.d.ts +2 -2
- package/resources/stream/webhooks.d.ts.map +1 -1
- package/resources/subscriptions.d.ts +10 -258
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +4 -33
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +3 -8
- package/resources/subscriptions.mjs.map +1 -1
- package/resources/url-normalization.d.ts +0 -7
- package/resources/url-normalization.d.ts.map +1 -1
- package/resources/url-normalization.js +0 -2
- package/resources/url-normalization.js.map +1 -1
- package/resources/url-normalization.mjs +0 -2
- package/resources/url-normalization.mjs.map +1 -1
- package/resources/url-scanner/index.d.ts +2 -2
- package/resources/url-scanner/index.d.ts.map +1 -1
- package/resources/url-scanner/index.js +3 -3
- package/resources/url-scanner/index.js.map +1 -1
- package/resources/url-scanner/index.mjs +1 -1
- package/resources/url-scanner/index.mjs.map +1 -1
- package/resources/url-scanner/scans.d.ts +39 -55
- package/resources/url-scanner/scans.d.ts.map +1 -1
- package/resources/url-scanner/scans.js.map +1 -1
- package/resources/url-scanner/scans.mjs.map +1 -1
- package/resources/url-scanner/url-scanner.d.ts +6 -7
- package/resources/url-scanner/url-scanner.d.ts.map +1 -1
- package/resources/url-scanner/url-scanner.js.map +1 -1
- package/resources/url-scanner/url-scanner.mjs.map +1 -1
- package/resources/user/audit-logs.d.ts +6 -85
- package/resources/user/audit-logs.d.ts.map +1 -1
- package/resources/user/audit-logs.js +4 -34
- package/resources/user/audit-logs.js.map +1 -1
- package/resources/user/audit-logs.mjs +3 -9
- package/resources/user/audit-logs.mjs.map +1 -1
- package/resources/user/billing/billing.d.ts +2 -2
- package/resources/user/billing/billing.d.ts.map +1 -1
- package/resources/user/billing/billing.js +1 -0
- package/resources/user/billing/billing.js.map +1 -1
- package/resources/user/billing/billing.mjs +1 -0
- package/resources/user/billing/billing.mjs.map +1 -1
- package/resources/user/billing/history.d.ts +22 -12
- package/resources/user/billing/history.d.ts.map +1 -1
- package/resources/user/billing/history.js +36 -4
- package/resources/user/billing/history.js.map +1 -1
- package/resources/user/billing/history.mjs +11 -3
- package/resources/user/billing/history.mjs.map +1 -1
- package/resources/user/billing/index.d.ts +1 -1
- package/resources/user/billing/index.d.ts.map +1 -1
- package/resources/user/billing/index.js +2 -1
- package/resources/user/billing/index.js.map +1 -1
- package/resources/user/billing/index.mjs +1 -1
- package/resources/user/billing/index.mjs.map +1 -1
- package/resources/user/index.d.ts +5 -7
- package/resources/user/index.d.ts.map +1 -1
- package/resources/user/index.js +9 -13
- package/resources/user/index.js.map +1 -1
- package/resources/user/index.mjs +5 -7
- package/resources/user/index.mjs.map +1 -1
- package/resources/user/invites.d.ts +7 -50
- package/resources/user/invites.d.ts.map +1 -1
- package/resources/user/invites.js +5 -5
- package/resources/user/invites.js.map +1 -1
- package/resources/user/invites.mjs +3 -3
- package/resources/user/invites.mjs.map +1 -1
- package/resources/user/organizations.d.ts +4 -2
- package/resources/user/organizations.d.ts.map +1 -1
- package/resources/user/organizations.js.map +1 -1
- package/resources/user/organizations.mjs.map +1 -1
- package/resources/user/subscriptions.d.ts +136 -310
- package/resources/user/subscriptions.d.ts.map +1 -1
- package/resources/user/subscriptions.js +5 -1
- package/resources/user/subscriptions.js.map +1 -1
- package/resources/user/subscriptions.mjs +3 -0
- package/resources/user/subscriptions.mjs.map +1 -1
- package/resources/user/tokens/index.d.ts +2 -2
- package/resources/user/tokens/index.d.ts.map +1 -1
- package/resources/user/tokens/index.js +5 -5
- package/resources/user/tokens/index.js.map +1 -1
- package/resources/user/tokens/index.mjs +2 -2
- package/resources/user/tokens/index.mjs.map +1 -1
- package/resources/user/tokens/tokens.d.ts +135 -53
- package/resources/user/tokens/tokens.d.ts.map +1 -1
- package/resources/user/tokens/tokens.js +2 -2
- package/resources/user/tokens/tokens.js.map +1 -1
- package/resources/user/tokens/tokens.mjs +2 -2
- package/resources/user/tokens/tokens.mjs.map +1 -1
- package/resources/user/tokens/value.d.ts +5 -5
- package/resources/user/tokens/value.d.ts.map +1 -1
- package/resources/user/tokens/value.js +5 -5
- package/resources/user/tokens/value.js.map +1 -1
- package/resources/user/tokens/value.mjs +3 -3
- package/resources/user/tokens/value.mjs.map +1 -1
- package/resources/user/user.d.ts +10 -72
- package/resources/user/user.d.ts.map +1 -1
- package/resources/user/user.js +14 -21
- package/resources/user/user.js.map +1 -1
- package/resources/user/user.mjs +12 -19
- package/resources/user/user.mjs.map +1 -1
- package/resources/vectorize/index.d.ts +1 -1
- package/resources/vectorize/index.d.ts.map +1 -1
- package/resources/vectorize/index.js +4 -4
- package/resources/vectorize/index.js.map +1 -1
- package/resources/vectorize/index.mjs +1 -1
- package/resources/vectorize/index.mjs.map +1 -1
- package/resources/vectorize/indexes.d.ts +128 -63
- package/resources/vectorize/indexes.d.ts.map +1 -1
- package/resources/vectorize/indexes.js +40 -24
- package/resources/vectorize/indexes.js.map +1 -1
- package/resources/vectorize/indexes.mjs +38 -22
- package/resources/vectorize/indexes.mjs.map +1 -1
- package/resources/vectorize/vectorize.d.ts +10 -6
- package/resources/vectorize/vectorize.d.ts.map +1 -1
- package/resources/vectorize/vectorize.js +1 -1
- package/resources/vectorize/vectorize.js.map +1 -1
- package/resources/vectorize/vectorize.mjs +1 -1
- package/resources/vectorize/vectorize.mjs.map +1 -1
- package/resources/waiting-rooms/events/details.d.ts +84 -3
- package/resources/waiting-rooms/events/details.d.ts.map +1 -1
- package/resources/waiting-rooms/events/details.js +3 -2
- package/resources/waiting-rooms/events/details.js.map +1 -1
- package/resources/waiting-rooms/events/details.mjs +3 -2
- package/resources/waiting-rooms/events/details.mjs.map +1 -1
- package/resources/waiting-rooms/events/events.d.ts +147 -89
- package/resources/waiting-rooms/events/events.d.ts.map +1 -1
- package/resources/waiting-rooms/events/events.js +22 -16
- package/resources/waiting-rooms/events/events.js.map +1 -1
- package/resources/waiting-rooms/events/events.mjs +20 -14
- package/resources/waiting-rooms/events/events.mjs.map +1 -1
- package/resources/waiting-rooms/events/index.d.ts +2 -2
- package/resources/waiting-rooms/events/index.d.ts.map +1 -1
- package/resources/waiting-rooms/events/index.js +2 -2
- package/resources/waiting-rooms/events/index.js.map +1 -1
- package/resources/waiting-rooms/events/index.mjs +1 -1
- package/resources/waiting-rooms/events/index.mjs.map +1 -1
- package/resources/waiting-rooms/index.d.ts +5 -5
- package/resources/waiting-rooms/index.d.ts.map +1 -1
- package/resources/waiting-rooms/index.js +7 -8
- package/resources/waiting-rooms/index.js.map +1 -1
- package/resources/waiting-rooms/index.mjs +3 -3
- package/resources/waiting-rooms/index.mjs.map +1 -1
- package/resources/waiting-rooms/page.d.ts +10 -6
- package/resources/waiting-rooms/page.d.ts.map +1 -1
- package/resources/waiting-rooms/page.js +3 -5
- package/resources/waiting-rooms/page.js.map +1 -1
- package/resources/waiting-rooms/page.mjs +3 -5
- package/resources/waiting-rooms/page.mjs.map +1 -1
- package/resources/waiting-rooms/rules.d.ts +54 -23
- package/resources/waiting-rooms/rules.d.ts.map +1 -1
- package/resources/waiting-rooms/rules.js +20 -15
- package/resources/waiting-rooms/rules.js.map +1 -1
- package/resources/waiting-rooms/rules.mjs +18 -13
- package/resources/waiting-rooms/rules.mjs.map +1 -1
- package/resources/waiting-rooms/settings.d.ts +35 -9
- package/resources/waiting-rooms/settings.d.ts.map +1 -1
- package/resources/waiting-rooms/settings.js +9 -9
- package/resources/waiting-rooms/settings.js.map +1 -1
- package/resources/waiting-rooms/settings.mjs +9 -9
- package/resources/waiting-rooms/settings.mjs.map +1 -1
- package/resources/waiting-rooms/statuses.d.ts +8 -1
- package/resources/waiting-rooms/statuses.d.ts.map +1 -1
- package/resources/waiting-rooms/statuses.js +3 -2
- package/resources/waiting-rooms/statuses.js.map +1 -1
- package/resources/waiting-rooms/statuses.mjs +3 -2
- package/resources/waiting-rooms/statuses.mjs.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.d.ts +601 -337
- package/resources/waiting-rooms/waiting-rooms.d.ts.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.js +23 -16
- package/resources/waiting-rooms/waiting-rooms.js.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.mjs +23 -16
- package/resources/waiting-rooms/waiting-rooms.mjs.map +1 -1
- package/resources/warp-connector.d.ts +53 -563
- package/resources/warp-connector.d.ts.map +1 -1
- package/resources/warp-connector.js +2 -32
- package/resources/warp-connector.js.map +1 -1
- package/resources/warp-connector.mjs +2 -9
- package/resources/warp-connector.mjs.map +1 -1
- package/resources/web3/hostnames/hostnames.d.ts +8 -8
- package/resources/web3/hostnames/hostnames.d.ts.map +1 -1
- package/resources/web3/hostnames/hostnames.js +5 -5
- package/resources/web3/hostnames/hostnames.js.map +1 -1
- package/resources/web3/hostnames/hostnames.mjs +3 -3
- package/resources/web3/hostnames/hostnames.mjs.map +1 -1
- package/resources/web3/hostnames/index.d.ts +1 -1
- package/resources/web3/hostnames/index.d.ts.map +1 -1
- package/resources/web3/hostnames/index.js +2 -2
- package/resources/web3/hostnames/index.js.map +1 -1
- package/resources/web3/hostnames/index.mjs +1 -1
- package/resources/web3/hostnames/index.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.d.ts +27 -6
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.d.ts.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.js.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.d.ts +79 -6
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.d.ts.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.js.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.d.ts +2 -2
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.d.ts.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.js.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/index.d.ts +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/index.d.ts.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/index.js.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/index.mjs +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/index.mjs.map +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/ipfs-universal-paths.d.ts +1 -1
- package/resources/web3/hostnames/ipfs-universal-paths/ipfs-universal-paths.d.ts.map +1 -1
- package/resources/web3/index.d.ts +1 -1
- package/resources/web3/index.d.ts.map +1 -1
- package/resources/web3/index.js +2 -2
- package/resources/web3/index.js.map +1 -1
- package/resources/web3/index.mjs +1 -1
- package/resources/web3/index.mjs.map +1 -1
- package/resources/web3/web3.d.ts +2 -2
- package/resources/web3/web3.d.ts.map +1 -1
- package/resources/web3/web3.js +1 -1
- package/resources/web3/web3.js.map +1 -1
- package/resources/web3/web3.mjs +1 -1
- package/resources/web3/web3.mjs.map +1 -1
- package/resources/workers/ai.d.ts +21 -3
- package/resources/workers/ai.d.ts.map +1 -1
- package/resources/workers/ai.js.map +1 -1
- package/resources/workers/ai.mjs.map +1 -1
- package/resources/workers/domains.d.ts +7 -7
- package/resources/workers/domains.d.ts.map +1 -1
- package/resources/workers/domains.js +5 -5
- package/resources/workers/domains.js.map +1 -1
- package/resources/workers/domains.mjs +3 -3
- package/resources/workers/domains.mjs.map +1 -1
- package/resources/workers/index.d.ts +2 -6
- package/resources/workers/index.d.ts.map +1 -1
- package/resources/workers/index.js +7 -17
- package/resources/workers/index.js.map +1 -1
- package/resources/workers/index.mjs +2 -6
- package/resources/workers/index.mjs.map +1 -1
- package/resources/workers/scripts/content.d.ts +16 -20
- package/resources/workers/scripts/content.d.ts.map +1 -1
- package/resources/workers/scripts/content.js +10 -0
- package/resources/workers/scripts/content.js.map +1 -1
- package/resources/workers/scripts/content.mjs +10 -0
- package/resources/workers/scripts/content.mjs.map +1 -1
- package/resources/workers/scripts/deployments.d.ts +78 -0
- package/resources/workers/scripts/deployments.d.ts.map +1 -0
- package/resources/workers/scripts/deployments.js +32 -0
- package/resources/workers/scripts/deployments.js.map +1 -0
- package/resources/workers/scripts/deployments.mjs +28 -0
- package/resources/workers/scripts/deployments.mjs.map +1 -0
- package/resources/workers/scripts/index.d.ts +7 -8
- package/resources/workers/scripts/index.d.ts.map +1 -1
- package/resources/workers/scripts/index.js +10 -12
- package/resources/workers/scripts/index.js.map +1 -1
- package/resources/workers/scripts/index.mjs +5 -6
- package/resources/workers/scripts/index.mjs.map +1 -1
- package/resources/workers/scripts/schedules.d.ts +8 -16
- package/resources/workers/scripts/schedules.d.ts.map +1 -1
- package/resources/workers/scripts/schedules.js.map +1 -1
- package/resources/workers/scripts/schedules.mjs.map +1 -1
- package/resources/workers/scripts/scripts.d.ts +41 -166
- package/resources/workers/scripts/scripts.d.ts.map +1 -1
- package/resources/workers/scripts/scripts.js +11 -14
- package/resources/workers/scripts/scripts.js.map +1 -1
- package/resources/workers/scripts/scripts.mjs +9 -12
- package/resources/workers/scripts/scripts.mjs.map +1 -1
- package/resources/workers/scripts/settings.d.ts +16 -943
- package/resources/workers/scripts/settings.d.ts.map +1 -1
- package/resources/workers/scripts/settings.js +11 -5
- package/resources/workers/scripts/settings.js.map +1 -1
- package/resources/workers/scripts/settings.mjs +11 -5
- package/resources/workers/scripts/settings.mjs.map +1 -1
- package/resources/workers/scripts/tail.d.ts +49 -2
- package/resources/workers/scripts/tail.d.ts.map +1 -1
- package/resources/workers/scripts/tail.js +6 -3
- package/resources/workers/scripts/tail.js.map +1 -1
- package/resources/workers/scripts/tail.mjs +6 -3
- package/resources/workers/scripts/tail.mjs.map +1 -1
- package/resources/workers/scripts/versions.d.ts +126 -0
- package/resources/workers/scripts/versions.d.ts.map +1 -0
- package/resources/workers/scripts/versions.js +33 -0
- package/resources/workers/scripts/versions.js.map +1 -0
- package/resources/workers/scripts/versions.mjs +29 -0
- package/resources/workers/scripts/versions.mjs.map +1 -0
- package/resources/workers/workers.d.ts +533 -33
- package/resources/workers/workers.d.ts.map +1 -1
- package/resources/workers/workers.js +2 -16
- package/resources/workers/workers.js.map +1 -1
- package/resources/workers/workers.mjs +2 -16
- package/resources/workers/workers.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.d.ts +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.mjs +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/index.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/namespaces.d.ts +2 -2
- package/resources/workers-for-platforms/dispatch/namespaces/namespaces.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/namespaces.js +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/namespaces.mjs +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts +3 -171
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.d.ts +5 -21
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/content.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts +3 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js +9 -3
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs +3 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +33 -126
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js +11 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs +11 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +69 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +54 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +26 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +41 -823
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.js +2 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.js.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.mjs +2 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.mjs.map +1 -1
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts +58 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.d.ts.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js +61 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.js.map +1 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs +33 -0
- package/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.mjs.map +1 -0
- package/resources/zero-trust/access/access.d.ts +608 -16
- package/resources/zero-trust/access/access.d.ts.map +1 -1
- package/resources/zero-trust/access/access.js +7 -7
- package/resources/zero-trust/access/access.js.map +1 -1
- package/resources/zero-trust/access/access.mjs +7 -7
- package/resources/zero-trust/access/access.mjs.map +1 -1
- package/resources/zero-trust/access/applications/applications.d.ts +516 -630
- package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/applications.js +7 -7
- package/resources/zero-trust/access/applications/applications.js.map +1 -1
- package/resources/zero-trust/access/applications/applications.mjs +5 -5
- package/resources/zero-trust/access/applications/applications.mjs.map +1 -1
- package/resources/zero-trust/access/applications/cas.d.ts +8 -8
- package/resources/zero-trust/access/applications/cas.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/cas.js +5 -5
- package/resources/zero-trust/access/applications/cas.js.map +1 -1
- package/resources/zero-trust/access/applications/cas.mjs +3 -3
- package/resources/zero-trust/access/applications/cas.mjs.map +1 -1
- package/resources/zero-trust/access/applications/index.d.ts +4 -4
- package/resources/zero-trust/access/applications/index.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/index.js +8 -8
- package/resources/zero-trust/access/applications/index.js.map +1 -1
- package/resources/zero-trust/access/applications/index.mjs +3 -3
- package/resources/zero-trust/access/applications/index.mjs.map +1 -1
- package/resources/zero-trust/access/applications/policies.d.ts +58 -2545
- package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/policies.js +5 -5
- package/resources/zero-trust/access/applications/policies.js.map +1 -1
- package/resources/zero-trust/access/applications/policies.mjs +3 -3
- package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
- package/resources/zero-trust/access/applications/user-policy-checks.d.ts +8 -8
- package/resources/zero-trust/access/applications/user-policy-checks.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/user-policy-checks.js.map +1 -1
- package/resources/zero-trust/access/applications/user-policy-checks.mjs.map +1 -1
- package/resources/zero-trust/access/bookmarks.d.ts +12 -8
- package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
- package/resources/zero-trust/access/bookmarks.js +15 -9
- package/resources/zero-trust/access/bookmarks.js.map +1 -1
- package/resources/zero-trust/access/bookmarks.mjs +13 -7
- package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.d.ts +23 -14
- package/resources/zero-trust/access/certificates/certificates.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.js +5 -5
- package/resources/zero-trust/access/certificates/certificates.js.map +1 -1
- package/resources/zero-trust/access/certificates/certificates.mjs +3 -3
- package/resources/zero-trust/access/certificates/certificates.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/index.d.ts +2 -2
- package/resources/zero-trust/access/certificates/index.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/index.js +2 -2
- package/resources/zero-trust/access/certificates/index.js.map +1 -1
- package/resources/zero-trust/access/certificates/index.mjs +1 -1
- package/resources/zero-trust/access/certificates/index.mjs.map +1 -1
- package/resources/zero-trust/access/certificates/settings.d.ts +22 -5
- package/resources/zero-trust/access/certificates/settings.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/settings.js.map +1 -1
- package/resources/zero-trust/access/certificates/settings.mjs.map +1 -1
- package/resources/zero-trust/access/custom-pages.d.ts +10 -10
- package/resources/zero-trust/access/custom-pages.d.ts.map +1 -1
- package/resources/zero-trust/access/custom-pages.js +5 -5
- package/resources/zero-trust/access/custom-pages.js.map +1 -1
- package/resources/zero-trust/access/custom-pages.mjs +3 -3
- package/resources/zero-trust/access/custom-pages.mjs.map +1 -1
- package/resources/zero-trust/access/groups.d.ts +20 -2765
- package/resources/zero-trust/access/groups.d.ts.map +1 -1
- package/resources/zero-trust/access/groups.js.map +1 -1
- package/resources/zero-trust/access/groups.mjs.map +1 -1
- package/resources/zero-trust/access/index.d.ts +9 -9
- package/resources/zero-trust/access/index.d.ts.map +1 -1
- package/resources/zero-trust/access/index.js +19 -19
- package/resources/zero-trust/access/index.js.map +1 -1
- package/resources/zero-trust/access/index.mjs +8 -8
- package/resources/zero-trust/access/index.mjs.map +1 -1
- package/resources/zero-trust/access/logs/access-requests.d.ts +3 -3
- package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/access-requests.js +25 -0
- package/resources/zero-trust/access/logs/access-requests.js.map +1 -1
- package/resources/zero-trust/access/logs/access-requests.mjs +2 -0
- package/resources/zero-trust/access/logs/access-requests.mjs.map +1 -1
- package/resources/zero-trust/access/logs/index.d.ts +1 -1
- package/resources/zero-trust/access/logs/index.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/index.js +3 -3
- package/resources/zero-trust/access/logs/index.js.map +1 -1
- package/resources/zero-trust/access/logs/index.mjs +1 -1
- package/resources/zero-trust/access/logs/index.mjs.map +1 -1
- package/resources/zero-trust/access/logs/logs.d.ts +0 -1
- package/resources/zero-trust/access/logs/logs.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/logs.js.map +1 -1
- package/resources/zero-trust/access/logs/logs.mjs.map +1 -1
- package/resources/zero-trust/access/service-tokens.d.ts +10 -10
- package/resources/zero-trust/access/service-tokens.d.ts.map +1 -1
- package/resources/zero-trust/access/service-tokens.js +5 -5
- package/resources/zero-trust/access/service-tokens.js.map +1 -1
- package/resources/zero-trust/access/service-tokens.mjs +3 -3
- package/resources/zero-trust/access/service-tokens.mjs.map +1 -1
- package/resources/zero-trust/access/tags.d.ts +8 -8
- package/resources/zero-trust/access/tags.d.ts.map +1 -1
- package/resources/zero-trust/access/tags.js +5 -5
- package/resources/zero-trust/access/tags.js.map +1 -1
- package/resources/zero-trust/access/tags.mjs +3 -3
- package/resources/zero-trust/access/tags.mjs.map +1 -1
- package/resources/zero-trust/access/users/active-sessions.d.ts +4 -6
- package/resources/zero-trust/access/users/active-sessions.d.ts.map +1 -1
- package/resources/zero-trust/access/users/active-sessions.js.map +1 -1
- package/resources/zero-trust/access/users/active-sessions.mjs.map +1 -1
- package/resources/zero-trust/access/users/index.d.ts +2 -2
- package/resources/zero-trust/access/users/index.d.ts.map +1 -1
- package/resources/zero-trust/access/users/index.js +4 -4
- package/resources/zero-trust/access/users/index.js.map +1 -1
- package/resources/zero-trust/access/users/index.mjs +1 -1
- package/resources/zero-trust/access/users/index.mjs.map +1 -1
- package/resources/zero-trust/access/users/last-seen-identity.d.ts +11 -13
- package/resources/zero-trust/access/users/last-seen-identity.d.ts.map +1 -1
- package/resources/zero-trust/access/users/last-seen-identity.js.map +1 -1
- package/resources/zero-trust/access/users/last-seen-identity.mjs.map +1 -1
- package/resources/zero-trust/access/users/users.d.ts +6 -6
- package/resources/zero-trust/access/users/users.d.ts.map +1 -1
- package/resources/zero-trust/access/users/users.js +5 -5
- package/resources/zero-trust/access/users/users.js.map +1 -1
- package/resources/zero-trust/access/users/users.mjs +3 -3
- package/resources/zero-trust/access/users/users.mjs.map +1 -1
- package/resources/zero-trust/devices/devices.d.ts +36 -17
- package/resources/zero-trust/devices/devices.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices.js +8 -8
- package/resources/zero-trust/devices/devices.js.map +1 -1
- package/resources/zero-trust/devices/devices.mjs +6 -6
- package/resources/zero-trust/devices/devices.mjs.map +1 -1
- package/resources/zero-trust/devices/dex-tests.d.ts +133 -42
- package/resources/zero-trust/devices/dex-tests.d.ts.map +1 -1
- package/resources/zero-trust/devices/dex-tests.js +5 -5
- package/resources/zero-trust/devices/dex-tests.js.map +1 -1
- package/resources/zero-trust/devices/dex-tests.mjs +3 -3
- package/resources/zero-trust/devices/dex-tests.mjs.map +1 -1
- package/resources/zero-trust/devices/index.d.ts +6 -6
- package/resources/zero-trust/devices/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/index.js +14 -14
- package/resources/zero-trust/devices/index.js.map +1 -1
- package/resources/zero-trust/devices/index.mjs +5 -5
- package/resources/zero-trust/devices/index.mjs.map +1 -1
- package/resources/zero-trust/devices/networks.d.ts +11 -11
- package/resources/zero-trust/devices/networks.d.ts.map +1 -1
- package/resources/zero-trust/devices/networks.js +5 -5
- package/resources/zero-trust/devices/networks.js.map +1 -1
- package/resources/zero-trust/devices/networks.mjs +3 -3
- package/resources/zero-trust/devices/networks.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/excludes.d.ts +24 -8
- package/resources/zero-trust/devices/policies/excludes.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/excludes.js +5 -5
- package/resources/zero-trust/devices/policies/excludes.js.map +1 -1
- package/resources/zero-trust/devices/policies/excludes.mjs +3 -3
- package/resources/zero-trust/devices/policies/excludes.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/fallback-domains.d.ts +24 -8
- package/resources/zero-trust/devices/policies/fallback-domains.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/fallback-domains.js +5 -5
- package/resources/zero-trust/devices/policies/fallback-domains.js.map +1 -1
- package/resources/zero-trust/devices/policies/fallback-domains.mjs +3 -3
- package/resources/zero-trust/devices/policies/fallback-domains.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/includes.d.ts +24 -8
- package/resources/zero-trust/devices/policies/includes.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/includes.js +5 -5
- package/resources/zero-trust/devices/policies/includes.js.map +1 -1
- package/resources/zero-trust/devices/policies/includes.mjs +3 -3
- package/resources/zero-trust/devices/policies/includes.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/index.d.ts +4 -4
- package/resources/zero-trust/devices/policies/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/index.js +7 -7
- package/resources/zero-trust/devices/policies/index.js.map +1 -1
- package/resources/zero-trust/devices/policies/index.mjs +4 -4
- package/resources/zero-trust/devices/policies/index.mjs.map +1 -1
- package/resources/zero-trust/devices/policies/policies.d.ts +32 -20
- package/resources/zero-trust/devices/policies/policies.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/policies.js +8 -8
- package/resources/zero-trust/devices/policies/policies.js.map +1 -1
- package/resources/zero-trust/devices/policies/policies.mjs +6 -6
- package/resources/zero-trust/devices/policies/policies.mjs.map +1 -1
- package/resources/zero-trust/devices/posture/index.d.ts +2 -2
- package/resources/zero-trust/devices/posture/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/index.js +4 -4
- package/resources/zero-trust/devices/posture/index.js.map +1 -1
- package/resources/zero-trust/devices/posture/index.mjs +1 -1
- package/resources/zero-trust/devices/posture/index.mjs.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.d.ts +12 -12
- package/resources/zero-trust/devices/posture/integrations.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.js +5 -5
- package/resources/zero-trust/devices/posture/integrations.js.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.mjs +3 -3
- package/resources/zero-trust/devices/posture/integrations.mjs.map +1 -1
- package/resources/zero-trust/devices/posture/posture.d.ts +569 -824
- package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/posture.js +1 -1
- package/resources/zero-trust/devices/posture/posture.js.map +1 -1
- package/resources/zero-trust/devices/posture/posture.mjs +1 -1
- package/resources/zero-trust/devices/posture/posture.mjs.map +1 -1
- package/resources/zero-trust/devices/revoke.d.ts +2 -2
- package/resources/zero-trust/devices/revoke.d.ts.map +1 -1
- package/resources/zero-trust/devices/revoke.js.map +1 -1
- package/resources/zero-trust/devices/revoke.mjs.map +1 -1
- package/resources/zero-trust/devices/settings.d.ts +4 -4
- package/resources/zero-trust/devices/settings.d.ts.map +1 -1
- package/resources/zero-trust/devices/settings.js.map +1 -1
- package/resources/zero-trust/devices/settings.mjs.map +1 -1
- package/resources/zero-trust/devices/unrevoke.d.ts +2 -2
- package/resources/zero-trust/devices/unrevoke.d.ts.map +1 -1
- package/resources/zero-trust/dex/dex.d.ts +97 -5
- package/resources/zero-trust/dex/dex.d.ts.map +1 -1
- package/resources/zero-trust/dex/dex.js.map +1 -1
- package/resources/zero-trust/dex/dex.mjs.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.d.ts +5 -5
- package/resources/zero-trust/dex/fleet-status/devices.d.ts.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.js +5 -5
- package/resources/zero-trust/dex/fleet-status/devices.js.map +1 -1
- package/resources/zero-trust/dex/fleet-status/devices.mjs +3 -3
- package/resources/zero-trust/dex/fleet-status/devices.mjs.map +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.d.ts +15 -44
- package/resources/zero-trust/dex/fleet-status/fleet-status.d.ts.map +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.js +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.js.map +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.mjs +1 -1
- package/resources/zero-trust/dex/fleet-status/fleet-status.mjs.map +1 -1
- package/resources/zero-trust/dex/fleet-status/index.d.ts +2 -2
- package/resources/zero-trust/dex/fleet-status/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/fleet-status/index.js +2 -2
- package/resources/zero-trust/dex/fleet-status/index.js.map +1 -1
- package/resources/zero-trust/dex/fleet-status/index.mjs +1 -1
- package/resources/zero-trust/dex/fleet-status/index.mjs.map +1 -1
- package/resources/zero-trust/dex/http-tests/http-tests.d.ts +25 -103
- package/resources/zero-trust/dex/http-tests/http-tests.d.ts.map +1 -1
- package/resources/zero-trust/dex/http-tests/http-tests.js.map +1 -1
- package/resources/zero-trust/dex/http-tests/http-tests.mjs.map +1 -1
- package/resources/zero-trust/dex/http-tests/index.d.ts +2 -2
- package/resources/zero-trust/dex/http-tests/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/http-tests/index.js.map +1 -1
- package/resources/zero-trust/dex/http-tests/index.mjs +1 -1
- package/resources/zero-trust/dex/http-tests/index.mjs.map +1 -1
- package/resources/zero-trust/dex/http-tests/percentiles.d.ts +27 -60
- package/resources/zero-trust/dex/http-tests/percentiles.d.ts.map +1 -1
- package/resources/zero-trust/dex/http-tests/percentiles.js.map +1 -1
- package/resources/zero-trust/dex/http-tests/percentiles.mjs.map +1 -1
- package/resources/zero-trust/dex/index.d.ts +5 -5
- package/resources/zero-trust/dex/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/index.js +8 -8
- package/resources/zero-trust/dex/index.js.map +1 -1
- package/resources/zero-trust/dex/index.mjs +2 -2
- package/resources/zero-trust/dex/index.mjs.map +1 -1
- package/resources/zero-trust/dex/tests/index.d.ts +2 -2
- package/resources/zero-trust/dex/tests/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/tests/index.js +2 -2
- package/resources/zero-trust/dex/tests/index.js.map +1 -1
- package/resources/zero-trust/dex/tests/index.mjs +2 -2
- package/resources/zero-trust/dex/tests/index.mjs.map +1 -1
- package/resources/zero-trust/dex/tests/tests.d.ts +29 -65
- package/resources/zero-trust/dex/tests/tests.d.ts.map +1 -1
- package/resources/zero-trust/dex/tests/tests.js +1 -0
- package/resources/zero-trust/dex/tests/tests.js.map +1 -1
- package/resources/zero-trust/dex/tests/tests.mjs +1 -0
- package/resources/zero-trust/dex/tests/tests.mjs.map +1 -1
- package/resources/zero-trust/dex/tests/unique-devices.d.ts +3 -3
- package/resources/zero-trust/dex/tests/unique-devices.d.ts.map +1 -1
- package/resources/zero-trust/dex/tests/unique-devices.js +25 -0
- package/resources/zero-trust/dex/tests/unique-devices.js.map +1 -1
- package/resources/zero-trust/dex/tests/unique-devices.mjs +2 -0
- package/resources/zero-trust/dex/tests/unique-devices.mjs.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.d.ts +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.d.ts.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.js.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.mjs +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/index.mjs.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/network-path.d.ts +5 -5
- package/resources/zero-trust/dex/traceroute-test-results/network-path.d.ts.map +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/traceroute-test-results.d.ts +1 -1
- package/resources/zero-trust/dex/traceroute-test-results/traceroute-test-results.d.ts.map +1 -1
- package/resources/zero-trust/dex/traceroute-tests.d.ts +21 -221
- package/resources/zero-trust/dex/traceroute-tests.d.ts.map +1 -1
- package/resources/zero-trust/dex/traceroute-tests.js.map +1 -1
- package/resources/zero-trust/dex/traceroute-tests.mjs.map +1 -1
- package/resources/zero-trust/dlp/datasets/datasets.d.ts +16 -16
- package/resources/zero-trust/dlp/datasets/datasets.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/datasets.js +5 -5
- package/resources/zero-trust/dlp/datasets/datasets.js.map +1 -1
- package/resources/zero-trust/dlp/datasets/datasets.mjs +3 -3
- package/resources/zero-trust/dlp/datasets/datasets.mjs.map +1 -1
- package/resources/zero-trust/dlp/datasets/index.d.ts +2 -2
- package/resources/zero-trust/dlp/datasets/index.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/index.js +2 -2
- package/resources/zero-trust/dlp/datasets/index.js.map +1 -1
- package/resources/zero-trust/dlp/datasets/index.mjs +1 -1
- package/resources/zero-trust/dlp/datasets/index.mjs.map +1 -1
- package/resources/zero-trust/dlp/datasets/upload.d.ts +11 -4
- package/resources/zero-trust/dlp/datasets/upload.d.ts.map +1 -1
- package/resources/zero-trust/dlp/datasets/upload.js +5 -2
- package/resources/zero-trust/dlp/datasets/upload.js.map +1 -1
- package/resources/zero-trust/dlp/datasets/upload.mjs +5 -2
- package/resources/zero-trust/dlp/datasets/upload.mjs.map +1 -1
- package/resources/zero-trust/dlp/dlp.d.ts +8 -7
- package/resources/zero-trust/dlp/dlp.d.ts.map +1 -1
- package/resources/zero-trust/dlp/dlp.js +2 -2
- package/resources/zero-trust/dlp/dlp.js.map +1 -1
- package/resources/zero-trust/dlp/dlp.mjs +2 -2
- package/resources/zero-trust/dlp/dlp.mjs.map +1 -1
- package/resources/zero-trust/dlp/index.d.ts +3 -3
- package/resources/zero-trust/dlp/index.d.ts.map +1 -1
- package/resources/zero-trust/dlp/index.js +7 -7
- package/resources/zero-trust/dlp/index.js.map +1 -1
- package/resources/zero-trust/dlp/index.mjs +2 -2
- package/resources/zero-trust/dlp/index.mjs.map +1 -1
- package/resources/zero-trust/dlp/patterns.d.ts +2 -5
- package/resources/zero-trust/dlp/patterns.d.ts.map +1 -1
- package/resources/zero-trust/dlp/patterns.js.map +1 -1
- package/resources/zero-trust/dlp/patterns.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.d.ts +43 -139
- package/resources/zero-trust/dlp/profiles/custom.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/custom.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/index.d.ts +3 -3
- package/resources/zero-trust/dlp/profiles/index.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/index.js +4 -4
- package/resources/zero-trust/dlp/profiles/index.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/index.mjs +1 -1
- package/resources/zero-trust/dlp/profiles/index.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.d.ts +9 -60
- package/resources/zero-trust/dlp/profiles/predefined.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/predefined.mjs.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.d.ts +60 -9
- package/resources/zero-trust/dlp/profiles/profiles.d.ts.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.js +5 -5
- package/resources/zero-trust/dlp/profiles/profiles.js.map +1 -1
- package/resources/zero-trust/dlp/profiles/profiles.mjs +3 -3
- package/resources/zero-trust/dlp/profiles/profiles.mjs.map +1 -1
- package/resources/zero-trust/gateway/app-types.d.ts +6 -6
- package/resources/zero-trust/gateway/app-types.d.ts.map +1 -1
- package/resources/zero-trust/gateway/app-types.js +5 -5
- package/resources/zero-trust/gateway/app-types.js.map +1 -1
- package/resources/zero-trust/gateway/app-types.mjs +3 -3
- package/resources/zero-trust/gateway/app-types.mjs.map +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +4 -4
- package/resources/zero-trust/gateway/audit-ssh-settings.d.ts.map +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.js.map +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.mjs.map +1 -1
- package/resources/zero-trust/gateway/categories.d.ts +7 -7
- package/resources/zero-trust/gateway/categories.d.ts.map +1 -1
- package/resources/zero-trust/gateway/categories.js +5 -5
- package/resources/zero-trust/gateway/categories.js.map +1 -1
- package/resources/zero-trust/gateway/categories.mjs +3 -3
- package/resources/zero-trust/gateway/categories.mjs.map +1 -1
- package/resources/zero-trust/gateway/configurations.d.ts +436 -1088
- package/resources/zero-trust/gateway/configurations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/configurations.js.map +1 -1
- package/resources/zero-trust/gateway/configurations.mjs.map +1 -1
- package/resources/zero-trust/gateway/gateway.d.ts +34 -14
- package/resources/zero-trust/gateway/gateway.d.ts.map +1 -1
- package/resources/zero-trust/gateway/gateway.js +6 -6
- package/resources/zero-trust/gateway/gateway.js.map +1 -1
- package/resources/zero-trust/gateway/gateway.mjs +6 -6
- package/resources/zero-trust/gateway/gateway.mjs.map +1 -1
- package/resources/zero-trust/gateway/index.d.ts +9 -9
- package/resources/zero-trust/gateway/index.d.ts.map +1 -1
- package/resources/zero-trust/gateway/index.js +17 -17
- package/resources/zero-trust/gateway/index.js.map +1 -1
- package/resources/zero-trust/gateway/index.mjs +7 -7
- package/resources/zero-trust/gateway/index.mjs.map +1 -1
- package/resources/zero-trust/gateway/lists/index.d.ts +1 -1
- package/resources/zero-trust/gateway/lists/index.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/index.js +4 -4
- package/resources/zero-trust/gateway/lists/index.js.map +1 -1
- package/resources/zero-trust/gateway/lists/index.mjs +1 -1
- package/resources/zero-trust/gateway/lists/index.mjs.map +1 -1
- package/resources/zero-trust/gateway/lists/items.d.ts +2 -10
- package/resources/zero-trust/gateway/lists/items.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/items.js.map +1 -1
- package/resources/zero-trust/gateway/lists/items.mjs.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.d.ts +26 -37
- package/resources/zero-trust/gateway/lists/lists.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.js +5 -5
- package/resources/zero-trust/gateway/lists/lists.js.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.mjs +3 -3
- package/resources/zero-trust/gateway/lists/lists.mjs.map +1 -1
- package/resources/zero-trust/gateway/locations.d.ts +24 -35
- package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/locations.js +5 -5
- package/resources/zero-trust/gateway/locations.js.map +1 -1
- package/resources/zero-trust/gateway/locations.mjs +3 -3
- package/resources/zero-trust/gateway/locations.mjs.map +1 -1
- package/resources/zero-trust/gateway/logging.d.ts +6 -6
- package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
- package/resources/zero-trust/gateway/logging.js.map +1 -1
- package/resources/zero-trust/gateway/logging.mjs.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts +23 -20
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.js +5 -5
- package/resources/zero-trust/gateway/proxy-endpoints.js.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.mjs +3 -3
- package/resources/zero-trust/gateway/proxy-endpoints.mjs.map +1 -1
- package/resources/zero-trust/gateway/rules.d.ts +606 -922
- package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
- package/resources/zero-trust/gateway/rules.js +5 -5
- package/resources/zero-trust/gateway/rules.js.map +1 -1
- package/resources/zero-trust/gateway/rules.mjs +3 -3
- package/resources/zero-trust/gateway/rules.mjs.map +1 -1
- package/resources/zero-trust/identity-providers.d.ts +340 -2406
- package/resources/zero-trust/identity-providers.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers.js.map +1 -1
- package/resources/zero-trust/identity-providers.mjs.map +1 -1
- package/resources/zero-trust/index.d.ts +8 -7
- package/resources/zero-trust/index.d.ts.map +1 -1
- package/resources/zero-trust/index.js +20 -18
- package/resources/zero-trust/index.js.map +1 -1
- package/resources/zero-trust/index.mjs +8 -7
- package/resources/zero-trust/index.mjs.map +1 -1
- package/resources/zero-trust/networks/index.d.ts +2 -2
- package/resources/zero-trust/networks/index.d.ts.map +1 -1
- package/resources/zero-trust/networks/index.js +5 -5
- package/resources/zero-trust/networks/index.js.map +1 -1
- package/resources/zero-trust/networks/index.mjs +2 -2
- package/resources/zero-trust/networks/index.mjs.map +1 -1
- package/resources/zero-trust/networks/networks.d.ts +6 -5
- package/resources/zero-trust/networks/networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/networks.js +2 -2
- package/resources/zero-trust/networks/networks.js.map +1 -1
- package/resources/zero-trust/networks/networks.mjs +2 -2
- package/resources/zero-trust/networks/networks.mjs.map +1 -1
- package/resources/zero-trust/networks/routes/index.d.ts +1 -1
- package/resources/zero-trust/networks/routes/index.d.ts.map +1 -1
- package/resources/zero-trust/networks/routes/index.js +2 -2
- package/resources/zero-trust/networks/routes/index.js.map +1 -1
- package/resources/zero-trust/networks/routes/index.mjs +1 -1
- package/resources/zero-trust/networks/routes/index.mjs.map +1 -1
- package/resources/zero-trust/networks/routes/ips.d.ts +3 -5
- package/resources/zero-trust/networks/routes/ips.d.ts.map +1 -1
- package/resources/zero-trust/networks/routes/ips.js.map +1 -1
- package/resources/zero-trust/networks/routes/ips.mjs.map +1 -1
- package/resources/zero-trust/networks/routes/networks.d.ts +13 -7
- package/resources/zero-trust/networks/routes/networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/routes/networks.js +2 -2
- package/resources/zero-trust/networks/routes/networks.js.map +1 -1
- package/resources/zero-trust/networks/routes/networks.mjs +2 -2
- package/resources/zero-trust/networks/routes/networks.mjs.map +1 -1
- package/resources/zero-trust/networks/routes/routes.d.ts +78 -60
- package/resources/zero-trust/networks/routes/routes.d.ts.map +1 -1
- package/resources/zero-trust/networks/routes/routes.js +8 -5
- package/resources/zero-trust/networks/routes/routes.js.map +1 -1
- package/resources/zero-trust/networks/routes/routes.mjs +6 -3
- package/resources/zero-trust/networks/routes/routes.mjs.map +1 -1
- package/resources/zero-trust/networks/virtual-networks.d.ts +16 -16
- package/resources/zero-trust/networks/virtual-networks.d.ts.map +1 -1
- package/resources/zero-trust/networks/virtual-networks.js +5 -5
- package/resources/zero-trust/networks/virtual-networks.js.map +1 -1
- package/resources/zero-trust/networks/virtual-networks.mjs +3 -3
- package/resources/zero-trust/networks/virtual-networks.mjs.map +1 -1
- package/resources/zero-trust/organizations.d.ts +56 -79
- package/resources/zero-trust/organizations.d.ts.map +1 -1
- package/resources/zero-trust/organizations.js.map +1 -1
- package/resources/zero-trust/organizations.mjs.map +1 -1
- package/resources/zero-trust/risk-scoring/behaviours.d.ts +50 -0
- package/resources/zero-trust/risk-scoring/behaviours.d.ts.map +1 -0
- package/resources/zero-trust/risk-scoring/behaviours.js +26 -0
- package/resources/zero-trust/risk-scoring/behaviours.js.map +1 -0
- package/resources/zero-trust/risk-scoring/behaviours.mjs +22 -0
- package/resources/zero-trust/risk-scoring/behaviours.mjs.map +1 -0
- package/resources/zero-trust/risk-scoring/index.d.ts +4 -0
- package/resources/zero-trust/risk-scoring/index.d.ts.map +1 -0
- package/resources/zero-trust/risk-scoring/index.js +11 -0
- package/resources/zero-trust/risk-scoring/index.js.map +1 -0
- package/resources/zero-trust/risk-scoring/index.mjs +5 -0
- package/resources/zero-trust/risk-scoring/index.mjs.map +1 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.d.ts +54 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.d.ts.map +1 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.js +59 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.js.map +1 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.mjs +32 -0
- package/resources/zero-trust/risk-scoring/risk-scoring.mjs.map +1 -0
- package/resources/zero-trust/risk-scoring/summary.d.ts +37 -0
- package/resources/zero-trust/risk-scoring/summary.d.ts.map +1 -0
- package/resources/zero-trust/risk-scoring/summary.js +21 -0
- package/resources/zero-trust/risk-scoring/summary.js.map +1 -0
- package/resources/zero-trust/risk-scoring/summary.mjs +17 -0
- package/resources/zero-trust/risk-scoring/summary.mjs.map +1 -0
- package/resources/zero-trust/seats.d.ts +3 -3
- package/resources/zero-trust/seats.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/configurations.d.ts +10 -6
- package/resources/zero-trust/tunnels/configurations.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/configurations.js.map +1 -1
- package/resources/zero-trust/tunnels/configurations.mjs.map +1 -1
- package/resources/zero-trust/tunnels/connections.d.ts +8 -12
- package/resources/zero-trust/tunnels/connections.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/connections.js +2 -5
- package/resources/zero-trust/tunnels/connections.js.map +1 -1
- package/resources/zero-trust/tunnels/connections.mjs +2 -5
- package/resources/zero-trust/tunnels/connections.mjs.map +1 -1
- package/resources/zero-trust/tunnels/connectors.d.ts +1 -1
- package/resources/zero-trust/tunnels/connectors.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/index.d.ts +2 -2
- package/resources/zero-trust/tunnels/index.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/index.js +6 -6
- package/resources/zero-trust/tunnels/index.js.map +1 -1
- package/resources/zero-trust/tunnels/index.mjs +2 -2
- package/resources/zero-trust/tunnels/index.mjs.map +1 -1
- package/resources/zero-trust/tunnels/tunnels.d.ts +106 -256
- package/resources/zero-trust/tunnels/tunnels.d.ts.map +1 -1
- package/resources/zero-trust/tunnels/tunnels.js +2 -5
- package/resources/zero-trust/tunnels/tunnels.js.map +1 -1
- package/resources/zero-trust/tunnels/tunnels.mjs +2 -5
- package/resources/zero-trust/tunnels/tunnels.mjs.map +1 -1
- package/resources/zero-trust/zero-trust.d.ts +44 -6
- package/resources/zero-trust/zero-trust.d.ts.map +1 -1
- package/resources/zero-trust/zero-trust.js +4 -1
- package/resources/zero-trust/zero-trust.js.map +1 -1
- package/resources/zero-trust/zero-trust.mjs +4 -1
- package/resources/zero-trust/zero-trust.mjs.map +1 -1
- package/resources/zones/custom-nameservers.d.ts +2 -2
- package/resources/zones/custom-nameservers.d.ts.map +1 -1
- package/resources/zones/dns-settings.d.ts +45 -36
- package/resources/zones/dns-settings.d.ts.map +1 -1
- package/resources/zones/dns-settings.js.map +1 -1
- package/resources/zones/dns-settings.mjs.map +1 -1
- package/resources/zones/holds.d.ts +5 -17
- package/resources/zones/holds.d.ts.map +1 -1
- package/resources/zones/holds.js.map +1 -1
- package/resources/zones/holds.mjs.map +1 -1
- package/resources/zones/index.d.ts +5 -6
- package/resources/zones/index.d.ts.map +1 -1
- package/resources/zones/index.js +3 -7
- package/resources/zones/index.js.map +1 -1
- package/resources/zones/index.mjs +4 -5
- package/resources/zones/index.mjs.map +1 -1
- package/resources/zones/settings/advanced-ddos.d.ts +3 -3
- package/resources/zones/settings/advanced-ddos.d.ts.map +1 -1
- package/resources/zones/settings/advanced-ddos.js +25 -0
- package/resources/zones/settings/advanced-ddos.js.map +1 -1
- package/resources/zones/settings/advanced-ddos.mjs +2 -0
- package/resources/zones/settings/advanced-ddos.mjs.map +1 -1
- package/resources/zones/settings/always-online.d.ts +6 -6
- package/resources/zones/settings/always-online.d.ts.map +1 -1
- package/resources/zones/settings/always-online.js +5 -5
- package/resources/zones/settings/always-online.js.map +1 -1
- package/resources/zones/settings/always-online.mjs +3 -3
- package/resources/zones/settings/always-online.mjs.map +1 -1
- package/resources/zones/settings/always-use-https.d.ts +4 -4
- package/resources/zones/settings/always-use-https.d.ts.map +1 -1
- package/resources/zones/settings/always-use-https.js +25 -0
- package/resources/zones/settings/always-use-https.js.map +1 -1
- package/resources/zones/settings/always-use-https.mjs +2 -0
- package/resources/zones/settings/always-use-https.mjs.map +1 -1
- package/resources/zones/settings/automatic-https-rewrites.d.ts +4 -4
- package/resources/zones/settings/automatic-https-rewrites.d.ts.map +1 -1
- package/resources/zones/settings/automatic-https-rewrites.js +25 -0
- package/resources/zones/settings/automatic-https-rewrites.js.map +1 -1
- package/resources/zones/settings/automatic-https-rewrites.mjs +2 -0
- package/resources/zones/settings/automatic-https-rewrites.mjs.map +1 -1
- package/resources/zones/settings/automatic-platform-optimization.d.ts +38 -7
- package/resources/zones/settings/automatic-platform-optimization.d.ts.map +1 -1
- package/resources/zones/settings/automatic-platform-optimization.js +5 -5
- package/resources/zones/settings/automatic-platform-optimization.js.map +1 -1
- package/resources/zones/settings/automatic-platform-optimization.mjs +3 -3
- package/resources/zones/settings/automatic-platform-optimization.mjs.map +1 -1
- package/resources/zones/settings/brotli.d.ts +6 -6
- package/resources/zones/settings/brotli.d.ts.map +1 -1
- package/resources/zones/settings/brotli.js +5 -5
- package/resources/zones/settings/brotli.js.map +1 -1
- package/resources/zones/settings/brotli.mjs +3 -3
- package/resources/zones/settings/brotli.mjs.map +1 -1
- package/resources/zones/settings/browser-cache-ttl.d.ts +6 -6
- package/resources/zones/settings/browser-cache-ttl.d.ts.map +1 -1
- package/resources/zones/settings/browser-cache-ttl.js +5 -5
- package/resources/zones/settings/browser-cache-ttl.js.map +1 -1
- package/resources/zones/settings/browser-cache-ttl.mjs +3 -3
- package/resources/zones/settings/browser-cache-ttl.mjs.map +1 -1
- package/resources/zones/settings/browser-check.d.ts +6 -6
- package/resources/zones/settings/browser-check.d.ts.map +1 -1
- package/resources/zones/settings/browser-check.js +5 -5
- package/resources/zones/settings/browser-check.js.map +1 -1
- package/resources/zones/settings/browser-check.mjs +3 -3
- package/resources/zones/settings/browser-check.mjs.map +1 -1
- package/resources/zones/settings/cache-level.d.ts +6 -6
- package/resources/zones/settings/cache-level.d.ts.map +1 -1
- package/resources/zones/settings/cache-level.js +5 -5
- package/resources/zones/settings/cache-level.js.map +1 -1
- package/resources/zones/settings/cache-level.mjs +3 -3
- package/resources/zones/settings/cache-level.mjs.map +1 -1
- package/resources/zones/settings/challenge-ttl.d.ts +6 -6
- package/resources/zones/settings/challenge-ttl.d.ts.map +1 -1
- package/resources/zones/settings/challenge-ttl.js +5 -5
- package/resources/zones/settings/challenge-ttl.js.map +1 -1
- package/resources/zones/settings/challenge-ttl.mjs +3 -3
- package/resources/zones/settings/challenge-ttl.mjs.map +1 -1
- package/resources/zones/settings/ciphers.d.ts +4 -4
- package/resources/zones/settings/ciphers.d.ts.map +1 -1
- package/resources/zones/settings/ciphers.js +25 -0
- package/resources/zones/settings/ciphers.js.map +1 -1
- package/resources/zones/settings/ciphers.mjs +2 -0
- package/resources/zones/settings/ciphers.mjs.map +1 -1
- package/resources/zones/settings/development-mode.d.ts +6 -6
- package/resources/zones/settings/development-mode.d.ts.map +1 -1
- package/resources/zones/settings/development-mode.js +5 -5
- package/resources/zones/settings/development-mode.js.map +1 -1
- package/resources/zones/settings/development-mode.mjs +3 -3
- package/resources/zones/settings/development-mode.mjs.map +1 -1
- package/resources/zones/settings/early-hints.d.ts +4 -4
- package/resources/zones/settings/early-hints.d.ts.map +1 -1
- package/resources/zones/settings/early-hints.js +25 -0
- package/resources/zones/settings/early-hints.js.map +1 -1
- package/resources/zones/settings/early-hints.mjs +2 -0
- package/resources/zones/settings/early-hints.mjs.map +1 -1
- package/resources/zones/settings/email-obfuscation.d.ts +6 -6
- package/resources/zones/settings/email-obfuscation.d.ts.map +1 -1
- package/resources/zones/settings/email-obfuscation.js +5 -5
- package/resources/zones/settings/email-obfuscation.js.map +1 -1
- package/resources/zones/settings/email-obfuscation.mjs +3 -3
- package/resources/zones/settings/email-obfuscation.mjs.map +1 -1
- package/resources/zones/settings/font-settings.d.ts +4 -4
- package/resources/zones/settings/font-settings.d.ts.map +1 -1
- package/resources/zones/settings/font-settings.js +25 -0
- package/resources/zones/settings/font-settings.js.map +1 -1
- package/resources/zones/settings/font-settings.mjs +2 -0
- package/resources/zones/settings/font-settings.mjs.map +1 -1
- package/resources/zones/settings/h2-prioritization.d.ts +22 -7
- package/resources/zones/settings/h2-prioritization.d.ts.map +1 -1
- package/resources/zones/settings/h2-prioritization.js +5 -5
- package/resources/zones/settings/h2-prioritization.js.map +1 -1
- package/resources/zones/settings/h2-prioritization.mjs +3 -3
- package/resources/zones/settings/h2-prioritization.mjs.map +1 -1
- package/resources/zones/settings/hotlink-protection.d.ts +6 -6
- package/resources/zones/settings/hotlink-protection.d.ts.map +1 -1
- package/resources/zones/settings/hotlink-protection.js +5 -5
- package/resources/zones/settings/hotlink-protection.js.map +1 -1
- package/resources/zones/settings/hotlink-protection.mjs +3 -3
- package/resources/zones/settings/hotlink-protection.mjs.map +1 -1
- package/resources/zones/settings/http2.d.ts +6 -6
- package/resources/zones/settings/http2.d.ts.map +1 -1
- package/resources/zones/settings/http2.js +5 -5
- package/resources/zones/settings/http2.js.map +1 -1
- package/resources/zones/settings/http2.mjs +3 -3
- package/resources/zones/settings/http2.mjs.map +1 -1
- package/resources/zones/settings/http3.d.ts +6 -6
- package/resources/zones/settings/http3.d.ts.map +1 -1
- package/resources/zones/settings/http3.js +5 -5
- package/resources/zones/settings/http3.js.map +1 -1
- package/resources/zones/settings/http3.mjs +3 -3
- package/resources/zones/settings/http3.mjs.map +1 -1
- package/resources/zones/settings/image-resizing.d.ts +23 -7
- package/resources/zones/settings/image-resizing.d.ts.map +1 -1
- package/resources/zones/settings/image-resizing.js +5 -5
- package/resources/zones/settings/image-resizing.js.map +1 -1
- package/resources/zones/settings/image-resizing.mjs +3 -3
- package/resources/zones/settings/image-resizing.mjs.map +1 -1
- package/resources/zones/settings/index.d.ts +52 -52
- package/resources/zones/settings/index.d.ts.map +1 -1
- package/resources/zones/settings/index.js +50 -50
- package/resources/zones/settings/index.js.map +1 -1
- package/resources/zones/settings/index.mjs +46 -46
- package/resources/zones/settings/index.mjs.map +1 -1
- package/resources/zones/settings/ip-geolocation.d.ts +6 -6
- package/resources/zones/settings/ip-geolocation.d.ts.map +1 -1
- package/resources/zones/settings/ip-geolocation.js +5 -5
- package/resources/zones/settings/ip-geolocation.js.map +1 -1
- package/resources/zones/settings/ip-geolocation.mjs +3 -3
- package/resources/zones/settings/ip-geolocation.mjs.map +1 -1
- package/resources/zones/settings/ipv6.d.ts +6 -6
- package/resources/zones/settings/ipv6.d.ts.map +1 -1
- package/resources/zones/settings/ipv6.js +5 -5
- package/resources/zones/settings/ipv6.js.map +1 -1
- package/resources/zones/settings/ipv6.mjs +3 -3
- package/resources/zones/settings/ipv6.mjs.map +1 -1
- package/resources/zones/settings/min-tls-version.d.ts +6 -6
- package/resources/zones/settings/min-tls-version.d.ts.map +1 -1
- package/resources/zones/settings/min-tls-version.js +5 -5
- package/resources/zones/settings/min-tls-version.js.map +1 -1
- package/resources/zones/settings/min-tls-version.mjs +3 -3
- package/resources/zones/settings/min-tls-version.mjs.map +1 -1
- package/resources/zones/settings/minify.d.ts +8 -8
- package/resources/zones/settings/minify.d.ts.map +1 -1
- package/resources/zones/settings/minify.js +5 -5
- package/resources/zones/settings/minify.js.map +1 -1
- package/resources/zones/settings/minify.mjs +3 -3
- package/resources/zones/settings/minify.mjs.map +1 -1
- package/resources/zones/settings/mirage.d.ts +6 -6
- package/resources/zones/settings/mirage.d.ts.map +1 -1
- package/resources/zones/settings/mirage.js +5 -5
- package/resources/zones/settings/mirage.js.map +1 -1
- package/resources/zones/settings/mirage.mjs +3 -3
- package/resources/zones/settings/mirage.mjs.map +1 -1
- package/resources/zones/settings/mobile-redirect.d.ts +8 -8
- package/resources/zones/settings/mobile-redirect.d.ts.map +1 -1
- package/resources/zones/settings/mobile-redirect.js +5 -5
- package/resources/zones/settings/mobile-redirect.js.map +1 -1
- package/resources/zones/settings/mobile-redirect.mjs +3 -3
- package/resources/zones/settings/mobile-redirect.mjs.map +1 -1
- package/resources/zones/settings/nel.d.ts +30 -9
- package/resources/zones/settings/nel.d.ts.map +1 -1
- package/resources/zones/settings/nel.js +5 -5
- package/resources/zones/settings/nel.js.map +1 -1
- package/resources/zones/settings/nel.mjs +3 -3
- package/resources/zones/settings/nel.mjs.map +1 -1
- package/resources/zones/settings/opportunistic-encryption.d.ts +6 -6
- package/resources/zones/settings/opportunistic-encryption.d.ts.map +1 -1
- package/resources/zones/settings/opportunistic-encryption.js +5 -5
- package/resources/zones/settings/opportunistic-encryption.js.map +1 -1
- package/resources/zones/settings/opportunistic-encryption.mjs +3 -3
- package/resources/zones/settings/opportunistic-encryption.mjs.map +1 -1
- package/resources/zones/settings/opportunistic-onion.d.ts +6 -6
- package/resources/zones/settings/opportunistic-onion.d.ts.map +1 -1
- package/resources/zones/settings/opportunistic-onion.js +5 -5
- package/resources/zones/settings/opportunistic-onion.js.map +1 -1
- package/resources/zones/settings/opportunistic-onion.mjs +3 -3
- package/resources/zones/settings/opportunistic-onion.mjs.map +1 -1
- package/resources/zones/settings/orange-to-orange.d.ts +21 -7
- package/resources/zones/settings/orange-to-orange.d.ts.map +1 -1
- package/resources/zones/settings/orange-to-orange.js +5 -5
- package/resources/zones/settings/orange-to-orange.js.map +1 -1
- package/resources/zones/settings/orange-to-orange.mjs +3 -3
- package/resources/zones/settings/orange-to-orange.mjs.map +1 -1
- package/resources/zones/settings/origin-error-page-pass-thru.d.ts +6 -6
- package/resources/zones/settings/origin-error-page-pass-thru.d.ts.map +1 -1
- package/resources/zones/settings/origin-error-page-pass-thru.js +5 -5
- package/resources/zones/settings/origin-error-page-pass-thru.js.map +1 -1
- package/resources/zones/settings/origin-error-page-pass-thru.mjs +3 -3
- package/resources/zones/settings/origin-error-page-pass-thru.mjs.map +1 -1
- package/resources/zones/settings/origin-max-http-version.d.ts +9 -4
- package/resources/zones/settings/origin-max-http-version.d.ts.map +1 -1
- package/resources/zones/settings/origin-max-http-version.js +5 -5
- package/resources/zones/settings/origin-max-http-version.js.map +1 -1
- package/resources/zones/settings/origin-max-http-version.mjs +3 -3
- package/resources/zones/settings/origin-max-http-version.mjs.map +1 -1
- package/resources/zones/settings/polish.d.ts +25 -7
- package/resources/zones/settings/polish.d.ts.map +1 -1
- package/resources/zones/settings/polish.js +5 -5
- package/resources/zones/settings/polish.js.map +1 -1
- package/resources/zones/settings/polish.mjs +3 -3
- package/resources/zones/settings/polish.mjs.map +1 -1
- package/resources/zones/settings/prefetch-preload.d.ts +6 -6
- package/resources/zones/settings/prefetch-preload.d.ts.map +1 -1
- package/resources/zones/settings/prefetch-preload.js +5 -5
- package/resources/zones/settings/prefetch-preload.js.map +1 -1
- package/resources/zones/settings/prefetch-preload.mjs +3 -3
- package/resources/zones/settings/prefetch-preload.mjs.map +1 -1
- package/resources/zones/settings/proxy-read-timeout.d.ts +20 -7
- package/resources/zones/settings/proxy-read-timeout.d.ts.map +1 -1
- package/resources/zones/settings/proxy-read-timeout.js +5 -5
- package/resources/zones/settings/proxy-read-timeout.js.map +1 -1
- package/resources/zones/settings/proxy-read-timeout.mjs +3 -3
- package/resources/zones/settings/proxy-read-timeout.mjs.map +1 -1
- package/resources/zones/settings/pseudo-ipv4.d.ts +6 -6
- package/resources/zones/settings/pseudo-ipv4.d.ts.map +1 -1
- package/resources/zones/settings/pseudo-ipv4.js +5 -5
- package/resources/zones/settings/pseudo-ipv4.js.map +1 -1
- package/resources/zones/settings/pseudo-ipv4.mjs +3 -3
- package/resources/zones/settings/pseudo-ipv4.mjs.map +1 -1
- package/resources/zones/settings/response-buffering.d.ts +6 -6
- package/resources/zones/settings/response-buffering.d.ts.map +1 -1
- package/resources/zones/settings/response-buffering.js +5 -5
- package/resources/zones/settings/response-buffering.js.map +1 -1
- package/resources/zones/settings/response-buffering.mjs +3 -3
- package/resources/zones/settings/response-buffering.mjs.map +1 -1
- package/resources/zones/settings/rocket-loader.d.ts +29 -7
- package/resources/zones/settings/rocket-loader.d.ts.map +1 -1
- package/resources/zones/settings/rocket-loader.js +5 -5
- package/resources/zones/settings/rocket-loader.js.map +1 -1
- package/resources/zones/settings/rocket-loader.mjs +3 -3
- package/resources/zones/settings/rocket-loader.mjs.map +1 -1
- package/resources/zones/settings/security-headers.d.ts +6 -6
- package/resources/zones/settings/security-headers.d.ts.map +1 -1
- package/resources/zones/settings/security-headers.js +25 -0
- package/resources/zones/settings/security-headers.js.map +1 -1
- package/resources/zones/settings/security-headers.mjs +2 -0
- package/resources/zones/settings/security-headers.mjs.map +1 -1
- package/resources/zones/settings/security-level.d.ts +6 -6
- package/resources/zones/settings/security-level.d.ts.map +1 -1
- package/resources/zones/settings/security-level.js +5 -5
- package/resources/zones/settings/security-level.js.map +1 -1
- package/resources/zones/settings/security-level.mjs +3 -3
- package/resources/zones/settings/security-level.mjs.map +1 -1
- package/resources/zones/settings/server-side-excludes.d.ts +4 -4
- package/resources/zones/settings/server-side-excludes.d.ts.map +1 -1
- package/resources/zones/settings/server-side-excludes.js +25 -0
- package/resources/zones/settings/server-side-excludes.js.map +1 -1
- package/resources/zones/settings/server-side-excludes.mjs +2 -0
- package/resources/zones/settings/server-side-excludes.mjs.map +1 -1
- package/resources/zones/settings/settings.d.ts +86 -482
- package/resources/zones/settings/settings.d.ts.map +1 -1
- package/resources/zones/settings/settings.js +86 -100
- package/resources/zones/settings/settings.js.map +1 -1
- package/resources/zones/settings/settings.mjs +86 -100
- package/resources/zones/settings/settings.mjs.map +1 -1
- package/resources/zones/settings/sort-query-string-for-cache.d.ts +6 -6
- package/resources/zones/settings/sort-query-string-for-cache.d.ts.map +1 -1
- package/resources/zones/settings/sort-query-string-for-cache.js +5 -5
- package/resources/zones/settings/sort-query-string-for-cache.js.map +1 -1
- package/resources/zones/settings/sort-query-string-for-cache.mjs +3 -3
- package/resources/zones/settings/sort-query-string-for-cache.mjs.map +1 -1
- package/resources/zones/settings/ssl-recommender.d.ts +22 -7
- package/resources/zones/settings/ssl-recommender.d.ts.map +1 -1
- package/resources/zones/settings/ssl-recommender.js +5 -5
- package/resources/zones/settings/ssl-recommender.js.map +1 -1
- package/resources/zones/settings/ssl-recommender.mjs +3 -3
- package/resources/zones/settings/ssl-recommender.mjs.map +1 -1
- package/resources/zones/settings/ssl.d.ts +6 -6
- package/resources/zones/settings/ssl.d.ts.map +1 -1
- package/resources/zones/settings/ssl.js +5 -5
- package/resources/zones/settings/ssl.js.map +1 -1
- package/resources/zones/settings/ssl.mjs +3 -3
- package/resources/zones/settings/ssl.mjs.map +1 -1
- package/resources/zones/settings/tls-1-3.d.ts +6 -6
- package/resources/zones/settings/tls-1-3.d.ts.map +1 -1
- package/resources/zones/settings/tls-1-3.js +5 -5
- package/resources/zones/settings/tls-1-3.js.map +1 -1
- package/resources/zones/settings/tls-1-3.mjs +3 -3
- package/resources/zones/settings/tls-1-3.mjs.map +1 -1
- package/resources/zones/settings/tls-client-auth.d.ts +6 -6
- package/resources/zones/settings/tls-client-auth.d.ts.map +1 -1
- package/resources/zones/settings/tls-client-auth.js +5 -5
- package/resources/zones/settings/tls-client-auth.js.map +1 -1
- package/resources/zones/settings/tls-client-auth.mjs +3 -3
- package/resources/zones/settings/tls-client-auth.mjs.map +1 -1
- package/resources/zones/settings/true-client-ip-header.d.ts +6 -6
- package/resources/zones/settings/true-client-ip-header.d.ts.map +1 -1
- package/resources/zones/settings/true-client-ip-header.js +5 -5
- package/resources/zones/settings/true-client-ip-header.js.map +1 -1
- package/resources/zones/settings/true-client-ip-header.mjs +3 -3
- package/resources/zones/settings/true-client-ip-header.mjs.map +1 -1
- package/resources/zones/settings/waf.d.ts +6 -6
- package/resources/zones/settings/waf.d.ts.map +1 -1
- package/resources/zones/settings/waf.js +5 -5
- package/resources/zones/settings/waf.js.map +1 -1
- package/resources/zones/settings/waf.mjs +3 -3
- package/resources/zones/settings/waf.mjs.map +1 -1
- package/resources/zones/settings/webp.d.ts +6 -6
- package/resources/zones/settings/webp.d.ts.map +1 -1
- package/resources/zones/settings/webp.js +5 -5
- package/resources/zones/settings/webp.js.map +1 -1
- package/resources/zones/settings/webp.mjs +3 -3
- package/resources/zones/settings/webp.mjs.map +1 -1
- package/resources/zones/settings/websocket.d.ts +6 -6
- package/resources/zones/settings/websocket.d.ts.map +1 -1
- package/resources/zones/settings/websocket.js +5 -5
- package/resources/zones/settings/websocket.js.map +1 -1
- package/resources/zones/settings/websocket.mjs +3 -3
- package/resources/zones/settings/websocket.mjs.map +1 -1
- package/resources/zones/settings/zero-rtt.d.ts +6 -6
- package/resources/zones/settings/zero-rtt.d.ts.map +1 -1
- package/resources/zones/settings/zero-rtt.js +5 -5
- package/resources/zones/settings/zero-rtt.js.map +1 -1
- package/resources/zones/settings/zero-rtt.mjs +3 -3
- package/resources/zones/settings/zero-rtt.mjs.map +1 -1
- package/resources/zones/subscriptions.d.ts +11 -191
- package/resources/zones/subscriptions.d.ts.map +1 -1
- package/resources/zones/subscriptions.js +4 -31
- package/resources/zones/subscriptions.js.map +1 -1
- package/resources/zones/subscriptions.mjs +3 -6
- package/resources/zones/subscriptions.mjs.map +1 -1
- package/resources/zones/zones.d.ts +19 -26
- package/resources/zones/zones.d.ts.map +1 -1
- package/resources/zones/zones.js +0 -6
- package/resources/zones/zones.js.map +1 -1
- package/resources/zones/zones.mjs +0 -6
- package/resources/zones/zones.mjs.map +1 -1
- package/src/index.ts +39 -293
- package/src/resources/accounts/accounts.ts +7 -13
- package/src/resources/accounts/index.ts +4 -14
- package/src/resources/accounts/members.ts +35 -271
- package/src/resources/accounts/roles.ts +10 -30
- package/src/resources/acm/acm.ts +1 -0
- package/src/resources/acm/index.ts +1 -0
- package/src/resources/acm/total-tls.ts +14 -3
- package/src/resources/addressing/address-maps/accounts.ts +10 -5
- package/src/resources/addressing/address-maps/address-maps.ts +17 -11
- package/src/resources/addressing/address-maps/index.ts +3 -2
- package/src/resources/addressing/address-maps/ips.ts +13 -8
- package/src/resources/addressing/address-maps/zones.ts +15 -43
- package/src/resources/addressing/addressing.ts +5 -4
- package/src/resources/addressing/index.ts +7 -6
- package/src/resources/addressing/prefixes/bgp/bgp.ts +4 -4
- package/src/resources/addressing/prefixes/bgp/bindings.ts +27 -19
- package/src/resources/addressing/prefixes/bgp/index.ts +5 -5
- package/src/resources/addressing/prefixes/bgp/prefixes.ts +13 -13
- package/src/resources/addressing/prefixes/delegations.ts +8 -8
- package/src/resources/addressing/prefixes/index.ts +5 -6
- package/src/resources/addressing/prefixes/prefixes.ts +14 -23
- package/src/resources/ai-gateway/ai-gateway.ts +343 -0
- package/src/resources/ai-gateway/index.ts +4 -0
- package/src/resources/ai-gateway/logs.ts +107 -0
- package/src/resources/alerting/alerting.ts +14 -5
- package/src/resources/alerting/destinations/destinations.ts +3 -4
- package/src/resources/alerting/destinations/index.ts +6 -7
- package/src/resources/alerting/destinations/pagerduty.ts +5 -5
- package/src/resources/alerting/destinations/webhooks.ts +8 -12
- package/src/resources/alerting/history.ts +8 -8
- package/src/resources/alerting/index.ts +7 -10
- package/src/resources/alerting/policies.ts +474 -683
- package/src/resources/audit-logs.ts +9 -112
- package/src/resources/bot-management.ts +120 -255
- package/src/resources/brand-protection.ts +64 -78
- package/src/resources/cache/cache-reserve.ts +37 -13
- package/src/resources/cache/cache.ts +12 -8
- package/src/resources/cache/index.ts +9 -4
- package/src/resources/cache/regional-tiered-cache.ts +12 -6
- package/src/resources/cache/variants.ts +46 -40
- package/src/resources/calls.ts +0 -12
- package/src/resources/certificate-authorities/certificate-authorities.ts +3 -0
- package/src/resources/certificate-authorities/hostname-associations.ts +21 -6
- package/src/resources/certificate-authorities/index.ts +3 -0
- package/src/resources/challenges/challenges.ts +4 -3
- package/src/resources/challenges/index.ts +4 -3
- package/src/resources/challenges/widgets.ts +35 -26
- package/src/resources/client-certificates.ts +2 -12
- package/src/resources/cloudforce-one/cloudforce-one.ts +6 -6
- package/src/resources/cloudforce-one/index.ts +6 -6
- package/src/resources/cloudforce-one/requests/index.ts +17 -15
- package/src/resources/cloudforce-one/requests/message.ts +24 -16
- package/src/resources/cloudforce-one/requests/priority.ts +58 -25
- package/src/resources/cloudforce-one/requests/requests.ts +75 -71
- package/src/resources/custom-certificates/custom-certificates.ts +46 -65
- package/src/resources/custom-certificates/index.ts +1 -14
- package/src/resources/custom-hostnames/custom-hostnames.ts +612 -40
- package/src/resources/custom-hostnames/fallback-origin.ts +3 -3
- package/src/resources/custom-hostnames/index.ts +1 -15
- package/src/resources/custom-nameservers.ts +1 -39
- package/src/resources/d1/d1.ts +26 -6
- package/src/resources/d1/database.ts +47 -50
- package/src/resources/d1/index.ts +5 -5
- package/src/resources/diagnostics/diagnostics.ts +1 -1
- package/src/resources/diagnostics/index.ts +1 -6
- package/src/resources/diagnostics/traceroutes.ts +5 -5
- package/src/resources/dns/analytics/analytics.ts +1 -1
- package/src/resources/dns/analytics/index.ts +1 -1
- package/src/resources/dns/analytics/reports/bytimes.ts +11 -72
- package/src/resources/dns/analytics/reports/index.ts +2 -2
- package/src/resources/dns/analytics/reports/reports.ts +8 -8
- package/src/resources/dns/dns.ts +81 -5
- package/src/resources/dns/firewall/analytics/analytics.ts +32 -0
- package/src/resources/dns/firewall/analytics/index.ts +1 -1
- package/src/resources/dns/firewall/analytics/reports/bytimes.ts +4 -13
- package/src/resources/dns/firewall/analytics/reports/reports.ts +2 -2
- package/src/resources/dns/firewall/firewall.ts +80 -79
- package/src/resources/dns/firewall/index.ts +7 -4
- package/src/resources/dns/index.ts +42 -15
- package/src/resources/dns/records.ts +1990 -2241
- package/src/resources/dnssec.ts +0 -9
- package/src/resources/durable-objects/durable-objects.ts +2 -2
- package/src/resources/durable-objects/index.ts +1 -6
- package/src/resources/durable-objects/namespaces/index.ts +1 -6
- package/src/resources/durable-objects/namespaces/namespaces.ts +6 -6
- package/src/resources/email-routing/addresses.ts +14 -154
- package/src/resources/email-routing/dns.ts +3 -3
- package/src/resources/email-routing/email-routing.ts +27 -157
- package/src/resources/email-routing/index.ts +12 -25
- package/src/resources/email-routing/rules/catch-alls.ts +81 -50
- package/src/resources/email-routing/rules/index.ts +12 -8
- package/src/resources/email-routing/rules/rules.ts +62 -455
- package/src/resources/event-notifications/event-notifications.ts +12 -0
- package/src/resources/event-notifications/index.ts +4 -0
- package/src/resources/event-notifications/r2/configuration/configuration.ts +82 -0
- package/src/resources/event-notifications/r2/configuration/index.ts +10 -0
- package/src/resources/event-notifications/r2/configuration/queues.ts +98 -0
- package/src/resources/event-notifications/r2/index.ts +4 -0
- package/src/resources/event-notifications/r2/r2.ts +14 -0
- package/src/resources/filters.ts +11 -24
- package/src/resources/firewall/access-rules.ts +175 -162
- package/src/resources/firewall/firewall.ts +16 -6
- package/src/resources/firewall/index.ts +23 -13
- package/src/resources/firewall/lockdowns.ts +63 -48
- package/src/resources/firewall/rules.ts +60 -49
- package/src/resources/firewall/ua-rules.ts +11 -62
- package/src/resources/firewall/waf/index.ts +12 -9
- package/src/resources/firewall/waf/overrides.ts +45 -37
- package/src/resources/firewall/waf/packages/groups.ts +18 -8
- package/src/resources/firewall/waf/packages/index.ts +19 -17
- package/src/resources/firewall/waf/packages/packages.ts +27 -45
- package/src/resources/firewall/waf/packages/rules.ts +60 -123
- package/src/resources/firewall/waf/waf.ts +5 -2
- package/src/resources/healthchecks/healthchecks.ts +263 -335
- package/src/resources/healthchecks/index.ts +1 -12
- package/src/resources/healthchecks/previews.ts +3 -84
- package/src/resources/hostnames/settings/index.ts +3 -2
- package/src/resources/hostnames/settings/settings.ts +3 -2
- package/src/resources/hostnames/settings/tls.ts +29 -18
- package/src/resources/hyperdrive/configs.ts +91 -68
- package/src/resources/hyperdrive/hyperdrive.ts +82 -11
- package/src/resources/hyperdrive/index.ts +1 -7
- package/src/resources/images/v1/index.ts +15 -4
- package/src/resources/images/v1/keys.ts +29 -20
- package/src/resources/images/v1/stats.ts +6 -6
- package/src/resources/images/v1/v1.ts +37 -41
- package/src/resources/images/v1/variants.ts +149 -49
- package/src/resources/images/v2/direct-uploads.ts +7 -0
- package/src/resources/index.ts +45 -371
- package/src/resources/intel/asn/asn.ts +7 -5
- package/src/resources/intel/asn/index.ts +1 -1
- package/src/resources/intel/asn/subnets.ts +3 -3
- package/src/resources/intel/attack-surface-report/attack-surface-report.ts +2 -0
- package/src/resources/intel/attack-surface-report/index.ts +2 -0
- package/src/resources/intel/attack-surface-report/issues.ts +40 -84
- package/src/resources/intel/dns.ts +35 -24
- package/src/resources/intel/domain-history.ts +7 -7
- package/src/resources/intel/domains/domains.ts +10 -10
- package/src/resources/intel/domains/index.ts +1 -1
- package/src/resources/intel/index.ts +13 -13
- package/src/resources/intel/indicator-feeds/index.ts +1 -0
- package/src/resources/intel/indicator-feeds/indicator-feeds.ts +68 -14
- package/src/resources/intel/indicator-feeds/permissions.ts +10 -0
- package/src/resources/intel/indicator-feeds/snapshots.ts +59 -0
- package/src/resources/intel/intel.ts +13 -11
- package/src/resources/intel/ip-lists.ts +3 -3
- package/src/resources/intel/ips.ts +5 -5
- package/src/resources/intel/sinkholes.ts +6 -10
- package/src/resources/intel/whois.ts +181 -4
- package/src/resources/ips.ts +0 -8
- package/src/resources/keyless-certificates.ts +31 -135
- package/src/resources/kv/index.ts +2 -2
- package/src/resources/kv/kv.ts +2 -2
- package/src/resources/kv/namespaces/bulk.ts +6 -11
- package/src/resources/kv/namespaces/index.ts +12 -12
- package/src/resources/kv/namespaces/keys.ts +6 -6
- package/src/resources/kv/namespaces/namespaces.ts +10 -10
- package/src/resources/load-balancers/index.ts +6 -13
- package/src/resources/load-balancers/load-balancers.ts +1226 -2110
- package/src/resources/load-balancers/monitors/index.ts +2 -0
- package/src/resources/load-balancers/monitors/monitors.ts +120 -21
- package/src/resources/load-balancers/pools/index.ts +2 -0
- package/src/resources/load-balancers/pools/pools.ts +128 -590
- package/src/resources/load-balancers/previews.ts +31 -3
- package/src/resources/logpush/datasets/datasets.ts +0 -1
- package/src/resources/logpush/datasets/index.ts +1 -1
- package/src/resources/logpush/datasets/jobs.ts +5 -162
- package/src/resources/logpush/index.ts +5 -2
- package/src/resources/logpush/jobs.ts +369 -183
- package/src/resources/logpush/logpush.ts +4 -1
- package/src/resources/logpush/ownership.ts +7 -7
- package/src/resources/logs/control/cmb/config.ts +1 -1
- package/src/resources/magic-network-monitoring/configs/configs.ts +44 -31
- package/src/resources/magic-network-monitoring/configs/full.ts +2 -5
- package/src/resources/magic-network-monitoring/configs/index.ts +2 -2
- package/src/resources/magic-network-monitoring/index.ts +2 -2
- package/src/resources/magic-network-monitoring/magic-network-monitoring.ts +1 -1
- package/src/resources/magic-network-monitoring/rules/advertisements.ts +16 -8
- package/src/resources/magic-network-monitoring/rules/index.ts +1 -5
- package/src/resources/magic-network-monitoring/rules/rules.ts +37 -9
- package/src/resources/magic-transit/cf-interconnects.ts +5 -4
- package/src/resources/magic-transit/gre-tunnels.ts +4 -117
- package/src/resources/magic-transit/index.ts +6 -6
- package/src/resources/magic-transit/ipsec-tunnels.ts +38 -125
- package/src/resources/magic-transit/magic-transit.ts +97 -5
- package/src/resources/magic-transit/routes.ts +37 -66
- package/src/resources/magic-transit/sites/acls.ts +137 -539
- package/src/resources/magic-transit/sites/index.ts +18 -18
- package/src/resources/magic-transit/sites/lans.ts +222 -861
- package/src/resources/magic-transit/sites/sites.ts +136 -412
- package/src/resources/magic-transit/sites/wans.ts +113 -388
- package/src/resources/managed-headers.ts +24 -60
- package/src/resources/memberships.ts +13 -97
- package/src/resources/mtls-certificates/associations.ts +3 -3
- package/src/resources/mtls-certificates/index.ts +2 -11
- package/src/resources/mtls-certificates/mtls-certificates.ts +4 -12
- package/src/resources/origin-ca-certificates.ts +27 -16
- package/src/resources/origin-post-quantum-encryption.ts +0 -8
- package/src/resources/origin-tls-client-auth/hostnames/certificates.ts +162 -12
- package/src/resources/origin-tls-client-auth/hostnames/hostnames.ts +10 -42
- package/src/resources/origin-tls-client-auth/hostnames/index.ts +12 -10
- package/src/resources/origin-tls-client-auth/index.ts +3 -16
- package/src/resources/origin-tls-client-auth/origin-tls-client-auth.ts +26 -38
- package/src/resources/page-shield/connections.ts +10 -11
- package/src/resources/page-shield/index.ts +7 -13
- package/src/resources/page-shield/page-shield.ts +9 -16
- package/src/resources/page-shield/policies.ts +9 -17
- package/src/resources/page-shield/scripts.ts +6 -9
- package/src/resources/pagerules/index.ts +2 -17
- package/src/resources/pagerules/pagerules.ts +111 -247
- package/src/resources/pagerules/settings.ts +4 -4
- package/src/resources/pages/index.ts +5 -4
- package/src/resources/pages/pages.ts +4 -3
- package/src/resources/pages/projects/deployments/deployments.ts +28 -18
- package/src/resources/pages/projects/domains.ts +11 -6
- package/src/resources/pages/projects/index.ts +17 -16
- package/src/resources/pages/projects/projects.ts +58 -49
- package/src/resources/pcaps/index.ts +3 -12
- package/src/resources/pcaps/ownership.ts +9 -15
- package/src/resources/pcaps/pcaps.ts +109 -410
- package/src/resources/plans.ts +0 -6
- package/src/resources/queues/consumers.ts +27 -28
- package/src/resources/queues/index.ts +2 -20
- package/src/resources/queues/messages.ts +0 -73
- package/src/resources/queues/queues.ts +11 -94
- package/src/resources/r2/buckets.ts +10 -10
- package/src/resources/r2/index.ts +6 -5
- package/src/resources/r2/r2.ts +5 -4
- package/src/resources/r2/sippy.ts +19 -14
- package/src/resources/radar/attacks/layer3/top/top.ts +10 -21
- package/src/resources/radar/attacks/layer7/top/top.ts +10 -21
- package/src/resources/radar/bgp/bgp.ts +2 -6
- package/src/resources/radar/bgp/hijacks/events.ts +212 -0
- package/src/resources/{user/load-balancers/analytics/analytics.ts → radar/bgp/hijacks/hijacks.ts} +4 -4
- package/src/resources/radar/bgp/hijacks/index.ts +4 -0
- package/src/resources/radar/bgp/index.ts +2 -2
- package/src/resources/radar/bgp/leaks/events.ts +172 -0
- package/src/resources/radar/bgp/leaks/index.ts +4 -0
- package/src/resources/radar/bgp/leaks/leaks.ts +15 -0
- package/src/resources/radar/bgp/routes.ts +5 -0
- package/src/resources/radar/email/email.ts +19 -0
- package/src/resources/radar/email/index.ts +1 -1
- package/src/resources/radar/email/routing/summary.ts +5 -36
- package/src/resources/radar/email/routing/timeseries-groups.ts +5 -44
- package/src/resources/radar/email/security/summary.ts +5 -36
- package/src/resources/radar/email/security/timeseries-groups.ts +5 -44
- package/src/resources/radar/email/security/top/tlds/malicious.ts +2 -7
- package/src/resources/radar/email/security/top/tlds/spam.ts +2 -7
- package/src/resources/radar/email/security/top/tlds/spoof.ts +2 -7
- package/src/resources/radar/email/security/top/tlds/tlds.ts +2 -7
- package/src/resources/radar/http/http.ts +5 -0
- package/src/resources/radar/http/index.ts +12 -7
- package/src/resources/radar/http/summary.ts +189 -0
- package/src/resources/radar/http/timeseries-groups.ts +151 -0
- package/src/resources/radar/http/top.ts +9 -14
- package/src/resources/radar/index.ts +1 -1
- package/src/resources/radar/radar.ts +2 -0
- package/src/resources/rate-limits.ts +38 -211
- package/src/resources/rate-plans.ts +1 -60
- package/src/resources/registrar/domains.ts +9 -190
- package/src/resources/registrar/index.ts +3 -4
- package/src/resources/registrar/registrar.ts +2 -3
- package/src/resources/request-tracers/traces.ts +19 -13
- package/src/resources/rules/index.ts +2 -0
- package/src/resources/rules/lists/bulk-operations.ts +6 -0
- package/src/resources/rules/lists/index.ts +16 -12
- package/src/resources/rules/lists/items.ts +26 -116
- package/src/resources/rules/lists/lists.ts +59 -0
- package/src/resources/rules/rules.ts +2 -0
- package/src/resources/rulesets/index.ts +35 -14
- package/src/resources/rulesets/phases/index.ts +2 -8
- package/src/resources/rulesets/phases/phases.ts +148 -567
- package/src/resources/rulesets/phases/versions.ts +54 -194
- package/src/resources/rulesets/rules.ts +6518 -336
- package/src/resources/rulesets/rulesets.ts +285 -1497
- package/src/resources/rulesets/versions/by-tag.ts +65 -2
- package/src/resources/rulesets/versions/index.ts +2 -3
- package/src/resources/rulesets/versions/versions.ts +49 -50
- package/src/resources/rum/index.ts +2 -2
- package/src/resources/rum/rum.ts +2 -2
- package/src/resources/rum/site-info.ts +17 -22
- package/src/resources/secondary-dns/acls.ts +12 -23
- package/src/resources/secondary-dns/force-axfr.ts +18 -9
- package/src/resources/secondary-dns/incoming.ts +43 -2
- package/src/resources/secondary-dns/index.ts +25 -22
- package/src/resources/secondary-dns/outgoing/index.ts +5 -3
- package/src/resources/secondary-dns/outgoing/outgoing.ts +88 -26
- package/src/resources/secondary-dns/outgoing/status.ts +2 -5
- package/src/resources/secondary-dns/peers.ts +12 -27
- package/src/resources/secondary-dns/secondary-dns.ts +15 -12
- package/src/resources/secondary-dns/tsigs.ts +12 -27
- package/src/resources/shared.ts +459 -0
- package/src/resources/snippets/content.ts +19 -2
- package/src/resources/snippets/index.ts +3 -8
- package/src/resources/snippets/rules.ts +22 -22
- package/src/resources/snippets/snippets.ts +62 -35
- package/src/resources/spectrum/analytics/analytics.ts +1 -0
- package/src/resources/spectrum/analytics/events/bytimes.ts +2 -1
- package/src/resources/spectrum/analytics/events/events.ts +6 -0
- package/src/resources/spectrum/analytics/events/index.ts +1 -1
- package/src/resources/spectrum/analytics/events/summaries.ts +2 -1
- package/src/resources/spectrum/analytics/index.ts +1 -1
- package/src/resources/spectrum/apps.ts +20 -287
- package/src/resources/spectrum/spectrum.ts +162 -0
- package/src/resources/speed/availabilities.ts +8 -43
- package/src/resources/speed/index.ts +16 -20
- package/src/resources/speed/pages/index.ts +19 -0
- package/src/resources/speed/pages/pages.ts +141 -0
- package/src/resources/speed/{tests.ts → pages/tests.ts} +15 -226
- package/src/resources/speed/schedule.ts +153 -6
- package/src/resources/speed/speed.ts +78 -190
- package/src/resources/ssl/analyze.ts +3 -2
- package/src/resources/ssl/certificate-packs/certificate-packs.ts +63 -30
- package/src/resources/ssl/certificate-packs/index.ts +4 -0
- package/src/resources/ssl/certificate-packs/order.ts +4 -24
- package/src/resources/ssl/index.ts +7 -3
- package/src/resources/ssl/ssl.ts +6 -2
- package/src/resources/ssl/verification.ts +9 -8
- package/src/resources/storage/analytics.ts +14 -17
- package/src/resources/storage/index.ts +1 -7
- package/src/resources/storage/storage.ts +2 -2
- package/src/resources/stream/audio-tracks.ts +7 -7
- package/src/resources/stream/captions/captions.ts +58 -0
- package/src/resources/stream/captions/index.ts +10 -0
- package/src/resources/stream/captions/language/index.ts +10 -0
- package/src/resources/stream/captions/language/language.ts +105 -0
- package/src/resources/stream/captions/language/vtt.ts +37 -0
- package/src/resources/stream/clip.ts +12 -11
- package/src/resources/stream/copy.ts +3 -3
- package/src/resources/stream/direct-upload.ts +3 -2
- package/src/resources/stream/downloads.ts +13 -8
- package/src/resources/stream/index.ts +19 -39
- package/src/resources/stream/keys.ts +14 -8
- package/src/resources/stream/live-inputs/index.ts +3 -3
- package/src/resources/stream/live-inputs/live-inputs.ts +18 -18
- package/src/resources/stream/live-inputs/outputs.ts +10 -10
- package/src/resources/stream/stream.ts +31 -44
- package/src/resources/stream/watermarks.ts +10 -19
- package/src/resources/stream/webhooks.ts +2 -2
- package/src/resources/subscriptions.ts +11 -306
- package/src/resources/url-normalization.ts +0 -8
- package/src/resources/url-scanner/index.ts +3 -1
- package/src/resources/url-scanner/scans.ts +53 -76
- package/src/resources/url-scanner/url-scanner.ts +6 -7
- package/src/resources/user/audit-logs.ts +9 -111
- package/src/resources/user/billing/billing.ts +2 -2
- package/src/resources/user/billing/history.ts +36 -21
- package/src/resources/user/billing/index.ts +1 -1
- package/src/resources/user/index.ts +29 -30
- package/src/resources/user/invites.ts +8 -61
- package/src/resources/user/organizations.ts +4 -2
- package/src/resources/user/subscriptions.ts +150 -360
- package/src/resources/user/tokens/index.ts +9 -6
- package/src/resources/user/tokens/tokens.ts +158 -59
- package/src/resources/user/tokens/value.ts +6 -10
- package/src/resources/user/user.ts +10 -85
- package/src/resources/vectorize/index.ts +11 -7
- package/src/resources/vectorize/indexes.ts +188 -113
- package/src/resources/vectorize/vectorize.ts +10 -6
- package/src/resources/waiting-rooms/events/details.ts +102 -6
- package/src/resources/waiting-rooms/events/events.ts +178 -109
- package/src/resources/waiting-rooms/events/index.ts +6 -3
- package/src/resources/waiting-rooms/index.ts +20 -21
- package/src/resources/waiting-rooms/page.ts +15 -14
- package/src/resources/waiting-rooms/rules.ts +72 -34
- package/src/resources/waiting-rooms/settings.ts +47 -23
- package/src/resources/waiting-rooms/statuses.ts +11 -2
- package/src/resources/waiting-rooms/waiting-rooms.ts +700 -400
- package/src/resources/warp-connector.ts +80 -692
- package/src/resources/web3/hostnames/hostnames.ts +12 -20
- package/src/resources/web3/hostnames/index.ts +2 -2
- package/src/resources/web3/hostnames/ipfs-universal-paths/content-lists/content-lists.ts +32 -8
- package/src/resources/web3/hostnames/ipfs-universal-paths/content-lists/entries.ts +100 -9
- package/src/resources/web3/hostnames/ipfs-universal-paths/content-lists/index.ts +4 -2
- package/src/resources/web3/hostnames/ipfs-universal-paths/index.ts +1 -5
- package/src/resources/web3/hostnames/ipfs-universal-paths/ipfs-universal-paths.ts +1 -1
- package/src/resources/web3/index.ts +2 -2
- package/src/resources/web3/web3.ts +2 -2
- package/src/resources/workers/ai.ts +26 -3
- package/src/resources/workers/domains.ts +10 -17
- package/src/resources/workers/index.ts +13 -37
- package/src/resources/workers/scripts/content.ts +26 -20
- package/src/resources/workers/scripts/deployments.ts +125 -0
- package/src/resources/workers/scripts/index.ts +30 -25
- package/src/resources/workers/scripts/schedules.ts +9 -20
- package/src/resources/workers/scripts/scripts.ts +43 -204
- package/src/resources/workers/scripts/settings.ts +22 -1184
- package/src/resources/workers/scripts/tail.ts +64 -13
- package/src/resources/workers/scripts/versions.ts +194 -0
- package/src/resources/workers/workers.ts +661 -33
- package/src/resources/workers-for-platforms/dispatch/namespaces/index.ts +1 -7
- package/src/resources/workers-for-platforms/dispatch/namespaces/namespaces.ts +2 -2
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/bindings.ts +9 -217
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/content.ts +6 -24
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/index.ts +18 -6
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +35 -155
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +107 -0
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +69 -1051
- package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/tags.ts +109 -0
- package/src/resources/zero-trust/access/access.ts +730 -16
- package/src/resources/zero-trust/access/applications/applications.ts +692 -812
- package/src/resources/zero-trust/access/applications/cas.ts +10 -13
- package/src/resources/zero-trust/access/applications/index.ts +33 -19
- package/src/resources/zero-trust/access/applications/policies.ts +150 -3196
- package/src/resources/zero-trust/access/applications/user-policy-checks.ts +13 -10
- package/src/resources/zero-trust/access/bookmarks.ts +26 -23
- package/src/resources/zero-trust/access/certificates/certificates.ts +31 -25
- package/src/resources/zero-trust/access/certificates/index.ts +4 -3
- package/src/resources/zero-trust/access/certificates/settings.ts +25 -5
- package/src/resources/zero-trust/access/custom-pages.ts +14 -14
- package/src/resources/zero-trust/access/groups.ts +64 -3419
- package/src/resources/zero-trust/access/index.ts +67 -37
- package/src/resources/zero-trust/access/logs/access-requests.ts +3 -3
- package/src/resources/zero-trust/access/logs/index.ts +1 -1
- package/src/resources/zero-trust/access/logs/logs.ts +0 -1
- package/src/resources/zero-trust/access/service-tokens.ts +16 -22
- package/src/resources/zero-trust/access/tags.ts +12 -19
- package/src/resources/zero-trust/access/users/active-sessions.ts +4 -7
- package/src/resources/zero-trust/access/users/index.ts +2 -2
- package/src/resources/zero-trust/access/users/last-seen-identity.ts +12 -15
- package/src/resources/zero-trust/access/users/users.ts +7 -7
- package/src/resources/zero-trust/devices/devices.ts +38 -22
- package/src/resources/zero-trust/devices/dex-tests.ts +159 -49
- package/src/resources/zero-trust/devices/index.ts +47 -28
- package/src/resources/zero-trust/devices/networks.ts +15 -18
- package/src/resources/zero-trust/devices/policies/excludes.ts +28 -9
- package/src/resources/zero-trust/devices/policies/fallback-domains.ts +29 -9
- package/src/resources/zero-trust/devices/policies/includes.ts +28 -9
- package/src/resources/zero-trust/devices/policies/index.ts +17 -16
- package/src/resources/zero-trust/devices/policies/policies.ts +39 -27
- package/src/resources/zero-trust/devices/posture/index.ts +29 -12
- package/src/resources/zero-trust/devices/posture/integrations.ts +17 -17
- package/src/resources/zero-trust/devices/posture/posture.ts +684 -1013
- package/src/resources/zero-trust/devices/revoke.ts +3 -6
- package/src/resources/zero-trust/devices/settings.ts +6 -12
- package/src/resources/zero-trust/devices/unrevoke.ts +3 -3
- package/src/resources/zero-trust/dex/dex.ts +121 -5
- package/src/resources/zero-trust/dex/fleet-status/devices.ts +6 -9
- package/src/resources/zero-trust/dex/fleet-status/fleet-status.ts +17 -54
- package/src/resources/zero-trust/dex/fleet-status/index.ts +3 -2
- package/src/resources/zero-trust/dex/http-tests/http-tests.ts +30 -128
- package/src/resources/zero-trust/dex/http-tests/index.ts +2 -6
- package/src/resources/zero-trust/dex/http-tests/percentiles.ts +31 -70
- package/src/resources/zero-trust/dex/index.ts +14 -14
- package/src/resources/zero-trust/dex/tests/index.ts +3 -7
- package/src/resources/zero-trust/dex/tests/tests.ts +35 -86
- package/src/resources/zero-trust/dex/tests/unique-devices.ts +4 -7
- package/src/resources/zero-trust/dex/traceroute-test-results/index.ts +1 -5
- package/src/resources/zero-trust/dex/traceroute-test-results/network-path.ts +6 -6
- package/src/resources/zero-trust/dex/traceroute-test-results/traceroute-test-results.ts +1 -1
- package/src/resources/zero-trust/dex/traceroute-tests.ts +26 -277
- package/src/resources/zero-trust/dlp/datasets/datasets.ts +20 -24
- package/src/resources/zero-trust/dlp/datasets/index.ts +5 -5
- package/src/resources/zero-trust/dlp/datasets/upload.ts +18 -10
- package/src/resources/zero-trust/dlp/dlp.ts +8 -7
- package/src/resources/zero-trust/dlp/index.ts +15 -13
- package/src/resources/zero-trust/dlp/patterns.ts +3 -7
- package/src/resources/zero-trust/dlp/profiles/custom.ts +46 -153
- package/src/resources/zero-trust/dlp/profiles/index.ts +13 -10
- package/src/resources/zero-trust/dlp/profiles/predefined.ts +10 -67
- package/src/resources/zero-trust/dlp/profiles/profiles.ts +71 -14
- package/src/resources/zero-trust/gateway/app-types.ts +7 -13
- package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +6 -9
- package/src/resources/zero-trust/gateway/categories.ts +8 -8
- package/src/resources/zero-trust/gateway/configurations.ts +504 -1268
- package/src/resources/zero-trust/gateway/gateway.ts +34 -14
- package/src/resources/zero-trust/gateway/index.ts +54 -49
- package/src/resources/zero-trust/gateway/lists/index.ts +4 -3
- package/src/resources/zero-trust/gateway/lists/items.ts +2 -12
- package/src/resources/zero-trust/gateway/lists/lists.ts +33 -57
- package/src/resources/zero-trust/gateway/locations.ts +29 -48
- package/src/resources/zero-trust/gateway/logging.ts +8 -14
- package/src/resources/zero-trust/gateway/proxy-endpoints.ts +29 -29
- package/src/resources/zero-trust/gateway/rules.ts +674 -1049
- package/src/resources/zero-trust/identity-providers.ts +439 -3551
- package/src/resources/zero-trust/index.ts +69 -33
- package/src/resources/zero-trust/networks/index.ts +7 -6
- package/src/resources/zero-trust/networks/networks.ts +6 -5
- package/src/resources/zero-trust/networks/routes/index.ts +4 -3
- package/src/resources/zero-trust/networks/routes/ips.ts +4 -10
- package/src/resources/zero-trust/networks/routes/networks.ts +20 -12
- package/src/resources/zero-trust/networks/routes/routes.ts +93 -78
- package/src/resources/zero-trust/networks/virtual-networks.ts +18 -18
- package/src/resources/zero-trust/organizations.ts +70 -107
- package/src/resources/zero-trust/risk-scoring/behaviours.ts +85 -0
- package/src/resources/zero-trust/risk-scoring/index.ts +15 -0
- package/src/resources/zero-trust/risk-scoring/risk-scoring.ts +111 -0
- package/src/resources/zero-trust/risk-scoring/summary.ts +71 -0
- package/src/resources/zero-trust/seats.ts +3 -3
- package/src/resources/zero-trust/tunnels/configurations.ts +10 -6
- package/src/resources/zero-trust/tunnels/connections.ts +13 -18
- package/src/resources/zero-trust/tunnels/connectors.ts +2 -2
- package/src/resources/zero-trust/tunnels/index.ts +15 -12
- package/src/resources/zero-trust/tunnels/tunnels.ts +120 -305
- package/src/resources/zero-trust/zero-trust.ts +44 -6
- package/src/resources/zones/custom-nameservers.ts +2 -2
- package/src/resources/zones/dns-settings.ts +51 -40
- package/src/resources/zones/holds.ts +8 -26
- package/src/resources/zones/index.ts +5 -32
- package/src/resources/zones/settings/advanced-ddos.ts +4 -7
- package/src/resources/zones/settings/always-online.ts +8 -14
- package/src/resources/zones/settings/always-use-https.ts +6 -12
- package/src/resources/zones/settings/automatic-https-rewrites.ts +6 -6
- package/src/resources/zones/settings/automatic-platform-optimization.ts +46 -9
- package/src/resources/zones/settings/brotli.ts +8 -10
- package/src/resources/zones/settings/browser-cache-ttl.ts +8 -14
- package/src/resources/zones/settings/browser-check.ts +8 -14
- package/src/resources/zones/settings/cache-level.ts +8 -8
- package/src/resources/zones/settings/challenge-ttl.ts +8 -14
- package/src/resources/zones/settings/ciphers.ts +6 -8
- package/src/resources/zones/settings/development-mode.ts +8 -14
- package/src/resources/zones/settings/early-hints.ts +6 -6
- package/src/resources/zones/settings/email-obfuscation.ts +8 -14
- package/src/resources/zones/settings/font-settings.ts +6 -6
- package/src/resources/zones/settings/h2-prioritization.ts +26 -15
- package/src/resources/zones/settings/hotlink-protection.ts +8 -11
- package/src/resources/zones/settings/http2.ts +8 -10
- package/src/resources/zones/settings/http3.ts +8 -10
- package/src/resources/zones/settings/image-resizing.ts +27 -15
- package/src/resources/zones/settings/index.ts +89 -106
- package/src/resources/zones/settings/ip-geolocation.ts +8 -14
- package/src/resources/zones/settings/ipv6.ts +8 -10
- package/src/resources/zones/settings/min-tls-version.ts +8 -14
- package/src/resources/zones/settings/minify.ts +10 -12
- package/src/resources/zones/settings/mirage.ts +8 -10
- package/src/resources/zones/settings/mobile-redirect.ts +10 -16
- package/src/resources/zones/settings/nel.ts +35 -13
- package/src/resources/zones/settings/opportunistic-encryption.ts +8 -8
- package/src/resources/zones/settings/opportunistic-onion.ts +8 -8
- package/src/resources/zones/settings/orange-to-orange.ts +25 -15
- package/src/resources/zones/settings/origin-error-page-pass-thru.ts +8 -8
- package/src/resources/zones/settings/origin-max-http-version.ts +10 -4
- package/src/resources/zones/settings/polish.ts +29 -11
- package/src/resources/zones/settings/prefetch-preload.ts +8 -14
- package/src/resources/zones/settings/proxy-read-timeout.ts +24 -15
- package/src/resources/zones/settings/pseudo-ipv4.ts +8 -8
- package/src/resources/zones/settings/response-buffering.ts +8 -11
- package/src/resources/zones/settings/rocket-loader.ts +33 -15
- package/src/resources/zones/settings/security-headers.ts +8 -14
- package/src/resources/zones/settings/security-level.ts +8 -14
- package/src/resources/zones/settings/server-side-excludes.ts +6 -6
- package/src/resources/zones/settings/settings.ts +104 -797
- package/src/resources/zones/settings/sort-query-string-for-cache.ts +8 -8
- package/src/resources/zones/settings/ssl-recommender.ts +26 -15
- package/src/resources/zones/settings/ssl.ts +8 -10
- package/src/resources/zones/settings/tls-1-3.ts +8 -10
- package/src/resources/zones/settings/tls-client-auth.ts +8 -14
- package/src/resources/zones/settings/true-client-ip-header.ts +8 -8
- package/src/resources/zones/settings/waf.ts +8 -10
- package/src/resources/zones/settings/webp.ts +8 -10
- package/src/resources/zones/settings/websocket.ts +8 -8
- package/src/resources/zones/settings/zero-rtt.ts +8 -10
- package/src/resources/zones/subscriptions.ts +13 -228
- package/src/resources/zones/zones.ts +22 -26
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/radar/bgp/hijacks.d.ts +0 -120
- package/resources/radar/bgp/hijacks.d.ts.map +0 -1
- package/resources/radar/bgp/hijacks.js +0 -18
- package/resources/radar/bgp/hijacks.js.map +0 -1
- package/resources/radar/bgp/hijacks.mjs +0 -14
- package/resources/radar/bgp/hijacks.mjs.map +0 -1
- package/resources/radar/bgp/leaks.d.ts +0 -92
- package/resources/radar/bgp/leaks.d.ts.map +0 -1
- package/resources/radar/bgp/leaks.js +0 -18
- package/resources/radar/bgp/leaks.js.map +0 -1
- package/resources/radar/bgp/leaks.mjs +0 -14
- package/resources/radar/bgp/leaks.mjs.map +0 -1
- package/resources/speed/pages.d.ts +0 -52
- package/resources/speed/pages.d.ts.map +0 -1
- package/resources/speed/pages.js.map +0 -1
- package/resources/speed/pages.mjs.map +0 -1
- package/resources/speed/tests.d.ts +0 -278
- package/resources/speed/tests.d.ts.map +0 -1
- package/resources/speed/tests.js.map +0 -1
- package/resources/speed/tests.mjs.map +0 -1
- package/resources/stream/captions.d.ts +0 -63
- package/resources/stream/captions.d.ts.map +0 -1
- package/resources/stream/captions.js +0 -34
- package/resources/stream/captions.js.map +0 -1
- package/resources/stream/captions.mjs.map +0 -1
- package/resources/user/firewall/access-rules.d.ts +0 -279
- package/resources/user/firewall/access-rules.d.ts.map +0 -1
- package/resources/user/firewall/access-rules.js +0 -77
- package/resources/user/firewall/access-rules.js.map +0 -1
- package/resources/user/firewall/access-rules.mjs +0 -49
- package/resources/user/firewall/access-rules.mjs.map +0 -1
- package/resources/user/firewall/firewall.d.ts +0 -15
- package/resources/user/firewall/firewall.d.ts.map +0 -1
- package/resources/user/firewall/firewall.js.map +0 -1
- package/resources/user/firewall/firewall.mjs +0 -14
- package/resources/user/firewall/firewall.mjs.map +0 -1
- package/resources/user/firewall/index.d.ts +0 -3
- package/resources/user/firewall/index.d.ts.map +0 -1
- package/resources/user/firewall/index.js +0 -10
- package/resources/user/firewall/index.js.map +0 -1
- package/resources/user/firewall/index.mjs +0 -4
- package/resources/user/firewall/index.mjs.map +0 -1
- package/resources/user/load-balancers/analytics/analytics.d.ts +0 -12
- package/resources/user/load-balancers/analytics/analytics.d.ts.map +0 -1
- package/resources/user/load-balancers/analytics/analytics.js.map +0 -1
- package/resources/user/load-balancers/analytics/analytics.mjs +0 -14
- package/resources/user/load-balancers/analytics/analytics.mjs.map +0 -1
- package/resources/user/load-balancers/analytics/events.d.ts +0 -54
- package/resources/user/load-balancers/analytics/events.d.ts.map +0 -1
- package/resources/user/load-balancers/analytics/events.js.map +0 -1
- package/resources/user/load-balancers/analytics/events.mjs +0 -19
- package/resources/user/load-balancers/analytics/events.mjs.map +0 -1
- package/resources/user/load-balancers/analytics/index.d.ts +0 -3
- package/resources/user/load-balancers/analytics/index.d.ts.map +0 -1
- package/resources/user/load-balancers/analytics/index.js +0 -10
- package/resources/user/load-balancers/analytics/index.js.map +0 -1
- package/resources/user/load-balancers/analytics/index.mjs +0 -4
- package/resources/user/load-balancers/analytics/index.mjs.map +0 -1
- package/resources/user/load-balancers/index.d.ts +0 -6
- package/resources/user/load-balancers/index.d.ts.map +0 -1
- package/resources/user/load-balancers/index.js +0 -17
- package/resources/user/load-balancers/index.js.map +0 -1
- package/resources/user/load-balancers/index.mjs +0 -7
- package/resources/user/load-balancers/index.mjs.map +0 -1
- package/resources/user/load-balancers/load-balancers.d.ts +0 -39
- package/resources/user/load-balancers/load-balancers.d.ts.map +0 -1
- package/resources/user/load-balancers/load-balancers.js +0 -51
- package/resources/user/load-balancers/load-balancers.js.map +0 -1
- package/resources/user/load-balancers/load-balancers.mjs +0 -24
- package/resources/user/load-balancers/load-balancers.mjs.map +0 -1
- package/resources/user/load-balancers/monitors.d.ts +0 -493
- package/resources/user/load-balancers/monitors.d.ts.map +0 -1
- package/resources/user/load-balancers/monitors.js +0 -98
- package/resources/user/load-balancers/monitors.js.map +0 -1
- package/resources/user/load-balancers/monitors.mjs +0 -70
- package/resources/user/load-balancers/monitors.mjs.map +0 -1
- package/resources/user/load-balancers/pools.d.ts +0 -1078
- package/resources/user/load-balancers/pools.d.ts.map +0 -1
- package/resources/user/load-balancers/pools.js +0 -102
- package/resources/user/load-balancers/pools.js.map +0 -1
- package/resources/user/load-balancers/pools.mjs +0 -74
- package/resources/user/load-balancers/pools.mjs.map +0 -1
- package/resources/user/load-balancers/preview.d.ts +0 -34
- package/resources/user/load-balancers/preview.d.ts.map +0 -1
- package/resources/user/load-balancers/preview.js +0 -17
- package/resources/user/load-balancers/preview.js.map +0 -1
- package/resources/user/load-balancers/preview.mjs +0 -13
- package/resources/user/load-balancers/preview.mjs.map +0 -1
- package/resources/workers/deployments/by-scripts/by-scripts.d.ts +0 -29
- package/resources/workers/deployments/by-scripts/by-scripts.d.ts.map +0 -1
- package/resources/workers/deployments/by-scripts/by-scripts.js.map +0 -1
- package/resources/workers/deployments/by-scripts/by-scripts.mjs +0 -20
- package/resources/workers/deployments/by-scripts/by-scripts.mjs.map +0 -1
- package/resources/workers/deployments/by-scripts/details.d.ts +0 -26
- package/resources/workers/deployments/by-scripts/details.d.ts.map +0 -1
- package/resources/workers/deployments/by-scripts/details.js +0 -18
- package/resources/workers/deployments/by-scripts/details.js.map +0 -1
- package/resources/workers/deployments/by-scripts/details.mjs +0 -14
- package/resources/workers/deployments/by-scripts/details.mjs.map +0 -1
- package/resources/workers/deployments/by-scripts/index.d.ts +0 -3
- package/resources/workers/deployments/by-scripts/index.d.ts.map +0 -1
- package/resources/workers/deployments/by-scripts/index.js +0 -9
- package/resources/workers/deployments/by-scripts/index.js.map +0 -1
- package/resources/workers/deployments/by-scripts/index.mjs +0 -4
- package/resources/workers/deployments/by-scripts/index.mjs.map +0 -1
- package/resources/workers/deployments/deployments.d.ts +0 -11
- package/resources/workers/deployments/deployments.d.ts.map +0 -1
- package/resources/workers/deployments/deployments.js.map +0 -1
- package/resources/workers/deployments/deployments.mjs +0 -13
- package/resources/workers/deployments/deployments.mjs.map +0 -1
- package/resources/workers/deployments/index.d.ts +0 -3
- package/resources/workers/deployments/index.d.ts.map +0 -1
- package/resources/workers/deployments/index.js +0 -9
- package/resources/workers/deployments/index.js.map +0 -1
- package/resources/workers/deployments/index.mjs +0 -4
- package/resources/workers/deployments/index.mjs.map +0 -1
- package/resources/workers/filters.d.ts +0 -95
- package/resources/workers/filters.d.ts.map +0 -1
- package/resources/workers/filters.js +0 -71
- package/resources/workers/filters.js.map +0 -1
- package/resources/workers/filters.mjs +0 -43
- package/resources/workers/filters.mjs.map +0 -1
- package/resources/workers/routes.d.ts +0 -99
- package/resources/workers/routes.d.ts.map +0 -1
- package/resources/workers/routes.js +0 -78
- package/resources/workers/routes.js.map +0 -1
- package/resources/workers/routes.mjs +0 -50
- package/resources/workers/routes.mjs.map +0 -1
- package/resources/workers/scripts/bindings.d.ts +0 -49
- package/resources/workers/scripts/bindings.d.ts.map +0 -1
- package/resources/workers/scripts/bindings.js +0 -18
- package/resources/workers/scripts/bindings.js.map +0 -1
- package/resources/workers/scripts/bindings.mjs +0 -14
- package/resources/workers/scripts/bindings.mjs.map +0 -1
- package/resources/workers/scripts/content-v2.d.ts +0 -20
- package/resources/workers/scripts/content-v2.d.ts.map +0 -1
- package/resources/workers/scripts/content-v2.js +0 -21
- package/resources/workers/scripts/content-v2.js.map +0 -1
- package/resources/workers/scripts/content-v2.mjs +0 -17
- package/resources/workers/scripts/content-v2.mjs.map +0 -1
- package/resources/workers/scripts/usage-model.d.ts +0 -43
- package/resources/workers/scripts/usage-model.d.ts.map +0 -1
- package/resources/workers/scripts/usage-model.js +0 -29
- package/resources/workers/scripts/usage-model.js.map +0 -1
- package/resources/workers/scripts/usage-model.mjs +0 -25
- package/resources/workers/scripts/usage-model.mjs.map +0 -1
- package/resources/workers/services/environments/content.d.ts +0 -75
- package/resources/workers/services/environments/content.d.ts.map +0 -1
- package/resources/workers/services/environments/content.js +0 -34
- package/resources/workers/services/environments/content.js.map +0 -1
- package/resources/workers/services/environments/content.mjs +0 -30
- package/resources/workers/services/environments/content.mjs.map +0 -1
- package/resources/workers/services/environments/environments.d.ts +0 -18
- package/resources/workers/services/environments/environments.d.ts.map +0 -1
- package/resources/workers/services/environments/environments.js +0 -43
- package/resources/workers/services/environments/environments.js.map +0 -1
- package/resources/workers/services/environments/environments.mjs +0 -16
- package/resources/workers/services/environments/environments.mjs.map +0 -1
- package/resources/workers/services/environments/index.d.ts +0 -4
- package/resources/workers/services/environments/index.d.ts.map +0 -1
- package/resources/workers/services/environments/index.js +0 -11
- package/resources/workers/services/environments/index.js.map +0 -1
- package/resources/workers/services/environments/index.mjs +0 -5
- package/resources/workers/services/environments/index.mjs.map +0 -1
- package/resources/workers/services/environments/settings.d.ts +0 -972
- package/resources/workers/services/environments/settings.d.ts.map +0 -1
- package/resources/workers/services/environments/settings.js +0 -25
- package/resources/workers/services/environments/settings.js.map +0 -1
- package/resources/workers/services/environments/settings.mjs +0 -21
- package/resources/workers/services/environments/settings.mjs.map +0 -1
- package/resources/workers/services/index.d.ts +0 -3
- package/resources/workers/services/index.d.ts.map +0 -1
- package/resources/workers/services/index.js +0 -9
- package/resources/workers/services/index.js.map +0 -1
- package/resources/workers/services/index.mjs +0 -4
- package/resources/workers/services/index.mjs.map +0 -1
- package/resources/workers/services/services.d.ts +0 -9
- package/resources/workers/services/services.d.ts.map +0 -1
- package/resources/workers/services/services.js.map +0 -1
- package/resources/workers/services/services.mjs +0 -13
- package/resources/workers/services/services.mjs.map +0 -1
- package/resources/zones/workers/index.d.ts +0 -3
- package/resources/zones/workers/index.d.ts.map +0 -1
- package/resources/zones/workers/index.js +0 -9
- package/resources/zones/workers/index.js.map +0 -1
- package/resources/zones/workers/index.mjs +0 -4
- package/resources/zones/workers/index.mjs.map +0 -1
- package/resources/zones/workers/script.d.ts +0 -45
- package/resources/zones/workers/script.d.ts.map +0 -1
- package/resources/zones/workers/script.js +0 -36
- package/resources/zones/workers/script.js.map +0 -1
- package/resources/zones/workers/script.mjs +0 -32
- package/resources/zones/workers/script.mjs.map +0 -1
- package/resources/zones/workers/workers.d.ts +0 -13
- package/resources/zones/workers/workers.d.ts.map +0 -1
- package/resources/zones/workers/workers.js.map +0 -1
- package/resources/zones/workers/workers.mjs +0 -13
- package/resources/zones/workers/workers.mjs.map +0 -1
- package/src/resources/radar/bgp/hijacks.ts +0 -194
- package/src/resources/radar/bgp/leaks.ts +0 -154
- package/src/resources/speed/pages.ts +0 -89
- package/src/resources/stream/captions.ts +0 -115
- package/src/resources/user/firewall/access-rules.ts +0 -382
- package/src/resources/user/firewall/firewall.ts +0 -18
- package/src/resources/user/firewall/index.ts +0 -12
- package/src/resources/user/load-balancers/analytics/events.ts +0 -87
- package/src/resources/user/load-balancers/analytics/index.ts +0 -4
- package/src/resources/user/load-balancers/index.ts +0 -31
- package/src/resources/user/load-balancers/load-balancers.ts +0 -42
- package/src/resources/user/load-balancers/monitors.ts +0 -658
- package/src/resources/user/load-balancers/pools.ts +0 -1381
- package/src/resources/user/load-balancers/preview.ts +0 -50
- package/src/resources/workers/deployments/by-scripts/by-scripts.ts +0 -48
- package/src/resources/workers/deployments/by-scripts/details.ts +0 -47
- package/src/resources/workers/deployments/by-scripts/index.ts +0 -4
- package/src/resources/workers/deployments/deployments.ts +0 -14
- package/src/resources/workers/deployments/index.ts +0 -4
- package/src/resources/workers/filters.ts +0 -153
- package/src/resources/workers/routes.ts +0 -163
- package/src/resources/workers/scripts/bindings.ts +0 -69
- package/src/resources/workers/scripts/content-v2.ts +0 -34
- package/src/resources/workers/scripts/usage-model.ts +0 -76
- package/src/resources/workers/services/environments/content.ts +0 -124
- package/src/resources/workers/services/environments/environments.ts +0 -21
- package/src/resources/workers/services/environments/index.ts +0 -11
- package/src/resources/workers/services/environments/settings.ts +0 -1239
- package/src/resources/workers/services/index.ts +0 -4
- package/src/resources/workers/services/services.ts +0 -12
- package/src/resources/zones/workers/index.ts +0 -10
- package/src/resources/zones/workers/script.ts +0 -70
- package/src/resources/zones/workers/workers.ts +0 -16
- /package/resources/speed/{tests.js → pages/tests.js} +0 -0
- /package/resources/speed/{tests.mjs → pages/tests.mjs} +0 -0
|
@@ -109,6 +109,164 @@ export class LoadBalancers extends APIResource {
|
|
|
109
109
|
|
|
110
110
|
export class LoadBalancersSinglePage extends SinglePage<LoadBalancer> {}
|
|
111
111
|
|
|
112
|
+
/**
|
|
113
|
+
* Controls features that modify the routing of requests to pools and origins in
|
|
114
|
+
* response to dynamic conditions, such as during the interval between active
|
|
115
|
+
* health monitoring requests. For example, zero-downtime failover occurs
|
|
116
|
+
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
117
|
+
* response codes. If there is another healthy origin in the same pool, the request
|
|
118
|
+
* is retried once against this alternate origin.
|
|
119
|
+
*/
|
|
120
|
+
export interface AdaptiveRouting {
|
|
121
|
+
/**
|
|
122
|
+
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
123
|
+
* pools, when no healthy alternate exists in the same pool, according to the
|
|
124
|
+
* failover order defined by traffic and origin steering. When set false (the
|
|
125
|
+
* default) zero-downtime failover will only occur between origins within the same
|
|
126
|
+
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
127
|
+
* broken or reassigned.
|
|
128
|
+
*/
|
|
129
|
+
failover_across_pools?: boolean;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Controls features that modify the routing of requests to pools and origins in
|
|
134
|
+
* response to dynamic conditions, such as during the interval between active
|
|
135
|
+
* health monitoring requests. For example, zero-downtime failover occurs
|
|
136
|
+
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
137
|
+
* response codes. If there is another healthy origin in the same pool, the request
|
|
138
|
+
* is retried once against this alternate origin.
|
|
139
|
+
*/
|
|
140
|
+
export interface AdaptiveRoutingParam {
|
|
141
|
+
/**
|
|
142
|
+
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
143
|
+
* pools, when no healthy alternate exists in the same pool, according to the
|
|
144
|
+
* failover order defined by traffic and origin steering. When set false (the
|
|
145
|
+
* default) zero-downtime failover will only occur between origins within the same
|
|
146
|
+
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
147
|
+
* broken or reassigned.
|
|
148
|
+
*/
|
|
149
|
+
failover_across_pools?: boolean;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* WNAM: Western North America, ENAM: Eastern North America, WEU: Western Europe,
|
|
154
|
+
* EEU: Eastern Europe, NSAM: Northern South America, SSAM: Southern South America,
|
|
155
|
+
* OC: Oceania, ME: Middle East, NAF: North Africa, SAF: South Africa, SAS:
|
|
156
|
+
* Southern Asia, SEAS: South East Asia, NEAS: North East Asia, ALL_REGIONS: all
|
|
157
|
+
* regions (ENTERPRISE customers only).
|
|
158
|
+
*/
|
|
159
|
+
export type CheckRegion =
|
|
160
|
+
| 'WNAM'
|
|
161
|
+
| 'ENAM'
|
|
162
|
+
| 'WEU'
|
|
163
|
+
| 'EEU'
|
|
164
|
+
| 'NSAM'
|
|
165
|
+
| 'SSAM'
|
|
166
|
+
| 'OC'
|
|
167
|
+
| 'ME'
|
|
168
|
+
| 'NAF'
|
|
169
|
+
| 'SAF'
|
|
170
|
+
| 'SAS'
|
|
171
|
+
| 'SEAS'
|
|
172
|
+
| 'NEAS'
|
|
173
|
+
| 'ALL_REGIONS';
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* WNAM: Western North America, ENAM: Eastern North America, WEU: Western Europe,
|
|
177
|
+
* EEU: Eastern Europe, NSAM: Northern South America, SSAM: Southern South America,
|
|
178
|
+
* OC: Oceania, ME: Middle East, NAF: North Africa, SAF: South Africa, SAS:
|
|
179
|
+
* Southern Asia, SEAS: South East Asia, NEAS: North East Asia, ALL_REGIONS: all
|
|
180
|
+
* regions (ENTERPRISE customers only).
|
|
181
|
+
*/
|
|
182
|
+
export type CheckRegionParam =
|
|
183
|
+
| 'WNAM'
|
|
184
|
+
| 'ENAM'
|
|
185
|
+
| 'WEU'
|
|
186
|
+
| 'EEU'
|
|
187
|
+
| 'NSAM'
|
|
188
|
+
| 'SSAM'
|
|
189
|
+
| 'OC'
|
|
190
|
+
| 'ME'
|
|
191
|
+
| 'NAF'
|
|
192
|
+
| 'SAF'
|
|
193
|
+
| 'SAS'
|
|
194
|
+
| 'SEAS'
|
|
195
|
+
| 'NEAS'
|
|
196
|
+
| 'ALL_REGIONS';
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* A pool ID.
|
|
200
|
+
*/
|
|
201
|
+
export type DefaultPools = string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* A pool ID.
|
|
205
|
+
*/
|
|
206
|
+
export type DefaultPoolsParam = string;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Filter options for a particular resource type (pool or origin). Use null to
|
|
210
|
+
* reset.
|
|
211
|
+
*/
|
|
212
|
+
export interface FilterOptions {
|
|
213
|
+
/**
|
|
214
|
+
* If set true, disable notifications for this type of resource (pool or origin).
|
|
215
|
+
*/
|
|
216
|
+
disable?: boolean;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* If present, send notifications only for this health status (e.g. false for only
|
|
220
|
+
* DOWN events). Use null to reset (all events).
|
|
221
|
+
*/
|
|
222
|
+
healthy?: boolean | null;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Filter options for a particular resource type (pool or origin). Use null to
|
|
227
|
+
* reset.
|
|
228
|
+
*/
|
|
229
|
+
export interface FilterOptionsParam {
|
|
230
|
+
/**
|
|
231
|
+
* If set true, disable notifications for this type of resource (pool or origin).
|
|
232
|
+
*/
|
|
233
|
+
disable?: boolean;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* If present, send notifications only for this health status (e.g. false for only
|
|
237
|
+
* DOWN events). Use null to reset (all events).
|
|
238
|
+
*/
|
|
239
|
+
healthy?: boolean | null;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* The request header is used to pass additional information with an HTTP request.
|
|
244
|
+
* Currently supported header is 'Host'.
|
|
245
|
+
*/
|
|
246
|
+
export interface Header {
|
|
247
|
+
/**
|
|
248
|
+
* The 'Host' header allows to override the hostname set in the HTTP request.
|
|
249
|
+
* Current support is 1 'Host' header override per origin.
|
|
250
|
+
*/
|
|
251
|
+
Host?: Array<Host>;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* The request header is used to pass additional information with an HTTP request.
|
|
256
|
+
* Currently supported header is 'Host'.
|
|
257
|
+
*/
|
|
258
|
+
export interface HeaderParam {
|
|
259
|
+
/**
|
|
260
|
+
* The 'Host' header allows to override the hostname set in the HTTP request.
|
|
261
|
+
* Current support is 1 'Host' header override per origin.
|
|
262
|
+
*/
|
|
263
|
+
Host?: Array<HostParam>;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type Host = string;
|
|
267
|
+
|
|
268
|
+
export type HostParam = string;
|
|
269
|
+
|
|
112
270
|
export interface LoadBalancer {
|
|
113
271
|
id?: string;
|
|
114
272
|
|
|
@@ -120,7 +278,7 @@ export interface LoadBalancer {
|
|
|
120
278
|
* response codes. If there is another healthy origin in the same pool, the request
|
|
121
279
|
* is retried once against this alternate origin.
|
|
122
280
|
*/
|
|
123
|
-
adaptive_routing?:
|
|
281
|
+
adaptive_routing?: AdaptiveRouting;
|
|
124
282
|
|
|
125
283
|
/**
|
|
126
284
|
* A mapping of country codes to a list of pool IDs (ordered by their failover
|
|
@@ -136,7 +294,7 @@ export interface LoadBalancer {
|
|
|
136
294
|
* A list of pool IDs ordered by their failover priority. Pools defined here are
|
|
137
295
|
* used by default, or when region_pools are not configured for a given region.
|
|
138
296
|
*/
|
|
139
|
-
default_pools?: Array<
|
|
297
|
+
default_pools?: Array<DefaultPools>;
|
|
140
298
|
|
|
141
299
|
/**
|
|
142
300
|
* Object description.
|
|
@@ -157,7 +315,7 @@ export interface LoadBalancer {
|
|
|
157
315
|
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
158
316
|
* to learn how steering is affected.
|
|
159
317
|
*/
|
|
160
|
-
location_strategy?:
|
|
318
|
+
location_strategy?: LocationStrategy;
|
|
161
319
|
|
|
162
320
|
modified_on?: string;
|
|
163
321
|
|
|
@@ -191,7 +349,7 @@ export interface LoadBalancer {
|
|
|
191
349
|
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
192
350
|
* open connections.
|
|
193
351
|
*/
|
|
194
|
-
random_steering?:
|
|
352
|
+
random_steering?: RandomSteering;
|
|
195
353
|
|
|
196
354
|
/**
|
|
197
355
|
* A mapping of region codes to a list of pool IDs (ordered by their failover
|
|
@@ -204,7 +362,7 @@ export interface LoadBalancer {
|
|
|
204
362
|
* BETA Field Not General Access: A list of rules for this load balancer to
|
|
205
363
|
* execute.
|
|
206
364
|
*/
|
|
207
|
-
rules?: Array<
|
|
365
|
+
rules?: Array<Rules>;
|
|
208
366
|
|
|
209
367
|
/**
|
|
210
368
|
* Specifies the type of session affinity the load balancer should use unless
|
|
@@ -231,12 +389,12 @@ export interface LoadBalancer {
|
|
|
231
389
|
* `headers` in `session_affinity_attributes` for additional required
|
|
232
390
|
* configuration.
|
|
233
391
|
*/
|
|
234
|
-
session_affinity?:
|
|
392
|
+
session_affinity?: SessionAffinity;
|
|
235
393
|
|
|
236
394
|
/**
|
|
237
395
|
* Configures attributes for session affinity.
|
|
238
396
|
*/
|
|
239
|
-
session_affinity_attributes?:
|
|
397
|
+
session_affinity_attributes?: SessionAffinityAttributes;
|
|
240
398
|
|
|
241
399
|
/**
|
|
242
400
|
* Time, in seconds, until a client's session expires after being created. Once the
|
|
@@ -276,15 +434,7 @@ export interface LoadBalancer {
|
|
|
276
434
|
* - `""`: Will map to `"geo"` if you use
|
|
277
435
|
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
278
436
|
*/
|
|
279
|
-
steering_policy?:
|
|
280
|
-
| 'off'
|
|
281
|
-
| 'geo'
|
|
282
|
-
| 'random'
|
|
283
|
-
| 'dynamic_latency'
|
|
284
|
-
| 'proximity'
|
|
285
|
-
| 'least_outstanding_requests'
|
|
286
|
-
| 'least_connections'
|
|
287
|
-
| '""';
|
|
437
|
+
steering_policy?: SteeringPolicy;
|
|
288
438
|
|
|
289
439
|
/**
|
|
290
440
|
* Time to live (TTL) of the DNS entry for the IP address returned by this load
|
|
@@ -293,521 +443,1060 @@ export interface LoadBalancer {
|
|
|
293
443
|
ttl?: number;
|
|
294
444
|
}
|
|
295
445
|
|
|
296
|
-
|
|
446
|
+
/**
|
|
447
|
+
* Configures load shedding policies and percentages for the pool.
|
|
448
|
+
*/
|
|
449
|
+
export interface LoadShedding {
|
|
297
450
|
/**
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
301
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
302
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
303
|
-
* is retried once against this alternate origin.
|
|
451
|
+
* The percent of traffic to shed from the pool, according to the default policy.
|
|
452
|
+
* Applies to new sessions and traffic without session affinity.
|
|
304
453
|
*/
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
308
|
-
* pools, when no healthy alternate exists in the same pool, according to the
|
|
309
|
-
* failover order defined by traffic and origin steering. When set false (the
|
|
310
|
-
* default) zero-downtime failover will only occur between origins within the same
|
|
311
|
-
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
312
|
-
* broken or reassigned.
|
|
313
|
-
*/
|
|
314
|
-
failover_across_pools?: boolean;
|
|
315
|
-
}
|
|
454
|
+
default_percent?: number;
|
|
316
455
|
|
|
317
456
|
/**
|
|
318
|
-
*
|
|
319
|
-
*
|
|
457
|
+
* The default policy to use when load shedding. A random policy randomly sheds a
|
|
458
|
+
* given percent of requests. A hash policy computes a hash over the
|
|
459
|
+
* CF-Connecting-IP address and sheds all requests originating from a percent of
|
|
460
|
+
* IPs.
|
|
320
461
|
*/
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
324
|
-
* in the request, or its GeoIP lookup is unsuccessful.
|
|
325
|
-
*
|
|
326
|
-
* - `"pop"`: Use the Cloudflare PoP location.
|
|
327
|
-
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
328
|
-
* unsuccessful, use the Cloudflare PoP location.
|
|
329
|
-
*/
|
|
330
|
-
mode?: 'pop' | 'resolver_ip';
|
|
462
|
+
default_policy?: 'random' | 'hash';
|
|
331
463
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
* - `"never"`: Never prefer ECS.
|
|
338
|
-
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
339
|
-
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
340
|
-
*/
|
|
341
|
-
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
342
|
-
}
|
|
464
|
+
/**
|
|
465
|
+
* The percent of existing sessions to shed from the pool, according to the session
|
|
466
|
+
* policy.
|
|
467
|
+
*/
|
|
468
|
+
session_percent?: number;
|
|
343
469
|
|
|
344
470
|
/**
|
|
345
|
-
*
|
|
471
|
+
* Only the hash policy is supported for existing sessions (to avoid exponential
|
|
472
|
+
* decay).
|
|
473
|
+
*/
|
|
474
|
+
session_policy?: 'hash';
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Configures load shedding policies and percentages for the pool.
|
|
479
|
+
*/
|
|
480
|
+
export interface LoadSheddingParam {
|
|
481
|
+
/**
|
|
482
|
+
* The percent of traffic to shed from the pool, according to the default policy.
|
|
483
|
+
* Applies to new sessions and traffic without session affinity.
|
|
484
|
+
*/
|
|
485
|
+
default_percent?: number;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* The default policy to use when load shedding. A random policy randomly sheds a
|
|
489
|
+
* given percent of requests. A hash policy computes a hash over the
|
|
490
|
+
* CF-Connecting-IP address and sheds all requests originating from a percent of
|
|
491
|
+
* IPs.
|
|
492
|
+
*/
|
|
493
|
+
default_policy?: 'random' | 'hash';
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* The percent of existing sessions to shed from the pool, according to the session
|
|
497
|
+
* policy.
|
|
498
|
+
*/
|
|
499
|
+
session_percent?: number;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Only the hash policy is supported for existing sessions (to avoid exponential
|
|
503
|
+
* decay).
|
|
504
|
+
*/
|
|
505
|
+
session_policy?: 'hash';
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
510
|
+
* to learn how steering is affected.
|
|
511
|
+
*/
|
|
512
|
+
export interface LocationStrategy {
|
|
513
|
+
/**
|
|
514
|
+
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
515
|
+
* in the request, or its GeoIP lookup is unsuccessful.
|
|
346
516
|
*
|
|
347
|
-
* - `
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
|
|
351
|
-
|
|
517
|
+
* - `"pop"`: Use the Cloudflare PoP location.
|
|
518
|
+
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
519
|
+
* unsuccessful, use the Cloudflare PoP location.
|
|
520
|
+
*/
|
|
521
|
+
mode?: 'pop' | 'resolver_ip';
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the
|
|
525
|
+
* authoritative location.
|
|
526
|
+
*
|
|
527
|
+
* - `"always"`: Always prefer ECS.
|
|
528
|
+
* - `"never"`: Never prefer ECS.
|
|
529
|
+
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
530
|
+
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
531
|
+
*/
|
|
532
|
+
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
537
|
+
* to learn how steering is affected.
|
|
538
|
+
*/
|
|
539
|
+
export interface LocationStrategyParam {
|
|
540
|
+
/**
|
|
541
|
+
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
542
|
+
* in the request, or its GeoIP lookup is unsuccessful.
|
|
543
|
+
*
|
|
544
|
+
* - `"pop"`: Use the Cloudflare PoP location.
|
|
545
|
+
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
546
|
+
* unsuccessful, use the Cloudflare PoP location.
|
|
547
|
+
*/
|
|
548
|
+
mode?: 'pop' | 'resolver_ip';
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the
|
|
552
|
+
* authoritative location.
|
|
553
|
+
*
|
|
554
|
+
* - `"always"`: Always prefer ECS.
|
|
555
|
+
* - `"never"`: Never prefer ECS.
|
|
556
|
+
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
557
|
+
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
558
|
+
*/
|
|
559
|
+
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Filter pool and origin health notifications by resource type or health status.
|
|
564
|
+
* Use null to reset.
|
|
565
|
+
*/
|
|
566
|
+
export interface NotificationFilter {
|
|
567
|
+
/**
|
|
568
|
+
* Filter options for a particular resource type (pool or origin). Use null to
|
|
569
|
+
* reset.
|
|
570
|
+
*/
|
|
571
|
+
origin?: FilterOptions | null;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Filter options for a particular resource type (pool or origin). Use null to
|
|
575
|
+
* reset.
|
|
576
|
+
*/
|
|
577
|
+
pool?: FilterOptions | null;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Filter pool and origin health notifications by resource type or health status.
|
|
582
|
+
* Use null to reset.
|
|
583
|
+
*/
|
|
584
|
+
export interface NotificationFilterParam {
|
|
585
|
+
/**
|
|
586
|
+
* Filter options for a particular resource type (pool or origin). Use null to
|
|
587
|
+
* reset.
|
|
588
|
+
*/
|
|
589
|
+
origin?: FilterOptionsParam | null;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Filter options for a particular resource type (pool or origin). Use null to
|
|
593
|
+
* reset.
|
|
594
|
+
*/
|
|
595
|
+
pool?: FilterOptionsParam | null;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export interface Origin {
|
|
599
|
+
/**
|
|
600
|
+
* The IP address (IPv4 or IPv6) of the origin, or its publicly addressable
|
|
601
|
+
* hostname. Hostnames entered here should resolve directly to the origin, and not
|
|
602
|
+
* be a hostname proxied by Cloudflare. To set an internal/reserved address,
|
|
603
|
+
* virtual_network_id must also be set.
|
|
604
|
+
*/
|
|
605
|
+
address?: string;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* This field shows up only if the origin is disabled. This field is set with the
|
|
609
|
+
* time the origin was disabled.
|
|
610
|
+
*/
|
|
611
|
+
disabled_at?: string;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Whether to enable (the default) this origin within the pool. Disabled origins
|
|
615
|
+
* will not receive traffic and are excluded from health checks. The origin will
|
|
616
|
+
* only be disabled for the current pool.
|
|
617
|
+
*/
|
|
618
|
+
enabled?: boolean;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* The request header is used to pass additional information with an HTTP request.
|
|
622
|
+
* Currently supported header is 'Host'.
|
|
623
|
+
*/
|
|
624
|
+
header?: Header;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* A human-identifiable name for the origin.
|
|
628
|
+
*/
|
|
629
|
+
name?: string;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* The virtual network subnet ID the origin belongs in. Virtual network must also
|
|
633
|
+
* belong to the account.
|
|
634
|
+
*/
|
|
635
|
+
virtual_network_id?: string;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* The weight of this origin relative to other origins in the pool. Based on the
|
|
639
|
+
* configured weight the total traffic is distributed among origins within the
|
|
640
|
+
* pool.
|
|
641
|
+
*
|
|
642
|
+
* - `origin_steering.policy="least_outstanding_requests"`: Use weight to scale the
|
|
643
|
+
* origin's outstanding requests.
|
|
644
|
+
* - `origin_steering.policy="least_connections"`: Use weight to scale the origin's
|
|
645
|
+
* open connections.
|
|
646
|
+
*/
|
|
647
|
+
weight?: number;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
export interface OriginParam {
|
|
651
|
+
/**
|
|
652
|
+
* The IP address (IPv4 or IPv6) of the origin, or its publicly addressable
|
|
653
|
+
* hostname. Hostnames entered here should resolve directly to the origin, and not
|
|
654
|
+
* be a hostname proxied by Cloudflare. To set an internal/reserved address,
|
|
655
|
+
* virtual_network_id must also be set.
|
|
656
|
+
*/
|
|
657
|
+
address?: string;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Whether to enable (the default) this origin within the pool. Disabled origins
|
|
661
|
+
* will not receive traffic and are excluded from health checks. The origin will
|
|
662
|
+
* only be disabled for the current pool.
|
|
663
|
+
*/
|
|
664
|
+
enabled?: boolean;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* The request header is used to pass additional information with an HTTP request.
|
|
668
|
+
* Currently supported header is 'Host'.
|
|
669
|
+
*/
|
|
670
|
+
header?: HeaderParam;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* A human-identifiable name for the origin.
|
|
674
|
+
*/
|
|
675
|
+
name?: string;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* The virtual network subnet ID the origin belongs in. Virtual network must also
|
|
679
|
+
* belong to the account.
|
|
680
|
+
*/
|
|
681
|
+
virtual_network_id?: string;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* The weight of this origin relative to other origins in the pool. Based on the
|
|
685
|
+
* configured weight the total traffic is distributed among origins within the
|
|
686
|
+
* pool.
|
|
687
|
+
*
|
|
688
|
+
* - `origin_steering.policy="least_outstanding_requests"`: Use weight to scale the
|
|
689
|
+
* origin's outstanding requests.
|
|
690
|
+
* - `origin_steering.policy="least_connections"`: Use weight to scale the origin's
|
|
352
691
|
* open connections.
|
|
353
692
|
*/
|
|
354
|
-
|
|
693
|
+
weight?: number;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Configures origin steering for the pool. Controls how origins are selected for
|
|
698
|
+
* new sessions and traffic without session affinity.
|
|
699
|
+
*/
|
|
700
|
+
export interface OriginSteering {
|
|
701
|
+
/**
|
|
702
|
+
* The type of origin steering policy to use.
|
|
703
|
+
*
|
|
704
|
+
* - `"random"`: Select an origin randomly.
|
|
705
|
+
* - `"hash"`: Select an origin by computing a hash over the CF-Connecting-IP
|
|
706
|
+
* address.
|
|
707
|
+
* - `"least_outstanding_requests"`: Select an origin by taking into consideration
|
|
708
|
+
* origin weights, as well as each origin's number of outstanding requests.
|
|
709
|
+
* Origins with more pending requests are weighted proportionately less relative
|
|
710
|
+
* to others.
|
|
711
|
+
* - `"least_connections"`: Select an origin by taking into consideration origin
|
|
712
|
+
* weights, as well as each origin's number of open connections. Origins with
|
|
713
|
+
* more open connections are weighted proportionately less relative to others.
|
|
714
|
+
* Supported for HTTP/1 and HTTP/2 connections.
|
|
715
|
+
*/
|
|
716
|
+
policy?: 'random' | 'hash' | 'least_outstanding_requests' | 'least_connections';
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Configures origin steering for the pool. Controls how origins are selected for
|
|
721
|
+
* new sessions and traffic without session affinity.
|
|
722
|
+
*/
|
|
723
|
+
export interface OriginSteeringParam {
|
|
724
|
+
/**
|
|
725
|
+
* The type of origin steering policy to use.
|
|
726
|
+
*
|
|
727
|
+
* - `"random"`: Select an origin randomly.
|
|
728
|
+
* - `"hash"`: Select an origin by computing a hash over the CF-Connecting-IP
|
|
729
|
+
* address.
|
|
730
|
+
* - `"least_outstanding_requests"`: Select an origin by taking into consideration
|
|
731
|
+
* origin weights, as well as each origin's number of outstanding requests.
|
|
732
|
+
* Origins with more pending requests are weighted proportionately less relative
|
|
733
|
+
* to others.
|
|
734
|
+
* - `"least_connections"`: Select an origin by taking into consideration origin
|
|
735
|
+
* weights, as well as each origin's number of open connections. Origins with
|
|
736
|
+
* more open connections are weighted proportionately less relative to others.
|
|
737
|
+
* Supported for HTTP/1 and HTTP/2 connections.
|
|
738
|
+
*/
|
|
739
|
+
policy?: 'random' | 'hash' | 'least_outstanding_requests' | 'least_connections';
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Configures pool weights.
|
|
744
|
+
*
|
|
745
|
+
* - `steering_policy="random"`: A random pool is selected with probability
|
|
746
|
+
* proportional to pool weights.
|
|
747
|
+
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
748
|
+
* pool's outstanding requests.
|
|
749
|
+
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
750
|
+
* open connections.
|
|
751
|
+
*/
|
|
752
|
+
export interface RandomSteering {
|
|
753
|
+
/**
|
|
754
|
+
* The default weight for pools in the load balancer that are not specified in the
|
|
755
|
+
* pool_weights map.
|
|
756
|
+
*/
|
|
757
|
+
default_weight?: number;
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* A mapping of pool IDs to custom weights. The weight is relative to other pools
|
|
761
|
+
* in the load balancer.
|
|
762
|
+
*/
|
|
763
|
+
pool_weights?: unknown;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Configures pool weights.
|
|
768
|
+
*
|
|
769
|
+
* - `steering_policy="random"`: A random pool is selected with probability
|
|
770
|
+
* proportional to pool weights.
|
|
771
|
+
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
772
|
+
* pool's outstanding requests.
|
|
773
|
+
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
774
|
+
* open connections.
|
|
775
|
+
*/
|
|
776
|
+
export interface RandomSteeringParam {
|
|
777
|
+
/**
|
|
778
|
+
* The default weight for pools in the load balancer that are not specified in the
|
|
779
|
+
* pool_weights map.
|
|
780
|
+
*/
|
|
781
|
+
default_weight?: number;
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* A mapping of pool IDs to custom weights. The weight is relative to other pools
|
|
785
|
+
* in the load balancer.
|
|
786
|
+
*/
|
|
787
|
+
pool_weights?: unknown;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* A rule object containing conditions and overrides for this load balancer to
|
|
792
|
+
* evaluate.
|
|
793
|
+
*/
|
|
794
|
+
export interface Rules {
|
|
795
|
+
/**
|
|
796
|
+
* The condition expressions to evaluate. If the condition evaluates to true, the
|
|
797
|
+
* overrides or fixed_response in this rule will be applied. An empty condition is
|
|
798
|
+
* always true. For more details on condition expressions, please see
|
|
799
|
+
* https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules/expressions.
|
|
800
|
+
*/
|
|
801
|
+
condition?: string;
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Disable this specific rule. It will no longer be evaluated by this load
|
|
805
|
+
* balancer.
|
|
806
|
+
*/
|
|
807
|
+
disabled?: boolean;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* A collection of fields used to directly respond to the eyeball instead of
|
|
811
|
+
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
812
|
+
* terminates.
|
|
813
|
+
*/
|
|
814
|
+
fixed_response?: Rules.FixedResponse;
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* Name of this rule. Only used for human readability.
|
|
818
|
+
*/
|
|
819
|
+
name?: string;
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* A collection of overrides to apply to the load balancer when this rule's
|
|
823
|
+
* condition is true. All fields are optional.
|
|
824
|
+
*/
|
|
825
|
+
overrides?: Rules.Overrides;
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* The order in which rules should be executed in relation to each other. Lower
|
|
829
|
+
* values are executed first. Values do not need to be sequential. If no value is
|
|
830
|
+
* provided for any rule the array order of the rules field will be used to assign
|
|
831
|
+
* a priority.
|
|
832
|
+
*/
|
|
833
|
+
priority?: number;
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* If this rule's condition is true, this causes rule evaluation to stop after
|
|
837
|
+
* processing this rule.
|
|
838
|
+
*/
|
|
839
|
+
terminates?: boolean;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
export namespace Rules {
|
|
843
|
+
/**
|
|
844
|
+
* A collection of fields used to directly respond to the eyeball instead of
|
|
845
|
+
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
846
|
+
* terminates.
|
|
847
|
+
*/
|
|
848
|
+
export interface FixedResponse {
|
|
355
849
|
/**
|
|
356
|
-
* The
|
|
357
|
-
* pool_weights map.
|
|
850
|
+
* The http 'Content-Type' header to include in the response.
|
|
358
851
|
*/
|
|
359
|
-
|
|
852
|
+
content_type?: string;
|
|
360
853
|
|
|
361
854
|
/**
|
|
362
|
-
*
|
|
363
|
-
* in the load balancer.
|
|
855
|
+
* The http 'Location' header to include in the response.
|
|
364
856
|
*/
|
|
365
|
-
|
|
857
|
+
location?: string;
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Text to include as the http body.
|
|
861
|
+
*/
|
|
862
|
+
message_body?: string;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* The http status code to respond with.
|
|
866
|
+
*/
|
|
867
|
+
status_code?: number;
|
|
366
868
|
}
|
|
367
869
|
|
|
368
870
|
/**
|
|
369
|
-
* A
|
|
370
|
-
*
|
|
871
|
+
* A collection of overrides to apply to the load balancer when this rule's
|
|
872
|
+
* condition is true. All fields are optional.
|
|
371
873
|
*/
|
|
372
|
-
export interface
|
|
874
|
+
export interface Overrides {
|
|
875
|
+
/**
|
|
876
|
+
* Controls features that modify the routing of requests to pools and origins in
|
|
877
|
+
* response to dynamic conditions, such as during the interval between active
|
|
878
|
+
* health monitoring requests. For example, zero-downtime failover occurs
|
|
879
|
+
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
880
|
+
* response codes. If there is another healthy origin in the same pool, the request
|
|
881
|
+
* is retried once against this alternate origin.
|
|
882
|
+
*/
|
|
883
|
+
adaptive_routing?: LoadBalancersAPI.AdaptiveRouting;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* A mapping of country codes to a list of pool IDs (ordered by their failover
|
|
887
|
+
* priority) for the given country. Any country not explicitly defined will fall
|
|
888
|
+
* back to using the corresponding region_pool mapping if it exists else to
|
|
889
|
+
* default_pools.
|
|
890
|
+
*/
|
|
891
|
+
country_pools?: unknown;
|
|
892
|
+
|
|
373
893
|
/**
|
|
374
|
-
*
|
|
375
|
-
*
|
|
376
|
-
* always true. For more details on condition expressions, please see
|
|
377
|
-
* https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules/expressions.
|
|
894
|
+
* A list of pool IDs ordered by their failover priority. Pools defined here are
|
|
895
|
+
* used by default, or when region_pools are not configured for a given region.
|
|
378
896
|
*/
|
|
379
|
-
|
|
897
|
+
default_pools?: Array<LoadBalancersAPI.DefaultPools>;
|
|
380
898
|
|
|
381
899
|
/**
|
|
382
|
-
*
|
|
383
|
-
* balancer.
|
|
900
|
+
* The pool ID to use when all other pools are detected as unhealthy.
|
|
384
901
|
*/
|
|
385
|
-
|
|
902
|
+
fallback_pool?: unknown;
|
|
386
903
|
|
|
387
904
|
/**
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
* terminates.
|
|
905
|
+
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
906
|
+
* to learn how steering is affected.
|
|
391
907
|
*/
|
|
392
|
-
|
|
908
|
+
location_strategy?: LoadBalancersAPI.LocationStrategy;
|
|
393
909
|
|
|
394
910
|
/**
|
|
395
|
-
*
|
|
911
|
+
* (Enterprise only): A mapping of Cloudflare PoP identifiers to a list of pool IDs
|
|
912
|
+
* (ordered by their failover priority) for the PoP (datacenter). Any PoPs not
|
|
913
|
+
* explicitly defined will fall back to using the corresponding country_pool, then
|
|
914
|
+
* region_pool mapping if it exists else to default_pools.
|
|
396
915
|
*/
|
|
397
|
-
|
|
916
|
+
pop_pools?: unknown;
|
|
398
917
|
|
|
399
918
|
/**
|
|
400
|
-
*
|
|
401
|
-
*
|
|
919
|
+
* Configures pool weights.
|
|
920
|
+
*
|
|
921
|
+
* - `steering_policy="random"`: A random pool is selected with probability
|
|
922
|
+
* proportional to pool weights.
|
|
923
|
+
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
924
|
+
* pool's outstanding requests.
|
|
925
|
+
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
926
|
+
* open connections.
|
|
402
927
|
*/
|
|
403
|
-
|
|
928
|
+
random_steering?: LoadBalancersAPI.RandomSteering;
|
|
404
929
|
|
|
405
930
|
/**
|
|
406
|
-
*
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
* a priority.
|
|
931
|
+
* A mapping of region codes to a list of pool IDs (ordered by their failover
|
|
932
|
+
* priority) for the given region. Any regions not explicitly defined will fall
|
|
933
|
+
* back to using default_pools.
|
|
410
934
|
*/
|
|
411
|
-
|
|
935
|
+
region_pools?: unknown;
|
|
412
936
|
|
|
413
937
|
/**
|
|
414
|
-
*
|
|
415
|
-
*
|
|
938
|
+
* Specifies the type of session affinity the load balancer should use unless
|
|
939
|
+
* specified as `"none"` or "" (default). The supported types are:
|
|
940
|
+
*
|
|
941
|
+
* - `"cookie"`: On the first request to a proxied load balancer, a cookie is
|
|
942
|
+
* generated, encoding information of which origin the request will be forwarded
|
|
943
|
+
* to. Subsequent requests, by the same client to the same load balancer, will be
|
|
944
|
+
* sent to the origin server the cookie encodes, for the duration of the cookie
|
|
945
|
+
* and as long as the origin server remains healthy. If the cookie has expired or
|
|
946
|
+
* the origin server is unhealthy, then a new origin server is calculated and
|
|
947
|
+
* used.
|
|
948
|
+
* - `"ip_cookie"`: Behaves the same as `"cookie"` except the initial origin
|
|
949
|
+
* selection is stable and based on the client's ip address.
|
|
950
|
+
* - `"header"`: On the first request to a proxied load balancer, a session key
|
|
951
|
+
* based on the configured HTTP headers (see
|
|
952
|
+
* `session_affinity_attributes.headers`) is generated, encoding the request
|
|
953
|
+
* headers used for storing in the load balancer session state which origin the
|
|
954
|
+
* request will be forwarded to. Subsequent requests to the load balancer with
|
|
955
|
+
* the same headers will be sent to the same origin server, for the duration of
|
|
956
|
+
* the session and as long as the origin server remains healthy. If the session
|
|
957
|
+
* has been idle for the duration of `session_affinity_ttl` seconds or the origin
|
|
958
|
+
* server is unhealthy, then a new origin server is calculated and used. See
|
|
959
|
+
* `headers` in `session_affinity_attributes` for additional required
|
|
960
|
+
* configuration.
|
|
961
|
+
*/
|
|
962
|
+
session_affinity?: LoadBalancersAPI.SessionAffinity;
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* Configures attributes for session affinity.
|
|
966
|
+
*/
|
|
967
|
+
session_affinity_attributes?: LoadBalancersAPI.SessionAffinityAttributes;
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Time, in seconds, until a client's session expires after being created. Once the
|
|
971
|
+
* expiry time has been reached, subsequent requests may get sent to a different
|
|
972
|
+
* origin server. The accepted ranges per `session_affinity` policy are:
|
|
973
|
+
*
|
|
974
|
+
* - `"cookie"` / `"ip_cookie"`: The current default of 23 hours will be used
|
|
975
|
+
* unless explicitly set. The accepted range of values is between [1800, 604800].
|
|
976
|
+
* - `"header"`: The current default of 1800 seconds will be used unless explicitly
|
|
977
|
+
* set. The accepted range of values is between [30, 3600]. Note: With session
|
|
978
|
+
* affinity by header, sessions only expire after they haven't been used for the
|
|
979
|
+
* number of seconds specified.
|
|
416
980
|
*/
|
|
417
|
-
|
|
981
|
+
session_affinity_ttl?: number;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Steering Policy for this load balancer.
|
|
985
|
+
*
|
|
986
|
+
* - `"off"`: Use `default_pools`.
|
|
987
|
+
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
988
|
+
* requests, the country for `country_pools` is determined by
|
|
989
|
+
* `location_strategy`.
|
|
990
|
+
* - `"random"`: Select a pool randomly.
|
|
991
|
+
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
992
|
+
* default_pools (requires pool health checks).
|
|
993
|
+
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
994
|
+
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
995
|
+
* determined by `location_strategy` for non-proxied requests.
|
|
996
|
+
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
997
|
+
* `random_steering` weights, as well as each pool's number of outstanding
|
|
998
|
+
* requests. Pools with more pending requests are weighted proportionately less
|
|
999
|
+
* relative to others.
|
|
1000
|
+
* - `"least_connections"`: Select a pool by taking into consideration
|
|
1001
|
+
* `random_steering` weights, as well as each pool's number of open connections.
|
|
1002
|
+
* Pools with more open connections are weighted proportionately less relative to
|
|
1003
|
+
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
1004
|
+
* - `""`: Will map to `"geo"` if you use
|
|
1005
|
+
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
1006
|
+
*/
|
|
1007
|
+
steering_policy?: LoadBalancersAPI.SteeringPolicy;
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* Time to live (TTL) of the DNS entry for the IP address returned by this load
|
|
1011
|
+
* balancer. This only applies to gray-clouded (unproxied) load balancers.
|
|
1012
|
+
*/
|
|
1013
|
+
ttl?: number;
|
|
418
1014
|
}
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* A rule object containing conditions and overrides for this load balancer to
|
|
1019
|
+
* evaluate.
|
|
1020
|
+
*/
|
|
1021
|
+
export interface RulesParam {
|
|
1022
|
+
/**
|
|
1023
|
+
* The condition expressions to evaluate. If the condition evaluates to true, the
|
|
1024
|
+
* overrides or fixed_response in this rule will be applied. An empty condition is
|
|
1025
|
+
* always true. For more details on condition expressions, please see
|
|
1026
|
+
* https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules/expressions.
|
|
1027
|
+
*/
|
|
1028
|
+
condition?: string;
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Disable this specific rule. It will no longer be evaluated by this load
|
|
1032
|
+
* balancer.
|
|
1033
|
+
*/
|
|
1034
|
+
disabled?: boolean;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* A collection of fields used to directly respond to the eyeball instead of
|
|
1038
|
+
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
1039
|
+
* terminates.
|
|
1040
|
+
*/
|
|
1041
|
+
fixed_response?: RulesParam.FixedResponse;
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* Name of this rule. Only used for human readability.
|
|
1045
|
+
*/
|
|
1046
|
+
name?: string;
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* A collection of overrides to apply to the load balancer when this rule's
|
|
1050
|
+
* condition is true. All fields are optional.
|
|
1051
|
+
*/
|
|
1052
|
+
overrides?: RulesParam.Overrides;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* The order in which rules should be executed in relation to each other. Lower
|
|
1056
|
+
* values are executed first. Values do not need to be sequential. If no value is
|
|
1057
|
+
* provided for any rule the array order of the rules field will be used to assign
|
|
1058
|
+
* a priority.
|
|
1059
|
+
*/
|
|
1060
|
+
priority?: number;
|
|
419
1061
|
|
|
420
|
-
|
|
1062
|
+
/**
|
|
1063
|
+
* If this rule's condition is true, this causes rule evaluation to stop after
|
|
1064
|
+
* processing this rule.
|
|
1065
|
+
*/
|
|
1066
|
+
terminates?: boolean;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
export namespace RulesParam {
|
|
1070
|
+
/**
|
|
1071
|
+
* A collection of fields used to directly respond to the eyeball instead of
|
|
1072
|
+
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
1073
|
+
* terminates.
|
|
1074
|
+
*/
|
|
1075
|
+
export interface FixedResponse {
|
|
421
1076
|
/**
|
|
422
|
-
*
|
|
423
|
-
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
424
|
-
* terminates.
|
|
1077
|
+
* The http 'Content-Type' header to include in the response.
|
|
425
1078
|
*/
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* The http 'Content-Type' header to include in the response.
|
|
429
|
-
*/
|
|
430
|
-
content_type?: string;
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
* The http 'Location' header to include in the response.
|
|
434
|
-
*/
|
|
435
|
-
location?: string;
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Text to include as the http body.
|
|
439
|
-
*/
|
|
440
|
-
message_body?: string;
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* The http status code to respond with.
|
|
444
|
-
*/
|
|
445
|
-
status_code?: number;
|
|
446
|
-
}
|
|
1079
|
+
content_type?: string;
|
|
447
1080
|
|
|
448
1081
|
/**
|
|
449
|
-
*
|
|
450
|
-
* condition is true. All fields are optional.
|
|
1082
|
+
* The http 'Location' header to include in the response.
|
|
451
1083
|
*/
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* A mapping of country codes to a list of pool IDs (ordered by their failover
|
|
465
|
-
* priority) for the given country. Any country not explicitly defined will fall
|
|
466
|
-
* back to using the corresponding region_pool mapping if it exists else to
|
|
467
|
-
* default_pools.
|
|
468
|
-
*/
|
|
469
|
-
country_pools?: unknown;
|
|
470
|
-
|
|
471
|
-
/**
|
|
472
|
-
* A list of pool IDs ordered by their failover priority. Pools defined here are
|
|
473
|
-
* used by default, or when region_pools are not configured for a given region.
|
|
474
|
-
*/
|
|
475
|
-
default_pools?: Array<string>;
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* The pool ID to use when all other pools are detected as unhealthy.
|
|
479
|
-
*/
|
|
480
|
-
fallback_pool?: unknown;
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
484
|
-
* to learn how steering is affected.
|
|
485
|
-
*/
|
|
486
|
-
location_strategy?: Overrides.LocationStrategy;
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* (Enterprise only): A mapping of Cloudflare PoP identifiers to a list of pool IDs
|
|
490
|
-
* (ordered by their failover priority) for the PoP (datacenter). Any PoPs not
|
|
491
|
-
* explicitly defined will fall back to using the corresponding country_pool, then
|
|
492
|
-
* region_pool mapping if it exists else to default_pools.
|
|
493
|
-
*/
|
|
494
|
-
pop_pools?: unknown;
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* Configures pool weights.
|
|
498
|
-
*
|
|
499
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
500
|
-
* proportional to pool weights.
|
|
501
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
502
|
-
* pool's outstanding requests.
|
|
503
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
504
|
-
* open connections.
|
|
505
|
-
*/
|
|
506
|
-
random_steering?: Overrides.RandomSteering;
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* A mapping of region codes to a list of pool IDs (ordered by their failover
|
|
510
|
-
* priority) for the given region. Any regions not explicitly defined will fall
|
|
511
|
-
* back to using default_pools.
|
|
512
|
-
*/
|
|
513
|
-
region_pools?: unknown;
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* Specifies the type of session affinity the load balancer should use unless
|
|
517
|
-
* specified as `"none"` or "" (default). The supported types are:
|
|
518
|
-
*
|
|
519
|
-
* - `"cookie"`: On the first request to a proxied load balancer, a cookie is
|
|
520
|
-
* generated, encoding information of which origin the request will be forwarded
|
|
521
|
-
* to. Subsequent requests, by the same client to the same load balancer, will be
|
|
522
|
-
* sent to the origin server the cookie encodes, for the duration of the cookie
|
|
523
|
-
* and as long as the origin server remains healthy. If the cookie has expired or
|
|
524
|
-
* the origin server is unhealthy, then a new origin server is calculated and
|
|
525
|
-
* used.
|
|
526
|
-
* - `"ip_cookie"`: Behaves the same as `"cookie"` except the initial origin
|
|
527
|
-
* selection is stable and based on the client's ip address.
|
|
528
|
-
* - `"header"`: On the first request to a proxied load balancer, a session key
|
|
529
|
-
* based on the configured HTTP headers (see
|
|
530
|
-
* `session_affinity_attributes.headers`) is generated, encoding the request
|
|
531
|
-
* headers used for storing in the load balancer session state which origin the
|
|
532
|
-
* request will be forwarded to. Subsequent requests to the load balancer with
|
|
533
|
-
* the same headers will be sent to the same origin server, for the duration of
|
|
534
|
-
* the session and as long as the origin server remains healthy. If the session
|
|
535
|
-
* has been idle for the duration of `session_affinity_ttl` seconds or the origin
|
|
536
|
-
* server is unhealthy, then a new origin server is calculated and used. See
|
|
537
|
-
* `headers` in `session_affinity_attributes` for additional required
|
|
538
|
-
* configuration.
|
|
539
|
-
*/
|
|
540
|
-
session_affinity?: 'none' | 'cookie' | 'ip_cookie' | 'header' | '""';
|
|
541
|
-
|
|
542
|
-
/**
|
|
543
|
-
* Configures attributes for session affinity.
|
|
544
|
-
*/
|
|
545
|
-
session_affinity_attributes?: Overrides.SessionAffinityAttributes;
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* Time, in seconds, until a client's session expires after being created. Once the
|
|
549
|
-
* expiry time has been reached, subsequent requests may get sent to a different
|
|
550
|
-
* origin server. The accepted ranges per `session_affinity` policy are:
|
|
551
|
-
*
|
|
552
|
-
* - `"cookie"` / `"ip_cookie"`: The current default of 23 hours will be used
|
|
553
|
-
* unless explicitly set. The accepted range of values is between [1800, 604800].
|
|
554
|
-
* - `"header"`: The current default of 1800 seconds will be used unless explicitly
|
|
555
|
-
* set. The accepted range of values is between [30, 3600]. Note: With session
|
|
556
|
-
* affinity by header, sessions only expire after they haven't been used for the
|
|
557
|
-
* number of seconds specified.
|
|
558
|
-
*/
|
|
559
|
-
session_affinity_ttl?: number;
|
|
560
|
-
|
|
561
|
-
/**
|
|
562
|
-
* Steering Policy for this load balancer.
|
|
563
|
-
*
|
|
564
|
-
* - `"off"`: Use `default_pools`.
|
|
565
|
-
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
566
|
-
* requests, the country for `country_pools` is determined by
|
|
567
|
-
* `location_strategy`.
|
|
568
|
-
* - `"random"`: Select a pool randomly.
|
|
569
|
-
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
570
|
-
* default_pools (requires pool health checks).
|
|
571
|
-
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
572
|
-
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
573
|
-
* determined by `location_strategy` for non-proxied requests.
|
|
574
|
-
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
575
|
-
* `random_steering` weights, as well as each pool's number of outstanding
|
|
576
|
-
* requests. Pools with more pending requests are weighted proportionately less
|
|
577
|
-
* relative to others.
|
|
578
|
-
* - `"least_connections"`: Select a pool by taking into consideration
|
|
579
|
-
* `random_steering` weights, as well as each pool's number of open connections.
|
|
580
|
-
* Pools with more open connections are weighted proportionately less relative to
|
|
581
|
-
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
582
|
-
* - `""`: Will map to `"geo"` if you use
|
|
583
|
-
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
584
|
-
*/
|
|
585
|
-
steering_policy?:
|
|
586
|
-
| 'off'
|
|
587
|
-
| 'geo'
|
|
588
|
-
| 'random'
|
|
589
|
-
| 'dynamic_latency'
|
|
590
|
-
| 'proximity'
|
|
591
|
-
| 'least_outstanding_requests'
|
|
592
|
-
| 'least_connections'
|
|
593
|
-
| '""';
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* Time to live (TTL) of the DNS entry for the IP address returned by this load
|
|
597
|
-
* balancer. This only applies to gray-clouded (unproxied) load balancers.
|
|
598
|
-
*/
|
|
599
|
-
ttl?: number;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
export namespace Overrides {
|
|
603
|
-
/**
|
|
604
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
605
|
-
* response to dynamic conditions, such as during the interval between active
|
|
606
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
607
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
608
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
609
|
-
* is retried once against this alternate origin.
|
|
610
|
-
*/
|
|
611
|
-
export interface AdaptiveRouting {
|
|
612
|
-
/**
|
|
613
|
-
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
614
|
-
* pools, when no healthy alternate exists in the same pool, according to the
|
|
615
|
-
* failover order defined by traffic and origin steering. When set false (the
|
|
616
|
-
* default) zero-downtime failover will only occur between origins within the same
|
|
617
|
-
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
618
|
-
* broken or reassigned.
|
|
619
|
-
*/
|
|
620
|
-
failover_across_pools?: boolean;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
625
|
-
* to learn how steering is affected.
|
|
626
|
-
*/
|
|
627
|
-
export interface LocationStrategy {
|
|
628
|
-
/**
|
|
629
|
-
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
630
|
-
* in the request, or its GeoIP lookup is unsuccessful.
|
|
631
|
-
*
|
|
632
|
-
* - `"pop"`: Use the Cloudflare PoP location.
|
|
633
|
-
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
634
|
-
* unsuccessful, use the Cloudflare PoP location.
|
|
635
|
-
*/
|
|
636
|
-
mode?: 'pop' | 'resolver_ip';
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the
|
|
640
|
-
* authoritative location.
|
|
641
|
-
*
|
|
642
|
-
* - `"always"`: Always prefer ECS.
|
|
643
|
-
* - `"never"`: Never prefer ECS.
|
|
644
|
-
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
645
|
-
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
646
|
-
*/
|
|
647
|
-
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* Configures pool weights.
|
|
652
|
-
*
|
|
653
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
654
|
-
* proportional to pool weights.
|
|
655
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
656
|
-
* pool's outstanding requests.
|
|
657
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
658
|
-
* open connections.
|
|
659
|
-
*/
|
|
660
|
-
export interface RandomSteering {
|
|
661
|
-
/**
|
|
662
|
-
* The default weight for pools in the load balancer that are not specified in the
|
|
663
|
-
* pool_weights map.
|
|
664
|
-
*/
|
|
665
|
-
default_weight?: number;
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* A mapping of pool IDs to custom weights. The weight is relative to other pools
|
|
669
|
-
* in the load balancer.
|
|
670
|
-
*/
|
|
671
|
-
pool_weights?: unknown;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Configures attributes for session affinity.
|
|
676
|
-
*/
|
|
677
|
-
export interface SessionAffinityAttributes {
|
|
678
|
-
/**
|
|
679
|
-
* Configures the drain duration in seconds. This field is only used when session
|
|
680
|
-
* affinity is enabled on the load balancer.
|
|
681
|
-
*/
|
|
682
|
-
drain_duration?: number;
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* Configures the names of HTTP headers to base session affinity on when header
|
|
686
|
-
* `session_affinity` is enabled. At least one HTTP header name must be provided.
|
|
687
|
-
* To specify the exact cookies to be used, include an item in the following
|
|
688
|
-
* format: `"cookie:<cookie-name-1>,<cookie-name-2>"` (example) where everything
|
|
689
|
-
* after the colon is a comma-separated list of cookie names. Providing only
|
|
690
|
-
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
691
|
-
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
692
|
-
* all other plans.
|
|
693
|
-
*/
|
|
694
|
-
headers?: Array<string>;
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* When header `session_affinity` is enabled, this option can be used to specify
|
|
698
|
-
* how HTTP headers on load balancing requests will be used. The supported values
|
|
699
|
-
* are:
|
|
700
|
-
*
|
|
701
|
-
* - `"true"`: Load balancing requests must contain _all_ of the HTTP headers
|
|
702
|
-
* specified by the `headers` session affinity attribute, otherwise sessions
|
|
703
|
-
* aren't created.
|
|
704
|
-
* - `"false"`: Load balancing requests must contain _at least one_ of the HTTP
|
|
705
|
-
* headers specified by the `headers` session affinity attribute, otherwise
|
|
706
|
-
* sessions aren't created.
|
|
707
|
-
*/
|
|
708
|
-
require_all_headers?: boolean;
|
|
709
|
-
|
|
710
|
-
/**
|
|
711
|
-
* Configures the SameSite attribute on session affinity cookie. Value "Auto" will
|
|
712
|
-
* be translated to "Lax" or "None" depending if Always Use HTTPS is enabled. Note:
|
|
713
|
-
* when using value "None", the secure attribute can not be set to "Never".
|
|
714
|
-
*/
|
|
715
|
-
samesite?: 'Auto' | 'Lax' | 'None' | 'Strict';
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* Configures the Secure attribute on session affinity cookie. Value "Always"
|
|
719
|
-
* indicates the Secure attribute will be set in the Set-Cookie header, "Never"
|
|
720
|
-
* indicates the Secure attribute will not be set, and "Auto" will set the Secure
|
|
721
|
-
* attribute depending if Always Use HTTPS is enabled.
|
|
722
|
-
*/
|
|
723
|
-
secure?: 'Auto' | 'Always' | 'Never';
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* Configures the zero-downtime failover between origins within a pool when session
|
|
727
|
-
* affinity is enabled. This feature is currently incompatible with Argo, Tiered
|
|
728
|
-
* Cache, and Bandwidth Alliance. The supported values are:
|
|
729
|
-
*
|
|
730
|
-
* - `"none"`: No failover takes place for sessions pinned to the origin (default).
|
|
731
|
-
* - `"temporary"`: Traffic will be sent to another other healthy origin until the
|
|
732
|
-
* originally pinned origin is available; note that this can potentially result
|
|
733
|
-
* in heavy origin flapping.
|
|
734
|
-
* - `"sticky"`: The session affinity cookie is updated and subsequent requests are
|
|
735
|
-
* sent to the new origin. Note: Zero-downtime failover with sticky sessions is
|
|
736
|
-
* currently not supported for session affinity by header.
|
|
737
|
-
*/
|
|
738
|
-
zero_downtime_failover?: 'none' | 'temporary' | 'sticky';
|
|
739
|
-
}
|
|
740
|
-
}
|
|
1084
|
+
location?: string;
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Text to include as the http body.
|
|
1088
|
+
*/
|
|
1089
|
+
message_body?: string;
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* The http status code to respond with.
|
|
1093
|
+
*/
|
|
1094
|
+
status_code?: number;
|
|
741
1095
|
}
|
|
742
1096
|
|
|
743
1097
|
/**
|
|
744
|
-
*
|
|
1098
|
+
* A collection of overrides to apply to the load balancer when this rule's
|
|
1099
|
+
* condition is true. All fields are optional.
|
|
745
1100
|
*/
|
|
746
|
-
export interface
|
|
1101
|
+
export interface Overrides {
|
|
747
1102
|
/**
|
|
748
|
-
*
|
|
749
|
-
*
|
|
1103
|
+
* Controls features that modify the routing of requests to pools and origins in
|
|
1104
|
+
* response to dynamic conditions, such as during the interval between active
|
|
1105
|
+
* health monitoring requests. For example, zero-downtime failover occurs
|
|
1106
|
+
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
1107
|
+
* response codes. If there is another healthy origin in the same pool, the request
|
|
1108
|
+
* is retried once against this alternate origin.
|
|
750
1109
|
*/
|
|
751
|
-
|
|
1110
|
+
adaptive_routing?: LoadBalancersAPI.AdaptiveRoutingParam;
|
|
752
1111
|
|
|
753
1112
|
/**
|
|
754
|
-
*
|
|
755
|
-
*
|
|
756
|
-
*
|
|
757
|
-
*
|
|
758
|
-
* after the colon is a comma-separated list of cookie names. Providing only
|
|
759
|
-
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
760
|
-
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
761
|
-
* all other plans.
|
|
1113
|
+
* A mapping of country codes to a list of pool IDs (ordered by their failover
|
|
1114
|
+
* priority) for the given country. Any country not explicitly defined will fall
|
|
1115
|
+
* back to using the corresponding region_pool mapping if it exists else to
|
|
1116
|
+
* default_pools.
|
|
762
1117
|
*/
|
|
763
|
-
|
|
1118
|
+
country_pools?: unknown;
|
|
764
1119
|
|
|
765
1120
|
/**
|
|
766
|
-
*
|
|
767
|
-
*
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
*
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
1121
|
+
* A list of pool IDs ordered by their failover priority. Pools defined here are
|
|
1122
|
+
* used by default, or when region_pools are not configured for a given region.
|
|
1123
|
+
*/
|
|
1124
|
+
default_pools?: Array<LoadBalancersAPI.DefaultPoolsParam>;
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* The pool ID to use when all other pools are detected as unhealthy.
|
|
1128
|
+
*/
|
|
1129
|
+
fallback_pool?: unknown;
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
1133
|
+
* to learn how steering is affected.
|
|
776
1134
|
*/
|
|
777
|
-
|
|
1135
|
+
location_strategy?: LoadBalancersAPI.LocationStrategyParam;
|
|
778
1136
|
|
|
779
1137
|
/**
|
|
780
|
-
*
|
|
781
|
-
*
|
|
782
|
-
*
|
|
1138
|
+
* (Enterprise only): A mapping of Cloudflare PoP identifiers to a list of pool IDs
|
|
1139
|
+
* (ordered by their failover priority) for the PoP (datacenter). Any PoPs not
|
|
1140
|
+
* explicitly defined will fall back to using the corresponding country_pool, then
|
|
1141
|
+
* region_pool mapping if it exists else to default_pools.
|
|
783
1142
|
*/
|
|
784
|
-
|
|
1143
|
+
pop_pools?: unknown;
|
|
785
1144
|
|
|
786
1145
|
/**
|
|
787
|
-
* Configures
|
|
788
|
-
*
|
|
789
|
-
*
|
|
790
|
-
*
|
|
1146
|
+
* Configures pool weights.
|
|
1147
|
+
*
|
|
1148
|
+
* - `steering_policy="random"`: A random pool is selected with probability
|
|
1149
|
+
* proportional to pool weights.
|
|
1150
|
+
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
1151
|
+
* pool's outstanding requests.
|
|
1152
|
+
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
1153
|
+
* open connections.
|
|
1154
|
+
*/
|
|
1155
|
+
random_steering?: LoadBalancersAPI.RandomSteeringParam;
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* A mapping of region codes to a list of pool IDs (ordered by their failover
|
|
1159
|
+
* priority) for the given region. Any regions not explicitly defined will fall
|
|
1160
|
+
* back to using default_pools.
|
|
791
1161
|
*/
|
|
792
|
-
|
|
1162
|
+
region_pools?: unknown;
|
|
793
1163
|
|
|
794
1164
|
/**
|
|
795
|
-
*
|
|
796
|
-
*
|
|
797
|
-
* Cache, and Bandwidth Alliance. The supported values are:
|
|
1165
|
+
* Specifies the type of session affinity the load balancer should use unless
|
|
1166
|
+
* specified as `"none"` or "" (default). The supported types are:
|
|
798
1167
|
*
|
|
799
|
-
* - `"
|
|
800
|
-
*
|
|
801
|
-
*
|
|
802
|
-
*
|
|
803
|
-
*
|
|
804
|
-
*
|
|
805
|
-
*
|
|
1168
|
+
* - `"cookie"`: On the first request to a proxied load balancer, a cookie is
|
|
1169
|
+
* generated, encoding information of which origin the request will be forwarded
|
|
1170
|
+
* to. Subsequent requests, by the same client to the same load balancer, will be
|
|
1171
|
+
* sent to the origin server the cookie encodes, for the duration of the cookie
|
|
1172
|
+
* and as long as the origin server remains healthy. If the cookie has expired or
|
|
1173
|
+
* the origin server is unhealthy, then a new origin server is calculated and
|
|
1174
|
+
* used.
|
|
1175
|
+
* - `"ip_cookie"`: Behaves the same as `"cookie"` except the initial origin
|
|
1176
|
+
* selection is stable and based on the client's ip address.
|
|
1177
|
+
* - `"header"`: On the first request to a proxied load balancer, a session key
|
|
1178
|
+
* based on the configured HTTP headers (see
|
|
1179
|
+
* `session_affinity_attributes.headers`) is generated, encoding the request
|
|
1180
|
+
* headers used for storing in the load balancer session state which origin the
|
|
1181
|
+
* request will be forwarded to. Subsequent requests to the load balancer with
|
|
1182
|
+
* the same headers will be sent to the same origin server, for the duration of
|
|
1183
|
+
* the session and as long as the origin server remains healthy. If the session
|
|
1184
|
+
* has been idle for the duration of `session_affinity_ttl` seconds or the origin
|
|
1185
|
+
* server is unhealthy, then a new origin server is calculated and used. See
|
|
1186
|
+
* `headers` in `session_affinity_attributes` for additional required
|
|
1187
|
+
* configuration.
|
|
1188
|
+
*/
|
|
1189
|
+
session_affinity?: LoadBalancersAPI.SessionAffinityParam;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Configures attributes for session affinity.
|
|
1193
|
+
*/
|
|
1194
|
+
session_affinity_attributes?: LoadBalancersAPI.SessionAffinityAttributesParam;
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* Time, in seconds, until a client's session expires after being created. Once the
|
|
1198
|
+
* expiry time has been reached, subsequent requests may get sent to a different
|
|
1199
|
+
* origin server. The accepted ranges per `session_affinity` policy are:
|
|
1200
|
+
*
|
|
1201
|
+
* - `"cookie"` / `"ip_cookie"`: The current default of 23 hours will be used
|
|
1202
|
+
* unless explicitly set. The accepted range of values is between [1800, 604800].
|
|
1203
|
+
* - `"header"`: The current default of 1800 seconds will be used unless explicitly
|
|
1204
|
+
* set. The accepted range of values is between [30, 3600]. Note: With session
|
|
1205
|
+
* affinity by header, sessions only expire after they haven't been used for the
|
|
1206
|
+
* number of seconds specified.
|
|
806
1207
|
*/
|
|
807
|
-
|
|
1208
|
+
session_affinity_ttl?: number;
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* Steering Policy for this load balancer.
|
|
1212
|
+
*
|
|
1213
|
+
* - `"off"`: Use `default_pools`.
|
|
1214
|
+
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
1215
|
+
* requests, the country for `country_pools` is determined by
|
|
1216
|
+
* `location_strategy`.
|
|
1217
|
+
* - `"random"`: Select a pool randomly.
|
|
1218
|
+
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
1219
|
+
* default_pools (requires pool health checks).
|
|
1220
|
+
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
1221
|
+
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
1222
|
+
* determined by `location_strategy` for non-proxied requests.
|
|
1223
|
+
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
1224
|
+
* `random_steering` weights, as well as each pool's number of outstanding
|
|
1225
|
+
* requests. Pools with more pending requests are weighted proportionately less
|
|
1226
|
+
* relative to others.
|
|
1227
|
+
* - `"least_connections"`: Select a pool by taking into consideration
|
|
1228
|
+
* `random_steering` weights, as well as each pool's number of open connections.
|
|
1229
|
+
* Pools with more open connections are weighted proportionately less relative to
|
|
1230
|
+
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
1231
|
+
* - `""`: Will map to `"geo"` if you use
|
|
1232
|
+
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
1233
|
+
*/
|
|
1234
|
+
steering_policy?: LoadBalancersAPI.SteeringPolicyParam;
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* Time to live (TTL) of the DNS entry for the IP address returned by this load
|
|
1238
|
+
* balancer. This only applies to gray-clouded (unproxied) load balancers.
|
|
1239
|
+
*/
|
|
1240
|
+
ttl?: number;
|
|
808
1241
|
}
|
|
809
1242
|
}
|
|
810
1243
|
|
|
1244
|
+
/**
|
|
1245
|
+
* Specifies the type of session affinity the load balancer should use unless
|
|
1246
|
+
* specified as `"none"` or "" (default). The supported types are:
|
|
1247
|
+
*
|
|
1248
|
+
* - `"cookie"`: On the first request to a proxied load balancer, a cookie is
|
|
1249
|
+
* generated, encoding information of which origin the request will be forwarded
|
|
1250
|
+
* to. Subsequent requests, by the same client to the same load balancer, will be
|
|
1251
|
+
* sent to the origin server the cookie encodes, for the duration of the cookie
|
|
1252
|
+
* and as long as the origin server remains healthy. If the cookie has expired or
|
|
1253
|
+
* the origin server is unhealthy, then a new origin server is calculated and
|
|
1254
|
+
* used.
|
|
1255
|
+
* - `"ip_cookie"`: Behaves the same as `"cookie"` except the initial origin
|
|
1256
|
+
* selection is stable and based on the client's ip address.
|
|
1257
|
+
* - `"header"`: On the first request to a proxied load balancer, a session key
|
|
1258
|
+
* based on the configured HTTP headers (see
|
|
1259
|
+
* `session_affinity_attributes.headers`) is generated, encoding the request
|
|
1260
|
+
* headers used for storing in the load balancer session state which origin the
|
|
1261
|
+
* request will be forwarded to. Subsequent requests to the load balancer with
|
|
1262
|
+
* the same headers will be sent to the same origin server, for the duration of
|
|
1263
|
+
* the session and as long as the origin server remains healthy. If the session
|
|
1264
|
+
* has been idle for the duration of `session_affinity_ttl` seconds or the origin
|
|
1265
|
+
* server is unhealthy, then a new origin server is calculated and used. See
|
|
1266
|
+
* `headers` in `session_affinity_attributes` for additional required
|
|
1267
|
+
* configuration.
|
|
1268
|
+
*/
|
|
1269
|
+
export type SessionAffinity = 'none' | 'cookie' | 'ip_cookie' | 'header' | '""';
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* Specifies the type of session affinity the load balancer should use unless
|
|
1273
|
+
* specified as `"none"` or "" (default). The supported types are:
|
|
1274
|
+
*
|
|
1275
|
+
* - `"cookie"`: On the first request to a proxied load balancer, a cookie is
|
|
1276
|
+
* generated, encoding information of which origin the request will be forwarded
|
|
1277
|
+
* to. Subsequent requests, by the same client to the same load balancer, will be
|
|
1278
|
+
* sent to the origin server the cookie encodes, for the duration of the cookie
|
|
1279
|
+
* and as long as the origin server remains healthy. If the cookie has expired or
|
|
1280
|
+
* the origin server is unhealthy, then a new origin server is calculated and
|
|
1281
|
+
* used.
|
|
1282
|
+
* - `"ip_cookie"`: Behaves the same as `"cookie"` except the initial origin
|
|
1283
|
+
* selection is stable and based on the client's ip address.
|
|
1284
|
+
* - `"header"`: On the first request to a proxied load balancer, a session key
|
|
1285
|
+
* based on the configured HTTP headers (see
|
|
1286
|
+
* `session_affinity_attributes.headers`) is generated, encoding the request
|
|
1287
|
+
* headers used for storing in the load balancer session state which origin the
|
|
1288
|
+
* request will be forwarded to. Subsequent requests to the load balancer with
|
|
1289
|
+
* the same headers will be sent to the same origin server, for the duration of
|
|
1290
|
+
* the session and as long as the origin server remains healthy. If the session
|
|
1291
|
+
* has been idle for the duration of `session_affinity_ttl` seconds or the origin
|
|
1292
|
+
* server is unhealthy, then a new origin server is calculated and used. See
|
|
1293
|
+
* `headers` in `session_affinity_attributes` for additional required
|
|
1294
|
+
* configuration.
|
|
1295
|
+
*/
|
|
1296
|
+
export type SessionAffinityParam = 'none' | 'cookie' | 'ip_cookie' | 'header' | '""';
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* Configures attributes for session affinity.
|
|
1300
|
+
*/
|
|
1301
|
+
export interface SessionAffinityAttributes {
|
|
1302
|
+
/**
|
|
1303
|
+
* Configures the drain duration in seconds. This field is only used when session
|
|
1304
|
+
* affinity is enabled on the load balancer.
|
|
1305
|
+
*/
|
|
1306
|
+
drain_duration?: number;
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* Configures the names of HTTP headers to base session affinity on when header
|
|
1310
|
+
* `session_affinity` is enabled. At least one HTTP header name must be provided.
|
|
1311
|
+
* To specify the exact cookies to be used, include an item in the following
|
|
1312
|
+
* format: `"cookie:<cookie-name-1>,<cookie-name-2>"` (example) where everything
|
|
1313
|
+
* after the colon is a comma-separated list of cookie names. Providing only
|
|
1314
|
+
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
1315
|
+
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
1316
|
+
* all other plans.
|
|
1317
|
+
*/
|
|
1318
|
+
headers?: Array<string>;
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* When header `session_affinity` is enabled, this option can be used to specify
|
|
1322
|
+
* how HTTP headers on load balancing requests will be used. The supported values
|
|
1323
|
+
* are:
|
|
1324
|
+
*
|
|
1325
|
+
* - `"true"`: Load balancing requests must contain _all_ of the HTTP headers
|
|
1326
|
+
* specified by the `headers` session affinity attribute, otherwise sessions
|
|
1327
|
+
* aren't created.
|
|
1328
|
+
* - `"false"`: Load balancing requests must contain _at least one_ of the HTTP
|
|
1329
|
+
* headers specified by the `headers` session affinity attribute, otherwise
|
|
1330
|
+
* sessions aren't created.
|
|
1331
|
+
*/
|
|
1332
|
+
require_all_headers?: boolean;
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* Configures the SameSite attribute on session affinity cookie. Value "Auto" will
|
|
1336
|
+
* be translated to "Lax" or "None" depending if Always Use HTTPS is enabled. Note:
|
|
1337
|
+
* when using value "None", the secure attribute can not be set to "Never".
|
|
1338
|
+
*/
|
|
1339
|
+
samesite?: 'Auto' | 'Lax' | 'None' | 'Strict';
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* Configures the Secure attribute on session affinity cookie. Value "Always"
|
|
1343
|
+
* indicates the Secure attribute will be set in the Set-Cookie header, "Never"
|
|
1344
|
+
* indicates the Secure attribute will not be set, and "Auto" will set the Secure
|
|
1345
|
+
* attribute depending if Always Use HTTPS is enabled.
|
|
1346
|
+
*/
|
|
1347
|
+
secure?: 'Auto' | 'Always' | 'Never';
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* Configures the zero-downtime failover between origins within a pool when session
|
|
1351
|
+
* affinity is enabled. This feature is currently incompatible with Argo, Tiered
|
|
1352
|
+
* Cache, and Bandwidth Alliance. The supported values are:
|
|
1353
|
+
*
|
|
1354
|
+
* - `"none"`: No failover takes place for sessions pinned to the origin (default).
|
|
1355
|
+
* - `"temporary"`: Traffic will be sent to another other healthy origin until the
|
|
1356
|
+
* originally pinned origin is available; note that this can potentially result
|
|
1357
|
+
* in heavy origin flapping.
|
|
1358
|
+
* - `"sticky"`: The session affinity cookie is updated and subsequent requests are
|
|
1359
|
+
* sent to the new origin. Note: Zero-downtime failover with sticky sessions is
|
|
1360
|
+
* currently not supported for session affinity by header.
|
|
1361
|
+
*/
|
|
1362
|
+
zero_downtime_failover?: 'none' | 'temporary' | 'sticky';
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* Configures attributes for session affinity.
|
|
1367
|
+
*/
|
|
1368
|
+
export interface SessionAffinityAttributesParam {
|
|
1369
|
+
/**
|
|
1370
|
+
* Configures the drain duration in seconds. This field is only used when session
|
|
1371
|
+
* affinity is enabled on the load balancer.
|
|
1372
|
+
*/
|
|
1373
|
+
drain_duration?: number;
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* Configures the names of HTTP headers to base session affinity on when header
|
|
1377
|
+
* `session_affinity` is enabled. At least one HTTP header name must be provided.
|
|
1378
|
+
* To specify the exact cookies to be used, include an item in the following
|
|
1379
|
+
* format: `"cookie:<cookie-name-1>,<cookie-name-2>"` (example) where everything
|
|
1380
|
+
* after the colon is a comma-separated list of cookie names. Providing only
|
|
1381
|
+
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
1382
|
+
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
1383
|
+
* all other plans.
|
|
1384
|
+
*/
|
|
1385
|
+
headers?: Array<string>;
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* When header `session_affinity` is enabled, this option can be used to specify
|
|
1389
|
+
* how HTTP headers on load balancing requests will be used. The supported values
|
|
1390
|
+
* are:
|
|
1391
|
+
*
|
|
1392
|
+
* - `"true"`: Load balancing requests must contain _all_ of the HTTP headers
|
|
1393
|
+
* specified by the `headers` session affinity attribute, otherwise sessions
|
|
1394
|
+
* aren't created.
|
|
1395
|
+
* - `"false"`: Load balancing requests must contain _at least one_ of the HTTP
|
|
1396
|
+
* headers specified by the `headers` session affinity attribute, otherwise
|
|
1397
|
+
* sessions aren't created.
|
|
1398
|
+
*/
|
|
1399
|
+
require_all_headers?: boolean;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Configures the SameSite attribute on session affinity cookie. Value "Auto" will
|
|
1403
|
+
* be translated to "Lax" or "None" depending if Always Use HTTPS is enabled. Note:
|
|
1404
|
+
* when using value "None", the secure attribute can not be set to "Never".
|
|
1405
|
+
*/
|
|
1406
|
+
samesite?: 'Auto' | 'Lax' | 'None' | 'Strict';
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* Configures the Secure attribute on session affinity cookie. Value "Always"
|
|
1410
|
+
* indicates the Secure attribute will be set in the Set-Cookie header, "Never"
|
|
1411
|
+
* indicates the Secure attribute will not be set, and "Auto" will set the Secure
|
|
1412
|
+
* attribute depending if Always Use HTTPS is enabled.
|
|
1413
|
+
*/
|
|
1414
|
+
secure?: 'Auto' | 'Always' | 'Never';
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* Configures the zero-downtime failover between origins within a pool when session
|
|
1418
|
+
* affinity is enabled. This feature is currently incompatible with Argo, Tiered
|
|
1419
|
+
* Cache, and Bandwidth Alliance. The supported values are:
|
|
1420
|
+
*
|
|
1421
|
+
* - `"none"`: No failover takes place for sessions pinned to the origin (default).
|
|
1422
|
+
* - `"temporary"`: Traffic will be sent to another other healthy origin until the
|
|
1423
|
+
* originally pinned origin is available; note that this can potentially result
|
|
1424
|
+
* in heavy origin flapping.
|
|
1425
|
+
* - `"sticky"`: The session affinity cookie is updated and subsequent requests are
|
|
1426
|
+
* sent to the new origin. Note: Zero-downtime failover with sticky sessions is
|
|
1427
|
+
* currently not supported for session affinity by header.
|
|
1428
|
+
*/
|
|
1429
|
+
zero_downtime_failover?: 'none' | 'temporary' | 'sticky';
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* Steering Policy for this load balancer.
|
|
1434
|
+
*
|
|
1435
|
+
* - `"off"`: Use `default_pools`.
|
|
1436
|
+
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
1437
|
+
* requests, the country for `country_pools` is determined by
|
|
1438
|
+
* `location_strategy`.
|
|
1439
|
+
* - `"random"`: Select a pool randomly.
|
|
1440
|
+
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
1441
|
+
* default_pools (requires pool health checks).
|
|
1442
|
+
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
1443
|
+
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
1444
|
+
* determined by `location_strategy` for non-proxied requests.
|
|
1445
|
+
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
1446
|
+
* `random_steering` weights, as well as each pool's number of outstanding
|
|
1447
|
+
* requests. Pools with more pending requests are weighted proportionately less
|
|
1448
|
+
* relative to others.
|
|
1449
|
+
* - `"least_connections"`: Select a pool by taking into consideration
|
|
1450
|
+
* `random_steering` weights, as well as each pool's number of open connections.
|
|
1451
|
+
* Pools with more open connections are weighted proportionately less relative to
|
|
1452
|
+
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
1453
|
+
* - `""`: Will map to `"geo"` if you use
|
|
1454
|
+
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
1455
|
+
*/
|
|
1456
|
+
export type SteeringPolicy =
|
|
1457
|
+
| 'off'
|
|
1458
|
+
| 'geo'
|
|
1459
|
+
| 'random'
|
|
1460
|
+
| 'dynamic_latency'
|
|
1461
|
+
| 'proximity'
|
|
1462
|
+
| 'least_outstanding_requests'
|
|
1463
|
+
| 'least_connections'
|
|
1464
|
+
| '""';
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Steering Policy for this load balancer.
|
|
1468
|
+
*
|
|
1469
|
+
* - `"off"`: Use `default_pools`.
|
|
1470
|
+
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
1471
|
+
* requests, the country for `country_pools` is determined by
|
|
1472
|
+
* `location_strategy`.
|
|
1473
|
+
* - `"random"`: Select a pool randomly.
|
|
1474
|
+
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
1475
|
+
* default_pools (requires pool health checks).
|
|
1476
|
+
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
1477
|
+
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
1478
|
+
* determined by `location_strategy` for non-proxied requests.
|
|
1479
|
+
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
1480
|
+
* `random_steering` weights, as well as each pool's number of outstanding
|
|
1481
|
+
* requests. Pools with more pending requests are weighted proportionately less
|
|
1482
|
+
* relative to others.
|
|
1483
|
+
* - `"least_connections"`: Select a pool by taking into consideration
|
|
1484
|
+
* `random_steering` weights, as well as each pool's number of open connections.
|
|
1485
|
+
* Pools with more open connections are weighted proportionately less relative to
|
|
1486
|
+
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
1487
|
+
* - `""`: Will map to `"geo"` if you use
|
|
1488
|
+
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
1489
|
+
*/
|
|
1490
|
+
export type SteeringPolicyParam =
|
|
1491
|
+
| 'off'
|
|
1492
|
+
| 'geo'
|
|
1493
|
+
| 'random'
|
|
1494
|
+
| 'dynamic_latency'
|
|
1495
|
+
| 'proximity'
|
|
1496
|
+
| 'least_outstanding_requests'
|
|
1497
|
+
| 'least_connections'
|
|
1498
|
+
| '""';
|
|
1499
|
+
|
|
811
1500
|
export interface LoadBalancerDeleteResponse {
|
|
812
1501
|
id?: string;
|
|
813
1502
|
}
|
|
@@ -823,7 +1512,7 @@ export interface LoadBalancerCreateParams {
|
|
|
823
1512
|
* here are used by default, or when region_pools are not configured for a given
|
|
824
1513
|
* region.
|
|
825
1514
|
*/
|
|
826
|
-
default_pools: Array<
|
|
1515
|
+
default_pools: Array<DefaultPoolsParam>;
|
|
827
1516
|
|
|
828
1517
|
/**
|
|
829
1518
|
* Body param: The pool ID to use when all other pools are detected as unhealthy.
|
|
@@ -845,7 +1534,7 @@ export interface LoadBalancerCreateParams {
|
|
|
845
1534
|
* response codes. If there is another healthy origin in the same pool, the request
|
|
846
1535
|
* is retried once against this alternate origin.
|
|
847
1536
|
*/
|
|
848
|
-
adaptive_routing?:
|
|
1537
|
+
adaptive_routing?: AdaptiveRoutingParam;
|
|
849
1538
|
|
|
850
1539
|
/**
|
|
851
1540
|
* Body param: A mapping of country codes to a list of pool IDs (ordered by their
|
|
@@ -864,7 +1553,7 @@ export interface LoadBalancerCreateParams {
|
|
|
864
1553
|
* Body param: Controls location-based steering for non-proxied requests. See
|
|
865
1554
|
* `steering_policy` to learn how steering is affected.
|
|
866
1555
|
*/
|
|
867
|
-
location_strategy?:
|
|
1556
|
+
location_strategy?: LocationStrategyParam;
|
|
868
1557
|
|
|
869
1558
|
/**
|
|
870
1559
|
* Body param: (Enterprise only): A mapping of Cloudflare PoP identifiers to a list
|
|
@@ -890,7 +1579,7 @@ export interface LoadBalancerCreateParams {
|
|
|
890
1579
|
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
891
1580
|
* open connections.
|
|
892
1581
|
*/
|
|
893
|
-
random_steering?:
|
|
1582
|
+
random_steering?: RandomSteeringParam;
|
|
894
1583
|
|
|
895
1584
|
/**
|
|
896
1585
|
* Body param: A mapping of region codes to a list of pool IDs (ordered by their
|
|
@@ -903,7 +1592,7 @@ export interface LoadBalancerCreateParams {
|
|
|
903
1592
|
* Body param: BETA Field Not General Access: A list of rules for this load
|
|
904
1593
|
* balancer to execute.
|
|
905
1594
|
*/
|
|
906
|
-
rules?: Array<
|
|
1595
|
+
rules?: Array<RulesParam>;
|
|
907
1596
|
|
|
908
1597
|
/**
|
|
909
1598
|
* Body param: Specifies the type of session affinity the load balancer should use
|
|
@@ -928,585 +1617,62 @@ export interface LoadBalancerCreateParams {
|
|
|
928
1617
|
* has been idle for the duration of `session_affinity_ttl` seconds or the origin
|
|
929
1618
|
* server is unhealthy, then a new origin server is calculated and used. See
|
|
930
1619
|
* `headers` in `session_affinity_attributes` for additional required
|
|
931
|
-
* configuration.
|
|
932
|
-
*/
|
|
933
|
-
session_affinity?:
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* Body param: Configures attributes for session affinity.
|
|
937
|
-
*/
|
|
938
|
-
session_affinity_attributes?: LoadBalancerCreateParams.SessionAffinityAttributes;
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* Body param: Time, in seconds, until a client's session expires after being
|
|
942
|
-
* created. Once the expiry time has been reached, subsequent requests may get sent
|
|
943
|
-
* to a different origin server. The accepted ranges per `session_affinity` policy
|
|
944
|
-
* are:
|
|
945
|
-
*
|
|
946
|
-
* - `"cookie"` / `"ip_cookie"`: The current default of 23 hours will be used
|
|
947
|
-
* unless explicitly set. The accepted range of values is between [1800, 604800].
|
|
948
|
-
* - `"header"`: The current default of 1800 seconds will be used unless explicitly
|
|
949
|
-
* set. The accepted range of values is between [30, 3600]. Note: With session
|
|
950
|
-
* affinity by header, sessions only expire after they haven't been used for the
|
|
951
|
-
* number of seconds specified.
|
|
952
|
-
*/
|
|
953
|
-
session_affinity_ttl?: number;
|
|
954
|
-
|
|
955
|
-
/**
|
|
956
|
-
* Body param: Steering Policy for this load balancer.
|
|
957
|
-
*
|
|
958
|
-
* - `"off"`: Use `default_pools`.
|
|
959
|
-
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
960
|
-
* requests, the country for `country_pools` is determined by
|
|
961
|
-
* `location_strategy`.
|
|
962
|
-
* - `"random"`: Select a pool randomly.
|
|
963
|
-
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
964
|
-
* default_pools (requires pool health checks).
|
|
965
|
-
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
966
|
-
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
967
|
-
* determined by `location_strategy` for non-proxied requests.
|
|
968
|
-
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
969
|
-
* `random_steering` weights, as well as each pool's number of outstanding
|
|
970
|
-
* requests. Pools with more pending requests are weighted proportionately less
|
|
971
|
-
* relative to others.
|
|
972
|
-
* - `"least_connections"`: Select a pool by taking into consideration
|
|
973
|
-
* `random_steering` weights, as well as each pool's number of open connections.
|
|
974
|
-
* Pools with more open connections are weighted proportionately less relative to
|
|
975
|
-
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
976
|
-
* - `""`: Will map to `"geo"` if you use
|
|
977
|
-
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
978
|
-
*/
|
|
979
|
-
steering_policy?:
|
|
980
|
-
| 'off'
|
|
981
|
-
| 'geo'
|
|
982
|
-
| 'random'
|
|
983
|
-
| 'dynamic_latency'
|
|
984
|
-
| 'proximity'
|
|
985
|
-
| 'least_outstanding_requests'
|
|
986
|
-
| 'least_connections'
|
|
987
|
-
| '""';
|
|
988
|
-
|
|
989
|
-
/**
|
|
990
|
-
* Body param: Time to live (TTL) of the DNS entry for the IP address returned by
|
|
991
|
-
* this load balancer. This only applies to gray-clouded (unproxied) load
|
|
992
|
-
* balancers.
|
|
993
|
-
*/
|
|
994
|
-
ttl?: number;
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
export namespace LoadBalancerCreateParams {
|
|
998
|
-
/**
|
|
999
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
1000
|
-
* response to dynamic conditions, such as during the interval between active
|
|
1001
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
1002
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
1003
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
1004
|
-
* is retried once against this alternate origin.
|
|
1005
|
-
*/
|
|
1006
|
-
export interface AdaptiveRouting {
|
|
1007
|
-
/**
|
|
1008
|
-
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
1009
|
-
* pools, when no healthy alternate exists in the same pool, according to the
|
|
1010
|
-
* failover order defined by traffic and origin steering. When set false (the
|
|
1011
|
-
* default) zero-downtime failover will only occur between origins within the same
|
|
1012
|
-
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
1013
|
-
* broken or reassigned.
|
|
1014
|
-
*/
|
|
1015
|
-
failover_across_pools?: boolean;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
/**
|
|
1019
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
1020
|
-
* to learn how steering is affected.
|
|
1021
|
-
*/
|
|
1022
|
-
export interface LocationStrategy {
|
|
1023
|
-
/**
|
|
1024
|
-
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
1025
|
-
* in the request, or its GeoIP lookup is unsuccessful.
|
|
1026
|
-
*
|
|
1027
|
-
* - `"pop"`: Use the Cloudflare PoP location.
|
|
1028
|
-
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
1029
|
-
* unsuccessful, use the Cloudflare PoP location.
|
|
1030
|
-
*/
|
|
1031
|
-
mode?: 'pop' | 'resolver_ip';
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
* Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the
|
|
1035
|
-
* authoritative location.
|
|
1036
|
-
*
|
|
1037
|
-
* - `"always"`: Always prefer ECS.
|
|
1038
|
-
* - `"never"`: Never prefer ECS.
|
|
1039
|
-
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
1040
|
-
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
1041
|
-
*/
|
|
1042
|
-
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
/**
|
|
1046
|
-
* Configures pool weights.
|
|
1047
|
-
*
|
|
1048
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
1049
|
-
* proportional to pool weights.
|
|
1050
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
1051
|
-
* pool's outstanding requests.
|
|
1052
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
1053
|
-
* open connections.
|
|
1054
|
-
*/
|
|
1055
|
-
export interface RandomSteering {
|
|
1056
|
-
/**
|
|
1057
|
-
* The default weight for pools in the load balancer that are not specified in the
|
|
1058
|
-
* pool_weights map.
|
|
1059
|
-
*/
|
|
1060
|
-
default_weight?: number;
|
|
1061
|
-
|
|
1062
|
-
/**
|
|
1063
|
-
* A mapping of pool IDs to custom weights. The weight is relative to other pools
|
|
1064
|
-
* in the load balancer.
|
|
1065
|
-
*/
|
|
1066
|
-
pool_weights?: unknown;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
/**
|
|
1070
|
-
* A rule object containing conditions and overrides for this load balancer to
|
|
1071
|
-
* evaluate.
|
|
1072
|
-
*/
|
|
1073
|
-
export interface Rule {
|
|
1074
|
-
/**
|
|
1075
|
-
* The condition expressions to evaluate. If the condition evaluates to true, the
|
|
1076
|
-
* overrides or fixed_response in this rule will be applied. An empty condition is
|
|
1077
|
-
* always true. For more details on condition expressions, please see
|
|
1078
|
-
* https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules/expressions.
|
|
1079
|
-
*/
|
|
1080
|
-
condition?: string;
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* Disable this specific rule. It will no longer be evaluated by this load
|
|
1084
|
-
* balancer.
|
|
1085
|
-
*/
|
|
1086
|
-
disabled?: boolean;
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* A collection of fields used to directly respond to the eyeball instead of
|
|
1090
|
-
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
1091
|
-
* terminates.
|
|
1092
|
-
*/
|
|
1093
|
-
fixed_response?: Rule.FixedResponse;
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* Name of this rule. Only used for human readability.
|
|
1097
|
-
*/
|
|
1098
|
-
name?: string;
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* A collection of overrides to apply to the load balancer when this rule's
|
|
1102
|
-
* condition is true. All fields are optional.
|
|
1103
|
-
*/
|
|
1104
|
-
overrides?: Rule.Overrides;
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
* The order in which rules should be executed in relation to each other. Lower
|
|
1108
|
-
* values are executed first. Values do not need to be sequential. If no value is
|
|
1109
|
-
* provided for any rule the array order of the rules field will be used to assign
|
|
1110
|
-
* a priority.
|
|
1111
|
-
*/
|
|
1112
|
-
priority?: number;
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* If this rule's condition is true, this causes rule evaluation to stop after
|
|
1116
|
-
* processing this rule.
|
|
1117
|
-
*/
|
|
1118
|
-
terminates?: boolean;
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
export namespace Rule {
|
|
1122
|
-
/**
|
|
1123
|
-
* A collection of fields used to directly respond to the eyeball instead of
|
|
1124
|
-
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
1125
|
-
* terminates.
|
|
1126
|
-
*/
|
|
1127
|
-
export interface FixedResponse {
|
|
1128
|
-
/**
|
|
1129
|
-
* The http 'Content-Type' header to include in the response.
|
|
1130
|
-
*/
|
|
1131
|
-
content_type?: string;
|
|
1132
|
-
|
|
1133
|
-
/**
|
|
1134
|
-
* The http 'Location' header to include in the response.
|
|
1135
|
-
*/
|
|
1136
|
-
location?: string;
|
|
1137
|
-
|
|
1138
|
-
/**
|
|
1139
|
-
* Text to include as the http body.
|
|
1140
|
-
*/
|
|
1141
|
-
message_body?: string;
|
|
1142
|
-
|
|
1143
|
-
/**
|
|
1144
|
-
* The http status code to respond with.
|
|
1145
|
-
*/
|
|
1146
|
-
status_code?: number;
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
/**
|
|
1150
|
-
* A collection of overrides to apply to the load balancer when this rule's
|
|
1151
|
-
* condition is true. All fields are optional.
|
|
1152
|
-
*/
|
|
1153
|
-
export interface Overrides {
|
|
1154
|
-
/**
|
|
1155
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
1156
|
-
* response to dynamic conditions, such as during the interval between active
|
|
1157
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
1158
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
1159
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
1160
|
-
* is retried once against this alternate origin.
|
|
1161
|
-
*/
|
|
1162
|
-
adaptive_routing?: Overrides.AdaptiveRouting;
|
|
1163
|
-
|
|
1164
|
-
/**
|
|
1165
|
-
* A mapping of country codes to a list of pool IDs (ordered by their failover
|
|
1166
|
-
* priority) for the given country. Any country not explicitly defined will fall
|
|
1167
|
-
* back to using the corresponding region_pool mapping if it exists else to
|
|
1168
|
-
* default_pools.
|
|
1169
|
-
*/
|
|
1170
|
-
country_pools?: unknown;
|
|
1171
|
-
|
|
1172
|
-
/**
|
|
1173
|
-
* A list of pool IDs ordered by their failover priority. Pools defined here are
|
|
1174
|
-
* used by default, or when region_pools are not configured for a given region.
|
|
1175
|
-
*/
|
|
1176
|
-
default_pools?: Array<string>;
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* The pool ID to use when all other pools are detected as unhealthy.
|
|
1180
|
-
*/
|
|
1181
|
-
fallback_pool?: unknown;
|
|
1182
|
-
|
|
1183
|
-
/**
|
|
1184
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
1185
|
-
* to learn how steering is affected.
|
|
1186
|
-
*/
|
|
1187
|
-
location_strategy?: Overrides.LocationStrategy;
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* (Enterprise only): A mapping of Cloudflare PoP identifiers to a list of pool IDs
|
|
1191
|
-
* (ordered by their failover priority) for the PoP (datacenter). Any PoPs not
|
|
1192
|
-
* explicitly defined will fall back to using the corresponding country_pool, then
|
|
1193
|
-
* region_pool mapping if it exists else to default_pools.
|
|
1194
|
-
*/
|
|
1195
|
-
pop_pools?: unknown;
|
|
1196
|
-
|
|
1197
|
-
/**
|
|
1198
|
-
* Configures pool weights.
|
|
1199
|
-
*
|
|
1200
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
1201
|
-
* proportional to pool weights.
|
|
1202
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
1203
|
-
* pool's outstanding requests.
|
|
1204
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
1205
|
-
* open connections.
|
|
1206
|
-
*/
|
|
1207
|
-
random_steering?: Overrides.RandomSteering;
|
|
1208
|
-
|
|
1209
|
-
/**
|
|
1210
|
-
* A mapping of region codes to a list of pool IDs (ordered by their failover
|
|
1211
|
-
* priority) for the given region. Any regions not explicitly defined will fall
|
|
1212
|
-
* back to using default_pools.
|
|
1213
|
-
*/
|
|
1214
|
-
region_pools?: unknown;
|
|
1215
|
-
|
|
1216
|
-
/**
|
|
1217
|
-
* Specifies the type of session affinity the load balancer should use unless
|
|
1218
|
-
* specified as `"none"` or "" (default). The supported types are:
|
|
1219
|
-
*
|
|
1220
|
-
* - `"cookie"`: On the first request to a proxied load balancer, a cookie is
|
|
1221
|
-
* generated, encoding information of which origin the request will be forwarded
|
|
1222
|
-
* to. Subsequent requests, by the same client to the same load balancer, will be
|
|
1223
|
-
* sent to the origin server the cookie encodes, for the duration of the cookie
|
|
1224
|
-
* and as long as the origin server remains healthy. If the cookie has expired or
|
|
1225
|
-
* the origin server is unhealthy, then a new origin server is calculated and
|
|
1226
|
-
* used.
|
|
1227
|
-
* - `"ip_cookie"`: Behaves the same as `"cookie"` except the initial origin
|
|
1228
|
-
* selection is stable and based on the client's ip address.
|
|
1229
|
-
* - `"header"`: On the first request to a proxied load balancer, a session key
|
|
1230
|
-
* based on the configured HTTP headers (see
|
|
1231
|
-
* `session_affinity_attributes.headers`) is generated, encoding the request
|
|
1232
|
-
* headers used for storing in the load balancer session state which origin the
|
|
1233
|
-
* request will be forwarded to. Subsequent requests to the load balancer with
|
|
1234
|
-
* the same headers will be sent to the same origin server, for the duration of
|
|
1235
|
-
* the session and as long as the origin server remains healthy. If the session
|
|
1236
|
-
* has been idle for the duration of `session_affinity_ttl` seconds or the origin
|
|
1237
|
-
* server is unhealthy, then a new origin server is calculated and used. See
|
|
1238
|
-
* `headers` in `session_affinity_attributes` for additional required
|
|
1239
|
-
* configuration.
|
|
1240
|
-
*/
|
|
1241
|
-
session_affinity?: 'none' | 'cookie' | 'ip_cookie' | 'header' | '""';
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* Configures attributes for session affinity.
|
|
1245
|
-
*/
|
|
1246
|
-
session_affinity_attributes?: Overrides.SessionAffinityAttributes;
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* Time, in seconds, until a client's session expires after being created. Once the
|
|
1250
|
-
* expiry time has been reached, subsequent requests may get sent to a different
|
|
1251
|
-
* origin server. The accepted ranges per `session_affinity` policy are:
|
|
1252
|
-
*
|
|
1253
|
-
* - `"cookie"` / `"ip_cookie"`: The current default of 23 hours will be used
|
|
1254
|
-
* unless explicitly set. The accepted range of values is between [1800, 604800].
|
|
1255
|
-
* - `"header"`: The current default of 1800 seconds will be used unless explicitly
|
|
1256
|
-
* set. The accepted range of values is between [30, 3600]. Note: With session
|
|
1257
|
-
* affinity by header, sessions only expire after they haven't been used for the
|
|
1258
|
-
* number of seconds specified.
|
|
1259
|
-
*/
|
|
1260
|
-
session_affinity_ttl?: number;
|
|
1261
|
-
|
|
1262
|
-
/**
|
|
1263
|
-
* Steering Policy for this load balancer.
|
|
1264
|
-
*
|
|
1265
|
-
* - `"off"`: Use `default_pools`.
|
|
1266
|
-
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
1267
|
-
* requests, the country for `country_pools` is determined by
|
|
1268
|
-
* `location_strategy`.
|
|
1269
|
-
* - `"random"`: Select a pool randomly.
|
|
1270
|
-
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
1271
|
-
* default_pools (requires pool health checks).
|
|
1272
|
-
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
1273
|
-
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
1274
|
-
* determined by `location_strategy` for non-proxied requests.
|
|
1275
|
-
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
1276
|
-
* `random_steering` weights, as well as each pool's number of outstanding
|
|
1277
|
-
* requests. Pools with more pending requests are weighted proportionately less
|
|
1278
|
-
* relative to others.
|
|
1279
|
-
* - `"least_connections"`: Select a pool by taking into consideration
|
|
1280
|
-
* `random_steering` weights, as well as each pool's number of open connections.
|
|
1281
|
-
* Pools with more open connections are weighted proportionately less relative to
|
|
1282
|
-
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
1283
|
-
* - `""`: Will map to `"geo"` if you use
|
|
1284
|
-
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
1285
|
-
*/
|
|
1286
|
-
steering_policy?:
|
|
1287
|
-
| 'off'
|
|
1288
|
-
| 'geo'
|
|
1289
|
-
| 'random'
|
|
1290
|
-
| 'dynamic_latency'
|
|
1291
|
-
| 'proximity'
|
|
1292
|
-
| 'least_outstanding_requests'
|
|
1293
|
-
| 'least_connections'
|
|
1294
|
-
| '""';
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* Time to live (TTL) of the DNS entry for the IP address returned by this load
|
|
1298
|
-
* balancer. This only applies to gray-clouded (unproxied) load balancers.
|
|
1299
|
-
*/
|
|
1300
|
-
ttl?: number;
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
export namespace Overrides {
|
|
1304
|
-
/**
|
|
1305
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
1306
|
-
* response to dynamic conditions, such as during the interval between active
|
|
1307
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
1308
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
1309
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
1310
|
-
* is retried once against this alternate origin.
|
|
1311
|
-
*/
|
|
1312
|
-
export interface AdaptiveRouting {
|
|
1313
|
-
/**
|
|
1314
|
-
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
1315
|
-
* pools, when no healthy alternate exists in the same pool, according to the
|
|
1316
|
-
* failover order defined by traffic and origin steering. When set false (the
|
|
1317
|
-
* default) zero-downtime failover will only occur between origins within the same
|
|
1318
|
-
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
1319
|
-
* broken or reassigned.
|
|
1320
|
-
*/
|
|
1321
|
-
failover_across_pools?: boolean;
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
1326
|
-
* to learn how steering is affected.
|
|
1327
|
-
*/
|
|
1328
|
-
export interface LocationStrategy {
|
|
1329
|
-
/**
|
|
1330
|
-
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
1331
|
-
* in the request, or its GeoIP lookup is unsuccessful.
|
|
1332
|
-
*
|
|
1333
|
-
* - `"pop"`: Use the Cloudflare PoP location.
|
|
1334
|
-
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
1335
|
-
* unsuccessful, use the Cloudflare PoP location.
|
|
1336
|
-
*/
|
|
1337
|
-
mode?: 'pop' | 'resolver_ip';
|
|
1338
|
-
|
|
1339
|
-
/**
|
|
1340
|
-
* Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the
|
|
1341
|
-
* authoritative location.
|
|
1342
|
-
*
|
|
1343
|
-
* - `"always"`: Always prefer ECS.
|
|
1344
|
-
* - `"never"`: Never prefer ECS.
|
|
1345
|
-
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
1346
|
-
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
1347
|
-
*/
|
|
1348
|
-
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
/**
|
|
1352
|
-
* Configures pool weights.
|
|
1353
|
-
*
|
|
1354
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
1355
|
-
* proportional to pool weights.
|
|
1356
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
1357
|
-
* pool's outstanding requests.
|
|
1358
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
1359
|
-
* open connections.
|
|
1360
|
-
*/
|
|
1361
|
-
export interface RandomSteering {
|
|
1362
|
-
/**
|
|
1363
|
-
* The default weight for pools in the load balancer that are not specified in the
|
|
1364
|
-
* pool_weights map.
|
|
1365
|
-
*/
|
|
1366
|
-
default_weight?: number;
|
|
1367
|
-
|
|
1368
|
-
/**
|
|
1369
|
-
* A mapping of pool IDs to custom weights. The weight is relative to other pools
|
|
1370
|
-
* in the load balancer.
|
|
1371
|
-
*/
|
|
1372
|
-
pool_weights?: unknown;
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
/**
|
|
1376
|
-
* Configures attributes for session affinity.
|
|
1377
|
-
*/
|
|
1378
|
-
export interface SessionAffinityAttributes {
|
|
1379
|
-
/**
|
|
1380
|
-
* Configures the drain duration in seconds. This field is only used when session
|
|
1381
|
-
* affinity is enabled on the load balancer.
|
|
1382
|
-
*/
|
|
1383
|
-
drain_duration?: number;
|
|
1384
|
-
|
|
1385
|
-
/**
|
|
1386
|
-
* Configures the names of HTTP headers to base session affinity on when header
|
|
1387
|
-
* `session_affinity` is enabled. At least one HTTP header name must be provided.
|
|
1388
|
-
* To specify the exact cookies to be used, include an item in the following
|
|
1389
|
-
* format: `"cookie:<cookie-name-1>,<cookie-name-2>"` (example) where everything
|
|
1390
|
-
* after the colon is a comma-separated list of cookie names. Providing only
|
|
1391
|
-
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
1392
|
-
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
1393
|
-
* all other plans.
|
|
1394
|
-
*/
|
|
1395
|
-
headers?: Array<string>;
|
|
1396
|
-
|
|
1397
|
-
/**
|
|
1398
|
-
* When header `session_affinity` is enabled, this option can be used to specify
|
|
1399
|
-
* how HTTP headers on load balancing requests will be used. The supported values
|
|
1400
|
-
* are:
|
|
1401
|
-
*
|
|
1402
|
-
* - `"true"`: Load balancing requests must contain _all_ of the HTTP headers
|
|
1403
|
-
* specified by the `headers` session affinity attribute, otherwise sessions
|
|
1404
|
-
* aren't created.
|
|
1405
|
-
* - `"false"`: Load balancing requests must contain _at least one_ of the HTTP
|
|
1406
|
-
* headers specified by the `headers` session affinity attribute, otherwise
|
|
1407
|
-
* sessions aren't created.
|
|
1408
|
-
*/
|
|
1409
|
-
require_all_headers?: boolean;
|
|
1410
|
-
|
|
1411
|
-
/**
|
|
1412
|
-
* Configures the SameSite attribute on session affinity cookie. Value "Auto" will
|
|
1413
|
-
* be translated to "Lax" or "None" depending if Always Use HTTPS is enabled. Note:
|
|
1414
|
-
* when using value "None", the secure attribute can not be set to "Never".
|
|
1415
|
-
*/
|
|
1416
|
-
samesite?: 'Auto' | 'Lax' | 'None' | 'Strict';
|
|
1417
|
-
|
|
1418
|
-
/**
|
|
1419
|
-
* Configures the Secure attribute on session affinity cookie. Value "Always"
|
|
1420
|
-
* indicates the Secure attribute will be set in the Set-Cookie header, "Never"
|
|
1421
|
-
* indicates the Secure attribute will not be set, and "Auto" will set the Secure
|
|
1422
|
-
* attribute depending if Always Use HTTPS is enabled.
|
|
1423
|
-
*/
|
|
1424
|
-
secure?: 'Auto' | 'Always' | 'Never';
|
|
1425
|
-
|
|
1426
|
-
/**
|
|
1427
|
-
* Configures the zero-downtime failover between origins within a pool when session
|
|
1428
|
-
* affinity is enabled. This feature is currently incompatible with Argo, Tiered
|
|
1429
|
-
* Cache, and Bandwidth Alliance. The supported values are:
|
|
1430
|
-
*
|
|
1431
|
-
* - `"none"`: No failover takes place for sessions pinned to the origin (default).
|
|
1432
|
-
* - `"temporary"`: Traffic will be sent to another other healthy origin until the
|
|
1433
|
-
* originally pinned origin is available; note that this can potentially result
|
|
1434
|
-
* in heavy origin flapping.
|
|
1435
|
-
* - `"sticky"`: The session affinity cookie is updated and subsequent requests are
|
|
1436
|
-
* sent to the new origin. Note: Zero-downtime failover with sticky sessions is
|
|
1437
|
-
* currently not supported for session affinity by header.
|
|
1438
|
-
*/
|
|
1439
|
-
zero_downtime_failover?: 'none' | 'temporary' | 'sticky';
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
/**
|
|
1445
|
-
* Configures attributes for session affinity.
|
|
1446
|
-
*/
|
|
1447
|
-
export interface SessionAffinityAttributes {
|
|
1448
|
-
/**
|
|
1449
|
-
* Configures the drain duration in seconds. This field is only used when session
|
|
1450
|
-
* affinity is enabled on the load balancer.
|
|
1451
|
-
*/
|
|
1452
|
-
drain_duration?: number;
|
|
1453
|
-
|
|
1454
|
-
/**
|
|
1455
|
-
* Configures the names of HTTP headers to base session affinity on when header
|
|
1456
|
-
* `session_affinity` is enabled. At least one HTTP header name must be provided.
|
|
1457
|
-
* To specify the exact cookies to be used, include an item in the following
|
|
1458
|
-
* format: `"cookie:<cookie-name-1>,<cookie-name-2>"` (example) where everything
|
|
1459
|
-
* after the colon is a comma-separated list of cookie names. Providing only
|
|
1460
|
-
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
1461
|
-
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
1462
|
-
* all other plans.
|
|
1463
|
-
*/
|
|
1464
|
-
headers?: Array<string>;
|
|
1620
|
+
* configuration.
|
|
1621
|
+
*/
|
|
1622
|
+
session_affinity?: SessionAffinityParam;
|
|
1465
1623
|
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
*
|
|
1471
|
-
* - `"true"`: Load balancing requests must contain _all_ of the HTTP headers
|
|
1472
|
-
* specified by the `headers` session affinity attribute, otherwise sessions
|
|
1473
|
-
* aren't created.
|
|
1474
|
-
* - `"false"`: Load balancing requests must contain _at least one_ of the HTTP
|
|
1475
|
-
* headers specified by the `headers` session affinity attribute, otherwise
|
|
1476
|
-
* sessions aren't created.
|
|
1477
|
-
*/
|
|
1478
|
-
require_all_headers?: boolean;
|
|
1624
|
+
/**
|
|
1625
|
+
* Body param: Configures attributes for session affinity.
|
|
1626
|
+
*/
|
|
1627
|
+
session_affinity_attributes?: SessionAffinityAttributesParam;
|
|
1479
1628
|
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1629
|
+
/**
|
|
1630
|
+
* Body param: Time, in seconds, until a client's session expires after being
|
|
1631
|
+
* created. Once the expiry time has been reached, subsequent requests may get sent
|
|
1632
|
+
* to a different origin server. The accepted ranges per `session_affinity` policy
|
|
1633
|
+
* are:
|
|
1634
|
+
*
|
|
1635
|
+
* - `"cookie"` / `"ip_cookie"`: The current default of 23 hours will be used
|
|
1636
|
+
* unless explicitly set. The accepted range of values is between [1800, 604800].
|
|
1637
|
+
* - `"header"`: The current default of 1800 seconds will be used unless explicitly
|
|
1638
|
+
* set. The accepted range of values is between [30, 3600]. Note: With session
|
|
1639
|
+
* affinity by header, sessions only expire after they haven't been used for the
|
|
1640
|
+
* number of seconds specified.
|
|
1641
|
+
*/
|
|
1642
|
+
session_affinity_ttl?: number;
|
|
1486
1643
|
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1644
|
+
/**
|
|
1645
|
+
* Body param: Steering Policy for this load balancer.
|
|
1646
|
+
*
|
|
1647
|
+
* - `"off"`: Use `default_pools`.
|
|
1648
|
+
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
1649
|
+
* requests, the country for `country_pools` is determined by
|
|
1650
|
+
* `location_strategy`.
|
|
1651
|
+
* - `"random"`: Select a pool randomly.
|
|
1652
|
+
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
1653
|
+
* default_pools (requires pool health checks).
|
|
1654
|
+
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
1655
|
+
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
1656
|
+
* determined by `location_strategy` for non-proxied requests.
|
|
1657
|
+
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
1658
|
+
* `random_steering` weights, as well as each pool's number of outstanding
|
|
1659
|
+
* requests. Pools with more pending requests are weighted proportionately less
|
|
1660
|
+
* relative to others.
|
|
1661
|
+
* - `"least_connections"`: Select a pool by taking into consideration
|
|
1662
|
+
* `random_steering` weights, as well as each pool's number of open connections.
|
|
1663
|
+
* Pools with more open connections are weighted proportionately less relative to
|
|
1664
|
+
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
1665
|
+
* - `""`: Will map to `"geo"` if you use
|
|
1666
|
+
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
1667
|
+
*/
|
|
1668
|
+
steering_policy?: SteeringPolicyParam;
|
|
1494
1669
|
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
* - `"temporary"`: Traffic will be sent to another other healthy origin until the
|
|
1502
|
-
* originally pinned origin is available; note that this can potentially result
|
|
1503
|
-
* in heavy origin flapping.
|
|
1504
|
-
* - `"sticky"`: The session affinity cookie is updated and subsequent requests are
|
|
1505
|
-
* sent to the new origin. Note: Zero-downtime failover with sticky sessions is
|
|
1506
|
-
* currently not supported for session affinity by header.
|
|
1507
|
-
*/
|
|
1508
|
-
zero_downtime_failover?: 'none' | 'temporary' | 'sticky';
|
|
1509
|
-
}
|
|
1670
|
+
/**
|
|
1671
|
+
* Body param: Time to live (TTL) of the DNS entry for the IP address returned by
|
|
1672
|
+
* this load balancer. This only applies to gray-clouded (unproxied) load
|
|
1673
|
+
* balancers.
|
|
1674
|
+
*/
|
|
1675
|
+
ttl?: number;
|
|
1510
1676
|
}
|
|
1511
1677
|
|
|
1512
1678
|
export interface LoadBalancerUpdateParams {
|
|
@@ -1520,7 +1686,7 @@ export interface LoadBalancerUpdateParams {
|
|
|
1520
1686
|
* here are used by default, or when region_pools are not configured for a given
|
|
1521
1687
|
* region.
|
|
1522
1688
|
*/
|
|
1523
|
-
default_pools: Array<
|
|
1689
|
+
default_pools: Array<DefaultPoolsParam>;
|
|
1524
1690
|
|
|
1525
1691
|
/**
|
|
1526
1692
|
* Body param: The pool ID to use when all other pools are detected as unhealthy.
|
|
@@ -1542,7 +1708,7 @@ export interface LoadBalancerUpdateParams {
|
|
|
1542
1708
|
* response codes. If there is another healthy origin in the same pool, the request
|
|
1543
1709
|
* is retried once against this alternate origin.
|
|
1544
1710
|
*/
|
|
1545
|
-
adaptive_routing?:
|
|
1711
|
+
adaptive_routing?: AdaptiveRoutingParam;
|
|
1546
1712
|
|
|
1547
1713
|
/**
|
|
1548
1714
|
* Body param: A mapping of country codes to a list of pool IDs (ordered by their
|
|
@@ -1566,7 +1732,7 @@ export interface LoadBalancerUpdateParams {
|
|
|
1566
1732
|
* Body param: Controls location-based steering for non-proxied requests. See
|
|
1567
1733
|
* `steering_policy` to learn how steering is affected.
|
|
1568
1734
|
*/
|
|
1569
|
-
location_strategy?:
|
|
1735
|
+
location_strategy?: LocationStrategyParam;
|
|
1570
1736
|
|
|
1571
1737
|
/**
|
|
1572
1738
|
* Body param: (Enterprise only): A mapping of Cloudflare PoP identifiers to a list
|
|
@@ -1592,7 +1758,7 @@ export interface LoadBalancerUpdateParams {
|
|
|
1592
1758
|
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
1593
1759
|
* open connections.
|
|
1594
1760
|
*/
|
|
1595
|
-
random_steering?:
|
|
1761
|
+
random_steering?: RandomSteeringParam;
|
|
1596
1762
|
|
|
1597
1763
|
/**
|
|
1598
1764
|
* Body param: A mapping of region codes to a list of pool IDs (ordered by their
|
|
@@ -1605,7 +1771,7 @@ export interface LoadBalancerUpdateParams {
|
|
|
1605
1771
|
* Body param: BETA Field Not General Access: A list of rules for this load
|
|
1606
1772
|
* balancer to execute.
|
|
1607
1773
|
*/
|
|
1608
|
-
rules?: Array<
|
|
1774
|
+
rules?: Array<RulesParam>;
|
|
1609
1775
|
|
|
1610
1776
|
/**
|
|
1611
1777
|
* Body param: Specifies the type of session affinity the load balancer should use
|
|
@@ -1632,12 +1798,12 @@ export interface LoadBalancerUpdateParams {
|
|
|
1632
1798
|
* `headers` in `session_affinity_attributes` for additional required
|
|
1633
1799
|
* configuration.
|
|
1634
1800
|
*/
|
|
1635
|
-
session_affinity?:
|
|
1801
|
+
session_affinity?: SessionAffinityParam;
|
|
1636
1802
|
|
|
1637
1803
|
/**
|
|
1638
1804
|
* Body param: Configures attributes for session affinity.
|
|
1639
1805
|
*/
|
|
1640
|
-
session_affinity_attributes?:
|
|
1806
|
+
session_affinity_attributes?: SessionAffinityAttributesParam;
|
|
1641
1807
|
|
|
1642
1808
|
/**
|
|
1643
1809
|
* Body param: Time, in seconds, until a client's session expires after being
|
|
@@ -1678,15 +1844,7 @@ export interface LoadBalancerUpdateParams {
|
|
|
1678
1844
|
* - `""`: Will map to `"geo"` if you use
|
|
1679
1845
|
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
1680
1846
|
*/
|
|
1681
|
-
steering_policy?:
|
|
1682
|
-
| 'off'
|
|
1683
|
-
| 'geo'
|
|
1684
|
-
| 'random'
|
|
1685
|
-
| 'dynamic_latency'
|
|
1686
|
-
| 'proximity'
|
|
1687
|
-
| 'least_outstanding_requests'
|
|
1688
|
-
| 'least_connections'
|
|
1689
|
-
| '""';
|
|
1847
|
+
steering_policy?: SteeringPolicyParam;
|
|
1690
1848
|
|
|
1691
1849
|
/**
|
|
1692
1850
|
* Body param: Time to live (TTL) of the DNS entry for the IP address returned by
|
|
@@ -1696,521 +1854,6 @@ export interface LoadBalancerUpdateParams {
|
|
|
1696
1854
|
ttl?: number;
|
|
1697
1855
|
}
|
|
1698
1856
|
|
|
1699
|
-
export namespace LoadBalancerUpdateParams {
|
|
1700
|
-
/**
|
|
1701
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
1702
|
-
* response to dynamic conditions, such as during the interval between active
|
|
1703
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
1704
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
1705
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
1706
|
-
* is retried once against this alternate origin.
|
|
1707
|
-
*/
|
|
1708
|
-
export interface AdaptiveRouting {
|
|
1709
|
-
/**
|
|
1710
|
-
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
1711
|
-
* pools, when no healthy alternate exists in the same pool, according to the
|
|
1712
|
-
* failover order defined by traffic and origin steering. When set false (the
|
|
1713
|
-
* default) zero-downtime failover will only occur between origins within the same
|
|
1714
|
-
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
1715
|
-
* broken or reassigned.
|
|
1716
|
-
*/
|
|
1717
|
-
failover_across_pools?: boolean;
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
/**
|
|
1721
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
1722
|
-
* to learn how steering is affected.
|
|
1723
|
-
*/
|
|
1724
|
-
export interface LocationStrategy {
|
|
1725
|
-
/**
|
|
1726
|
-
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
1727
|
-
* in the request, or its GeoIP lookup is unsuccessful.
|
|
1728
|
-
*
|
|
1729
|
-
* - `"pop"`: Use the Cloudflare PoP location.
|
|
1730
|
-
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
1731
|
-
* unsuccessful, use the Cloudflare PoP location.
|
|
1732
|
-
*/
|
|
1733
|
-
mode?: 'pop' | 'resolver_ip';
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the
|
|
1737
|
-
* authoritative location.
|
|
1738
|
-
*
|
|
1739
|
-
* - `"always"`: Always prefer ECS.
|
|
1740
|
-
* - `"never"`: Never prefer ECS.
|
|
1741
|
-
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
1742
|
-
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
1743
|
-
*/
|
|
1744
|
-
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
/**
|
|
1748
|
-
* Configures pool weights.
|
|
1749
|
-
*
|
|
1750
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
1751
|
-
* proportional to pool weights.
|
|
1752
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
1753
|
-
* pool's outstanding requests.
|
|
1754
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
1755
|
-
* open connections.
|
|
1756
|
-
*/
|
|
1757
|
-
export interface RandomSteering {
|
|
1758
|
-
/**
|
|
1759
|
-
* The default weight for pools in the load balancer that are not specified in the
|
|
1760
|
-
* pool_weights map.
|
|
1761
|
-
*/
|
|
1762
|
-
default_weight?: number;
|
|
1763
|
-
|
|
1764
|
-
/**
|
|
1765
|
-
* A mapping of pool IDs to custom weights. The weight is relative to other pools
|
|
1766
|
-
* in the load balancer.
|
|
1767
|
-
*/
|
|
1768
|
-
pool_weights?: unknown;
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
|
-
/**
|
|
1772
|
-
* A rule object containing conditions and overrides for this load balancer to
|
|
1773
|
-
* evaluate.
|
|
1774
|
-
*/
|
|
1775
|
-
export interface Rule {
|
|
1776
|
-
/**
|
|
1777
|
-
* The condition expressions to evaluate. If the condition evaluates to true, the
|
|
1778
|
-
* overrides or fixed_response in this rule will be applied. An empty condition is
|
|
1779
|
-
* always true. For more details on condition expressions, please see
|
|
1780
|
-
* https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules/expressions.
|
|
1781
|
-
*/
|
|
1782
|
-
condition?: string;
|
|
1783
|
-
|
|
1784
|
-
/**
|
|
1785
|
-
* Disable this specific rule. It will no longer be evaluated by this load
|
|
1786
|
-
* balancer.
|
|
1787
|
-
*/
|
|
1788
|
-
disabled?: boolean;
|
|
1789
|
-
|
|
1790
|
-
/**
|
|
1791
|
-
* A collection of fields used to directly respond to the eyeball instead of
|
|
1792
|
-
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
1793
|
-
* terminates.
|
|
1794
|
-
*/
|
|
1795
|
-
fixed_response?: Rule.FixedResponse;
|
|
1796
|
-
|
|
1797
|
-
/**
|
|
1798
|
-
* Name of this rule. Only used for human readability.
|
|
1799
|
-
*/
|
|
1800
|
-
name?: string;
|
|
1801
|
-
|
|
1802
|
-
/**
|
|
1803
|
-
* A collection of overrides to apply to the load balancer when this rule's
|
|
1804
|
-
* condition is true. All fields are optional.
|
|
1805
|
-
*/
|
|
1806
|
-
overrides?: Rule.Overrides;
|
|
1807
|
-
|
|
1808
|
-
/**
|
|
1809
|
-
* The order in which rules should be executed in relation to each other. Lower
|
|
1810
|
-
* values are executed first. Values do not need to be sequential. If no value is
|
|
1811
|
-
* provided for any rule the array order of the rules field will be used to assign
|
|
1812
|
-
* a priority.
|
|
1813
|
-
*/
|
|
1814
|
-
priority?: number;
|
|
1815
|
-
|
|
1816
|
-
/**
|
|
1817
|
-
* If this rule's condition is true, this causes rule evaluation to stop after
|
|
1818
|
-
* processing this rule.
|
|
1819
|
-
*/
|
|
1820
|
-
terminates?: boolean;
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
export namespace Rule {
|
|
1824
|
-
/**
|
|
1825
|
-
* A collection of fields used to directly respond to the eyeball instead of
|
|
1826
|
-
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
1827
|
-
* terminates.
|
|
1828
|
-
*/
|
|
1829
|
-
export interface FixedResponse {
|
|
1830
|
-
/**
|
|
1831
|
-
* The http 'Content-Type' header to include in the response.
|
|
1832
|
-
*/
|
|
1833
|
-
content_type?: string;
|
|
1834
|
-
|
|
1835
|
-
/**
|
|
1836
|
-
* The http 'Location' header to include in the response.
|
|
1837
|
-
*/
|
|
1838
|
-
location?: string;
|
|
1839
|
-
|
|
1840
|
-
/**
|
|
1841
|
-
* Text to include as the http body.
|
|
1842
|
-
*/
|
|
1843
|
-
message_body?: string;
|
|
1844
|
-
|
|
1845
|
-
/**
|
|
1846
|
-
* The http status code to respond with.
|
|
1847
|
-
*/
|
|
1848
|
-
status_code?: number;
|
|
1849
|
-
}
|
|
1850
|
-
|
|
1851
|
-
/**
|
|
1852
|
-
* A collection of overrides to apply to the load balancer when this rule's
|
|
1853
|
-
* condition is true. All fields are optional.
|
|
1854
|
-
*/
|
|
1855
|
-
export interface Overrides {
|
|
1856
|
-
/**
|
|
1857
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
1858
|
-
* response to dynamic conditions, such as during the interval between active
|
|
1859
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
1860
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
1861
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
1862
|
-
* is retried once against this alternate origin.
|
|
1863
|
-
*/
|
|
1864
|
-
adaptive_routing?: Overrides.AdaptiveRouting;
|
|
1865
|
-
|
|
1866
|
-
/**
|
|
1867
|
-
* A mapping of country codes to a list of pool IDs (ordered by their failover
|
|
1868
|
-
* priority) for the given country. Any country not explicitly defined will fall
|
|
1869
|
-
* back to using the corresponding region_pool mapping if it exists else to
|
|
1870
|
-
* default_pools.
|
|
1871
|
-
*/
|
|
1872
|
-
country_pools?: unknown;
|
|
1873
|
-
|
|
1874
|
-
/**
|
|
1875
|
-
* A list of pool IDs ordered by their failover priority. Pools defined here are
|
|
1876
|
-
* used by default, or when region_pools are not configured for a given region.
|
|
1877
|
-
*/
|
|
1878
|
-
default_pools?: Array<string>;
|
|
1879
|
-
|
|
1880
|
-
/**
|
|
1881
|
-
* The pool ID to use when all other pools are detected as unhealthy.
|
|
1882
|
-
*/
|
|
1883
|
-
fallback_pool?: unknown;
|
|
1884
|
-
|
|
1885
|
-
/**
|
|
1886
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
1887
|
-
* to learn how steering is affected.
|
|
1888
|
-
*/
|
|
1889
|
-
location_strategy?: Overrides.LocationStrategy;
|
|
1890
|
-
|
|
1891
|
-
/**
|
|
1892
|
-
* (Enterprise only): A mapping of Cloudflare PoP identifiers to a list of pool IDs
|
|
1893
|
-
* (ordered by their failover priority) for the PoP (datacenter). Any PoPs not
|
|
1894
|
-
* explicitly defined will fall back to using the corresponding country_pool, then
|
|
1895
|
-
* region_pool mapping if it exists else to default_pools.
|
|
1896
|
-
*/
|
|
1897
|
-
pop_pools?: unknown;
|
|
1898
|
-
|
|
1899
|
-
/**
|
|
1900
|
-
* Configures pool weights.
|
|
1901
|
-
*
|
|
1902
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
1903
|
-
* proportional to pool weights.
|
|
1904
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
1905
|
-
* pool's outstanding requests.
|
|
1906
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
1907
|
-
* open connections.
|
|
1908
|
-
*/
|
|
1909
|
-
random_steering?: Overrides.RandomSteering;
|
|
1910
|
-
|
|
1911
|
-
/**
|
|
1912
|
-
* A mapping of region codes to a list of pool IDs (ordered by their failover
|
|
1913
|
-
* priority) for the given region. Any regions not explicitly defined will fall
|
|
1914
|
-
* back to using default_pools.
|
|
1915
|
-
*/
|
|
1916
|
-
region_pools?: unknown;
|
|
1917
|
-
|
|
1918
|
-
/**
|
|
1919
|
-
* Specifies the type of session affinity the load balancer should use unless
|
|
1920
|
-
* specified as `"none"` or "" (default). The supported types are:
|
|
1921
|
-
*
|
|
1922
|
-
* - `"cookie"`: On the first request to a proxied load balancer, a cookie is
|
|
1923
|
-
* generated, encoding information of which origin the request will be forwarded
|
|
1924
|
-
* to. Subsequent requests, by the same client to the same load balancer, will be
|
|
1925
|
-
* sent to the origin server the cookie encodes, for the duration of the cookie
|
|
1926
|
-
* and as long as the origin server remains healthy. If the cookie has expired or
|
|
1927
|
-
* the origin server is unhealthy, then a new origin server is calculated and
|
|
1928
|
-
* used.
|
|
1929
|
-
* - `"ip_cookie"`: Behaves the same as `"cookie"` except the initial origin
|
|
1930
|
-
* selection is stable and based on the client's ip address.
|
|
1931
|
-
* - `"header"`: On the first request to a proxied load balancer, a session key
|
|
1932
|
-
* based on the configured HTTP headers (see
|
|
1933
|
-
* `session_affinity_attributes.headers`) is generated, encoding the request
|
|
1934
|
-
* headers used for storing in the load balancer session state which origin the
|
|
1935
|
-
* request will be forwarded to. Subsequent requests to the load balancer with
|
|
1936
|
-
* the same headers will be sent to the same origin server, for the duration of
|
|
1937
|
-
* the session and as long as the origin server remains healthy. If the session
|
|
1938
|
-
* has been idle for the duration of `session_affinity_ttl` seconds or the origin
|
|
1939
|
-
* server is unhealthy, then a new origin server is calculated and used. See
|
|
1940
|
-
* `headers` in `session_affinity_attributes` for additional required
|
|
1941
|
-
* configuration.
|
|
1942
|
-
*/
|
|
1943
|
-
session_affinity?: 'none' | 'cookie' | 'ip_cookie' | 'header' | '""';
|
|
1944
|
-
|
|
1945
|
-
/**
|
|
1946
|
-
* Configures attributes for session affinity.
|
|
1947
|
-
*/
|
|
1948
|
-
session_affinity_attributes?: Overrides.SessionAffinityAttributes;
|
|
1949
|
-
|
|
1950
|
-
/**
|
|
1951
|
-
* Time, in seconds, until a client's session expires after being created. Once the
|
|
1952
|
-
* expiry time has been reached, subsequent requests may get sent to a different
|
|
1953
|
-
* origin server. The accepted ranges per `session_affinity` policy are:
|
|
1954
|
-
*
|
|
1955
|
-
* - `"cookie"` / `"ip_cookie"`: The current default of 23 hours will be used
|
|
1956
|
-
* unless explicitly set. The accepted range of values is between [1800, 604800].
|
|
1957
|
-
* - `"header"`: The current default of 1800 seconds will be used unless explicitly
|
|
1958
|
-
* set. The accepted range of values is between [30, 3600]. Note: With session
|
|
1959
|
-
* affinity by header, sessions only expire after they haven't been used for the
|
|
1960
|
-
* number of seconds specified.
|
|
1961
|
-
*/
|
|
1962
|
-
session_affinity_ttl?: number;
|
|
1963
|
-
|
|
1964
|
-
/**
|
|
1965
|
-
* Steering Policy for this load balancer.
|
|
1966
|
-
*
|
|
1967
|
-
* - `"off"`: Use `default_pools`.
|
|
1968
|
-
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
1969
|
-
* requests, the country for `country_pools` is determined by
|
|
1970
|
-
* `location_strategy`.
|
|
1971
|
-
* - `"random"`: Select a pool randomly.
|
|
1972
|
-
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
1973
|
-
* default_pools (requires pool health checks).
|
|
1974
|
-
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
1975
|
-
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
1976
|
-
* determined by `location_strategy` for non-proxied requests.
|
|
1977
|
-
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
1978
|
-
* `random_steering` weights, as well as each pool's number of outstanding
|
|
1979
|
-
* requests. Pools with more pending requests are weighted proportionately less
|
|
1980
|
-
* relative to others.
|
|
1981
|
-
* - `"least_connections"`: Select a pool by taking into consideration
|
|
1982
|
-
* `random_steering` weights, as well as each pool's number of open connections.
|
|
1983
|
-
* Pools with more open connections are weighted proportionately less relative to
|
|
1984
|
-
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
1985
|
-
* - `""`: Will map to `"geo"` if you use
|
|
1986
|
-
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
1987
|
-
*/
|
|
1988
|
-
steering_policy?:
|
|
1989
|
-
| 'off'
|
|
1990
|
-
| 'geo'
|
|
1991
|
-
| 'random'
|
|
1992
|
-
| 'dynamic_latency'
|
|
1993
|
-
| 'proximity'
|
|
1994
|
-
| 'least_outstanding_requests'
|
|
1995
|
-
| 'least_connections'
|
|
1996
|
-
| '""';
|
|
1997
|
-
|
|
1998
|
-
/**
|
|
1999
|
-
* Time to live (TTL) of the DNS entry for the IP address returned by this load
|
|
2000
|
-
* balancer. This only applies to gray-clouded (unproxied) load balancers.
|
|
2001
|
-
*/
|
|
2002
|
-
ttl?: number;
|
|
2003
|
-
}
|
|
2004
|
-
|
|
2005
|
-
export namespace Overrides {
|
|
2006
|
-
/**
|
|
2007
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
2008
|
-
* response to dynamic conditions, such as during the interval between active
|
|
2009
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
2010
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
2011
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
2012
|
-
* is retried once against this alternate origin.
|
|
2013
|
-
*/
|
|
2014
|
-
export interface AdaptiveRouting {
|
|
2015
|
-
/**
|
|
2016
|
-
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
2017
|
-
* pools, when no healthy alternate exists in the same pool, according to the
|
|
2018
|
-
* failover order defined by traffic and origin steering. When set false (the
|
|
2019
|
-
* default) zero-downtime failover will only occur between origins within the same
|
|
2020
|
-
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
2021
|
-
* broken or reassigned.
|
|
2022
|
-
*/
|
|
2023
|
-
failover_across_pools?: boolean;
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
/**
|
|
2027
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
2028
|
-
* to learn how steering is affected.
|
|
2029
|
-
*/
|
|
2030
|
-
export interface LocationStrategy {
|
|
2031
|
-
/**
|
|
2032
|
-
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
2033
|
-
* in the request, or its GeoIP lookup is unsuccessful.
|
|
2034
|
-
*
|
|
2035
|
-
* - `"pop"`: Use the Cloudflare PoP location.
|
|
2036
|
-
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
2037
|
-
* unsuccessful, use the Cloudflare PoP location.
|
|
2038
|
-
*/
|
|
2039
|
-
mode?: 'pop' | 'resolver_ip';
|
|
2040
|
-
|
|
2041
|
-
/**
|
|
2042
|
-
* Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the
|
|
2043
|
-
* authoritative location.
|
|
2044
|
-
*
|
|
2045
|
-
* - `"always"`: Always prefer ECS.
|
|
2046
|
-
* - `"never"`: Never prefer ECS.
|
|
2047
|
-
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
2048
|
-
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
2049
|
-
*/
|
|
2050
|
-
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
|
-
/**
|
|
2054
|
-
* Configures pool weights.
|
|
2055
|
-
*
|
|
2056
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
2057
|
-
* proportional to pool weights.
|
|
2058
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
2059
|
-
* pool's outstanding requests.
|
|
2060
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
2061
|
-
* open connections.
|
|
2062
|
-
*/
|
|
2063
|
-
export interface RandomSteering {
|
|
2064
|
-
/**
|
|
2065
|
-
* The default weight for pools in the load balancer that are not specified in the
|
|
2066
|
-
* pool_weights map.
|
|
2067
|
-
*/
|
|
2068
|
-
default_weight?: number;
|
|
2069
|
-
|
|
2070
|
-
/**
|
|
2071
|
-
* A mapping of pool IDs to custom weights. The weight is relative to other pools
|
|
2072
|
-
* in the load balancer.
|
|
2073
|
-
*/
|
|
2074
|
-
pool_weights?: unknown;
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2077
|
-
/**
|
|
2078
|
-
* Configures attributes for session affinity.
|
|
2079
|
-
*/
|
|
2080
|
-
export interface SessionAffinityAttributes {
|
|
2081
|
-
/**
|
|
2082
|
-
* Configures the drain duration in seconds. This field is only used when session
|
|
2083
|
-
* affinity is enabled on the load balancer.
|
|
2084
|
-
*/
|
|
2085
|
-
drain_duration?: number;
|
|
2086
|
-
|
|
2087
|
-
/**
|
|
2088
|
-
* Configures the names of HTTP headers to base session affinity on when header
|
|
2089
|
-
* `session_affinity` is enabled. At least one HTTP header name must be provided.
|
|
2090
|
-
* To specify the exact cookies to be used, include an item in the following
|
|
2091
|
-
* format: `"cookie:<cookie-name-1>,<cookie-name-2>"` (example) where everything
|
|
2092
|
-
* after the colon is a comma-separated list of cookie names. Providing only
|
|
2093
|
-
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
2094
|
-
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
2095
|
-
* all other plans.
|
|
2096
|
-
*/
|
|
2097
|
-
headers?: Array<string>;
|
|
2098
|
-
|
|
2099
|
-
/**
|
|
2100
|
-
* When header `session_affinity` is enabled, this option can be used to specify
|
|
2101
|
-
* how HTTP headers on load balancing requests will be used. The supported values
|
|
2102
|
-
* are:
|
|
2103
|
-
*
|
|
2104
|
-
* - `"true"`: Load balancing requests must contain _all_ of the HTTP headers
|
|
2105
|
-
* specified by the `headers` session affinity attribute, otherwise sessions
|
|
2106
|
-
* aren't created.
|
|
2107
|
-
* - `"false"`: Load balancing requests must contain _at least one_ of the HTTP
|
|
2108
|
-
* headers specified by the `headers` session affinity attribute, otherwise
|
|
2109
|
-
* sessions aren't created.
|
|
2110
|
-
*/
|
|
2111
|
-
require_all_headers?: boolean;
|
|
2112
|
-
|
|
2113
|
-
/**
|
|
2114
|
-
* Configures the SameSite attribute on session affinity cookie. Value "Auto" will
|
|
2115
|
-
* be translated to "Lax" or "None" depending if Always Use HTTPS is enabled. Note:
|
|
2116
|
-
* when using value "None", the secure attribute can not be set to "Never".
|
|
2117
|
-
*/
|
|
2118
|
-
samesite?: 'Auto' | 'Lax' | 'None' | 'Strict';
|
|
2119
|
-
|
|
2120
|
-
/**
|
|
2121
|
-
* Configures the Secure attribute on session affinity cookie. Value "Always"
|
|
2122
|
-
* indicates the Secure attribute will be set in the Set-Cookie header, "Never"
|
|
2123
|
-
* indicates the Secure attribute will not be set, and "Auto" will set the Secure
|
|
2124
|
-
* attribute depending if Always Use HTTPS is enabled.
|
|
2125
|
-
*/
|
|
2126
|
-
secure?: 'Auto' | 'Always' | 'Never';
|
|
2127
|
-
|
|
2128
|
-
/**
|
|
2129
|
-
* Configures the zero-downtime failover between origins within a pool when session
|
|
2130
|
-
* affinity is enabled. This feature is currently incompatible with Argo, Tiered
|
|
2131
|
-
* Cache, and Bandwidth Alliance. The supported values are:
|
|
2132
|
-
*
|
|
2133
|
-
* - `"none"`: No failover takes place for sessions pinned to the origin (default).
|
|
2134
|
-
* - `"temporary"`: Traffic will be sent to another other healthy origin until the
|
|
2135
|
-
* originally pinned origin is available; note that this can potentially result
|
|
2136
|
-
* in heavy origin flapping.
|
|
2137
|
-
* - `"sticky"`: The session affinity cookie is updated and subsequent requests are
|
|
2138
|
-
* sent to the new origin. Note: Zero-downtime failover with sticky sessions is
|
|
2139
|
-
* currently not supported for session affinity by header.
|
|
2140
|
-
*/
|
|
2141
|
-
zero_downtime_failover?: 'none' | 'temporary' | 'sticky';
|
|
2142
|
-
}
|
|
2143
|
-
}
|
|
2144
|
-
}
|
|
2145
|
-
|
|
2146
|
-
/**
|
|
2147
|
-
* Configures attributes for session affinity.
|
|
2148
|
-
*/
|
|
2149
|
-
export interface SessionAffinityAttributes {
|
|
2150
|
-
/**
|
|
2151
|
-
* Configures the drain duration in seconds. This field is only used when session
|
|
2152
|
-
* affinity is enabled on the load balancer.
|
|
2153
|
-
*/
|
|
2154
|
-
drain_duration?: number;
|
|
2155
|
-
|
|
2156
|
-
/**
|
|
2157
|
-
* Configures the names of HTTP headers to base session affinity on when header
|
|
2158
|
-
* `session_affinity` is enabled. At least one HTTP header name must be provided.
|
|
2159
|
-
* To specify the exact cookies to be used, include an item in the following
|
|
2160
|
-
* format: `"cookie:<cookie-name-1>,<cookie-name-2>"` (example) where everything
|
|
2161
|
-
* after the colon is a comma-separated list of cookie names. Providing only
|
|
2162
|
-
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
2163
|
-
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
2164
|
-
* all other plans.
|
|
2165
|
-
*/
|
|
2166
|
-
headers?: Array<string>;
|
|
2167
|
-
|
|
2168
|
-
/**
|
|
2169
|
-
* When header `session_affinity` is enabled, this option can be used to specify
|
|
2170
|
-
* how HTTP headers on load balancing requests will be used. The supported values
|
|
2171
|
-
* are:
|
|
2172
|
-
*
|
|
2173
|
-
* - `"true"`: Load balancing requests must contain _all_ of the HTTP headers
|
|
2174
|
-
* specified by the `headers` session affinity attribute, otherwise sessions
|
|
2175
|
-
* aren't created.
|
|
2176
|
-
* - `"false"`: Load balancing requests must contain _at least one_ of the HTTP
|
|
2177
|
-
* headers specified by the `headers` session affinity attribute, otherwise
|
|
2178
|
-
* sessions aren't created.
|
|
2179
|
-
*/
|
|
2180
|
-
require_all_headers?: boolean;
|
|
2181
|
-
|
|
2182
|
-
/**
|
|
2183
|
-
* Configures the SameSite attribute on session affinity cookie. Value "Auto" will
|
|
2184
|
-
* be translated to "Lax" or "None" depending if Always Use HTTPS is enabled. Note:
|
|
2185
|
-
* when using value "None", the secure attribute can not be set to "Never".
|
|
2186
|
-
*/
|
|
2187
|
-
samesite?: 'Auto' | 'Lax' | 'None' | 'Strict';
|
|
2188
|
-
|
|
2189
|
-
/**
|
|
2190
|
-
* Configures the Secure attribute on session affinity cookie. Value "Always"
|
|
2191
|
-
* indicates the Secure attribute will be set in the Set-Cookie header, "Never"
|
|
2192
|
-
* indicates the Secure attribute will not be set, and "Auto" will set the Secure
|
|
2193
|
-
* attribute depending if Always Use HTTPS is enabled.
|
|
2194
|
-
*/
|
|
2195
|
-
secure?: 'Auto' | 'Always' | 'Never';
|
|
2196
|
-
|
|
2197
|
-
/**
|
|
2198
|
-
* Configures the zero-downtime failover between origins within a pool when session
|
|
2199
|
-
* affinity is enabled. This feature is currently incompatible with Argo, Tiered
|
|
2200
|
-
* Cache, and Bandwidth Alliance. The supported values are:
|
|
2201
|
-
*
|
|
2202
|
-
* - `"none"`: No failover takes place for sessions pinned to the origin (default).
|
|
2203
|
-
* - `"temporary"`: Traffic will be sent to another other healthy origin until the
|
|
2204
|
-
* originally pinned origin is available; note that this can potentially result
|
|
2205
|
-
* in heavy origin flapping.
|
|
2206
|
-
* - `"sticky"`: The session affinity cookie is updated and subsequent requests are
|
|
2207
|
-
* sent to the new origin. Note: Zero-downtime failover with sticky sessions is
|
|
2208
|
-
* currently not supported for session affinity by header.
|
|
2209
|
-
*/
|
|
2210
|
-
zero_downtime_failover?: 'none' | 'temporary' | 'sticky';
|
|
2211
|
-
}
|
|
2212
|
-
}
|
|
2213
|
-
|
|
2214
1857
|
export interface LoadBalancerListParams {
|
|
2215
1858
|
zone_id: string;
|
|
2216
1859
|
}
|
|
@@ -2233,7 +1876,7 @@ export interface LoadBalancerEditParams {
|
|
|
2233
1876
|
* response codes. If there is another healthy origin in the same pool, the request
|
|
2234
1877
|
* is retried once against this alternate origin.
|
|
2235
1878
|
*/
|
|
2236
|
-
adaptive_routing?:
|
|
1879
|
+
adaptive_routing?: AdaptiveRoutingParam;
|
|
2237
1880
|
|
|
2238
1881
|
/**
|
|
2239
1882
|
* Body param: A mapping of country codes to a list of pool IDs (ordered by their
|
|
@@ -2248,7 +1891,7 @@ export interface LoadBalancerEditParams {
|
|
|
2248
1891
|
* here are used by default, or when region_pools are not configured for a given
|
|
2249
1892
|
* region.
|
|
2250
1893
|
*/
|
|
2251
|
-
default_pools?: Array<
|
|
1894
|
+
default_pools?: Array<DefaultPoolsParam>;
|
|
2252
1895
|
|
|
2253
1896
|
/**
|
|
2254
1897
|
* Body param: Object description.
|
|
@@ -2269,7 +1912,7 @@ export interface LoadBalancerEditParams {
|
|
|
2269
1912
|
* Body param: Controls location-based steering for non-proxied requests. See
|
|
2270
1913
|
* `steering_policy` to learn how steering is affected.
|
|
2271
1914
|
*/
|
|
2272
|
-
location_strategy?:
|
|
1915
|
+
location_strategy?: LocationStrategyParam;
|
|
2273
1916
|
|
|
2274
1917
|
/**
|
|
2275
1918
|
* Body param: The DNS hostname to associate with your Load Balancer. If this
|
|
@@ -2302,7 +1945,7 @@ export interface LoadBalancerEditParams {
|
|
|
2302
1945
|
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
2303
1946
|
* open connections.
|
|
2304
1947
|
*/
|
|
2305
|
-
random_steering?:
|
|
1948
|
+
random_steering?: RandomSteeringParam;
|
|
2306
1949
|
|
|
2307
1950
|
/**
|
|
2308
1951
|
* Body param: A mapping of region codes to a list of pool IDs (ordered by their
|
|
@@ -2315,7 +1958,7 @@ export interface LoadBalancerEditParams {
|
|
|
2315
1958
|
* Body param: BETA Field Not General Access: A list of rules for this load
|
|
2316
1959
|
* balancer to execute.
|
|
2317
1960
|
*/
|
|
2318
|
-
rules?: Array<
|
|
1961
|
+
rules?: Array<RulesParam>;
|
|
2319
1962
|
|
|
2320
1963
|
/**
|
|
2321
1964
|
* Body param: Specifies the type of session affinity the load balancer should use
|
|
@@ -2342,12 +1985,12 @@ export interface LoadBalancerEditParams {
|
|
|
2342
1985
|
* `headers` in `session_affinity_attributes` for additional required
|
|
2343
1986
|
* configuration.
|
|
2344
1987
|
*/
|
|
2345
|
-
session_affinity?:
|
|
1988
|
+
session_affinity?: SessionAffinityParam;
|
|
2346
1989
|
|
|
2347
1990
|
/**
|
|
2348
1991
|
* Body param: Configures attributes for session affinity.
|
|
2349
1992
|
*/
|
|
2350
|
-
session_affinity_attributes?:
|
|
1993
|
+
session_affinity_attributes?: SessionAffinityAttributesParam;
|
|
2351
1994
|
|
|
2352
1995
|
/**
|
|
2353
1996
|
* Body param: Time, in seconds, until a client's session expires after being
|
|
@@ -2388,15 +2031,7 @@ export interface LoadBalancerEditParams {
|
|
|
2388
2031
|
* - `""`: Will map to `"geo"` if you use
|
|
2389
2032
|
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
2390
2033
|
*/
|
|
2391
|
-
steering_policy?:
|
|
2392
|
-
| 'off'
|
|
2393
|
-
| 'geo'
|
|
2394
|
-
| 'random'
|
|
2395
|
-
| 'dynamic_latency'
|
|
2396
|
-
| 'proximity'
|
|
2397
|
-
| 'least_outstanding_requests'
|
|
2398
|
-
| 'least_connections'
|
|
2399
|
-
| '""';
|
|
2034
|
+
steering_policy?: SteeringPolicyParam;
|
|
2400
2035
|
|
|
2401
2036
|
/**
|
|
2402
2037
|
* Body param: Time to live (TTL) of the DNS entry for the IP address returned by
|
|
@@ -2406,537 +2041,15 @@ export interface LoadBalancerEditParams {
|
|
|
2406
2041
|
ttl?: number;
|
|
2407
2042
|
}
|
|
2408
2043
|
|
|
2409
|
-
export namespace LoadBalancerEditParams {
|
|
2410
|
-
/**
|
|
2411
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
2412
|
-
* response to dynamic conditions, such as during the interval between active
|
|
2413
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
2414
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
2415
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
2416
|
-
* is retried once against this alternate origin.
|
|
2417
|
-
*/
|
|
2418
|
-
export interface AdaptiveRouting {
|
|
2419
|
-
/**
|
|
2420
|
-
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
2421
|
-
* pools, when no healthy alternate exists in the same pool, according to the
|
|
2422
|
-
* failover order defined by traffic and origin steering. When set false (the
|
|
2423
|
-
* default) zero-downtime failover will only occur between origins within the same
|
|
2424
|
-
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
2425
|
-
* broken or reassigned.
|
|
2426
|
-
*/
|
|
2427
|
-
failover_across_pools?: boolean;
|
|
2428
|
-
}
|
|
2429
|
-
|
|
2430
|
-
/**
|
|
2431
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
2432
|
-
* to learn how steering is affected.
|
|
2433
|
-
*/
|
|
2434
|
-
export interface LocationStrategy {
|
|
2435
|
-
/**
|
|
2436
|
-
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
2437
|
-
* in the request, or its GeoIP lookup is unsuccessful.
|
|
2438
|
-
*
|
|
2439
|
-
* - `"pop"`: Use the Cloudflare PoP location.
|
|
2440
|
-
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
2441
|
-
* unsuccessful, use the Cloudflare PoP location.
|
|
2442
|
-
*/
|
|
2443
|
-
mode?: 'pop' | 'resolver_ip';
|
|
2444
|
-
|
|
2445
|
-
/**
|
|
2446
|
-
* Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the
|
|
2447
|
-
* authoritative location.
|
|
2448
|
-
*
|
|
2449
|
-
* - `"always"`: Always prefer ECS.
|
|
2450
|
-
* - `"never"`: Never prefer ECS.
|
|
2451
|
-
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
2452
|
-
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
2453
|
-
*/
|
|
2454
|
-
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
2455
|
-
}
|
|
2456
|
-
|
|
2457
|
-
/**
|
|
2458
|
-
* Configures pool weights.
|
|
2459
|
-
*
|
|
2460
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
2461
|
-
* proportional to pool weights.
|
|
2462
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
2463
|
-
* pool's outstanding requests.
|
|
2464
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
2465
|
-
* open connections.
|
|
2466
|
-
*/
|
|
2467
|
-
export interface RandomSteering {
|
|
2468
|
-
/**
|
|
2469
|
-
* The default weight for pools in the load balancer that are not specified in the
|
|
2470
|
-
* pool_weights map.
|
|
2471
|
-
*/
|
|
2472
|
-
default_weight?: number;
|
|
2473
|
-
|
|
2474
|
-
/**
|
|
2475
|
-
* A mapping of pool IDs to custom weights. The weight is relative to other pools
|
|
2476
|
-
* in the load balancer.
|
|
2477
|
-
*/
|
|
2478
|
-
pool_weights?: unknown;
|
|
2479
|
-
}
|
|
2480
|
-
|
|
2481
|
-
/**
|
|
2482
|
-
* A rule object containing conditions and overrides for this load balancer to
|
|
2483
|
-
* evaluate.
|
|
2484
|
-
*/
|
|
2485
|
-
export interface Rule {
|
|
2486
|
-
/**
|
|
2487
|
-
* The condition expressions to evaluate. If the condition evaluates to true, the
|
|
2488
|
-
* overrides or fixed_response in this rule will be applied. An empty condition is
|
|
2489
|
-
* always true. For more details on condition expressions, please see
|
|
2490
|
-
* https://developers.cloudflare.com/load-balancing/understand-basics/load-balancing-rules/expressions.
|
|
2491
|
-
*/
|
|
2492
|
-
condition?: string;
|
|
2493
|
-
|
|
2494
|
-
/**
|
|
2495
|
-
* Disable this specific rule. It will no longer be evaluated by this load
|
|
2496
|
-
* balancer.
|
|
2497
|
-
*/
|
|
2498
|
-
disabled?: boolean;
|
|
2499
|
-
|
|
2500
|
-
/**
|
|
2501
|
-
* A collection of fields used to directly respond to the eyeball instead of
|
|
2502
|
-
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
2503
|
-
* terminates.
|
|
2504
|
-
*/
|
|
2505
|
-
fixed_response?: Rule.FixedResponse;
|
|
2506
|
-
|
|
2507
|
-
/**
|
|
2508
|
-
* Name of this rule. Only used for human readability.
|
|
2509
|
-
*/
|
|
2510
|
-
name?: string;
|
|
2511
|
-
|
|
2512
|
-
/**
|
|
2513
|
-
* A collection of overrides to apply to the load balancer when this rule's
|
|
2514
|
-
* condition is true. All fields are optional.
|
|
2515
|
-
*/
|
|
2516
|
-
overrides?: Rule.Overrides;
|
|
2517
|
-
|
|
2518
|
-
/**
|
|
2519
|
-
* The order in which rules should be executed in relation to each other. Lower
|
|
2520
|
-
* values are executed first. Values do not need to be sequential. If no value is
|
|
2521
|
-
* provided for any rule the array order of the rules field will be used to assign
|
|
2522
|
-
* a priority.
|
|
2523
|
-
*/
|
|
2524
|
-
priority?: number;
|
|
2525
|
-
|
|
2526
|
-
/**
|
|
2527
|
-
* If this rule's condition is true, this causes rule evaluation to stop after
|
|
2528
|
-
* processing this rule.
|
|
2529
|
-
*/
|
|
2530
|
-
terminates?: boolean;
|
|
2531
|
-
}
|
|
2532
|
-
|
|
2533
|
-
export namespace Rule {
|
|
2534
|
-
/**
|
|
2535
|
-
* A collection of fields used to directly respond to the eyeball instead of
|
|
2536
|
-
* routing to a pool. If a fixed_response is supplied the rule will be marked as
|
|
2537
|
-
* terminates.
|
|
2538
|
-
*/
|
|
2539
|
-
export interface FixedResponse {
|
|
2540
|
-
/**
|
|
2541
|
-
* The http 'Content-Type' header to include in the response.
|
|
2542
|
-
*/
|
|
2543
|
-
content_type?: string;
|
|
2544
|
-
|
|
2545
|
-
/**
|
|
2546
|
-
* The http 'Location' header to include in the response.
|
|
2547
|
-
*/
|
|
2548
|
-
location?: string;
|
|
2549
|
-
|
|
2550
|
-
/**
|
|
2551
|
-
* Text to include as the http body.
|
|
2552
|
-
*/
|
|
2553
|
-
message_body?: string;
|
|
2554
|
-
|
|
2555
|
-
/**
|
|
2556
|
-
* The http status code to respond with.
|
|
2557
|
-
*/
|
|
2558
|
-
status_code?: number;
|
|
2559
|
-
}
|
|
2560
|
-
|
|
2561
|
-
/**
|
|
2562
|
-
* A collection of overrides to apply to the load balancer when this rule's
|
|
2563
|
-
* condition is true. All fields are optional.
|
|
2564
|
-
*/
|
|
2565
|
-
export interface Overrides {
|
|
2566
|
-
/**
|
|
2567
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
2568
|
-
* response to dynamic conditions, such as during the interval between active
|
|
2569
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
2570
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
2571
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
2572
|
-
* is retried once against this alternate origin.
|
|
2573
|
-
*/
|
|
2574
|
-
adaptive_routing?: Overrides.AdaptiveRouting;
|
|
2575
|
-
|
|
2576
|
-
/**
|
|
2577
|
-
* A mapping of country codes to a list of pool IDs (ordered by their failover
|
|
2578
|
-
* priority) for the given country. Any country not explicitly defined will fall
|
|
2579
|
-
* back to using the corresponding region_pool mapping if it exists else to
|
|
2580
|
-
* default_pools.
|
|
2581
|
-
*/
|
|
2582
|
-
country_pools?: unknown;
|
|
2583
|
-
|
|
2584
|
-
/**
|
|
2585
|
-
* A list of pool IDs ordered by their failover priority. Pools defined here are
|
|
2586
|
-
* used by default, or when region_pools are not configured for a given region.
|
|
2587
|
-
*/
|
|
2588
|
-
default_pools?: Array<string>;
|
|
2589
|
-
|
|
2590
|
-
/**
|
|
2591
|
-
* The pool ID to use when all other pools are detected as unhealthy.
|
|
2592
|
-
*/
|
|
2593
|
-
fallback_pool?: unknown;
|
|
2594
|
-
|
|
2595
|
-
/**
|
|
2596
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
2597
|
-
* to learn how steering is affected.
|
|
2598
|
-
*/
|
|
2599
|
-
location_strategy?: Overrides.LocationStrategy;
|
|
2600
|
-
|
|
2601
|
-
/**
|
|
2602
|
-
* (Enterprise only): A mapping of Cloudflare PoP identifiers to a list of pool IDs
|
|
2603
|
-
* (ordered by their failover priority) for the PoP (datacenter). Any PoPs not
|
|
2604
|
-
* explicitly defined will fall back to using the corresponding country_pool, then
|
|
2605
|
-
* region_pool mapping if it exists else to default_pools.
|
|
2606
|
-
*/
|
|
2607
|
-
pop_pools?: unknown;
|
|
2608
|
-
|
|
2609
|
-
/**
|
|
2610
|
-
* Configures pool weights.
|
|
2611
|
-
*
|
|
2612
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
2613
|
-
* proportional to pool weights.
|
|
2614
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
2615
|
-
* pool's outstanding requests.
|
|
2616
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
2617
|
-
* open connections.
|
|
2618
|
-
*/
|
|
2619
|
-
random_steering?: Overrides.RandomSteering;
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
* A mapping of region codes to a list of pool IDs (ordered by their failover
|
|
2623
|
-
* priority) for the given region. Any regions not explicitly defined will fall
|
|
2624
|
-
* back to using default_pools.
|
|
2625
|
-
*/
|
|
2626
|
-
region_pools?: unknown;
|
|
2627
|
-
|
|
2628
|
-
/**
|
|
2629
|
-
* Specifies the type of session affinity the load balancer should use unless
|
|
2630
|
-
* specified as `"none"` or "" (default). The supported types are:
|
|
2631
|
-
*
|
|
2632
|
-
* - `"cookie"`: On the first request to a proxied load balancer, a cookie is
|
|
2633
|
-
* generated, encoding information of which origin the request will be forwarded
|
|
2634
|
-
* to. Subsequent requests, by the same client to the same load balancer, will be
|
|
2635
|
-
* sent to the origin server the cookie encodes, for the duration of the cookie
|
|
2636
|
-
* and as long as the origin server remains healthy. If the cookie has expired or
|
|
2637
|
-
* the origin server is unhealthy, then a new origin server is calculated and
|
|
2638
|
-
* used.
|
|
2639
|
-
* - `"ip_cookie"`: Behaves the same as `"cookie"` except the initial origin
|
|
2640
|
-
* selection is stable and based on the client's ip address.
|
|
2641
|
-
* - `"header"`: On the first request to a proxied load balancer, a session key
|
|
2642
|
-
* based on the configured HTTP headers (see
|
|
2643
|
-
* `session_affinity_attributes.headers`) is generated, encoding the request
|
|
2644
|
-
* headers used for storing in the load balancer session state which origin the
|
|
2645
|
-
* request will be forwarded to. Subsequent requests to the load balancer with
|
|
2646
|
-
* the same headers will be sent to the same origin server, for the duration of
|
|
2647
|
-
* the session and as long as the origin server remains healthy. If the session
|
|
2648
|
-
* has been idle for the duration of `session_affinity_ttl` seconds or the origin
|
|
2649
|
-
* server is unhealthy, then a new origin server is calculated and used. See
|
|
2650
|
-
* `headers` in `session_affinity_attributes` for additional required
|
|
2651
|
-
* configuration.
|
|
2652
|
-
*/
|
|
2653
|
-
session_affinity?: 'none' | 'cookie' | 'ip_cookie' | 'header' | '""';
|
|
2654
|
-
|
|
2655
|
-
/**
|
|
2656
|
-
* Configures attributes for session affinity.
|
|
2657
|
-
*/
|
|
2658
|
-
session_affinity_attributes?: Overrides.SessionAffinityAttributes;
|
|
2659
|
-
|
|
2660
|
-
/**
|
|
2661
|
-
* Time, in seconds, until a client's session expires after being created. Once the
|
|
2662
|
-
* expiry time has been reached, subsequent requests may get sent to a different
|
|
2663
|
-
* origin server. The accepted ranges per `session_affinity` policy are:
|
|
2664
|
-
*
|
|
2665
|
-
* - `"cookie"` / `"ip_cookie"`: The current default of 23 hours will be used
|
|
2666
|
-
* unless explicitly set. The accepted range of values is between [1800, 604800].
|
|
2667
|
-
* - `"header"`: The current default of 1800 seconds will be used unless explicitly
|
|
2668
|
-
* set. The accepted range of values is between [30, 3600]. Note: With session
|
|
2669
|
-
* affinity by header, sessions only expire after they haven't been used for the
|
|
2670
|
-
* number of seconds specified.
|
|
2671
|
-
*/
|
|
2672
|
-
session_affinity_ttl?: number;
|
|
2673
|
-
|
|
2674
|
-
/**
|
|
2675
|
-
* Steering Policy for this load balancer.
|
|
2676
|
-
*
|
|
2677
|
-
* - `"off"`: Use `default_pools`.
|
|
2678
|
-
* - `"geo"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied
|
|
2679
|
-
* requests, the country for `country_pools` is determined by
|
|
2680
|
-
* `location_strategy`.
|
|
2681
|
-
* - `"random"`: Select a pool randomly.
|
|
2682
|
-
* - `"dynamic_latency"`: Use round trip time to select the closest pool in
|
|
2683
|
-
* default_pools (requires pool health checks).
|
|
2684
|
-
* - `"proximity"`: Use the pools' latitude and longitude to select the closest
|
|
2685
|
-
* pool using the Cloudflare PoP location for proxied requests or the location
|
|
2686
|
-
* determined by `location_strategy` for non-proxied requests.
|
|
2687
|
-
* - `"least_outstanding_requests"`: Select a pool by taking into consideration
|
|
2688
|
-
* `random_steering` weights, as well as each pool's number of outstanding
|
|
2689
|
-
* requests. Pools with more pending requests are weighted proportionately less
|
|
2690
|
-
* relative to others.
|
|
2691
|
-
* - `"least_connections"`: Select a pool by taking into consideration
|
|
2692
|
-
* `random_steering` weights, as well as each pool's number of open connections.
|
|
2693
|
-
* Pools with more open connections are weighted proportionately less relative to
|
|
2694
|
-
* others. Supported for HTTP/1 and HTTP/2 connections.
|
|
2695
|
-
* - `""`: Will map to `"geo"` if you use
|
|
2696
|
-
* `region_pools`/`country_pools`/`pop_pools` otherwise `"off"`.
|
|
2697
|
-
*/
|
|
2698
|
-
steering_policy?:
|
|
2699
|
-
| 'off'
|
|
2700
|
-
| 'geo'
|
|
2701
|
-
| 'random'
|
|
2702
|
-
| 'dynamic_latency'
|
|
2703
|
-
| 'proximity'
|
|
2704
|
-
| 'least_outstanding_requests'
|
|
2705
|
-
| 'least_connections'
|
|
2706
|
-
| '""';
|
|
2707
|
-
|
|
2708
|
-
/**
|
|
2709
|
-
* Time to live (TTL) of the DNS entry for the IP address returned by this load
|
|
2710
|
-
* balancer. This only applies to gray-clouded (unproxied) load balancers.
|
|
2711
|
-
*/
|
|
2712
|
-
ttl?: number;
|
|
2713
|
-
}
|
|
2714
|
-
|
|
2715
|
-
export namespace Overrides {
|
|
2716
|
-
/**
|
|
2717
|
-
* Controls features that modify the routing of requests to pools and origins in
|
|
2718
|
-
* response to dynamic conditions, such as during the interval between active
|
|
2719
|
-
* health monitoring requests. For example, zero-downtime failover occurs
|
|
2720
|
-
* immediately when an origin becomes unavailable due to HTTP 521, 522, or 523
|
|
2721
|
-
* response codes. If there is another healthy origin in the same pool, the request
|
|
2722
|
-
* is retried once against this alternate origin.
|
|
2723
|
-
*/
|
|
2724
|
-
export interface AdaptiveRouting {
|
|
2725
|
-
/**
|
|
2726
|
-
* Extends zero-downtime failover of requests to healthy origins from alternate
|
|
2727
|
-
* pools, when no healthy alternate exists in the same pool, according to the
|
|
2728
|
-
* failover order defined by traffic and origin steering. When set false (the
|
|
2729
|
-
* default) zero-downtime failover will only occur between origins within the same
|
|
2730
|
-
* pool. See `session_affinity_attributes` for control over when sessions are
|
|
2731
|
-
* broken or reassigned.
|
|
2732
|
-
*/
|
|
2733
|
-
failover_across_pools?: boolean;
|
|
2734
|
-
}
|
|
2735
|
-
|
|
2736
|
-
/**
|
|
2737
|
-
* Controls location-based steering for non-proxied requests. See `steering_policy`
|
|
2738
|
-
* to learn how steering is affected.
|
|
2739
|
-
*/
|
|
2740
|
-
export interface LocationStrategy {
|
|
2741
|
-
/**
|
|
2742
|
-
* Determines the authoritative location when ECS is not preferred, does not exist
|
|
2743
|
-
* in the request, or its GeoIP lookup is unsuccessful.
|
|
2744
|
-
*
|
|
2745
|
-
* - `"pop"`: Use the Cloudflare PoP location.
|
|
2746
|
-
* - `"resolver_ip"`: Use the DNS resolver GeoIP location. If the GeoIP lookup is
|
|
2747
|
-
* unsuccessful, use the Cloudflare PoP location.
|
|
2748
|
-
*/
|
|
2749
|
-
mode?: 'pop' | 'resolver_ip';
|
|
2750
|
-
|
|
2751
|
-
/**
|
|
2752
|
-
* Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the
|
|
2753
|
-
* authoritative location.
|
|
2754
|
-
*
|
|
2755
|
-
* - `"always"`: Always prefer ECS.
|
|
2756
|
-
* - `"never"`: Never prefer ECS.
|
|
2757
|
-
* - `"proximity"`: Prefer ECS only when `steering_policy="proximity"`.
|
|
2758
|
-
* - `"geo"`: Prefer ECS only when `steering_policy="geo"`.
|
|
2759
|
-
*/
|
|
2760
|
-
prefer_ecs?: 'always' | 'never' | 'proximity' | 'geo';
|
|
2761
|
-
}
|
|
2762
|
-
|
|
2763
|
-
/**
|
|
2764
|
-
* Configures pool weights.
|
|
2765
|
-
*
|
|
2766
|
-
* - `steering_policy="random"`: A random pool is selected with probability
|
|
2767
|
-
* proportional to pool weights.
|
|
2768
|
-
* - `steering_policy="least_outstanding_requests"`: Use pool weights to scale each
|
|
2769
|
-
* pool's outstanding requests.
|
|
2770
|
-
* - `steering_policy="least_connections"`: Use pool weights to scale each pool's
|
|
2771
|
-
* open connections.
|
|
2772
|
-
*/
|
|
2773
|
-
export interface RandomSteering {
|
|
2774
|
-
/**
|
|
2775
|
-
* The default weight for pools in the load balancer that are not specified in the
|
|
2776
|
-
* pool_weights map.
|
|
2777
|
-
*/
|
|
2778
|
-
default_weight?: number;
|
|
2779
|
-
|
|
2780
|
-
/**
|
|
2781
|
-
* A mapping of pool IDs to custom weights. The weight is relative to other pools
|
|
2782
|
-
* in the load balancer.
|
|
2783
|
-
*/
|
|
2784
|
-
pool_weights?: unknown;
|
|
2785
|
-
}
|
|
2786
|
-
|
|
2787
|
-
/**
|
|
2788
|
-
* Configures attributes for session affinity.
|
|
2789
|
-
*/
|
|
2790
|
-
export interface SessionAffinityAttributes {
|
|
2791
|
-
/**
|
|
2792
|
-
* Configures the drain duration in seconds. This field is only used when session
|
|
2793
|
-
* affinity is enabled on the load balancer.
|
|
2794
|
-
*/
|
|
2795
|
-
drain_duration?: number;
|
|
2796
|
-
|
|
2797
|
-
/**
|
|
2798
|
-
* Configures the names of HTTP headers to base session affinity on when header
|
|
2799
|
-
* `session_affinity` is enabled. At least one HTTP header name must be provided.
|
|
2800
|
-
* To specify the exact cookies to be used, include an item in the following
|
|
2801
|
-
* format: `"cookie:<cookie-name-1>,<cookie-name-2>"` (example) where everything
|
|
2802
|
-
* after the colon is a comma-separated list of cookie names. Providing only
|
|
2803
|
-
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
2804
|
-
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
2805
|
-
* all other plans.
|
|
2806
|
-
*/
|
|
2807
|
-
headers?: Array<string>;
|
|
2808
|
-
|
|
2809
|
-
/**
|
|
2810
|
-
* When header `session_affinity` is enabled, this option can be used to specify
|
|
2811
|
-
* how HTTP headers on load balancing requests will be used. The supported values
|
|
2812
|
-
* are:
|
|
2813
|
-
*
|
|
2814
|
-
* - `"true"`: Load balancing requests must contain _all_ of the HTTP headers
|
|
2815
|
-
* specified by the `headers` session affinity attribute, otherwise sessions
|
|
2816
|
-
* aren't created.
|
|
2817
|
-
* - `"false"`: Load balancing requests must contain _at least one_ of the HTTP
|
|
2818
|
-
* headers specified by the `headers` session affinity attribute, otherwise
|
|
2819
|
-
* sessions aren't created.
|
|
2820
|
-
*/
|
|
2821
|
-
require_all_headers?: boolean;
|
|
2822
|
-
|
|
2823
|
-
/**
|
|
2824
|
-
* Configures the SameSite attribute on session affinity cookie. Value "Auto" will
|
|
2825
|
-
* be translated to "Lax" or "None" depending if Always Use HTTPS is enabled. Note:
|
|
2826
|
-
* when using value "None", the secure attribute can not be set to "Never".
|
|
2827
|
-
*/
|
|
2828
|
-
samesite?: 'Auto' | 'Lax' | 'None' | 'Strict';
|
|
2829
|
-
|
|
2830
|
-
/**
|
|
2831
|
-
* Configures the Secure attribute on session affinity cookie. Value "Always"
|
|
2832
|
-
* indicates the Secure attribute will be set in the Set-Cookie header, "Never"
|
|
2833
|
-
* indicates the Secure attribute will not be set, and "Auto" will set the Secure
|
|
2834
|
-
* attribute depending if Always Use HTTPS is enabled.
|
|
2835
|
-
*/
|
|
2836
|
-
secure?: 'Auto' | 'Always' | 'Never';
|
|
2837
|
-
|
|
2838
|
-
/**
|
|
2839
|
-
* Configures the zero-downtime failover between origins within a pool when session
|
|
2840
|
-
* affinity is enabled. This feature is currently incompatible with Argo, Tiered
|
|
2841
|
-
* Cache, and Bandwidth Alliance. The supported values are:
|
|
2842
|
-
*
|
|
2843
|
-
* - `"none"`: No failover takes place for sessions pinned to the origin (default).
|
|
2844
|
-
* - `"temporary"`: Traffic will be sent to another other healthy origin until the
|
|
2845
|
-
* originally pinned origin is available; note that this can potentially result
|
|
2846
|
-
* in heavy origin flapping.
|
|
2847
|
-
* - `"sticky"`: The session affinity cookie is updated and subsequent requests are
|
|
2848
|
-
* sent to the new origin. Note: Zero-downtime failover with sticky sessions is
|
|
2849
|
-
* currently not supported for session affinity by header.
|
|
2850
|
-
*/
|
|
2851
|
-
zero_downtime_failover?: 'none' | 'temporary' | 'sticky';
|
|
2852
|
-
}
|
|
2853
|
-
}
|
|
2854
|
-
}
|
|
2855
|
-
|
|
2856
|
-
/**
|
|
2857
|
-
* Configures attributes for session affinity.
|
|
2858
|
-
*/
|
|
2859
|
-
export interface SessionAffinityAttributes {
|
|
2860
|
-
/**
|
|
2861
|
-
* Configures the drain duration in seconds. This field is only used when session
|
|
2862
|
-
* affinity is enabled on the load balancer.
|
|
2863
|
-
*/
|
|
2864
|
-
drain_duration?: number;
|
|
2865
|
-
|
|
2866
|
-
/**
|
|
2867
|
-
* Configures the names of HTTP headers to base session affinity on when header
|
|
2868
|
-
* `session_affinity` is enabled. At least one HTTP header name must be provided.
|
|
2869
|
-
* To specify the exact cookies to be used, include an item in the following
|
|
2870
|
-
* format: `"cookie:<cookie-name-1>,<cookie-name-2>"` (example) where everything
|
|
2871
|
-
* after the colon is a comma-separated list of cookie names. Providing only
|
|
2872
|
-
* `"cookie"` will result in all cookies being used. The default max number of HTTP
|
|
2873
|
-
* header names that can be provided depends on your plan: 5 for Enterprise, 1 for
|
|
2874
|
-
* all other plans.
|
|
2875
|
-
*/
|
|
2876
|
-
headers?: Array<string>;
|
|
2877
|
-
|
|
2878
|
-
/**
|
|
2879
|
-
* When header `session_affinity` is enabled, this option can be used to specify
|
|
2880
|
-
* how HTTP headers on load balancing requests will be used. The supported values
|
|
2881
|
-
* are:
|
|
2882
|
-
*
|
|
2883
|
-
* - `"true"`: Load balancing requests must contain _all_ of the HTTP headers
|
|
2884
|
-
* specified by the `headers` session affinity attribute, otherwise sessions
|
|
2885
|
-
* aren't created.
|
|
2886
|
-
* - `"false"`: Load balancing requests must contain _at least one_ of the HTTP
|
|
2887
|
-
* headers specified by the `headers` session affinity attribute, otherwise
|
|
2888
|
-
* sessions aren't created.
|
|
2889
|
-
*/
|
|
2890
|
-
require_all_headers?: boolean;
|
|
2891
|
-
|
|
2892
|
-
/**
|
|
2893
|
-
* Configures the SameSite attribute on session affinity cookie. Value "Auto" will
|
|
2894
|
-
* be translated to "Lax" or "None" depending if Always Use HTTPS is enabled. Note:
|
|
2895
|
-
* when using value "None", the secure attribute can not be set to "Never".
|
|
2896
|
-
*/
|
|
2897
|
-
samesite?: 'Auto' | 'Lax' | 'None' | 'Strict';
|
|
2898
|
-
|
|
2899
|
-
/**
|
|
2900
|
-
* Configures the Secure attribute on session affinity cookie. Value "Always"
|
|
2901
|
-
* indicates the Secure attribute will be set in the Set-Cookie header, "Never"
|
|
2902
|
-
* indicates the Secure attribute will not be set, and "Auto" will set the Secure
|
|
2903
|
-
* attribute depending if Always Use HTTPS is enabled.
|
|
2904
|
-
*/
|
|
2905
|
-
secure?: 'Auto' | 'Always' | 'Never';
|
|
2906
|
-
|
|
2907
|
-
/**
|
|
2908
|
-
* Configures the zero-downtime failover between origins within a pool when session
|
|
2909
|
-
* affinity is enabled. This feature is currently incompatible with Argo, Tiered
|
|
2910
|
-
* Cache, and Bandwidth Alliance. The supported values are:
|
|
2911
|
-
*
|
|
2912
|
-
* - `"none"`: No failover takes place for sessions pinned to the origin (default).
|
|
2913
|
-
* - `"temporary"`: Traffic will be sent to another other healthy origin until the
|
|
2914
|
-
* originally pinned origin is available; note that this can potentially result
|
|
2915
|
-
* in heavy origin flapping.
|
|
2916
|
-
* - `"sticky"`: The session affinity cookie is updated and subsequent requests are
|
|
2917
|
-
* sent to the new origin. Note: Zero-downtime failover with sticky sessions is
|
|
2918
|
-
* currently not supported for session affinity by header.
|
|
2919
|
-
*/
|
|
2920
|
-
zero_downtime_failover?: 'none' | 'temporary' | 'sticky';
|
|
2921
|
-
}
|
|
2922
|
-
}
|
|
2923
|
-
|
|
2924
2044
|
export interface LoadBalancerGetParams {
|
|
2925
2045
|
zone_id: string;
|
|
2926
2046
|
}
|
|
2927
2047
|
|
|
2928
2048
|
export namespace LoadBalancers {
|
|
2929
|
-
export import LoadBalancer = LoadBalancersAPI.LoadBalancer;
|
|
2930
|
-
export import LoadBalancerDeleteResponse = LoadBalancersAPI.LoadBalancerDeleteResponse;
|
|
2931
|
-
export import LoadBalancersSinglePage = LoadBalancersAPI.LoadBalancersSinglePage;
|
|
2932
|
-
export import LoadBalancerCreateParams = LoadBalancersAPI.LoadBalancerCreateParams;
|
|
2933
|
-
export import LoadBalancerUpdateParams = LoadBalancersAPI.LoadBalancerUpdateParams;
|
|
2934
|
-
export import LoadBalancerListParams = LoadBalancersAPI.LoadBalancerListParams;
|
|
2935
|
-
export import LoadBalancerDeleteParams = LoadBalancersAPI.LoadBalancerDeleteParams;
|
|
2936
|
-
export import LoadBalancerEditParams = LoadBalancersAPI.LoadBalancerEditParams;
|
|
2937
|
-
export import LoadBalancerGetParams = LoadBalancersAPI.LoadBalancerGetParams;
|
|
2938
2049
|
export import Monitors = MonitorsAPI.Monitors;
|
|
2050
|
+
export import Monitor = MonitorsAPI.Monitor;
|
|
2939
2051
|
export import MonitorDeleteResponse = MonitorsAPI.MonitorDeleteResponse;
|
|
2052
|
+
export import MonitorsSinglePage = MonitorsAPI.MonitorsSinglePage;
|
|
2940
2053
|
export import MonitorCreateParams = MonitorsAPI.MonitorCreateParams;
|
|
2941
2054
|
export import MonitorUpdateParams = MonitorsAPI.MonitorUpdateParams;
|
|
2942
2055
|
export import MonitorListParams = MonitorsAPI.MonitorListParams;
|
|
@@ -2944,7 +2057,9 @@ export namespace LoadBalancers {
|
|
|
2944
2057
|
export import MonitorEditParams = MonitorsAPI.MonitorEditParams;
|
|
2945
2058
|
export import MonitorGetParams = MonitorsAPI.MonitorGetParams;
|
|
2946
2059
|
export import Pools = PoolsAPI.Pools;
|
|
2060
|
+
export import Pool = PoolsAPI.Pool;
|
|
2947
2061
|
export import PoolDeleteResponse = PoolsAPI.PoolDeleteResponse;
|
|
2062
|
+
export import PoolsSinglePage = PoolsAPI.PoolsSinglePage;
|
|
2948
2063
|
export import PoolCreateParams = PoolsAPI.PoolCreateParams;
|
|
2949
2064
|
export import PoolUpdateParams = PoolsAPI.PoolUpdateParams;
|
|
2950
2065
|
export import PoolListParams = PoolsAPI.PoolListParams;
|
|
@@ -2952,6 +2067,7 @@ export namespace LoadBalancers {
|
|
|
2952
2067
|
export import PoolEditParams = PoolsAPI.PoolEditParams;
|
|
2953
2068
|
export import PoolGetParams = PoolsAPI.PoolGetParams;
|
|
2954
2069
|
export import Previews = PreviewsAPI.Previews;
|
|
2070
|
+
export import PreviewGetResponse = PreviewsAPI.PreviewGetResponse;
|
|
2955
2071
|
export import PreviewGetParams = PreviewsAPI.PreviewGetParams;
|
|
2956
2072
|
export import Regions = RegionsAPI.Regions;
|
|
2957
2073
|
export import RegionListResponse = RegionsAPI.RegionListResponse;
|