22 lines
498 B
TypeScript
22 lines
498 B
TypeScript
import * as plugins from '../plugins.js';
|
|
import type { IBareMetal } from '../data/baremetal.js';
|
|
|
|
export interface IRequest_Any_Cloudly_GetBaremetalServers {
|
|
method: 'getBaremetalServers';
|
|
request: {};
|
|
response: {
|
|
baremetals: IBareMetal[];
|
|
};
|
|
}
|
|
|
|
export interface IRequest_Any_Cloudly_ControlBaremetal {
|
|
method: 'controlBaremetal';
|
|
request: {
|
|
baremetalId: string;
|
|
action: 'powerOn' | 'powerOff' | 'reset';
|
|
};
|
|
response: {
|
|
success: boolean;
|
|
message: string;
|
|
};
|
|
} |