public class PortServiceImpl extends BaseNetworkingServices implements PortService
| Constructor and Description |
|---|
PortServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public 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 Port update(Port port)
update in interface PortServiceport - the port to update