public interface PortService extends RestService
| 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.
|
List<? extends Port> list()
List<? extends Port> list(PortListOptions options)
options - filtering optionsPort get(String portId)
portId - the port identifierActionResponse delete(String portId)
portId - the port identifier to deletePort create(Port port)
port - the port to create