Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.66 KB

File metadata and controls

26 lines (20 loc) · 1.66 KB

Kubevirt::V1PreferenceMatcher

Properties

Name Type Description Notes
infer_from_volume String 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. [optional]
infer_from_volume_failure_policy 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. [optional]
kind String Kind specifies which preference resource is referenced. Allowed values are: "VirtualMachinePreference" and "VirtualMachineClusterPreference". If not specified, "VirtualMachineClusterPreference" is used by default. [optional]
name String Name is the name of the VirtualMachinePreference or VirtualMachineClusterPreference [optional]
revision_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. [optional]

Example

require 'kubevirt'

instance = Kubevirt::V1PreferenceMatcher.new(
  infer_from_volume: null,
  infer_from_volume_failure_policy: null,
  kind: null,
  name: null,
  revision_name: null
)