[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Represents the parameters for a monitor or module type definition in XSD schema.

Schema Hierarchy

ManagementPack
  TypeDefinitions
    ModuleTypes
      WriteActionModuleType
        Configuration

Syntax

Xml
<Configuration>   <IncludeSchemaTypes>…</IncludeSchemaTypes>   <xsd:element name="ElementName" type="xsd:sometype" />
</Configuration>

Attributes and Elements

The following sections describe attributes, child elements, and the parent elements of the Configuration element.

Attributes

None.

Child Elements

Element Description

IncludeSchemaTypes (WriteActionModuleType)

Optional element. Contains references to internal or external complex SchemaType element types. These types are used as parameter data types in the Configuration section of a ModuleTypes or MonitorTypes element.

Parent Elements

Element Description

DataSourceModuleType

Represents a data source module type definition in a management pack.

ConditionDetectionModuleType

Represents a condition detection module type definition in a management pack.

WriteActionModuleType

Represents a write action module type definition in a management pack.

Text Value

The Configuration element describes the XSD schema for the parameters of module or monitor type definition elements. Each implementation of the defined module or monitor type must supply the correct configuration parameters in accordance with this XSD schema. For more information about XML schemas, see Understanding XML Schema.

Example

The following example illustrates the Configuration section of the Microsoft.Windows.ProductInstallationProbe probe action module type as defined in the Microsoft.Windows.Library management pack. For the full definition of the probe action module type, see WriteActionModuleType.

  Copy Code
  
  <Configuration>
	<xsd:element name="ComputerName" type="xsd:string" />
	<xsd:element name="ServiceName" type="xsd:string" />
  </Configuration>

The following example illustrates how an implementation of the Microsoft.Windows.ServiceControlManager.StartService write action module type would supply the correct configuration parameter values. In this sample, the $Config expression is used because this write action is part of a composite module. $Config/ComputerName is an expression that refers to the ComputerName parameter declared in the composite module’s Configuration section. For more information about the $Config variable notation, see $Config. To see the full definition of the composite module, see WriteAction (WriteActionModuleType).

  Copy Code
  
<WriteAction ID="StartService" TypeID="Windows!Microsoft.Windows.ServiceControlManager.StartService">
  <ComputerName>$Config/ComputerName$</ComputerName>
  <ServiceName>HealthService</ServiceName>
</WriteAction>

See Also