Package org.openstack4j.api.manila
Interface ShareInstanceService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
ShareInstanceServiceImpl
public interface ShareInstanceService extends RestService
Share Instance Service for Manila Shared Filesystems.- Author:
- Daniel Gonzalez Nothnagel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActionResponseforceDelete(String shareInstanceId)Administrator only.ShareInstanceget(String shareInstanceId)Shows details for a share instance.List<? extends ShareInstance>list()Lists all share instances.ActionResponseresetState(String shareInstanceId, ShareInstance.Status status)Administrator only.
-
-
-
Method Detail
-
list
List<? extends ShareInstance> list()
Lists all share instances.- Returns:
- a list of all share instances
-
get
ShareInstance get(String shareInstanceId)
Shows details for a share instance.- Parameters:
shareInstanceId- the share instance ID- Returns:
- the share instance or null if not found
-
resetState
ActionResponse resetState(String shareInstanceId, ShareInstance.Status status)
Administrator only. Explicitly updates the state of a share instance.- Parameters:
shareInstanceId- the share instance IDstatus- the status to set- Returns:
- the action response
-
forceDelete
ActionResponse forceDelete(String shareInstanceId)
Administrator only. Force-deletes a share instance.- Parameters:
shareInstanceId- the share instance ID- Returns:
- the action response
-
-