UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

49 lines (48 loc) 1.84 kB
/** * 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 { K8sIoApiCoreV1TypedLocalObjectReference } from './'; /** * VirtualMachineRestoreSpec is the spec for a VirtualMachineRestoreresource * @export * @interface V1beta1VirtualMachineRestoreSpec */ export interface V1beta1VirtualMachineRestoreSpec { /** * If the target for the restore does not exist, it will be created. Patches holds JSON patches that would be applied to the target manifest before it's created. Patches should fit the target's Kind. * * Example for a patch: {"op": "replace", "path": "/metadata/name", "value": "new-vm-name"} * @type {Array<string>} * @memberof V1beta1VirtualMachineRestoreSpec */ patches?: Array<string>; /** * * @type {K8sIoApiCoreV1TypedLocalObjectReference} * @memberof V1beta1VirtualMachineRestoreSpec */ target: K8sIoApiCoreV1TypedLocalObjectReference; /** * * @type {string} * @memberof V1beta1VirtualMachineRestoreSpec */ targetReadinessPolicy?: string; /** * * @type {string} * @memberof V1beta1VirtualMachineRestoreSpec */ virtualMachineSnapshotName: string; } export declare function V1beta1VirtualMachineRestoreSpecFromJSON(json: any): V1beta1VirtualMachineRestoreSpec; export declare function V1beta1VirtualMachineRestoreSpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1beta1VirtualMachineRestoreSpec; export declare function V1beta1VirtualMachineRestoreSpecToJSON(value?: V1beta1VirtualMachineRestoreSpec | null): any;