BlockModelRMO::Delete Allocation


Deletes allocations that exist between consumers in the consumerTargetSet and resources in the resourceTargetSet. Used by Microsoft. Provisioning Framework (MPF).

XML Input Schema

The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.

<executeData>1..1
  <allocation>1..1
	<resourceTargetSet>1..1</resourceTargetSet>
	<consumerTargetSet>1..1</consumerTargetSet>
  </allocation>
</executeData>

XML Output Schema

Delete Allocation does not return data.

Elements and Attributes

The following table describes the XML schema elements and attributes. Unless otherwise indicated, the data type is string.

Element Description, relationships, and attributes
allocation Description:
Encapsulates data required to describe an allocation.

Parent:
executeData

Children:
consumerTargetSet (minOccurs="1" maxOccurs="1")
resourceTargetSet
(minOccurs="1" maxOccurs="1")

executeData Description:
Encapsulates the procedure's input data.

Child:
allocation (minOccurs="1" maxOccurs="1")

consumerTargetSet Description:
Set of consumers with allocations to delete.

Parent:
allocation

resourceTargetSet Description:
Set of resources with consumer allocations to delete.

Parent:
allocation

Example

<request>
  <data/>
  <procedure>  
	<execute procedure="Add Resource to Candidates" namespace="CoreRMO"> 
	<executeData>
		<candidates>
		<targetSet>serverSet</targetSet>
		</candidates>
		<resourceInstance>
		<instanceName>iis-1</instanceName>
		<instanceLocation>Lab A, Building B</instanceLocation>
		<typeName>IISServer</typeName>
		</resourceInstance>
	</executeData>
	</execute>
	<execute procedure="Add Consumer to Candidates" namespace="CoreRMO"> 
	<executeData>
		<candidates>
		<targetSet>siteSet</targetSet>
		</candidates>
		<consumerInstance>
		<instanceName>tailspintoys.com</instanceName>
		<typeName>Website</typeName>
		</consumerInstance>
	</executeData>
	</execute>
	<execute procedure="Delete Allocation" namespace="BlockModelRMO"> 
	<executeData>
		<allocation>
		<resourceTargetSet>serverSet</resourceTargetSet>
		<consumerTargetSet>siteSet</consumerTargetSet>
		</allocation>
	</executeData>
	</execute>
  </procedure>
</request>

See Also

Allocate, Move Allocation, Resource Manager, Update Allocation


Up Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.