DELETE /ovirt-engine/api/templates/{template:id}/diskattachments/{attachment:id}?storage_domain=072fbaa1-08f3-4a40-9f34-a5ca22dd1d74
public static interface TemplateDiskAttachmentService.RemoveRequest extends Request<TemplateDiskAttachmentService.RemoveRequest,TemplateDiskAttachmentService.RemoveResponse>
Removes the disk from the template. The disk will only be removed if there are other existing copies of the disk on other storage domains.
A storage domain has to be specified to determine which of the copies should be removed (template disks can have copies on multiple storage domains).
DELETE /ovirt-engine/api/templates/{template:id}/diskattachments/{attachment:id}?storage_domain=072fbaa1-08f3-4a40-9f34-a5ca22dd1d74
Modifier and Type | Method and Description |
---|---|
TemplateDiskAttachmentService.RemoveRequest |
force(Boolean force) |
TemplateDiskAttachmentService.RemoveRequest |
storageDomain(String storageDomain)
Specifies the identifier of the storage domain the image to be removed resides on.
|
TemplateDiskAttachmentService.RemoveRequest force(Boolean force)
TemplateDiskAttachmentService.RemoveRequest storageDomain(String storageDomain)
Specifies the identifier of the storage domain the image to be removed resides on.
Copyright © 2016. All rights reserved.