// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class ByTags 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 (ByTags) {
})(ByTags || (ByTags = {}));
//# sourceMappingURL=by-tags.mjs.map