Package org.ovirt.engine.sdk4.services
Interface TemplatesService.AddFromVmSnapshotRequest
-
- All Superinterfaces:
Request<TemplatesService.AddFromVmSnapshotRequest,TemplatesService.AddFromVmSnapshotResponse>
- Enclosing interface:
- TemplatesService
public static interface TemplatesService.AddFromVmSnapshotRequest extends Request<TemplatesService.AddFromVmSnapshotRequest,TemplatesService.AddFromVmSnapshotResponse>
Add a virtual machine template to the system from a snapshot.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplatesService.AddFromVmSnapshotRequest
clonePermissions(Boolean clonePermissions)
Specifies if the permissions of the virtual machine should be copied to the template.TemplatesService.AddFromVmSnapshotRequest
seal(Boolean seal)
Seals the template.TemplatesService.AddFromVmSnapshotRequest
template(TemplateBuilder template)
The information about the template or template version.TemplatesService.AddFromVmSnapshotRequest
template(Template template)
-
-
-
Method Detail
-
clonePermissions
TemplatesService.AddFromVmSnapshotRequest clonePermissions(Boolean clonePermissions)
Specifies if the permissions of the virtual machine should be copied to the template. If this optional parameter is provided, and its value is `true`, then the permissions of the virtual machine (only the direct ones, not the inherited ones) will be copied to the created template. For example, to create a template from the `myvm` virtual machine copying its permissions, send a request like this: [source] ---- POST /ovirt-engine/api/templates?clone_permissions=true ---- With a request body like this: [source,xml] ----mytemplate ----myvm
-
seal
TemplatesService.AddFromVmSnapshotRequest seal(Boolean seal)
Seals the template. If this optional parameter is provided and its value is `true`, then the template is sealed after creation. Sealing erases all host-specific configuration from the filesystem: SSH keys, UDEV rules, MAC addresses, system ID, hostname, and so on, thus making it easier to use the template to create multiple virtual machines without manual intervention. Currently, sealing is supported only for Linux operating systems.
-
template
TemplatesService.AddFromVmSnapshotRequest template(Template template)
-
template
TemplatesService.AddFromVmSnapshotRequest template(TemplateBuilder template)
The information about the template or template version.
-
-