public interface StorageVolumeTemplateClient
Modifier and Type | Method and Description |
---|---|
StorageVolumeTemplate |
createStorageVolumeTemplate(RestParams params,
StorageVolumeTemplate storageVolumeTemplateDto,
boolean aSync,
boolean useJsonRequest)
The module aids in the creation of a storage volume template when provided with
the storage volume template details as a StorageVolumeTemplate object or
JsonRequest.
|
String |
deleteStorageVolumeTemplate(RestParams params,
String resourceId)
The module aids in deleting a storage volume template for the specified
storage volume template resource identifier.
|
StorageVolumeTemplateCollection |
getAllStorageVolumeTemplates(RestParams params)
The module aids in fetching the storage volume template details for all the
storage volume templates found under the current HPE OneView.
|
ConnectableStorageVolumeTemplateCollection |
getConnectableVolumeTemplates(RestParams params)
This module aids in fetching the storage volume templates that are
available on the specified networks based on the storage system port's
expected network connectivity.
|
String |
getId(RestParams params,
String name)
The module aids in fetching the storage volume template resource identifier for the
storage volume template name as specified in HPE OneView.
|
StorageVolumeTemplate |
getStorageVolumeTemplate(RestParams params,
String resourceId)
The module aids in fetching the storage volume template details for the
specified storage volume template resource identifier.
|
StorageVolumeTemplate |
getStorageVolumeTemplateByName(RestParams params,
String name)
The module aids in fetching the storage volume template details for the
storage volume template name as specified in HPE OneView.
|
StorageVolumeTemplate |
updateStorageVolumeTemplate(RestParams params,
String resourceId,
StorageVolumeTemplate storageVolumeTemplateDto,
boolean useJsonRequest)
The module takes in an StorageVolumeTemplate object or JsonRequest and
updates the existing storage volume template based on the resource identifier.
|
StorageVolumeTemplate getStorageVolumeTemplate(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for storage volume template as seen in HPE OneView.StorageVolumeTemplate
containing the storage volume template details.StorageVolumeTemplateCollection getAllStorageVolumeTemplates(RestParams params)
params
- The RestParams
is a structure containing the connection details.StorageVolumeTemplateCollection
containing a collection of
storage volume template details.StorageVolumeTemplate getStorageVolumeTemplateByName(RestParams params, String name)
params
- The RestParams
is a structure containing the connection details.name
- The name is the storage volume template name as seen in HPE OneView.StorageVolumeTemplate
containing the storage volume template details.StorageVolumeTemplate createStorageVolumeTemplate(RestParams params, StorageVolumeTemplate storageVolumeTemplateDto, boolean aSync, boolean useJsonRequest)
params
- The RestParams
is a structure containing the connection details.storageVolumeTemplateDto
- Object containing the storage volume template details,
used to create a storage volume template.aSync
- Flag input to process request asynchronously or synchronously.useJsonRequest
- The JsonRequest body is part of StorageVolumeTemplate object
which takes in a String containing the new storage volume template
details, which is converted to a StorageVolumeTemplate object
using an adaptor and processed.StorageVolumeTemplate
containing the storage volume template details.StorageVolumeTemplate updateStorageVolumeTemplate(RestParams params, String resourceId, StorageVolumeTemplate storageVolumeTemplateDto, boolean useJsonRequest)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for storage volume template as seen in HPE OneView.storageVolumeTemplateDto
- This is a object containing the storage volume template details,
used to update a storage volume template.useJsonRequest
- The JsonRequest body is part of StorageVolumeTemplate object
which takes in a String containing the update to be made,
which is converted to StorageVolumeTemplate object using an
adaptor and processed.StorageVolumeTemplate
containing the storage volume template details.String deleteStorageVolumeTemplate(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for storage volume template as seen in HPE OneView.Deleted
if successful.ConnectableStorageVolumeTemplateCollection getConnectableVolumeTemplates(RestParams params)
params
- The RestParams
is a structure containing the connection details.ConnectableStorageVolumeTemplateCollection
storage volume templates
on the specified networks based on the storage system port.String getId(RestParams params, String name)
params
- The RestParams
is a structure containing the connection details.name
- The name is the storage volume template name as seen in HPE OneView.Copyright © 2016. All rights reserved.