Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 2.66 KB

File metadata and controls

18 lines (14 loc) · 2.66 KB

V1beta1VirtualMachineCloneSpec

Properties

Name Type Description Notes
annotation_filters list[str] 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 list[str] 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 dict(str, str) 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 str NewSMBiosSerial manually sets that target's SMbios serial. If this field is not specified, a new serial will be generated automatically. [optional]
patches list[str] 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 Source is the object that would be cloned. Currently supported source types are: VirtualMachine of kubevirt.io API group, VirtualMachineSnapshot of snapshot.kubevirt.io API group
target K8sIoApiCoreV1TypedLocalObjectReference Target is the outcome of the cloning process. Currently supported source types are: - VirtualMachine of kubevirt.io API group - Empty (nil). If the target is not provided, the target type would default to VirtualMachine and a random name would be generated for the target. The target's name can be viewed by inspecting status "TargetName" field below. [optional]
template V1beta1VirtualMachineCloneTemplateFilters For a detailed description, please refer to https://kubevirt.io/user-guide/operations/clone_api/#label-annotation-filters. [optional]
volume_name_policy str VolumeNamePolicy defines how to handle volume naming during the clone operation [optional]

[Back to Model list] [Back to API list] [Back to README]