public class BackendVmResource extends AbstractBackendActionableResource<VM,VM> implements VmResource
| Modifier and Type | Class and Description |
|---|---|
protected class |
BackendVmResource.UpdateParametersProvider |
AbstractBackendSubResource.ParametersProvider<R,Q>AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolverBaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultExceptionguid, id, STRICTLY_IMMUTABLEACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollectionsbackend, httpHeaders, LOG, messageBundle, sessionHelper, uriInfo| Constructor and Description |
|---|
BackendVmResource(String id,
BackendVmsResource parent) |
actionAsync, actionFailure, actionStatus, actionSuccess, awaitGrace, doAction, expectBlocking, getHostId, getHostId, handleErrorgetEntity, getStrictlyImmutable, performGet, performGet, performUpdate, performUpdate, validateUpdateaddLinks, addLinks, addLinks, addLinks, addOrUpdateLink, addParents, asCollection, asGuidOr404, asString, awaitCompletion, delay, entityNotFound, getAsynchronousStatus, getMapper, getMappingLocator, getQueryParams, incomplete, inject, injectSearchLinks, linkSubCollections, linkSubResource, map, map, map, map, newModel, notFound, notFound, removeIfExist, setMappingLocator, urlEncodedoAction, doGetEntity, doNonBlockingAction, expectNonBlocking, getBackendCollection, getConfigurationValue, getEntity, getEntity, getEntity, performAction, performAction, performNonBlockingActionasCollection, asGuid, asGuid, combine, fault, getBackend, getCurrent, getEffectiveLocale, getHttpHeaders, getMessageBundle, getSessionHelper, getUriInfo, handleError, handleError, instantiate, localize, localize, localize, sessionize, sessionize, setBackend, setHttpHeaders, setMessageBundle, setSessionHelper, setUriInfo, validateEnum, validateParameters, validateParameterspublic BackendVmResource(String id, BackendVmsResource parent)
public VM get()
get in interface UpdatableResource<VM>public VM update(VM incoming)
update in interface UpdatableResource<VM>public DevicesResource<CdRom,CdRoms> getCdRomsResource()
getCdRomsResource in interface VmResourcepublic DevicesResource<Disk,Disks> getDisksResource()
getDisksResource in interface VmResourcepublic DevicesResource<NIC,Nics> getNicsResource()
getNicsResource in interface VmResourcepublic SnapshotsResource getSnapshotsResource()
getSnapshotsResource in interface VmResourcepublic AssignedTagsResource getTagsResource()
getTagsResource in interface VmResourcepublic AssignedPermissionsResource getPermissionsResource()
getPermissionsResource in interface VmResourcepublic CreationResource getCreationSubresource(String ids)
getCreationSubresource in interface AsynchronouslyCreatedResourcepublic ActionResource getActionSubresource(String action, String ids)
getActionSubresource in interface VmResourcegetActionSubresource in class AbstractBackendActionableResource<VM,VM>public StatisticsResource getStatisticsResource()
getStatisticsResource in interface MeasurableResourcepublic javax.ws.rs.core.Response migrate(Action action)
migrate in interface VmResourcepublic javax.ws.rs.core.Response shutdown(Action action)
shutdown in interface VmResourcepublic javax.ws.rs.core.Response start(Action action)
start in interface VmResourcepublic javax.ws.rs.core.Response stop(Action action)
stop in interface VmResourcepublic javax.ws.rs.core.Response suspend(Action action)
suspend in interface VmResourcepublic javax.ws.rs.core.Response detach(Action action)
detach in interface VmResourcepublic javax.ws.rs.core.Response export(Action action)
export in interface VmResourcepublic javax.ws.rs.core.Response move(Action action)
move in interface VmResourcepublic javax.ws.rs.core.Response ticket(Action action)
ticket in interface VmResourceprotected int getTicketExpiry(Action action)
protected RunVmOnceParams map(VM vm, RunVmOnceParams params)
protected VM populate(VM model, VM entity)
populate in class AbstractBackendResource<VM,VM>public javax.ws.rs.core.Response cancelMigration(Action action)
cancelMigration in interface VmResourceCopyright © 2012. All Rights Reserved.