public class BackendDataCenterResource extends AbstractBackendSubResource<DataCenter,storage_pool> implements DataCenterResource
Modifier and Type | Class and Description |
---|---|
protected class |
BackendDataCenterResource.UpdateParametersProvider |
AbstractBackendSubResource.ParametersProvider<R,Q>
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
guid, id, STRICTLY_IMMUTABLE
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, LOG, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendDataCenterResource(String id,
BackendDataCentersResource parent) |
Modifier and Type | Method and Description |
---|---|
DataCenter |
get() |
AttachedStorageDomainsResource |
getAttachedStorageDomainsResource() |
BackendDataCentersResource |
getParent() |
AssignedPermissionsResource |
getPermissionsResource() |
static storage_pool |
getStoragePool(Cluster cluster,
AbstractBackendResource parent)
Get the storage pool (i.e.
|
static List<storage_pool> |
getStoragePools(Guid storageDomainId,
AbstractBackendResource parent)
Get the storage pools (i.e.
|
protected DataCenter |
populate(DataCenter model,
storage_pool entity) |
DataCenter |
update(DataCenter incoming) |
getEntity, getStrictlyImmutable, performGet, performGet, performUpdate, performUpdate, validateUpdate
addLinks, 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, urlEncode
doAction, doGetEntity, doNonBlockingAction, expectNonBlocking, getBackendCollection, getConfigurationValue, getEntity, getEntity, getEntity, performAction, performAction, performNonBlockingAction
asCollection, 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, validateParameters
public BackendDataCenterResource(String id, BackendDataCentersResource parent)
public DataCenter get()
get
in interface UpdatableResource<DataCenter>
public DataCenter update(DataCenter incoming)
update
in interface UpdatableResource<DataCenter>
public AssignedPermissionsResource getPermissionsResource()
getPermissionsResource
in interface DataCenterResource
public AttachedStorageDomainsResource getAttachedStorageDomainsResource()
getAttachedStorageDomainsResource
in interface DataCenterResource
public BackendDataCentersResource getParent()
protected DataCenter populate(DataCenter model, storage_pool entity)
populate
in class AbstractBackendResource<DataCenter,storage_pool>
public static storage_pool getStoragePool(Cluster cluster, AbstractBackendResource parent)
public static List<storage_pool> getStoragePools(Guid storageDomainId, AbstractBackendResource parent)
Copyright © 2012. All Rights Reserved.