Configuration (WriteActionModuleType)
Applies To: System Center 2012 - Operations Manager, System Center 2012 R2 Operations Manager, System Center 2012 SP1 - Operations Manager
Represents the parameters for a monitor or module type definition in XSD schema.
Schema Hierarchy
ManagementPack
TypeDefinitions
ModuleTypes
WriteActionModuleType
Configuration
Syntax
<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 |
---|---|
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 |
---|---|
Represents a data source module type definition in a management pack. |
|
Represents a condition detection module type definition in a management pack. |
|
Represents a probe action module type definition in a management pack. |
|
Represents a unit monitor type definition in a management pack. |
|
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.
<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).
<WriteAction ID="StartService" TypeID="Windows!Microsoft.Windows.ServiceControlManager.StartService">
<ComputerName>$Config/ComputerName$</ComputerName>
<ServiceName>HealthService</ServiceName>
</WriteAction>
See Also
Reference
ConditionDetectionModuleType
DataSourceModuleType
ProbeActionModuleType
SchemaType
UnitMonitorType
WriteActionModuleType