public interface 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. |
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. |
UnmanagedDevice getUnmanagedDevice(RestParams params, String resourceId)
UnmanagedDevice
details for the specified
unmanaged device.params
- structure containing the connection details.resourceId
- unmanaged device resource identifier as seen in HPE OneView.UnmanagedDevice
object containing the details.ResourceCollection<UnmanagedDevice> getAllUnmanagedDevices(RestParams params)
ResourceCollection
<UnmanagedDevice
> containing details
for all the available unmanaged devices found under the current HPE OneView.params
- structure containing the connection details.ResourceCollection
<UnmanagedDevice
> containing
the details for all found unmanaged devices.UnmanagedDevice getUnmanagedDeviceByName(RestParams params, String name)
UnmanagedDevice
details for the specified
unmanaged device identified by name.params
- structure containing the connection details.name
- unmanaged device name as seen in HPE OneView.UnmanagedDevice
object containing the details.UnmanagedDevice addUnmanagedDevice(RestParams params, UnmanagedDevice unmanagedDevice)
UnmanagedDevice
object.params
- structure containing the connection details.unmanagedDevice
- object containing the unmanaged device details.UnmanagedDevice
containing the added unmanaged device.UnmanagedDevice updateUnmanagedDevice(RestParams params, String resourceId, UnmanagedDevice unmanagedDevice)
UnmanagedDevice
identified by the given resource identifier.params
- 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.String removeUnmanagedDevice(RestParams params, String resourceId)
UnmanagedDevice
identified by the given resource identifier.params
- structure containing the connection details.resourceId
- unmanaged device resource identifier as seen in HPE OneView.TaskResourceV2 removeUnmanagedDeviceByFilter(RestParams params, String filter, boolean aSync)
UnmanagedDevice
(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.params
- 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.EnvironmentalConfiguration getEnvironmentalConfiguration(RestParams params, String resourceId)
params
- structure containing the connection details.resourceId
- unmanaged device resource identifier as seen in HPE OneView.EnvironmentalConfiguration
containing the description of the
environmental configuration.String getId(RestParams params, String name)
params
- structure containing the connection details.name
- unmanaged device name as seen in HPE OneView.Copyright © 2016. All rights reserved.