@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
36 lines • 1.15 kB
TypeScript
import { AttachedTo } from './volume/AttachedTo';
import { Backup } from './volume/Backup';
import { Encryption } from './volume/Encryption';
import { Snapshot } from './volume/Snapshot';
import { VolumeStatusEnum } from '../volume/VolumeStatusEnum';
import { VolumeTypeEnum } from '../volume/VolumeTypeEnum';
/** Region volume */
export interface Volume {
/** Volume attached to list */
attachedTo: AttachedTo[];
/** Availability zone of the volume */
availabilityZone?: string;
/** Volume backups */
backups: Backup[];
/** Whether the volume is bootable */
bootable: boolean;
/** Volume creation date */
creationDate: string;
/** Volume description */
description: string;
/** Encryption settings (null when the volume is not encrypted with CMK) */
encryption?: Encryption;
/** Volume ID */
id: string;
/** Volume name */
name: string;
/** Volume size */
size: number;
/** Volume snapshots */
snapshots: Snapshot[];
/** Volume status */
status: VolumeStatusEnum;
/** Volume type */
type: VolumeTypeEnum;
}
//# sourceMappingURL=Volume.d.ts.map