@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
169 lines (168 loc) • 5.92 kB
TypeScript
/**
* KubeVirt API
* This is KubeVirt API an add-on for Kubernetes.
*
* The version of the OpenAPI document: 1.0.0
* Contact: kubevirt-dev@googlegroups.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1MigrationConfiguration } from './';
/**
*
* @export
* @interface V1VirtualMachineInstanceMigrationState
*/
export interface V1VirtualMachineInstanceMigrationState {
/**
* Indicates that the migration has been requested to abort
* @type {boolean}
* @memberof V1VirtualMachineInstanceMigrationState
*/
abortRequested?: boolean;
/**
* Indicates the final status of the live migration abortion
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
abortStatus?: string;
/**
* Indicates the migration completed
* @type {boolean}
* @memberof V1VirtualMachineInstanceMigrationState
*/
completed?: boolean;
/**
* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
endTimestamp?: string;
/**
* Indicates that the migration failed
* @type {boolean}
* @memberof V1VirtualMachineInstanceMigrationState
*/
failed?: boolean;
/**
* Contains the reason why the migration failed
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
failureReason?: string;
/**
*
* @type {V1MigrationConfiguration}
* @memberof V1VirtualMachineInstanceMigrationState
*/
migrationConfiguration?: V1MigrationConfiguration;
/**
* Name of the migration policy. If string is empty, no policy is matched
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
migrationPolicyName?: string;
/**
* The VirtualMachineInstanceMigration object associated with this migration
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
migrationUid?: string;
/**
* Lets us know if the vmi is currently running pre or post copy migration
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
mode?: string;
/**
* The source node that the VMI originated on
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
sourceNode?: string;
/**
* If the VMI being migrated uses persistent features (backend-storage), its source PVC name is saved here
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
sourcePersistentStatePVCName?: string;
/**
*
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
sourcePod?: string;
/**
* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
startTimestamp?: string;
/**
* The UID of the target attachment pod for hotplug volumes
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetAttachmentPodUID?: string;
/**
* If the VMI requires dedicated CPUs, this field will hold the dedicated CPU set on the target node
* @type {Array<number>}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetCPUSet?: Array<number>;
/**
* The list of ports opened for live migration on the destination node
* @type {{ [key: string]: number; }}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetDirectMigrationNodePorts?: {
[key: string]: number;
};
/**
* The target node that the VMI is moving to
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetNode?: string;
/**
* The address of the target node to use for the migration
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetNodeAddress?: string;
/**
* The Target Node has seen the Domain Start Event
* @type {boolean}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetNodeDomainDetected?: boolean;
/**
* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetNodeDomainReadyTimestamp?: string;
/**
* If the VMI requires dedicated CPUs, this field will hold the numa topology on the target node
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetNodeTopology?: string;
/**
* If the VMI being migrated uses persistent features (backend-storage), its target PVC name is saved here
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetPersistentStatePVCName?: string;
/**
* The target pod that the VMI is moving to
* @type {string}
* @memberof V1VirtualMachineInstanceMigrationState
*/
targetPod?: string;
}
export declare function V1VirtualMachineInstanceMigrationStateFromJSON(json: any): V1VirtualMachineInstanceMigrationState;
export declare function V1VirtualMachineInstanceMigrationStateFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1VirtualMachineInstanceMigrationState;
export declare function V1VirtualMachineInstanceMigrationStateToJSON(value?: V1VirtualMachineInstanceMigrationState | null): any;