public class UnmanagedDeviceClientImpl extends Object implements UnmanagedDeviceClient
| Modifier and Type | Method and Description |
|---|---|
UnmanagedDevice |
addUnmanagedDevice(RestParams params,
UnmanagedDevice unmanagedDevice)
Adds an unmanaged device according to the provided
UnmanagedDevice object. |
ResourceCollection<UnmanagedDevice> |
getAllUnmanagedDevices(RestParams params)
Retrieves a
ResourceCollection<UnmanagedDevice> containing details
for all the available unmanaged devices found under the current HPE OneView. |
static UnmanagedDeviceClient |
getClient() |
EnvironmentalConfiguration |
getEnvironmentalConfiguration(RestParams params,
String resourceId)
Returns a description of the environmental configuration (supported feature set,
calibrated minimum and maximum power, location and dimensions, ...) of the resource.
|
String |
getId(RestParams params,
String name)
Retrieves the unmanaged device resource identifier for the specified
unmanaged device identified by name.
|
UnmanagedDevice |
getUnmanagedDevice(RestParams params,
String resourceId)
Retrieves the
UnmanagedDevice details for the specified
unmanaged device. |
UnmanagedDevice |
getUnmanagedDeviceByName(RestParams params,
String name)
Retrieves the
UnmanagedDevice details for the specified
unmanaged device identified by name. |
String |
removeUnmanagedDevice(RestParams params,
String resourceId)
Removes the
UnmanagedDevice identified by the given resource identifier. |
TaskResourceV2 |
removeUnmanagedDeviceByFilter(RestParams params,
String filter,
boolean aSync)
Removes the
UnmanagedDevice(s) matching the filter. |
UnmanagedDevice |
updateUnmanagedDevice(RestParams params,
String resourceId,
UnmanagedDevice unmanagedDevice)
Updates an
UnmanagedDevice identified by the given resource identifier. |
public static UnmanagedDeviceClient getClient()
public UnmanagedDevice getUnmanagedDevice(RestParams params, String resourceId)
UnmanagedDeviceClientUnmanagedDevice details for the specified
unmanaged device.getUnmanagedDevice in interface UnmanagedDeviceClientparams - structure containing the connection details.resourceId - unmanaged device resource identifier as seen in HPE OneView.UnmanagedDevice object containing the details.public ResourceCollection<UnmanagedDevice> getAllUnmanagedDevices(RestParams params)
UnmanagedDeviceClientResourceCollection<UnmanagedDevice> containing details
for all the available unmanaged devices found under the current HPE OneView.getAllUnmanagedDevices in interface UnmanagedDeviceClientparams - structure containing the connection details.ResourceCollection<UnmanagedDevice> containing
the details for all found unmanaged devices.public UnmanagedDevice getUnmanagedDeviceByName(RestParams params, String name)
UnmanagedDeviceClientUnmanagedDevice details for the specified
unmanaged device identified by name.getUnmanagedDeviceByName in interface UnmanagedDeviceClientparams - structure containing the connection details.name - unmanaged device name as seen in HPE OneView.UnmanagedDevice object containing the details.public UnmanagedDevice addUnmanagedDevice(RestParams params, UnmanagedDevice unmanagedDevice)
UnmanagedDeviceClientUnmanagedDevice object.addUnmanagedDevice in interface UnmanagedDeviceClientparams - structure containing the connection details.unmanagedDevice - object containing the unmanaged device details.UnmanagedDevice containing the added unmanaged device.public UnmanagedDevice updateUnmanagedDevice(RestParams params, String resourceId, UnmanagedDevice unmanagedDevice)
UnmanagedDeviceClientUnmanagedDevice identified by the given resource identifier.updateUnmanagedDevice in interface UnmanagedDeviceClientparams - structure containing the connection details.resourceId - unmanaged device resource identifier as seen in HPE OneView.unmanagedDevice - object containing the unmanaged device details.UnmanagedDevice containing the unmanaged device updated.public String removeUnmanagedDevice(RestParams params, String resourceId)
UnmanagedDeviceClientUnmanagedDevice identified by the given resource identifier.removeUnmanagedDevice in interface UnmanagedDeviceClientparams - structure containing the connection details.resourceId - unmanaged device resource identifier as seen in HPE OneView.public TaskResourceV2 removeUnmanagedDeviceByFilter(RestParams params, String filter, boolean aSync)
UnmanagedDeviceClientUnmanagedDevice(s) matching the filter. A filter is required
to identify the set of resources to be removed. The actual removal will proceed
asynchronously. Although, the method can process the request asynchronously or
synchronously, based on the aSync flag input.removeUnmanagedDeviceByFilter in interface UnmanagedDeviceClientparams - structure containing the connection details.filter - A general filter/query string that narrows the list of resources.aSync - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the process.public EnvironmentalConfiguration getEnvironmentalConfiguration(RestParams params, String resourceId)
UnmanagedDeviceClientgetEnvironmentalConfiguration in interface UnmanagedDeviceClientparams - structure containing the connection details.resourceId - unmanaged device resource identifier as seen in HPE OneView.EnvironmentalConfiguration containing the description of the
environmental configuration.public String getId(RestParams params, String name)
UnmanagedDeviceClientgetId in interface UnmanagedDeviceClientparams - structure containing the connection details.name - unmanaged device name as seen in HPE OneView.Copyright © 2016. All rights reserved.