public class StorageDomainServiceImpl extends ServiceImpl implements StorageDomainService
StorageDomainService.GetRequest, StorageDomainService.GetResponse, StorageDomainService.IsAttachedRequest, StorageDomainService.IsAttachedResponse, StorageDomainService.RefreshLunsRequest, StorageDomainService.RefreshLunsResponse, StorageDomainService.RemoveRequest, StorageDomainService.RemoveResponse, StorageDomainService.UpdateOvfStoreRequest, StorageDomainService.UpdateOvfStoreResponse, StorageDomainService.UpdateRequest, StorageDomainService.UpdateResponse
Constructor and Description |
---|
StorageDomainServiceImpl(HttpConnection connection,
String path) |
Modifier and Type | Method and Description |
---|---|
AssignedDiskProfilesService |
diskProfilesService() |
DiskSnapshotsService |
diskSnapshotsService() |
DisksService |
disksService() |
FilesService |
filesService() |
StorageDomainService.GetRequest |
get() |
ImagesService |
imagesService() |
StorageDomainService.IsAttachedRequest |
isAttached() |
AssignedPermissionsService |
permissionsService() |
StorageDomainService.RefreshLunsRequest |
refreshLuns() |
StorageDomainService.RemoveRequest |
remove()
Removes the storage domain.
|
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
StorageDomainServerConnectionsService |
storageConnectionsService() |
StorageDomainTemplatesService |
templatesService() |
String |
toString() |
StorageDomainService.UpdateRequest |
update() |
StorageDomainService.UpdateOvfStoreRequest |
updateOvfStore()
This operation forces the update of the
OVF_STORE
of this storage domain. |
StorageDomainVmsService |
vmsService() |
checkAction, checkFault, getConnection, getPath, throwError
public StorageDomainServiceImpl(HttpConnection connection, String path)
public StorageDomainService.GetRequest get()
get
in interface StorageDomainService
public StorageDomainService.IsAttachedRequest isAttached()
isAttached
in interface StorageDomainService
public StorageDomainService.RefreshLunsRequest refreshLuns()
refreshLuns
in interface StorageDomainService
public StorageDomainService.RemoveRequest remove()
StorageDomainService
Removes the storage domain.
Without any special parameters, the storage domain is detached from the system and removed from the database. The storage domain can then be imported to the same or different setup, with all the data on it. If the storage isn’t accessible the operation will fail.
If the destroy
parameter is true
then the operation will always succeed, even if the storage isn’t
accessible, the failure is just ignored and the storage domain is removed from the database anyway.
If the format
parameter is true
then the actual storage is formatted, and the metadata is removed from the
LUN or directory, so it can no longer be imported to the same or a different setup.
remove
in interface StorageDomainService
public StorageDomainService.UpdateRequest update()
update
in interface StorageDomainService
public StorageDomainService.UpdateOvfStoreRequest updateOvfStore()
StorageDomainService
This operation forces the update of the OVF_STORE
of this storage domain.
The OVF_STORE
is a disk image that contains the meta-data
of virtual machines and disks that reside in the
storage domain. This meta-data is used in case the
domain is imported or exported to or from a different
data center or a different installation.
By default the OVF_STORE
is updated periodically
(set by default to 60 minutes) but users might want to force an
update after an important change, or when the they believe the
OVF_STORE
is corrupt.
When initiated by the user, OVF_STORE
update will be performed whether
an update is needed or not.
updateOvfStore
in interface StorageDomainService
public AssignedDiskProfilesService diskProfilesService()
diskProfilesService
in interface StorageDomainService
public DiskSnapshotsService diskSnapshotsService()
diskSnapshotsService
in interface StorageDomainService
public DisksService disksService()
disksService
in interface StorageDomainService
public FilesService filesService()
filesService
in interface StorageDomainService
public ImagesService imagesService()
imagesService
in interface StorageDomainService
public AssignedPermissionsService permissionsService()
permissionsService
in interface StorageDomainService
public StorageDomainServerConnectionsService storageConnectionsService()
storageConnectionsService
in interface StorageDomainService
public StorageDomainTemplatesService templatesService()
templatesService
in interface StorageDomainService
public StorageDomainVmsService vmsService()
vmsService
in interface StorageDomainService
public Service service(String path)
StorageDomainService
Service locator method, returns individual service on which the URI is dispatched.
service
in interface StorageDomainService
Copyright © 2016. All rights reserved.