public class PortServiceImpl extends BaseNetworkingServices implements PortService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
PortServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Port> |
create(List<? extends Port> ports)
Creates new Ports
|
Port |
create(Port port)
Creates a new Port
|
ActionResponse |
delete(String portId)
Delete a Port by ID
|
Port |
get(String portId)
Gets the Port by ID
|
List<? extends Port> |
list()
Lists all Ports authorized by the current Tenant
|
List<? extends Port> |
list(PortListOptions options)
Lists all Ports authorized by the current Tenant
|
Port |
update(Port port)
Updates an existing Port.
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Port> list()
list in interface PortServicepublic List<? extends Port> list(PortListOptions options)
PortServicelist in interface PortServiceoptions - filtering optionspublic Port get(String portId)
get in interface PortServiceportId - the port identifierpublic ActionResponse delete(String portId)
delete in interface PortServiceportId - the port identifier to deletepublic Port create(Port port)
create in interface PortServiceport - the port to createpublic List<? extends Port> create(List<? extends Port> ports)
create in interface PortServiceports - the ports to createpublic Port update(Port port)
update in interface PortServiceport - the port to updateCopyright © 2017. All rights reserved.