@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
26 lines • 927 B
TypeScript
import { OperationStatusEnum } from './OperationStatusEnum';
import { SubOperation } from './SubOperation';
/** An operation is an async process on your Project */
export interface Operation {
/** The action of the operation */
action: string;
/** The completed date of the operation */
completedAt?: string;
/** The creation date of the operation */
createdAt: string;
/** Unique ID to describe the operation */
id: string;
/** The progression in percentage of the operation */
progress: number;
/** Affected regions of the operation */
regions?: string[];
/** Affected resource of the operation */
resourceId?: string;
/** The started date of the operation */
startedAt?: string;
/** Operation status */
status: OperationStatusEnum;
/** Sub-operations of the operation */
subOperations?: SubOperation[];
}
//# sourceMappingURL=Operation.d.ts.map