Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 2.21 KB

File metadata and controls

34 lines (28 loc) · 2.21 KB

Kubevirt::V1beta1VirtualMachineCloneSpec

Properties

Name Type Description Notes
annotation_filters Array<String> Example use: &quot;!some/key*&quot;. For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters. [optional]
label_filters Array<String> Example use: &quot;!some/key*&quot;. For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters. [optional]
new_mac_addresses Hash<String, String> NewMacAddresses manually sets that target interfaces' mac addresses. The key is the interface name and the value is the new mac address. If this field is not specified, a new MAC address will be generated automatically, as for any interface that is not included in this map. [optional]
new_sm_bios_serial String NewSMBiosSerial manually sets that target's SMbios serial. If this field is not specified, a new serial will be generated automatically. [optional]
patches Array<String> Patches holds JSON patches to apply to target. Patches should fit the target's Kind. Example: '{&quot;op&quot;: &quot;add&quot;, &quot;path&quot;: &quot;/spec/template/metadata/labels/example&quot;, &quot;value&quot;: &quot;new-label&quot;}' [optional]
source K8sIoApiCoreV1TypedLocalObjectReference
target K8sIoApiCoreV1TypedLocalObjectReference [optional]
template V1beta1VirtualMachineCloneTemplateFilters [optional]
volume_name_policy String VolumeNamePolicy defines how to handle volume naming during the clone operation [optional]

Example

require 'kubevirt'

instance = Kubevirt::V1beta1VirtualMachineCloneSpec.new(
  annotation_filters: null,
  label_filters: null,
  new_mac_addresses: null,
  new_sm_bios_serial: null,
  patches: null,
  source: null,
  target: null,
  template: null,
  volume_name_policy: null
)