public class LogicalSwitchGroupClientImpl extends Object implements LogicalSwitchGroupClient
| Constructor and Description |
|---|
LogicalSwitchGroupClientImpl(HttpRestClient restClient,
ResourceAdaptor adaptor,
TaskMonitorManager taskMonitor) |
| Modifier and Type | Method and Description |
|---|---|
TaskResourceV2 |
createLogicalSwitchGroup(RestParams params,
LogicalSwitchGroup logicalSwitchGroup,
boolean aSync)
Creates a logical switch group according to the provided
LogicalSwitchGroup
object. |
TaskResourceV2 |
deleteLogicalSwitchGroup(RestParams params,
String resourceId,
boolean aSync)
Deletes a logical switch group identified by the provided resource identifier.
|
LogicalSwitchGroupCollection |
getAllLogicalSwitchGroups(RestParams params)
Retrieves the logical switch group details for all the
logical switch groups under the current HPE OneView.
|
static LogicalSwitchGroupClient |
getClient() |
String |
getId(RestParams params,
String name)
Retrieves the logical switch group resource identifier for the specified
logical switch group name.
|
LogicalSwitchGroup |
getLogicalSwitchGroup(RestParams params,
String resourceId)
Retrieves the
LogicalSwitchGroup details for the specified
logical switch group resource identifier. |
LogicalSwitchGroup |
getLogicalSwitchGroupByName(RestParams params,
String name)
Retrieves the
LogicalSwitchGroup details for the specified
logical switch group name. |
TaskResourceV2 |
updateLogicalSwitchGroup(RestParams params,
String resourceId,
LogicalSwitchGroup logicalSwitchGroup,
boolean aSync)
Updates a logical switch group according to the provided
LogicalSwitchGroup
object. |
public LogicalSwitchGroupClientImpl(HttpRestClient restClient, ResourceAdaptor adaptor, TaskMonitorManager taskMonitor)
public static LogicalSwitchGroupClient getClient()
public LogicalSwitchGroup getLogicalSwitchGroup(RestParams params, String resourceId)
LogicalSwitchGroupClientLogicalSwitchGroup details for the specified
logical switch group resource identifier.getLogicalSwitchGroup in interface LogicalSwitchGroupClientparams - structure containing the connection details.resourceId - logical switch group identifier as seen in HPE OneView.LogicalSwitchGroup object containing the details.public LogicalSwitchGroup getLogicalSwitchGroupByName(RestParams params, String name)
LogicalSwitchGroupClientLogicalSwitchGroup details for the specified
logical switch group name.getLogicalSwitchGroupByName in interface LogicalSwitchGroupClientparams - structure containing the connection details.name - logical switch group name as seen in HPE OneView.LogicalSwitchGroup object containing the details.public LogicalSwitchGroupCollection getAllLogicalSwitchGroups(RestParams params)
LogicalSwitchGroupClientgetAllLogicalSwitchGroups in interface LogicalSwitchGroupClientparams - structure containing the connection details.LogicalSwitchGroupCollection object containing the details
for all the logical switch groups found in HPE OneView.public TaskResourceV2 createLogicalSwitchGroup(RestParams params, LogicalSwitchGroup logicalSwitchGroup, boolean aSync)
LogicalSwitchGroupClientLogicalSwitchGroup
object. The request can be processed asynchronously or synchronously.createLogicalSwitchGroup in interface LogicalSwitchGroupClientparams - structure containing the connection details.logicalSwitchGroup - object containing the logical switch group details.aSync - flag to indicate whether the request should be
processed asynchronously or synchronously.TaskResourceV2 containing the task status for the process.public TaskResourceV2 updateLogicalSwitchGroup(RestParams params, String resourceId, LogicalSwitchGroup logicalSwitchGroup, boolean aSync)
LogicalSwitchGroupClientLogicalSwitchGroup
object. The request can be processed asynchronously or synchronously.updateLogicalSwitchGroup in interface LogicalSwitchGroupClientparams - structure containing the connection details.resourceId - logical switch group identifier as seen in HPE OneView.logicalSwitchGroup - object containing the logical switch group details.aSync - flag to indicate whether the request should be
processed asynchronously or synchronously.TaskResourceV2 containing the task status for the process.public TaskResourceV2 deleteLogicalSwitchGroup(RestParams params, String resourceId, boolean aSync)
LogicalSwitchGroupClientdeleteLogicalSwitchGroup in interface LogicalSwitchGroupClientparams - structure containing the connection details.resourceId - logical switch group identifier as seen in HPE OneView.aSync - flag to indicate whether the request should be
processed asynchronously or synchronously.TaskResourceV2 containing the task status for the process.public String getId(RestParams params, String name)
LogicalSwitchGroupClientgetId in interface LogicalSwitchGroupClientparams - structure containing the connection details.name - logical switch group name as seen in HPE OneView.Copyright © 2016. All rights reserved.