public interface SwitchClient extends SearchableResource<Switch>, AddableResource<Switch>, UpdatableResource<Switch>, RemovableResource, PatchableResource
| Modifier and Type | Interface and Description |
|---|---|
static class |
SwitchClient.SwitchRefreshRequestInterceptor |
SearchableResource.GetByNameRequestInterceptor| Modifier and Type | Field and Description |
|---|---|
static Object |
EMPTY_OBJECT_BODY |
static String |
SWITCHES_ENVIRONMENT_CONFIGURATION_URI |
static String |
SWITCHES_REFRESH_URI |
static String |
SWITCHES_STATISTICS_URI |
static String |
SWITCHES_UPDATE_PORTS_URI |
static String |
SWITCHES_URI |
| Modifier and Type | Method and Description |
|---|---|
EnvironmentalConfiguration |
getEnvironmentalConfiguration(String resourceId)
Retrieves the environmental configuration for the specified switch.
|
SwitchPortStatistics |
getPortStatistics(String resourceId,
String portName)
Retrieves the statistics for the specified switch port.
|
SwitchStatistics |
getStatistics(String resourceId)
Retrieves the statistics for the specified switch.
|
TaskResource |
refresh(String resourceId,
RequestOption... options)
Requests a refresh for the specified switch.
|
TaskResource |
updatePorts(String resourceId,
List<Port> ports,
RequestOption... options)
|
getByNameget, get, getAll, getAll, getByIdaddupdateremovepatchstatic final String SWITCHES_URI
static final String SWITCHES_ENVIRONMENT_CONFIGURATION_URI
static final String SWITCHES_REFRESH_URI
static final String SWITCHES_STATISTICS_URI
static final String SWITCHES_UPDATE_PORTS_URI
static final Object EMPTY_OBJECT_BODY
TaskResource refresh(String resourceId, RequestOption... options)
resourceId - switch resource identifier as seen in HPE OneView.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 - switch resource identifier as seen in HPE OneView.EnvironmentalConfiguration object containing the
environment configuration for the switch.SwitchStatistics getStatistics(String resourceId)
resourceId - switch resource identifier as seen in HPE OneView.SwitchStatistics object containing the the statistics for
the switch.SwitchPortStatistics getPortStatistics(String resourceId, String portName)
resourceId - switch resource identifier as seen in HPE OneView.portName - port name for which the statistics data should be retrieved.SwitchPortStatistics object containing the the statistics for
the switch port.TaskResource updatePorts(String resourceId, List<Port> ports, RequestOption... options)
List<Port> object and updates
the existing switch ports based on the resource identifier.resourceId - switch resource identifier as seen in HPE OneView.ports - containing the switch ports details, used to update the switch
ports.options - varargs of RequestOption, which can be used to specify
some request options.TaskResource containing the task status for the
process.Copyright © 2016. All rights reserved.