Package org.ovirt.engine.sdk4.services
Interface TemplateDiskAttachmentService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
TemplateDiskAttachmentServiceImpl
public interface TemplateDiskAttachmentService extends Service
This service manages the attachment of a disk to a template.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface 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.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
get
TemplateDiskAttachmentService.GetRequest get()
Returns the details of the attachment.
-
remove
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). [source] ---- DELETE /ovirt-engine/api/templates/{template:id}/diskattachments/{attachment:id}?storage_domain=072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 ----
-
-