public class InterfaceServiceImpl extends BaseComputeServices implements InterfaceService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
InterfaceServiceImpl() |
| 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 |
invokeAction, invokeActionWithResponsedelete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic InterfaceAttachment create(String serverId, String portId)
InterfaceServicecreate in interface InterfaceServiceserverId - the server idportId - the port id to attachpublic List<? extends InterfaceAttachment> list(String serverId)
InterfaceServiceserverIdlist in interface InterfaceServiceserverId - the server idpublic InterfaceAttachment get(String serverId, String attachmentId)
InterfaceServiceget in interface InterfaceServiceserverId - the server idattachmentId - the attachment identifierpublic ActionResponse detach(String serverId, String attachmentId)
InterfaceServicedetach in interface InterfaceServiceserverId - the server idattachmentId - the attachment identifierCopyright © 2017. All rights reserved.