UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

53 lines (52 loc) 2.28 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 { K8sIoApimachineryPkgApisMetaV1ObjectMeta, V1VirtualMachineSpec, V1VirtualMachineStatus } from './'; /** * VirtualMachine handles the VirtualMachines that are not running or are in a stopped state The VirtualMachine contains the template to create the VirtualMachineInstance. It also mirrors the running state of the created VirtualMachineInstance in its status. * @export * @interface V1VirtualMachine */ export interface V1VirtualMachine { /** * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources * @type {string} * @memberof V1VirtualMachine */ apiVersion?: string; /** * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds * @type {string} * @memberof V1VirtualMachine */ kind?: string; /** * * @type {K8sIoApimachineryPkgApisMetaV1ObjectMeta} * @memberof V1VirtualMachine */ metadata?: K8sIoApimachineryPkgApisMetaV1ObjectMeta; /** * * @type {V1VirtualMachineSpec} * @memberof V1VirtualMachine */ spec: V1VirtualMachineSpec; /** * * @type {V1VirtualMachineStatus} * @memberof V1VirtualMachine */ status?: V1VirtualMachineStatus; } export declare function V1VirtualMachineFromJSON(json: any): V1VirtualMachine; export declare function V1VirtualMachineFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1VirtualMachine; export declare function V1VirtualMachineToJSON(value?: V1VirtualMachine | null): any;