// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
export class ByTag extends APIResource {
    /**
     * Fetches the rules of a managed account ruleset version for a given tag.
     */
    get(rulesetId, rulesetVersion, ruleTag, params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/rulesets/${rulesetId}/versions/${rulesetVersion}/by_tag/${ruleTag}`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (ByTag) {
})(ByTag || (ByTag = {}));
//# sourceMappingURL=by-tag.mjs.map