public class FcSansManagedSanClientImpl extends Object implements FcSansManagedSanClient
Modifier | Constructor and Description |
---|---|
protected |
FcSansManagedSanClientImpl(HttpRestClient restClient,
ManagedSanAdaptor adaptor,
TaskAdaptor taskAdaptor,
TaskMonitorManager taskMonitor,
ManagedSanEndpointAdaptor endpointAdaptor) |
Modifier and Type | Method and Description |
---|---|
EndpointsCsvFileResponse |
createEndpointsCsvOfManagedSan(RestParams params,
String resourceId)
Creates an endpoints CSV file for a SAN.
|
FcSansManagedSanTask |
createManagedSanIssuesReport(RestParams params,
String resourceId,
boolean aSync)
Creates a new SAN issues report indicating any connectivity issues in the specified SAN.
|
SanResponseCollection |
getAllManagedSan(RestParams params)
The module aids in fetching the managed SAN details for all the managed SANs
found under the current HPE OneView.
|
static FcSansManagedSanClient |
getClient() |
EndpointResponseCollection |
getEndpointsOfManagedSan(RestParams params,
String resourceId)
Reports all endpoints known within the specified SAN, and data about that endpoint.
|
String |
getId(RestParams params,
String name)
The module aids in fetching the managed SAN resource identifier for the managed SAN
name as specified in HPE OneView.
|
SanResponse |
getManagedSan(RestParams params,
String resourceId)
The module aids in fetching the managed SAN details for the specified
managed SAN resource identifier.
|
SanResponse |
getManagedSanByName(RestParams params,
String name)
The module aids in fetching the managed SAN details for the managed SAN
name as specified in HPE OneView.
|
SanResponse |
updateManagedSan(RestParams params,
String resourceId,
SanRequest updateSanRequest,
boolean aSync,
boolean useJsonRequest)
The module takes in a SanRequest object or JsonRequest and updates the
existing managed SAN based on the resource identifier.
|
protected FcSansManagedSanClientImpl(HttpRestClient restClient, ManagedSanAdaptor adaptor, TaskAdaptor taskAdaptor, TaskMonitorManager taskMonitor, ManagedSanEndpointAdaptor endpointAdaptor)
public static FcSansManagedSanClient getClient()
public SanResponse getManagedSan(RestParams params, String resourceId)
FcSansManagedSanClient
getManagedSan
in interface FcSansManagedSanClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for managed SAN as seen in HPE OneView.SanResponse
containing the managed SAN details.public SanResponseCollection getAllManagedSan(RestParams params)
FcSansManagedSanClient
getAllManagedSan
in interface FcSansManagedSanClient
params
- The RestParams
is a structure containing the connection details.SanResponseCollection
containing the collection of managed SAN details.public SanResponse getManagedSanByName(RestParams params, String name)
FcSansManagedSanClient
getManagedSanByName
in interface FcSansManagedSanClient
params
- The RestParams
is a structure containing the connection details.name
- The name is the managed SAN name as seen in HPE OneView.SanResponse
containing the managed SAN details.public SanResponse updateManagedSan(RestParams params, String resourceId, SanRequest updateSanRequest, boolean aSync, boolean useJsonRequest)
FcSansManagedSanClient
updateManagedSan
in interface FcSansManagedSanClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for managed SAN as seen in HPE OneView.updateSanRequest
- This is a object containing the managed SAN details, used to
update a managed SAN.aSync
- Flag input to process request asynchronously or synchronously.useJsonRequest
- The JsonRequest body is part of SanRequest object which takes
in a String containing the update to be made, which is
converted to SanRequest object using adaptor and processed.SanResponse
containing the managed SAN details.public EndpointResponseCollection getEndpointsOfManagedSan(RestParams params, String resourceId)
FcSansManagedSanClient
getEndpointsOfManagedSan
in interface FcSansManagedSanClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for managed SAN as seen in HPE OneView.EndpointResponseCollection
which contains data of all endpoints
os the specified SAN.public FcSansManagedSanTask createManagedSanIssuesReport(RestParams params, String resourceId, boolean aSync)
FcSansManagedSanClient
createManagedSanIssuesReport
in interface FcSansManagedSanClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for managed SAN as seen in HPE OneView.aSync
- Flag input to process request asynchronously or synchronously.FcSansManagedSanTask
which contains the task status for the process
and the report data.public EndpointsCsvFileResponse createEndpointsCsvOfManagedSan(RestParams params, String resourceId)
FcSansManagedSanClient
createEndpointsCsvOfManagedSan
in interface FcSansManagedSanClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for managed SAN as seen in HPE OneView.EndpointsCsvFileResponse
contains the data of the created CSV file.public String getId(RestParams params, String name)
FcSansManagedSanClient
getId
in interface FcSansManagedSanClient
params
- The RestParams
is a structure containing the connection details.name
- The name is the managed SAN name as seen in HPE OneView.Copyright © 2016. All rights reserved.