public interface StorageSystemClient
Modifier and Type | Method and Description |
---|---|
String |
createStorageSystem(RestParams params,
AddStorageSystemCredentials addStorageSystemCredentialsDto,
boolean useJsonRequest)
The module aids in creation of storage system when provided with the
storage system details as
AddStorageSystemCredentials object or
JsonRequest. |
String |
deleteStorageSystem(RestParams params,
String resourceId)
The module aids in deleting a storage system for the specified storage system resource identifier.
|
StorageTargetPortCollection |
getAllManagedPortsForStorageSystem(RestParams params,
String resourceId)
This module aids in retrieving all managed target ports for the specified storage system.
|
StorageSystemCollection |
getAllStorageSystems(RestParams params)
The module aids in fetching the storage system details for all the
storage system found under the current HPE OneView.
|
String |
getId(RestParams params,
String name)
The module aids in fetching the storage system resource identifier for the
storage system name as specified in HPE OneView.
|
StorageTargetPortV2 |
getManagedPortsForStorageSystem(RestParams params,
String resourceId,
String targetPortId)
This module aids in retrieving a managed target ports for the specified storage system.
|
StoragePoolCollection |
getStoragePoolsForStorageSystem(RestParams params,
String arrayId)
This module aids in retrieving a list of storage pools belonging to the
storage system referred by the path property {arrayId} parameter.
|
StorageSystemV2 |
getStorageSystem(RestParams params,
String resourceId)
The module aids in fetching the storage system details for the specified
storage system resource identifier.
|
StorageSystemV2 |
getStorageSystemByName(RestParams params,
String name)
The module aids in fetching the storage system details for the
storage system name as specified in HPE OneView.
|
List<String> |
getStorageSystemHostTypes(RestParams params)
The module aids in fetching the list of supported storage host types.
|
String |
updateStorageSystem(RestParams params,
String resourceId,
StorageSystemV2 storageSystemDto,
boolean useJsonRequest)
The module takes in an
StorageSystemV2 object or JsonRequest and updates
the existing storage system based on resource identifier. |
StorageSystemV2 getStorageSystem(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for storage system as seen in HPE OneView.StorageSystemV2
containing the storage system details.StoragePoolCollection getStoragePoolsForStorageSystem(RestParams params, String arrayId)
params
- The RestParams
is a structure containing the connection details.arrayId
- The array identifier for a storage system as seen in HPE OneView.StoragePoolCollection
containing a collection of storage system details.StorageTargetPortCollection getAllManagedPortsForStorageSystem(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for a storage system as seen in HPE OneView.StorageTargetPortCollection
containing a collection of storage target port details.StorageTargetPortV2 getManagedPortsForStorageSystem(RestParams params, String resourceId, String targetPortId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for storage system as seen in HPE OneView.targetPortId
- The target port identifier where the managed port is defined.List<String> getStorageSystemHostTypes(RestParams params)
params
- The RestParams
is a structure containing the connection details.StorageSystemCollection getAllStorageSystems(RestParams params)
params
- The RestParams
is a structure containing the connection details.StorageSystemCollection
containing a collection storage system details.StorageSystemV2 getStorageSystemByName(RestParams params, String name)
params
- The RestParams
is a structure containing the connection details.name
- The name is the storage system name as seen in HPE OneView.StorageSystemV2
containing the storage system details.String createStorageSystem(RestParams params, AddStorageSystemCredentials addStorageSystemCredentialsDto, boolean useJsonRequest)
AddStorageSystemCredentials
object or
JsonRequest.params
- The RestParams
is a structure containing the connection details.addStorageSystemCredentialsDto
- Object containing the storage system details, used to create a storage system.useJsonRequest
- The JsonRequest body is part of AddStorageSystemCredentials object which
takes in a String containing new storage system details, which
is converted to AddStorageSystemCredentials object using an adaptor and
processed.Created
if successful.String updateStorageSystem(RestParams params, String resourceId, StorageSystemV2 storageSystemDto, boolean useJsonRequest)
StorageSystemV2
object or JsonRequest and updates
the existing storage system based on resource identifier. This can also be used
for updating the storage path of storage system.params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for storage system as seen in HPE OneView.storageSystemDto
- Object containing the storage system details, used to update a storage system.useJsonRequest
- The JsonRequest body is part of StorageSystemV2 object which
takes in a String containing the update to be made, which is
converted to StorageSystemV2 object using an adaptor and processed.Updated
if successful.String deleteStorageSystem(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for storage system as seen in HPE OneView.Deleted
if successful.String getId(RestParams params, String name)
params
- The RestParams
is a structure containing the connection details.name
- The name is the storage system name as seen in HPE OneView.Copyright © 2016. All rights reserved.