// File generated from our OpenAPI spec by Stainless.
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