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] ---- ---- The `version_name` name attribute is the only one that can be updated within the `version` attribute used for template versions: [source,xml] ---- ----