UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

16 lines 697 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from 'cloudflare/resource'; export class AdvancedDDoS extends APIResource { /** * Advanced protection from Distributed Denial of Service (DDoS) attacks on your * website. This is an uneditable value that is 'on' in the case of Business and * Enterprise zones. */ get(params, options) { const { zone_id } = params; return this._client.get(`/zones/${zone_id}/settings/advanced_ddos`, options)._thenUnwrap((obj) => obj.result); } } (function (AdvancedDDoS) { })(AdvancedDDoS || (AdvancedDDoS = {})); //# sourceMappingURL=advanced-ddos.mjs.map