| Name | Type | Description | Notes |
|---|---|---|---|
| annotation_filters | Array<String> | Example use: "!some/key*". 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: "!some/key*". 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: '{"op": "add", "path": "/spec/template/metadata/labels/example", "value": "new-label"}' | [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] |
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
)