public class FabricClientImpl extends Object implements FabricClient
Modifier and Type | Method and Description |
---|---|
ResourceCollection<Fabric> |
getAllFabrics(RestParams params)
The module aids in fetching the details for all the fabrics
found under the current HPE OneView.
|
static FabricClient |
getClient() |
Fabric |
getFabricById(RestParams params,
String resourceId)
The module aids in fetching the fabric when provided with
the Fabric resource identifier.
|
Fabric |
getFabricByName(RestParams params,
String resourceName)
The module aids in fetching the fabric when provided with
the fabric name.
|
public static FabricClient getClient()
public Fabric getFabricById(RestParams params, String resourceId)
FabricClient
getFabricById
in interface FabricClient
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for the fabric as seen in HPE OneView.Fabric
containing the fabric details.public Fabric getFabricByName(RestParams params, String resourceName)
FabricClient
getFabricByName
in interface FabricClient
params
- The RestParams
is a structure containing the connection details.resourceName
- The resourceName is the fabric name as seen in HPE OneView.Fabric
containing the connection template details.public ResourceCollection<Fabric> getAllFabrics(RestParams params)
FabricClient
getAllFabrics
in interface FabricClient
params
- The RestParams
is a structure containing the connection details.ResourceCollection
<Fabric
> containing
the details for all found fabrics.Copyright © 2016. All rights reserved.