public interface ResourceInstanceService
Modifier and Type | Method and Description |
---|---|
ResourceInstanceSummaryDesc[] |
getAllInstancesForObject(EntityDesc ownerId,
java.lang.String riType)
Gets the resource instance tree description collection for a given entity descriptor and a given Resource Instance Type.
|
ResourceInstanceSummaryDesc[] |
getInstancesOnHost(EntityIdentifier platformId)
Get all resource instances on a host.
|
ResourceInstanceSummaryDesc[] getInstancesOnHost(EntityIdentifier platformId) throws AdminException
platformId
- destination hostAdminException
- error while getting resourcesResourceInstanceSummaryDesc[] getAllInstancesForObject(EntityDesc ownerId, java.lang.String riType) throws AdminException
ownerId
- id of the EntityDescriptor -"Node","Host","Resource Template"riType
- type of the Resource Instance - Can be nullAdminException
- error while getting resources