Package org.ovirt.engine.sdk4.services
Interface TemplateService.UpdateRequest
-
- All Superinterfaces:
Request<TemplateService.UpdateRequest,TemplateService.UpdateResponse>
- Enclosing interface:
- TemplateService
public static interface TemplateService.UpdateRequest extends Request<TemplateService.UpdateRequest,TemplateService.UpdateResponse>
Updates the template. The `name`, `description`, `type`, `memory`, `cpu`, `topology`, `os`, `high_availability`, `display`, `stateless`, `usb`, and `timezone` elements can be updated after a template has been created. For example, to update a template so that it has 1 GiB of memory send a request like this: [source] ---- PUT /ovirt-engine/api/templates/123 ---- With the following request body: [source,xml] ----1073741824 ---- The `version_name` name attribute is the only one that can be updated within the `version` attribute used for template versions: [source,xml] ----mytemplate_2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplateService.UpdateRequest
async(Boolean async)
Indicates if the update should be performed asynchronously.TemplateService.UpdateRequest
template(TemplateBuilder template)
TemplateService.UpdateRequest
template(Template template)
-
-
-
Method Detail
-
async
TemplateService.UpdateRequest async(Boolean async)
Indicates if the update should be performed asynchronously.
-
template
TemplateService.UpdateRequest template(Template template)
-
template
TemplateService.UpdateRequest template(TemplateBuilder template)
-
-