cloudflare
Version:
The official TypeScript library for the Cloudflare API
13 lines • 529 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflare/resource';
export class Preview extends 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);
}
}
(function (Preview) {
})(Preview || (Preview = {}));
//# sourceMappingURL=preview.mjs.map