jsc8
Version:
The official Macrometa JavaScript SDK.
35 lines • 975 B
TypeScript
import { Connection } from "./connection";
export type ModifyTenant = {
active?: boolean;
status?: string;
metadata?: object;
};
type ContactObj = {
firstname?: string;
lastname?: string;
email?: string;
phone?: string;
line1?: string;
line2?: string;
city?: string;
state?: string;
country?: string;
zipcode?: string;
};
export type CreateTenant = {
contact?: ContactObj;
metadata?: object;
};
export declare class Tenant {
_connection: Connection;
name?: string;
email: string;
constructor(connection: Connection, email: string, tenantName?: string);
createTenant(passwd: string, plan: string, attribution: string, dcList: string, otherParams: CreateTenant): Promise<any>;
dropTenant(): Promise<any>;
getTenantEdgeLocations(): Promise<any>;
tenantDetails(): Promise<any>;
modifyTenant(modifyTenant: ModifyTenant): Promise<any>;
}
export {};
//# sourceMappingURL=tenant.d.ts.map