public class PowerDeliveryDeviceClientImpl extends Object implements PowerDeliveryDeviceClient
| Modifier and Type | Method and Description |
|---|---|
PowerDeliveryDevice |
addPowerDeliveryDevice(RestParams params,
PowerDeliveryDevice powerDeliveryDeviceDto,
boolean aSync)
The module aids in the inclusion of a power delivery device when provided
with the power delivery device details as a PowerDeliveryDevice object.
|
TaskResourceV2 |
addPowerDeliveryDeviceByDiscover(RestParams params,
ImportPdd importPddDto,
boolean aSync)
The module aids in the inclusion of an HPE iPDU and bring all components
under management by discovery of its management module.
|
ResourceCollection<PowerDeliveryDevice> |
getAllPowerDeliveryDevices(RestParams params)
The module aids in fetching the power delivery device details for all the
power delivery devices found under the current HPE OneView.
|
static PowerDeliveryDeviceClient |
getClient() |
PowerDeliveryDevice |
getPowerDeliveryDeviceById(RestParams params,
String resourceId)
The module aids in fetching the power delivery device details for the
specified power delivery device resource identifier.
|
PowerDeliveryDevice |
getPowerDeliveryDeviceByName(RestParams params,
String name)
The module aids in fetching the power delivery device details for the
power delivery device name as specified in HPE OneView.
|
Power |
getPowerDeliveryDevicePowerState(RestParams params,
String resourceId)
The module aids in fetching the power state for the specified power
delivery device resource identifier.
|
Light |
getPowerDeliveryDeviceUidState(RestParams params,
String resourceId)
The module aids in fetching the unit identification (UID) state (on, off,
unknown) of the specified power outlet or extension bar resource.
|
UtilizationData |
getPowerDeliveryDeviceUtilization(RestParams params,
String resourceId)
The module aids in fetching the power delivery device utilization details
for the specified power delivery device resource identifier.
|
TaskResourceV2 |
removePowerDeliveryDevice(RestParams params,
String resourceId,
boolean aSync)
The module aids in deleting a power delivery device for the specified
power delivery device resource identifier.
|
TaskResourceV2 |
removePowerDeliveryDeviceByFilter(RestParams params,
String filter,
boolean aSync)
This module aids in deleting all power delivery device objects from the
appliance that match the provided filter.
|
String |
removePowerDeliveryDeviceSynchronously(RestParams params,
String resourceId)
The module aids in deleting a power delivery device for the specified
power delivery device resource identifier synchronously.
|
PowerDeliveryDevice |
updatePowerDeliveryDevice(RestParams params,
String resourceId,
PowerDeliveryDevice powerDeliveryDeviceDto,
boolean aSync)
The module takes in a PowerDeliveryDevice object and updates the existing
power delivery device based on the resource identifier.
|
TaskResourceV2 |
updatePowerDeliveryDevicePowerState(RestParams params,
String resourceId,
OutletState outletStateDto,
boolean aSync)
The module takes in a OutletState object and updates the power state of
the power delivery device based on the resource identifier.
|
TaskResourceV2 |
updatePowerDeliveryDeviceRefreshState(RestParams params,
String resourceId,
PowerDeliveryDeviceRefreshRequest powerDeliveryDeviceRefreshRequestDto,
boolean aSync)
The module takes in a PowerDeliveryDeviceRefreshRequest object and
updates the refresh state of the power delivery device based on the
resource identifier.
|
TaskResourceV2 |
updatePowerDeliveryDeviceUidState(RestParams params,
String resourceId,
OutletState outletStateDto,
boolean aSync)
The module takes in a OutletState object and updates the unit
identification (UID) light state of the specified power delivery device.
|
public static PowerDeliveryDeviceClient getClient()
public PowerDeliveryDevice getPowerDeliveryDeviceById(RestParams params, String resourceId)
PowerDeliveryDeviceClientgetPowerDeliveryDeviceById in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.PowerDeliveryDevice containing the power delivery device
details.public ResourceCollection<PowerDeliveryDevice> getAllPowerDeliveryDevices(RestParams params)
PowerDeliveryDeviceClientgetAllPowerDeliveryDevices in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.ResourceCollection<PowerDeliveryDevice>
containing the details for all found power delivery devices.public PowerDeliveryDevice getPowerDeliveryDeviceByName(RestParams params, String name)
PowerDeliveryDeviceClientgetPowerDeliveryDeviceByName in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.name - The resourceName is the power delivery device name as seen in
HPE OneView.PowerDeliveryDevice containing the power delivery device details.public PowerDeliveryDevice addPowerDeliveryDevice(RestParams params, PowerDeliveryDevice powerDeliveryDeviceDto, boolean aSync)
PowerDeliveryDeviceClientaddPowerDeliveryDevice in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.powerDeliveryDeviceDto - Object containing the power delivery device details, used to
create a power delivery device.aSync - Flag input to process request asynchronously or synchronously.PowerDeliveryDevice the power delivery device resource as
added to the appliance with default and assigned properties
expanded.public TaskResourceV2 addPowerDeliveryDeviceByDiscover(RestParams params, ImportPdd importPddDto, boolean aSync)
PowerDeliveryDeviceClientaddPowerDeliveryDeviceByDiscover in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.importPddDto - Object containing the power delivery device connection
details.aSync - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the
process.public PowerDeliveryDevice updatePowerDeliveryDevice(RestParams params, String resourceId, PowerDeliveryDevice powerDeliveryDeviceDto, boolean aSync)
PowerDeliveryDeviceClientupdatePowerDeliveryDevice in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.powerDeliveryDeviceDto - Object containing the power delivery device details, used to
update a power delivery device.aSync - Flag input to process request asynchronously or synchronously.PowerDeliveryDevice containing the updated power delivery
device information.public TaskResourceV2 removePowerDeliveryDevice(RestParams params, String resourceId, boolean aSync)
PowerDeliveryDeviceClientremovePowerDeliveryDevice in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.aSync - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the
process.public TaskResourceV2 removePowerDeliveryDeviceByFilter(RestParams params, String filter, boolean aSync)
PowerDeliveryDeviceClientremovePowerDeliveryDeviceByFilter in interface PowerDeliveryDeviceClientparams - The RestParams is a 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 String removePowerDeliveryDeviceSynchronously(RestParams params, String resourceId)
PowerDeliveryDeviceClientremovePowerDeliveryDeviceSynchronously in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.TaskResourceV2 containing the task status for the
process.public Power getPowerDeliveryDevicePowerState(RestParams params, String resourceId)
PowerDeliveryDeviceClientgetPowerDeliveryDevicePowerState in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.Power representing the power state of the power delivery
device.public TaskResourceV2 updatePowerDeliveryDevicePowerState(RestParams params, String resourceId, OutletState outletStateDto, boolean aSync)
PowerDeliveryDeviceClientupdatePowerDeliveryDevicePowerState in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.outletStateDto - Object containing the power state of the power delivery
device.aSync - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the
process.public TaskResourceV2 updatePowerDeliveryDeviceRefreshState(RestParams params, String resourceId, PowerDeliveryDeviceRefreshRequest powerDeliveryDeviceRefreshRequestDto, boolean aSync)
PowerDeliveryDeviceClientupdatePowerDeliveryDeviceRefreshState in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.powerDeliveryDeviceRefreshRequestDto - Object containing the refresh state of the power delivery
device.aSync - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the
process.public Light getPowerDeliveryDeviceUidState(RestParams params, String resourceId)
PowerDeliveryDeviceClientgetPowerDeliveryDeviceUidState in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.Light representing the UID state of the power delivery
device.public TaskResourceV2 updatePowerDeliveryDeviceUidState(RestParams params, String resourceId, OutletState outletStateDto, boolean aSync)
PowerDeliveryDeviceClientupdatePowerDeliveryDeviceUidState in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.outletStateDto - Object containing the identification (UID) light state of the
power delivery device.aSync - Flag input to process request asynchronously or synchronously.TaskResourceV2 containing the task status for the
process.public UtilizationData getPowerDeliveryDeviceUtilization(RestParams params, String resourceId)
PowerDeliveryDeviceClientgetPowerDeliveryDeviceUtilization in interface PowerDeliveryDeviceClientparams - The RestParams is a structure containing the
connection details.resourceId - The resource identifier for power delivery device as seen in
HPE OneView.UtilizationData containing the utilization information.Copyright © 2016. All rights reserved.