DELETE /ovirt-engine/api/templates/{template:id}/diskattachments/{attachment:id}?storage_domain=072fbaa1-08f3-4a40-9f34-a5ca22dd1d74
public class TemplateDiskAttachmentServiceImpl extends ServiceImpl implements TemplateDiskAttachmentService
TemplateDiskAttachmentService.GetRequest, TemplateDiskAttachmentService.GetResponse, TemplateDiskAttachmentService.RemoveRequest, TemplateDiskAttachmentService.RemoveResponse
Constructor and Description |
---|
TemplateDiskAttachmentServiceImpl(HttpConnection connection,
String path) |
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.
|
String |
toString() |
checkAction, checkFault, getConnection, getPath, throwError
public TemplateDiskAttachmentServiceImpl(HttpConnection connection, String path)
public TemplateDiskAttachmentService.GetRequest get()
TemplateDiskAttachmentService
Returns the details of the attachment.
get
in interface TemplateDiskAttachmentService
public TemplateDiskAttachmentService.RemoveRequest remove()
TemplateDiskAttachmentService
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
remove
in interface TemplateDiskAttachmentService
public Service service(String path)
TemplateDiskAttachmentService
Service locator method, returns individual service on which the URI is dispatched.
service
in interface TemplateDiskAttachmentService
Copyright © 2016. All rights reserved.