Package org.ovirt.engine.sdk4.services
Interface TemplatesService.AddResponse
-
- All Superinterfaces:
Response
- Enclosing interface:
- TemplatesService
public static interface TemplatesService.AddResponse extends Response
Creates a new template. This requires the `name` and `vm` elements. To identify the virtual machine use the `vm.id` or `vm.name` attributes. For example, to create a template from a virtual machine with the identifier `123` send a request like this: [source] ---- POST /ovirt-engine/api/templates ---- With a request body like this: [source,xml] ----mytemplate ---- Since version 4.3, in order to create virtual machine template from a snapshot send a request body like this: [source,xml] ---- mytemplate > and make it < >, send a request body like this: [source,xml] ---- mytemplate mydisk cow true mytemplate mytemplate_001 mytemplate cow true mytemplate cow true
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Template
template()
The information about the template or template version.
-
-
-
Method Detail
-
template
Template template()
The information about the template or template version.
-
-