@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
49 lines • 1.68 kB
TypeScript
import { TaskStateEnum } from './TaskStateEnum';
/** Operation */
export interface Task {
/** Creator of the task */
createdBy?: string;
/** Origin of the task */
createdFrom?: string;
/** datacenterId of the associated dedicatedCloud.Datacenter object */
datacenterId?: number;
/** Current progress description */
description?: string;
/** Task end date */
endDate?: string;
/** Task execution date */
executionDate: string;
/** filerId of the associated dedicatedCloud.Filer object */
filerId?: number;
/** hostId of the associated dedicatedCloud.Host object */
hostId?: number;
/** Task last modification date */
lastModificationDate?: string;
/** Maintenance task min allowed execution date */
maintenanceDateFrom?: string;
/** Maintenance task max allowed execution date */
maintenanceDateTo?: string;
/** Task name */
name: string;
/** network of the associated dedicatedCloud.Ip object */
network?: string;
/** networkAccessId of the associated dedicatedCloud.AllowedNetwork object */
networkAccessId?: number;
/** orderId of the associated billing.Order object */
orderId?: number;
/** taskId of the parent dedicatedCloud.Task object */
parentTaskId?: number;
/** Current progress */
progress: number;
/** Current Task state */
state: TaskStateEnum;
/** Task id */
taskId: number;
/** Task type */
type: string;
/** userId of the associated dedicatedCloud.User object */
userId?: number;
/** vlanId of the parent dedicatedCloud.Vlan object */
vlanId?: number;
}
//# sourceMappingURL=Task.d.ts.map