public interface NetworkService extends RestService
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 |
List<? extends Network> list(Map<String,String> filteringParams)
filteringParams
- map (name, value) of filtering parametersList<? extends Network> list()
Network get(String networkId)
networkId
- the network identifierNetwork update(String networkId, NetworkUpdate network)
networkId
networkId
- the network identifiernetwork
- the network options to update (see Builders.networkUpdate()
ActionResponse delete(String networkId)
networkId
- the network identifierCopyright © 2017. All rights reserved.