public class NetworkServiceImpl extends BaseNetworkingServices implements NetworkService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
NetworkServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Network |
create(Network network)
Creates a new Network
|
ActionResponse |
delete(String networkId)
Deletes a specified network and its associated resources
|
Network |
get(String networkId)
Gets the network by ID
|
List<? extends Network> |
list()
Lists the networks to which the current authorized tenant has access
|
List<? extends Network> |
list(Map<String,String> filteringParams) |
Network |
update(String networkId,
NetworkUpdate network)
Updates a network associated by the specified
networkId |
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Network> list(Map<String,String> filteringParams)
list in interface NetworkServicefilteringParams - map (name, value) of filtering parameterspublic List<? extends Network> list()
list in interface NetworkServicepublic ActionResponse delete(String networkId)
delete in interface NetworkServicenetworkId - the network identifierpublic Network get(String networkId)
NetworkServiceget in interface NetworkServicenetworkId - the network identifierpublic Network create(Network network)
NetworkServicecreate in interface NetworkServicenetwork - the network to createpublic Network update(String networkId, NetworkUpdate network)
NetworkServicenetworkIdupdate in interface NetworkServicenetworkId - the network identifiernetwork - the network options to update (see Builders.networkUpdate()Copyright © 2017. All rights reserved.