VirtualMachineRestore
Scope: Namespaced
Version: v1alpha2
VirtualMachineRestore provides a resource that allows to restore a snapshot of the virtual machine and all its resources.
- apiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
- kind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- metadata
- spec
Required value
- spec.nameReplacements
Redefining the virtual machine resource names.
NameReplacement represents rule to redefine the virtual machine resource names.
- spec.nameReplacements.from
Required value
The selector to choose resources for name replacement.
- spec.nameReplacements.from.kind
The kind of resource to rename.
- spec.nameReplacements.from.name
Required value
The current name of resource to rename.
- spec.nameReplacements.to
Required value
The new resource name.
- spec.virtualMachineSnapshotName
Required value
The name of virtual machine snapshot to restore the virtual machine.