@gridscale/api
Version:
gridscale API Wrapper
45 lines (44 loc) • 1.14 kB
TypeScript
import { PAASServiceMetrics } from './Objects/PAASServiceMetrics';
/**
* generate Client Class for all Connections
* test
*/
declare class GridscaleClient {
Server: any;
Storage: any;
Network: any;
IP: any;
ISOImage: any;
SSHKey: any;
Template: any;
Location: any;
ObjectStorage: any;
Label: any;
Price: any;
Loadbalancer: any;
Events: any;
Firewall: any;
PAAS: any;
PAASService: any;
PAASServiceTemplate: any;
PAASSecurityZone: any;
Deleted: any;
Marketplace: any;
watchRequest: Function;
/**
* Init Client with Default Values
*
*
* @param _token Security Token
* @param _userId UUID of User
* @param _options
*/
constructor(_token: any, _userId: any, _options?: {});
setApiClient(_client: string): void;
setToken(_token: string, _userId: string): void;
setEndpoint(_endpoint: string): void;
addLogger(_callback: any): void;
PAASServiceMetrics(_serviceUUID: any): PAASServiceMetrics;
stringifyResponseRequest(object: Response | Request): any;
}
export { GridscaleClient as Client };