Class DiskAttachmentsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.DiskAttachmentsServiceImpl
-
- All Implemented Interfaces:
Service
,DiskAttachmentsService
public class DiskAttachmentsServiceImpl extends ServiceImpl implements DiskAttachmentsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.DiskAttachmentsService
DiskAttachmentsService.AddProvidingDiskIdRequest, DiskAttachmentsService.AddProvidingDiskIdResponse, DiskAttachmentsService.AddRequest, DiskAttachmentsService.AddResponse, DiskAttachmentsService.AddSignature1Request, DiskAttachmentsService.AddSignature1Response, DiskAttachmentsService.ListRequest, DiskAttachmentsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description DiskAttachmentsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskAttachmentsService.AddRequest
add()
Adds a new disk attachment to the virtual machine.DiskAttachmentsService.AddProvidingDiskIdRequest
addProvidingDiskId()
DiskAttachmentsService.AddSignature1Request
addSignature1()
DiskAttachmentService
attachmentService(String id)
Reference to the service that manages a specific attachment.DiskAttachmentsService.ListRequest
list()
List the disk that are attached to the virtual machine.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
-
DiskAttachmentsServiceImpl
public DiskAttachmentsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public DiskAttachmentsService.AddRequest add()
Description copied from interface:DiskAttachmentsService
Adds a new disk attachment to the virtual machine. The `attachment` parameter can contain just a reference, if the disk already exists: [source,xml] ----true true ide true true true ide true mydisk 1024 ...- Specified by:
add
in interfaceDiskAttachmentsService
-
list
public DiskAttachmentsService.ListRequest list()
Description copied from interface:DiskAttachmentsService
List the disk that are attached to the virtual machine. The order of the returned list of disks attachments isn't guaranteed.- Specified by:
list
in interfaceDiskAttachmentsService
-
addProvidingDiskId
public DiskAttachmentsService.AddProvidingDiskIdRequest addProvidingDiskId()
- Specified by:
addProvidingDiskId
in interfaceDiskAttachmentsService
-
addSignature1
public DiskAttachmentsService.AddSignature1Request addSignature1()
- Specified by:
addSignature1
in interfaceDiskAttachmentsService
-
attachmentService
public DiskAttachmentService attachmentService(String id)
Description copied from interface:DiskAttachmentsService
Reference to the service that manages a specific attachment.- Specified by:
attachmentService
in interfaceDiskAttachmentsService
-
service
public Service service(String path)
Description copied from interface:DiskAttachmentsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceDiskAttachmentsService
-
-