UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

52 lines (51 loc) 2.44 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. */ /** * InstancetypeMatcher references a instancetype that is used to fill fields in the VMI template. * @export * @interface V1InstancetypeMatcher */ export interface V1InstancetypeMatcher { /** * InferFromVolume lists the name of a volume that should be used to infer or discover the instancetype to be used through known annotations on the underlying resource. Once applied to the InstancetypeMatcher this field is removed. * @type {string} * @memberof V1InstancetypeMatcher */ inferFromVolume?: string; /** * InferFromVolumeFailurePolicy controls what should happen on failure when inferring the instancetype. Allowed values are: "RejectInferFromVolumeFailure" and "IgnoreInferFromVolumeFailure". If not specified, "RejectInferFromVolumeFailure" is used by default. * @type {string} * @memberof V1InstancetypeMatcher */ inferFromVolumeFailurePolicy?: string; /** * Kind specifies which instancetype resource is referenced. Allowed values are: "VirtualMachineInstancetype" and "VirtualMachineClusterInstancetype". If not specified, "VirtualMachineClusterInstancetype" is used by default. * @type {string} * @memberof V1InstancetypeMatcher */ kind?: string; /** * Name is the name of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype * @type {string} * @memberof V1InstancetypeMatcher */ name?: string; /** * RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachineInstancetype or VirtualMachineClusterInstancetype to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance. * @type {string} * @memberof V1InstancetypeMatcher */ revisionName?: string; } export declare function V1InstancetypeMatcherFromJSON(json: any): V1InstancetypeMatcher; export declare function V1InstancetypeMatcherFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1InstancetypeMatcher; export declare function V1InstancetypeMatcherToJSON(value?: V1InstancetypeMatcher | null): any;