@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
44 lines • 2 kB
TypeScript
import { UnitAndValueDouble } from '../../complexType/UnitAndValueDouble';
import { CreationEmailCapabilities } from './CreationEmailCapabilities';
import { CronLanguageAvailable } from './CronLanguageAvailable';
import { CreationDatabaseCapabilities } from './database/CreationDatabaseCapabilities';
import { DiskType } from './DiskType';
import { HighLightEnum } from './HighLightEnum';
/** Struct which describs an offer */
export interface Capabilities {
/** Number of domains you can attach to your hosting */
attachedDomains: number;
/** Does the offer allow crontab */
crontab: boolean;
/** Number of database engines allowed for your hosting */
databaseEngines: number;
/** Describe all databases type you can have */
databases: CreationDatabaseCapabilities[];
/** Disk capacity and type available for your hosting ( null for unlimited ) */
disk?: DiskType;
/** Describe all email offer you can have */
emails: CreationEmailCapabilities;
/** Number of environment variables allowed for your hosting */
envVars: number;
/** Number of ftp user you can create */
extraUsers: number;
/** Does the offer allow access to web files browser? */
filesBrowser: boolean;
/** Marketing information about the current offer */
highlight?: HighLightEnum;
/** Language available for cron script */
languages: CronLanguageAvailable;
/** Does the offer allow 1-click modules? */
moduleOneClick: boolean;
/** Describe all privateDatabases type you can have */
privateDatabases: CreationDatabaseCapabilities[];
/** Number of runtimes allowed for your hosting */
runtimes: number;
/** Number of sites recommended for your hosting ( -1 for unlimited ) */
sitesRecommended?: number;
/** Does the offer allow SSH access */
ssh: boolean;
/** Traffic quota size for your hosting ( null for unlimited ) */
traffic?: UnitAndValueDouble;
}
//# sourceMappingURL=Capabilities.d.ts.map