public interface PowerDeliveryDeviceClient extends SearchableResource<PowerDeliveryDevice>, RemovableResource
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
POWER_DEVICE_DISCOVERY_URI |
static String |
POWER_DEVICE_POWER_STATE_URI |
static String |
POWER_DEVICE_REFRESH_STATE_URI |
static String |
POWER_DEVICE_SYNCHRONOUS_URI |
static String |
POWER_DEVICE_UID_STATE_URI |
static String |
POWER_DEVICE_URI |
static String |
POWER_DEVICE_UTILIZATION_URI |
Modifier and Type | Method and Description |
---|---|
TaskResource |
add(ImportPdd resource,
RequestOption... options)
Adds a resource according to the provided
resource object. |
PowerDeliveryDevice |
add(PowerDeliveryDevice resource)
Adds a resource according to the provided
resource object. |
Power |
getPowerState(String resourceId)
Retrieves the power state details for the specified power delivery device.
|
Light |
getUidState(String resourceId)
Retrieves the unit identification (UID) light state details for the specified power delivery device.
|
UtilizationData |
getUtilization(String resourceId)
Retrieves the
UtilizationData details for the specified power delivery device. |
String |
remove(String resourceId)
Removes the resource identified by the provided
resourceId . |
TaskResource |
removeByFilter(String filter,
RequestOption... options)
Removes the
PowerDeliveryDevice (s) matching the filter. |
PowerDeliveryDevice |
update(String resourceId,
PowerDeliveryDevice powerDeliveryDevice)
Updates the resource identified by the
resourceId according to the
provided resource object. |
TaskResource |
updatePowerState(String resourceId,
OutletState outletState,
RequestOption... options)
Updates the power state of the power device identified by the provided resource identifier.
|
TaskResource |
updateRefreshState(String resourceId,
PowerDeliveryDeviceRefreshRequest refreshState,
RequestOption... options)
Updates the refresh state of the power device identified by the provided resource identifier.
|
TaskResource |
updateUidState(String resourceId,
OutletState outletState,
RequestOption... options)
Updates the unit identification (UID) light state of the power device
identified by the provided resource identifier.
|
getByName
get, get, getAll, getAll, getById
remove
static final String POWER_DEVICE_URI
static final String POWER_DEVICE_DISCOVERY_URI
static final String POWER_DEVICE_POWER_STATE_URI
static final String POWER_DEVICE_REFRESH_STATE_URI
static final String POWER_DEVICE_UID_STATE_URI
static final String POWER_DEVICE_UTILIZATION_URI
static final String POWER_DEVICE_SYNCHRONOUS_URI
TaskResource add(ImportPdd resource, RequestOption... options)
resource
object.resource
- object containing the details of the resource that should be added.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
containing the task status for the process.AddableResource.add(Object, RequestOption...)
PowerDeliveryDevice add(PowerDeliveryDevice resource)
resource
object.resource
- object containing the details of the resource that should be added.PowerDeliveryDevice
.PowerDeliveryDevice update(String resourceId, PowerDeliveryDevice powerDeliveryDevice)
resourceId
according to the
provided resource
object.resourceId
- resource identifier as seen in HPE OneView.powerDeliveryDevice
- object containing the details of the resource that should be created.PowerDeliveryDevice
.TaskResource removeByFilter(String filter, RequestOption... options)
PowerDeliveryDevice
(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.String remove(String resourceId)
resourceId
.resourceId
- resource identifier as seen in HPE OneView.String
containing the result of this request.Power getPowerState(String resourceId)
resourceId
- resource identifier as seen in HPE OneView.Power
object containing the details.TaskResource updatePowerState(String resourceId, OutletState outletState, RequestOption... options)
resourceId
- resource identifier as seen in HPE OneView.outletState
- power state of the power delivery device.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
containing the task status for the process.TaskResource updateRefreshState(String resourceId, PowerDeliveryDeviceRefreshRequest refreshState, RequestOption... options)
resourceId
- resource identifier as seen in HPE OneView.refreshState
- refresh state of the power delivery device.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
containing the task status for the process.Light getUidState(String resourceId)
resourceId
- resource identifier as seen in HPE OneView.Light
object containing the details.TaskResource updateUidState(String resourceId, OutletState outletState, RequestOption... options)
resourceId
- resource identifier as seen in HPE OneView.outletState
- identification (UID) light state of the power delivery device.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
containing the task status for the process.UtilizationData getUtilization(String resourceId)
UtilizationData
details for the specified power delivery device.resourceId
- resource identifier as seen in HPE OneView.UtilizationData
object containing the details.Copyright © 2017. All rights reserved.