@linode/api-v4
Version:
JavaScript wrapper around the Linode APIv4
24 lines • 852 B
TypeScript
import { Filter, Params, ResourcePage } from '../types';
import { AccountBeta, EnrollInBetaPayload } from './types';
/**
* getBetas
* Retrieve a paginated list of betas your account is enrolled in.
*
*/
export declare const getAccountBetas: (params?: Params, filter?: Filter) => Promise<ResourcePage<AccountBeta>>;
/**
* getBeta
* Retrieve details of a single beta your account is enrolled in.
* @param betaId { string } The ID of the beta you want to be retrieved
*
*/
export declare const getAccountBeta: (betaId: string) => Promise<AccountBeta>;
/**
* enrollInBeta
* Enrolls your account in the specified beta program.
* @param data { object }
* @param data.id { string } ID of the beta you want to be enrolled in.
*
*/
export declare const enrollInBeta: (data: EnrollInBetaPayload) => Promise<{}>;
//# sourceMappingURL=betas.d.ts.map