UNPKG

palette-sdk-typescript

Version:

TypeScript SDK for Spectro Cloud Palette API

43 lines 2.33 kB
/** * Copyright (c) Spectro Cloud * SPDX-License-Identifier: Apache-2.0 */ /** * Generated by orval v7.17.0 🍺 * Do not edit manually. * Palette APIs - 4.8 * OpenAPI spec version: v1 */ import type { VmVirtualMachineCondition } from './vmVirtualMachineCondition'; import type { VmVirtualMachineMemoryDumpRequest } from './vmVirtualMachineMemoryDumpRequest'; import type { VmVirtualMachineStartFailure } from './vmVirtualMachineStartFailure'; import type { VmVirtualMachineStateChangeRequest } from './vmVirtualMachineStateChangeRequest'; import type { VmVirtualMachineVolumeRequest } from './vmVirtualMachineVolumeRequest'; import type { VmVolumeSnapshotStatus } from './vmVolumeSnapshotStatus'; /** * VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing * @nullable */ export type ClusterVirtualMachineStatus = { /** Hold the state information of the VirtualMachine and its VirtualMachineInstance */ conditions?: VmVirtualMachineCondition[]; /** Created indicates if the virtual machine is created in the cluster */ created?: boolean; memoryDumpRequest?: VmVirtualMachineMemoryDumpRequest; /** PrintableStatus is a human readable, high-level representation of the status of the virtual machine */ printableStatus?: string; /** Ready indicates if the virtual machine is running and ready */ ready?: boolean; /** RestoreInProgress is the name of the VirtualMachineRestore currently executing */ restoreInProgress?: string; /** SnapshotInProgress is the name of the VirtualMachineSnapshot currently executing */ snapshotInProgress?: string; startFailure?: VmVirtualMachineStartFailure; /** StateChangeRequests indicates a list of actions that should be taken on a VMI e.g. stop a specific VMI then start a new one. */ stateChangeRequests?: VmVirtualMachineStateChangeRequest[]; /** VolumeRequests indicates a list of volumes add or remove from the VMI template and hotplug on an active running VMI. */ volumeRequests?: VmVirtualMachineVolumeRequest[]; /** VolumeSnapshotStatuses indicates a list of statuses whether snapshotting is supported by each volume. */ volumeSnapshotStatuses?: VmVolumeSnapshotStatus[]; } | null; //# sourceMappingURL=clusterVirtualMachineStatus.d.ts.map