public interface LogicalSwitchGroupClient
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.
|
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. |
LogicalSwitchGroup getLogicalSwitchGroup(RestParams params, String resourceId)
LogicalSwitchGroup
details for the specified
logical switch group resource identifier.params
- structure containing the connection details.resourceId
- logical switch group identifier as seen in HPE OneView.LogicalSwitchGroup
object containing the details.LogicalSwitchGroup getLogicalSwitchGroupByName(RestParams params, String name)
LogicalSwitchGroup
details for the specified
logical switch group name.params
- structure containing the connection details.name
- logical switch group name as seen in HPE OneView.LogicalSwitchGroup
object containing the details.LogicalSwitchGroupCollection getAllLogicalSwitchGroups(RestParams params)
params
- structure containing the connection details.LogicalSwitchGroupCollection
object containing the details
for all the logical switch groups found in HPE OneView.TaskResourceV2 createLogicalSwitchGroup(RestParams params, LogicalSwitchGroup logicalSwitchGroup, boolean aSync)
LogicalSwitchGroup
object. The request can be processed asynchronously or synchronously.params
- 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.TaskResourceV2 updateLogicalSwitchGroup(RestParams params, String resourceId, LogicalSwitchGroup logicalSwitchGroup, boolean aSync)
LogicalSwitchGroup
object. The request can be processed asynchronously or synchronously.params
- 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.TaskResourceV2 deleteLogicalSwitchGroup(RestParams params, String resourceId, boolean aSync)
params
- 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.String getId(RestParams params, String name)
params
- structure containing the connection details.name
- logical switch group name as seen in HPE OneView.Copyright © 2016. All rights reserved.