"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Preview = void 0;
const resource_1 = require("cloudflare/resource");
class Preview extends resource_1.APIResource {
    /**
     * Get the result of a previous preview operation using the provided preview_id.
     */
    get(previewId, options) {
        return this._client.get(`/user/load_balancers/preview/${previewId}`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.Preview = Preview;
(function (Preview) {
})(Preview = exports.Preview || (exports.Preview = {}));
//# sourceMappingURL=preview.js.map