public interface UnmanagedDeviceClient extends SearchableResource<UnmanagedDevice>
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
ENVIRONMENT_CONFIGURATION_URI |
static String |
UNMANAGED_DEVICE_URI |
Modifier and Type | Method and Description |
---|---|
UnmanagedDevice |
add(UnmanagedDevice resource)
Adds a resource according to the provided
resource object. |
EnvironmentalConfiguration |
getEnvironmentalConfiguration(String resourceId)
Returns a description of the environmental configuration (supported feature set,
calibrated minimum and maximum power, location and dimensions, etc.) of the resource.
|
String |
remove(String resourceId)
Removes the resource identified by the provided
resourceId . |
TaskResource |
removeByFilter(String filter,
RequestOption... options)
Removes the
UnmanagedDevice (s) matching the filter. |
UnmanagedDevice |
update(String resourceId,
UnmanagedDevice resource)
Updates the resource identified by the
resourceId according to the
provided resource object. |
getByName
static final String UNMANAGED_DEVICE_URI
static final String ENVIRONMENT_CONFIGURATION_URI
UnmanagedDevice add(UnmanagedDevice resource)
resource
object.resource
- object containing the details of the resource that should be added.UnmanagedDevice
task containing the result of this request.UnmanagedDevice update(String resourceId, UnmanagedDevice resource)
resourceId
according to the
provided resource
object.resourceId
- resource identifier as seen in HPE OneView.resource
- object containing the details of the resource that should be created.UnmanagedDevice
object containing the result of this request.String remove(String resourceId)
resourceId
.resourceId
- resource identifier as seen in HPE OneView.String
containing the result of this request.TaskResource removeByFilter(String filter, RequestOption... options)
UnmanagedDevice
(s) matching the filter. A filter is required
to identify the set of resources to be removed. The actual deletion will proceed
asynchronously, although the method can process the request asynchronously or
synchronously based on the TaskTimeout
specified.filter
- A general filter string that narrows the list of resources.options
- varargs
of RequestOption
, which can be used to
specify some request options.TaskResource
containing the task status for the process.EnvironmentalConfiguration getEnvironmentalConfiguration(String resourceId)
resourceId
- unmanaged device resource identifier as seen in HPE OneView.EnvironmentalConfiguration
containing the description of the
environmental configuration.Copyright © 2017. All rights reserved.