Class TemplateDiskAttachmentServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.TemplateDiskAttachmentServiceImpl
-
- All Implemented Interfaces:
Service
,TemplateDiskAttachmentService
public class TemplateDiskAttachmentServiceImpl extends ServiceImpl implements TemplateDiskAttachmentService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.TemplateDiskAttachmentService
TemplateDiskAttachmentService.GetRequest, TemplateDiskAttachmentService.GetResponse, TemplateDiskAttachmentService.RemoveRequest, TemplateDiskAttachmentService.RemoveResponse
-
-
Constructor Summary
Constructors Constructor Description TemplateDiskAttachmentServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete 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.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
TemplateDiskAttachmentServiceImpl
public TemplateDiskAttachmentServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public TemplateDiskAttachmentService.GetRequest get()
Description copied from interface:TemplateDiskAttachmentService
Returns the details of the attachment.- Specified by:
get
in interfaceTemplateDiskAttachmentService
-
remove
public TemplateDiskAttachmentService.RemoveRequest remove()
Description copied from interface: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). [source] ---- DELETE /ovirt-engine/api/templates/{template:id}/diskattachments/{attachment:id}?storage_domain=072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 ----- Specified by:
remove
in interfaceTemplateDiskAttachmentService
-
service
public Service service(String path)
Description copied from interface:TemplateDiskAttachmentService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceTemplateDiskAttachmentService
-
-