@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
52 lines (51 loc) • 2.4 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.
*/
/**
* PreferenceMatcher references a set of preference that is used to fill fields in the VMI template.
* @export
* @interface V1PreferenceMatcher
*/
export interface V1PreferenceMatcher {
/**
* InferFromVolume lists the name of a volume that should be used to infer or discover the preference to be used through known annotations on the underlying resource. Once applied to the PreferenceMatcher this field is removed.
* @type {string}
* @memberof V1PreferenceMatcher
*/
inferFromVolume?: string;
/**
* InferFromVolumeFailurePolicy controls what should happen on failure when preference the instancetype. Allowed values are: "RejectInferFromVolumeFailure" and "IgnoreInferFromVolumeFailure". If not specified, "RejectInferFromVolumeFailure" is used by default.
* @type {string}
* @memberof V1PreferenceMatcher
*/
inferFromVolumeFailurePolicy?: string;
/**
* Kind specifies which preference resource is referenced. Allowed values are: "VirtualMachinePreference" and "VirtualMachineClusterPreference". If not specified, "VirtualMachineClusterPreference" is used by default.
* @type {string}
* @memberof V1PreferenceMatcher
*/
kind?: string;
/**
* Name is the name of the VirtualMachinePreference or VirtualMachineClusterPreference
* @type {string}
* @memberof V1PreferenceMatcher
*/
name?: string;
/**
* RevisionName specifies a ControllerRevision containing a specific copy of the VirtualMachinePreference or VirtualMachineClusterPreference to be used. This is initially captured the first time the instancetype is applied to the VirtualMachineInstance.
* @type {string}
* @memberof V1PreferenceMatcher
*/
revisionName?: string;
}
export declare function V1PreferenceMatcherFromJSON(json: any): V1PreferenceMatcher;
export declare function V1PreferenceMatcherFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1PreferenceMatcher;
export declare function V1PreferenceMatcherToJSON(value?: V1PreferenceMatcher | null): any;