@serve.zone/api
Version:
The `@serve.zone/api` module is a robust and versatile API client, designed to facilitate seamless communication with various cloud resources managed by the Cloudly platform. This API client extends a rich set of functionalities, offering developers a com
14 lines (13 loc) • 763 B
TypeScript
import { CloudlyApiClient } from './classes.cloudlyapiclient.js';
import * as plugins from './plugins.js';
export declare class Cluster implements plugins.servezoneInterfaces.data.ICluster {
static getClusterById(cloudlyClientRef: CloudlyApiClient, clusterIdArg: string): Promise<Cluster>;
static getClusters(cloudlyClientRef: CloudlyApiClient): Promise<Cluster[]>;
static createCluster(cloudlyClientRef: CloudlyApiClient, clusterNameArg: string): Promise<Cluster>;
id: string;
data: plugins.servezoneInterfaces.data.ICluster['data'];
cloudlyClientRef: CloudlyApiClient;
constructor(cloudlyClientRef: CloudlyApiClient);
update(): Promise<this>;
delete(cloudlyClientRef: CloudlyApiClient, clusterIdArg: string): Promise<any>;
}