WMI provider to poll for the state of the cluster object.

Microsoft.Windows.Cluster.WmiProvider.Object (DataSourceModuleType)

WMI Provider for Windows Server Cluster.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsMicrosoft.Windows.Cluster.PrivilegedAccount
OutputTypeSystem.PropertyBagData

Member Modules:

ID Module Type TypeId RunAs 
WmiProvider DataSource Microsoft.Windows.Cluster.WmiProvider Default
Object ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
PollIntervalint$Config/PollInterval$WMI poll intervalIndicates how often is WMI polled for state of the cluster object.
SyncTimestring$Config/SyncTime$WMI sync timeIndicates WMI synchronization time.

Source Code:

<DataSourceModuleType ID="Microsoft.Windows.Cluster.WmiProvider.Object" Accessibility="Internal" RunAs="Cluster!Microsoft.Windows.Cluster.PrivilegedAccount" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ClusterObjectClass" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ClusterObjectName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PollInterval" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="WMIFields" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="PollInterval" Selector="$Config/PollInterval$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="WmiProvider" TypeID="Microsoft.Windows.Cluster.WmiProvider">
<ClusterObjectClass>$Config/ClusterObjectClass$</ClusterObjectClass>
<PollInterval>$Config/PollInterval$</PollInterval>
<SyncTime>$Config/SyncTime$</SyncTime>
<WMIFields>Name, State</WMIFields>
</DataSource>
<ConditionDetection ID="Object" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Name']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/ClusterObjectName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Object">
<Node ID="WmiProvider"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.PropertyBagData</OutputType>
</DataSourceModuleType>