BlockModelRMO::Update Resource Type Data
Updates model data for a resource type. 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 <resourceType>1..1 <typeName>1..1</typeName> <unit>0..1</unit> <virtualDataName>0..1</virtualDataName> <actualDataName>0..1</actualDataName> <actualDataDesc>0..1</actualDataDesc> <virtualDataDesc>0..1</virtualDataDesc> <defaultActualMax>0..1</defaultActualMax> <defaultVirtualMax>0..1</defaultVirtualMax> <defaultWarningPc>0..1</defaulWarningPc> <defaultMaxFillPc>0..1</defaultMaxFillPc> <defaultFillRatio>0..1</defaultFillRatio> </resourceType> </executeData>XML Output Schema
Update Resource Type Data 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 actualDataDesc Description:
New description of the actual capacity data.Parent:
resourceTypeactualDataName Description:
New name for the actual capacity data (for example, "MB on disk").Parent:
resourceTypedefaultActualMax Description:
New default value for maximum actual capacity data for new resource instances that do not have an actualMax value. Must be 0 or a positive integer.Parent:
resourceTypedefaultFillRatio Description:
New default value for the fill ratio for new resource instances that do not have a fillRatio value. Must be 0 or a positive integer.Parent:
resourceTypedefaultMaxFillPc Description:
New default value for maximum fill percentage level for new resource instances that do not have a maxFillPc value. Must be a positive integer greater than or equal to 0 and less than or equal to 100.Parent:
resourceTypedefaultVirtualMax Description:
New default value for virtual actual capacity for new resource instances that do not have a virtualMax value. Must be 0 or a positive integer.Parent:
resourceTypedefaultWarningPc Description:
New default value for the warning percentage level for new resource instances that do not have a warningPc value. Must be a positive integer greater than or equal to 0 and less than or equal to 100.Parent:
resourceTypeexecuteData Description:
Encapsulates the procedure's input data.Child:
resourceType (minOccurs="1" maxOccurs="1")resourceType Description:
Encapsulates the data needed to describe a resource type.Parent:
executeDataChildren:
actualDataDesc (minOccurs="0" maxOccurs="1")
actualDataName (minOccurs="0" maxOccurs="1")
defaultActualMax (minOccurs="0" maxOccurs="1")
defaultFillRatio (minOccurs="0" maxOccurs="1")
defaultMaxFillPc (minOccurs="0" maxOccurs="1")
defaultVirtualMax (minOccurs="0" maxOccurs="1")
defaultWarningPc (minOccurs="0" maxOccurs="1")
typename (minOccurs="1" maxOccurs="1")
unit (minOccurs="0" maxOccurs="1")
virtualDataDesc (minOccurs="0" maxOccurs="1")
virtualDataName (minOccurs="0" maxOccurs="1")typeName Description:
Name of the resource type whose model data is to be updated.Parent:
resourceTypeunit Description:
New resource capacity unit to associate with instances of this type. Examples include "MB" and "Users".Parent:
resourceTypevirtualDataName Description:
New name for the virtual capacity data (for example, "MB on user's plan").Parent:
resourceTypevirtualDataDesc Description:
New description of the virtual capacity data.Parent:
resourceTypeExample
<request> <data/> <procedure> <execute procedure="Update Resource Type Data" namespace="BlockModelRMO"> <executeData> <resourceType> <typeName>IISServer</typeName> <defaultActualMax>500</defaultActualMax> <defaultWarningPc>85</defaultWarningPc> <defaultMaxFillPc>95</defaultMaxFillPc> </resourceType> </executeData> </execute> </procedure> </request>Remarks
The resource type name is required; all other fields are optional. Fields that are provided will be updated.
See Also
Add Resource Type Data, BlockModelRMO Provider, Query Resource Type Data, Resource Manager
Top of Page
) 1999-2002 Microsoft Corporation. All rights reserved.