Class NovaServerActionsService
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.compute.internal.BaseComputeServices
-
- org.openstack4j.openstack.compute.internal.NovaServerActionsService
-
- All Implemented Interfaces:
ServerActionsService,RestService
public class NovaServerActionsService extends BaseComputeServices implements ServerActionsService
This class implements some methods for manipulation ofServerActionobjects. The non-exhaustive list of methods is oriented along https://docs.openstack.org/api-ref/compute/index.html#list-actions-for-server- Author:
- sujit sah
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description NovaServerActionsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends ServerAction>list(String serverId)Gets a list of currently existingServerActions for a specified server.ServerActionshow(String serverId, String requestId)Gets the server action associated with specific request id for the specified server-
Methods inherited from class org.openstack4j.openstack.compute.internal.BaseComputeServices
invokeAction, invokeActionWithResponse
-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends ServerAction> list(String serverId)
Description copied from interface:ServerActionsServiceGets a list of currently existingServerActions for a specified server.- Specified by:
listin interfaceServerActionsService- Parameters:
serverId- the id of server- Returns:
- the list of
ServerActions
-
show
public ServerAction show(String serverId, String requestId)
Description copied from interface:ServerActionsServiceGets the server action associated with specific request id for the specified server- Specified by:
showin interfaceServerActionsService- Parameters:
serverId- the id of server- Returns:
- the server action detail
-
-