public class ShareInstanceServiceImpl extends BaseShareServices implements ShareInstanceService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
ShareInstanceServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ActionResponse |
forceDelete(String shareInstanceId)
Administrator only.
|
ShareInstance |
get(String shareInstanceId)
Shows details for a share instance.
|
List<? extends ShareInstance> |
list()
Lists all share instances.
|
ActionResponse |
resetState(String shareInstanceId,
ShareInstance.Status status)
Administrator only.
|
getApiVersionHeader
delete, deleteWithResponse, get, head, patch, post, put, request
getProvider, getServiceVersion, getXOpenstackRequestId, patchWithResponse, postWithResponse, toList, uri
public List<? extends ShareInstance> list()
ShareInstanceService
list
in interface ShareInstanceService
public ShareInstance get(String shareInstanceId)
ShareInstanceService
get
in interface ShareInstanceService
shareInstanceId
- the share instance IDpublic ActionResponse resetState(String shareInstanceId, ShareInstance.Status status)
ShareInstanceService
resetState
in interface ShareInstanceService
shareInstanceId
- the share instance IDstatus
- the status to setpublic ActionResponse forceDelete(String shareInstanceId)
ShareInstanceService
forceDelete
in interface ShareInstanceService
shareInstanceId
- the share instance IDCopyright © 2017. All rights reserved.