public class BackendTemplateNicsResource extends BackendNicsResource implements DevicesResource<NIC,Nics>
Modifier and Type | Class and Description |
---|---|
protected class |
BackendTemplateNicsResource.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 |
---|
BackendTemplateNicsResource(Guid parentId) |
Modifier and Type | Method and Description |
---|---|
NIC |
addParents(NIC device)
Add any parent resource references needed for constructing links.
|
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 VmNetworkInterface |
setNetwork(NIC device,
VmNetworkInterface ni) |
add, getRequiredAddFields, getRequiredUpdateFields, list, lookupClusterNetwork, lookupClusterNetwork, matchEntity, matchEntity, setNetworkId
getEntityIdResolver, performRemove
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, populate, 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 BackendTemplateNicsResource(Guid parentId)
protected AbstractBackendSubResource.ParametersProvider<NIC,VmNetworkInterface> getUpdateParametersProvider()
getUpdateParametersProvider
in class AbstractBackendDevicesResource<NIC,Nics,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
public NIC addParents(NIC device)
AbstractBackendResource
addParents
in class AbstractBackendReadOnlyDevicesResource<NIC,Nics,VmNetworkInterface>
protected Guid getClusterId()
getClusterId
in class BackendNicsResource
Copyright © 2012. All Rights Reserved.