public interface InterconnectClient extends SearchableResource<Interconnect>, PatchableResource
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
INTERCONNECT_NAME_SERVERS_URI |
static String |
INTERCONNECT_PORTS_URI |
static String |
INTERCONNECT_RESET_PORT_PROTECTION_URI |
static String |
INTERCONNECT_STATISTICS_URI |
static String |
INTERCONNECT_SUBPORT_URI |
static String |
INTERCONNECT_UPDATE_PORTS_URI |
static String |
INTERCONNECT_URI |
Modifier and Type | Method and Description |
---|---|
List<NameServer> |
getNamedServers(String resourceId)
Retrieves the named servers for an interconnect found under the current HPE OneView.
|
Port |
getPort(String resourceId,
String portId)
Retrieves the port of an interconnect for the specified
interconnect resource identifier and portId.
|
ResourceCollection<Port> |
getPorts(String resourceId)
Retrieves the collection of ports of an interconnect
for the specified interconnect resource identifier.
|
PortStatistics |
getPortStatistics(String resourceId,
String portName)
Retrieves the statistics of an interconnect port for the specified
interconnect resource identifier and port name.
|
InterconnectsStatistics |
getStatistics(String resourceId)
Retrieve the statistics of an interconnect for the specified
interconnect resource identifier.
|
SubportStatistics |
getSubportStatistics(String resourceId,
String portName,
int subportName)
Retrieves the statistics of an interconnect subport for the specified
interconnect resource identifier, port name, and subport number.
|
TaskResource |
resetPortProtection(String resourceId,
RequestOption... options)
Triggers a reset of the interconnect port protection.
|
TaskResource |
updatePort(String resourceId,
Port port,
RequestOption... options)
The module takes in a
Port object and updates the existing
interconnect port based on the resource identifier. |
TaskResource |
updatePorts(String resourceId,
List<Port> ports,
RequestOption... options)
|
getByName
get, get, getAll, getAll, getById
patch
static final String INTERCONNECT_URI
static final String INTERCONNECT_NAME_SERVERS_URI
static final String INTERCONNECT_PORTS_URI
static final String INTERCONNECT_RESET_PORT_PROTECTION_URI
static final String INTERCONNECT_STATISTICS_URI
static final String INTERCONNECT_SUBPORT_URI
static final String INTERCONNECT_UPDATE_PORTS_URI
TaskResource updatePort(String resourceId, Port port, RequestOption... options)
Port
object and updates the existing
interconnect port based on the resource identifier.resourceId
- resource identifier for interconnect as seen in HPE OneView.port
- containing the interconnect port details, used to update a interconnect port.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
containing the task status for the process.TaskResource updatePorts(String resourceId, List<Port> ports, RequestOption... options)
List
<Port
> object and updates the existing
interconnect ports based on the resource identifier.resourceId
- resource identifier for interconnect as seen in HPE OneView.ports
- containing the interconnect ports details, used to update the interconnect ports.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
containing the task status for the process.TaskResource resetPortProtection(String resourceId, RequestOption... options)
resourceId
- resource identifier for interconnect 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.ResourceCollection<Port> getPorts(String resourceId)
resourceId
- resource identifier for interconnect as seen in HPE OneViewResourceCollection
<Port
> containing the interconnect port detailsPort getPort(String resourceId, String portId)
resourceId
- resource identifier for interconnect as seen in HPE OneViewportId
- id of the interconnect port as seen in HPE OneViewPort
containing the interconnect port detailsInterconnectsStatistics getStatistics(String resourceId)
resourceId
- resource identifier for interconnect as seen in HPE OneView.InterconnectsStatistics
containing the interconnect statistics details.PortStatistics getPortStatistics(String resourceId, String portName)
resourceId
- resource identifier for interconnect as seen in HPE OneView.portName
- name of the port as seen in HPE OneViewPortStatistics
containing the statistics of an interconnect port details.SubportStatistics getSubportStatistics(String resourceId, String portName, int subportName)
resourceId
- resource identifier for interconnect as seen in HPE OneView.portName
- name of the port as seen in HPE OneViewsubportName
- number of the subport as seen in HPE OneViewSubportStatistics
containing the statistics of an interconnect subport details.List<NameServer> getNamedServers(String resourceId)
resourceId
- resource identifier for interconnect as seen in HPE OneView.List
<NameServer
> containing the name servers
for the specified interconnect.Copyright © 2017. All rights reserved.