DELETE /ovirt-engine/api/templates/{template:id}/diskattachments/{attachment:id}?storage_domain=072fbaa1-08f3-4a40-9f34-a5ca22dd1d74
public interface TemplateDiskAttachmentService extends Service
This service manages the attachment of a disk to a template.
Modifier and Type | Interface and Description |
---|---|
static interface |
TemplateDiskAttachmentService.GetRequest
Returns the details of the attachment.
|
static interface |
TemplateDiskAttachmentService.GetResponse
Returns the details of the attachment.
|
static interface |
TemplateDiskAttachmentService.RemoveRequest
Removes the disk from the template.
|
static interface |
TemplateDiskAttachmentService.RemoveResponse
Removes the disk from the template.
|
Modifier and Type | Method and Description |
---|---|
TemplateDiskAttachmentService.GetRequest |
get()
Returns the details of the attachment.
|
TemplateDiskAttachmentService.RemoveRequest |
remove()
Removes the disk from the template.
|
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
TemplateDiskAttachmentService.GetRequest get()
Returns the details of the attachment.
TemplateDiskAttachmentService.RemoveRequest remove()
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
Copyright © 2016. All rights reserved.