public class BackendVmNicsResource extends BackendNicsResource implements DevicesResource<NIC,Nics>
Modifier and Type | Class and Description |
---|---|
protected class |
BackendVmNicsResource.UpdateParametersProvider |
AbstractBackendDevicesResource.DeviceIdResolver
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
addAction, removeAction, updateType
collectionType, parentId, queryParams, queryType
CASE_SENSITIVE_CONSTRAINT_PARAMETER, FROM_CONSTRAINT_PARAMETER, LOG
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendVmNicsResource(Guid parentId) |
Modifier and Type | Method and Description |
---|---|
protected VdcActionParametersBase |
getAddParameters(VmNetworkInterface entity,
NIC nic) |
protected Guid |
getClusterId() |
DeviceResource<NIC> |
getDeviceSubResource(String id)
Sub-resource locator method, returns individual DeviceResource on which the
remainder of the URI is dispatched.
|
protected VdcActionParametersBase |
getRemoveParameters(String id) |
protected AbstractBackendSubResource.ParametersProvider<NIC,VmNetworkInterface> |
getUpdateParametersProvider() |
protected NIC |
populate(NIC model,
VmNetworkInterface entity) |
protected VmNetworkInterface |
setNetwork(NIC device,
VmNetworkInterface ni) |
add, getRequiredAddFields, getRequiredUpdateFields, list, lookupClusterNetwork, lookupClusterNetwork, matchEntity, matchEntity, setNetworkId
getEntityIdResolver, performRemove
addParents, getList, lookupEntity, mapCollection, validate
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, remove, resolveCreated
addLinks, addLinks, addLinks, addLinks, addOrUpdateLink, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, remove
list
public BackendVmNicsResource(Guid parentId)
protected AbstractBackendSubResource.ParametersProvider<NIC,VmNetworkInterface> getUpdateParametersProvider()
getUpdateParametersProvider
in class AbstractBackendDevicesResource<NIC,Nics,VmNetworkInterface>
protected NIC populate(NIC model, VmNetworkInterface entity)
populate
in class AbstractBackendResource<NIC,VmNetworkInterface>
protected VdcActionParametersBase getAddParameters(VmNetworkInterface entity, NIC nic)
getAddParameters
in class AbstractBackendDevicesResource<NIC,Nics,VmNetworkInterface>
protected VdcActionParametersBase getRemoveParameters(String id)
getRemoveParameters
in class AbstractBackendDevicesResource<NIC,Nics,VmNetworkInterface>
public DeviceResource<NIC> getDeviceSubResource(String id)
ReadOnlyDevicesResource
getDeviceSubResource
in interface DevicesResource<NIC,Nics>
getDeviceSubResource
in interface ReadOnlyDevicesResource<NIC,Nics>
getDeviceSubResource
in class AbstractBackendDevicesResource<NIC,Nics,VmNetworkInterface>
id
- the Device IDprotected VmNetworkInterface setNetwork(NIC device, VmNetworkInterface ni)
setNetwork
in class BackendNicsResource
protected Guid getClusterId()
getClusterId
in class BackendNicsResource
Copyright © 2012. All Rights Reserved.