public interface StorageVolumeClient extends SearchableResource<StorageVolume>, CreatableResource<AddStorageVolume>, DeletableResource
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHABLE_URI |
static String |
REPAIR_FILTER_URI |
static String |
REPAIR_URI |
static String |
SNAPSHOTS_URI |
static String |
STORAGE_VOLUME_URI |
Modifier and Type | Method and Description |
---|---|
TaskResource |
createSnapshot(String resourceId,
StorageVolumeSnapshot snapshot,
RequestOption... options)
Creates a snapshot for the storage volume specified by the resource identifier.
|
TaskResource |
deleteSnapshot(String storageVolumeId,
String snapshotId,
RequestOption... options)
Deletes a storage volume snapshot from HPE OneView and storage system.
|
ResourceCollection<StorageVolumeSnapshot> |
getAllSnapshots(String resourceId)
Returns all snapshots available for an existing storage volume.
|
ResourceCollection<AttachableStorageVolume> |
getAttachableVolumes()
Retrieves a
ResourceCollection <AttachableStorageVolume > containing details
for all the attachable volumes that are connected to the specified networks based on the
storage system port's expected network connectivity. |
ResourceCollection<ExtraStorageVolume> |
getExtraManagedPaths()
Returns the list of extra managed storage volume paths.
|
StorageVolumeSnapshot |
getSnapshot(String resourceId,
String snapshotId)
Retrieves the
StorageVolumeSnapshot details for the specified storage volume snapshot. |
TaskResource |
repairExtraManagedPath(ExtraStorageVolumeRepair repair,
RequestOption... options)
Removes extra presentations from a specified storage volume on the storage system.
|
String |
update(String resourceId,
StorageVolume storageVolume)
Updates a
StorageVolume identified by the given resource identifier. |
getByName
get, get, getAll, getAll, getById
create
delete
static final String STORAGE_VOLUME_URI
static final String ATTACHABLE_URI
static final String REPAIR_URI
static final String REPAIR_FILTER_URI
static final String SNAPSHOTS_URI
String update(String resourceId, StorageVolume storageVolume)
StorageVolume
identified by the given resource identifier.resourceId
- storage volume resource identifier as seen in HPE OneView.storageVolume
- object containing the storage volume details.String
containing the result of the operation.ResourceCollection<AttachableStorageVolume> getAttachableVolumes()
ResourceCollection
<AttachableStorageVolume
> containing details
for all the attachable volumes that are connected to the specified networks based on the
storage system port's expected network connectivity.ResourceCollection
<AttachableStorageVolume
> containing
the details for all found attachable storage volumes.StorageVolumeSnapshot getSnapshot(String resourceId, String snapshotId)
StorageVolumeSnapshot
details for the specified storage volume snapshot.resourceId
- resource identifier for a storage volume as seen in HPE OneView.snapshotId
- resource identifier for the snapshot of the storage volume.StorageVolumeSnapshot
or null
in case the parameter snapshotId
does not match any existing storage volume snapshot.ResourceCollection<StorageVolumeSnapshot> getAllSnapshots(String resourceId)
resourceId
- resource identifier for the storage volume as seen in HPE OneView.ResourceCollection
<StorageVolumeSnapshot
> containing
the details for all found storage volume snapshots.TaskResource createSnapshot(String resourceId, StorageVolumeSnapshot snapshot, RequestOption... options)
resourceId
- resource identifier for a storage volume as seen in HPE OneView.snapshot
- StorageVolumeSnapshot
object containing the data to be used during
the snapshot creation.options
- varargs
of RequestOption
, which can be used to specify some request options.TaskResource
which returns the task status for the process.TaskResource deleteSnapshot(String storageVolumeId, String snapshotId, RequestOption... options)
storageVolumeId
- resource identifier for a storage volume as seen in HPE OneView.snapshotId
- resource identifier for the snapshot of the storage volume.options
- varargs
of RequestOption
, which can be used to specify some request options.TaskResource
which returns the task status for the process.ResourceCollection<ExtraStorageVolume> getExtraManagedPaths()
ResourceCollection
<ExtraStorageVolume
> containing
the details for all found extra storage volumes.TaskResource repairExtraManagedPath(ExtraStorageVolumeRepair repair, RequestOption... options)
repair
- information about the extra paths to delete.options
- varargs
of RequestOption
, which can be used to specify some request options.TaskResource
which returns the task status for the process.Copyright © 2017. All rights reserved.