public interface DuracloudInstanceManagerService
| Modifier and Type | Method and Description |
|---|---|
DuracloudInstanceService |
createInstance(Long accountId,
String version,
org.duracloud.account.db.model.InstanceType instanceType)
Starts a new instance for the given account based on the given
DuraCloud software version
|
DuracloudInstanceService |
getInstanceService(Long instanceId)
Retrieves the DuraCloud instance with the given ID wrapped in a class
which provides services on the instance.
|
Set<DuracloudInstanceService> |
getInstanceServices(Long accountId)
Retrieves the Set of DuraCloud instances associated with a given account,
wrapped in a class which provides services on the instances.
|
String |
getLatestVersion()
Retrieves the latest DuraCloud version
|
Set<String> |
getVersions()
Retrieves all of the active DuraCloud versions
|
@Secured(value="role:ROLE_ADMIN, scope:SELF_ACCT") DuracloudInstanceService createInstance(Long accountId, String version, org.duracloud.account.db.model.InstanceType instanceType)
instanceType - @Secured(value="role:ROLE_USER, scope:ANY") Set<String> getVersions()
@Secured(value="role:ROLE_USER, scope:ANY") String getLatestVersion()
@Secured(value="role:ROLE_USER, scope:ANY") DuracloudInstanceService getInstanceService(Long instanceId) throws DuracloudInstanceNotAvailableException
DuracloudInstanceNotAvailableException@Secured(value="role:ROLE_ANONYMOUS, scope:ANY") Set<DuracloudInstanceService> getInstanceServices(Long accountId)
accountId - Copyright © 2009–2015 DuraSpace. All rights reserved.