import { APIResource } from '../../resource'; import { APIPromise } from '../../api-promise'; import type { RequestOptions } from '../../internal/request-options'; export declare class Autoresizing extends APIResource { /** * Read organization RAM autoresizing policy * * @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal. * @returns {APIPromise} OK * * @example * ```ts * const policy = await client.organization.autoresizing.retrieve(); * ``` */ retrieve(options?: RequestOptions): APIPromise; /** * Set organization RAM autoresizing policy * * @param {AutoresizingUpdateParams} body - The request body to send. * @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal. * @returns {APIPromise} OK * * @example * ```ts * const policy = await client.organization.autoresizing.update({ * enabled: false, * }); * ``` */ update(body: AutoresizingUpdateParams, options?: RequestOptions): APIPromise; } export interface Policy { /** * Allow automatic RAM increases for all organization machines. Disabling preserves applied RAM and already admitted resizes. */ enabled: boolean; } export interface AutoresizingUpdateParams { /** * Allow automatic RAM increases for all organization machines. Disabling preserves applied RAM and already admitted resizes. */ enabled: boolean; } export declare namespace Autoresizing { export { type Policy as Policy, type AutoresizingUpdateParams as AutoresizingUpdateParams }; } //# sourceMappingURL=autoresizing.d.ts.map