"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.References = void 0;
const resource_1 = require("cloudflaredev/resource");
class References extends resource_1.APIResource {
    /**
     * Get the list of resources that reference the provided pool.
     */
    get(poolId, params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/load_balancers/pools/${poolId}/references`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.References = References;
(function (References) {
})(References = exports.References || (exports.References = {}));
//# sourceMappingURL=references.js.map