public interface InterfaceService extends RestService
Modifier and Type | Method and Description |
---|---|
InterfaceAttachment |
create(String serverId,
String portId)
Creates and uses a port interface to attach the port to a server instance.
|
ActionResponse |
detach(String serverId,
String attachmentId)
Detaches a specified port interface
|
InterfaceAttachment |
get(String serverId,
String attachmentId)
Shows information about a specified port interface
|
List<? extends InterfaceAttachment> |
list(String serverId)
List the port interfaces for the specified
serverId |
InterfaceAttachment create(String serverId, String portId)
serverId
- the server idportId
- the port id to attachList<? extends InterfaceAttachment> list(String serverId)
serverId
serverId
- the server idInterfaceAttachment get(String serverId, String attachmentId)
serverId
- the server idattachmentId
- the attachment identifierActionResponse detach(String serverId, String attachmentId)
serverId
- the server idattachmentId
- the attachment identifierCopyright © 2017. All rights reserved.