@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
36 lines • 1.45 kB
TypeScript
import { BackupDaysEnum } from './BackupDaysEnum';
import { UnitAndValueLong } from '../../complexType/UnitAndValueLong';
import { JobStateEnum } from './JobStateEnum';
import { OfferTypeEnum } from './OfferTypeEnum';
import { RestorePoint } from './RestorePoint';
import { StateEnum } from './StateEnum';
/** Details about a backup */
export interface Backup {
/** Disk space allocated to the virtual machine (in GB) */
allocatedDisk?: number;
/** List of days your Virtual Machine will be backuped */
backupDays?: BackupDaysEnum[];
/** Associated backup repository Id */
backupRepositoryId?: number;
/** Backup is encrypted */
encryption?: boolean;
/** Last creation time of the backup job */
lastCreationTime?: string;
/** Last duration of the backup job */
lastDuration?: UnitAndValueLong;
/** Last result of the backup job */
lastResult?: JobStateEnum;
/** Last successful creation time of the backup job */
lastSuccessfulCreationTime?: string;
/** Last successful duration of the backup job */
lastSuccessfulDuration?: UnitAndValueLong;
/** Offer type of the backup job */
offerType?: OfferTypeEnum;
/** Restore points of this backup job */
restorePoints?: RestorePoint[];
/** Number of days before the backup is deleted */
retentionTime?: number;
/** State of the backup job */
state?: StateEnum;
}
//# sourceMappingURL=Backup.d.ts.map