Last Deduplication Job Run Monitor Type

Microsoft.Windows.FileServices.Service.Deduplication.10.0.LastJobRun (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
Script DataSource Microsoft.Windows.FileServices.Service.Deduplication.10.0.GetDedupStatus Default
JobNotRunWithinThresholdFilter ConditionDetection System.ExpressionFilter Default
JobRunWithinThresholdFilter ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Frequency (seconds)
TimeoutSecondsint$Config/TimeoutSeconds$Script Timeout (seconds)
SyncTimestring$Config/SyncTime$Sync Time
ThresholdInDaysstring$Config/ThresholdInDays$Threshold (days)

Source Code:

<UnitMonitorType ID="Microsoft.Windows.FileServices.Service.Deduplication.10.0.LastJobRun" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="JobNotRunWithinThreshold"/>
<MonitorTypeState ID="JobRunWithinThreshold"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PropertyBagValueToCheck" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="VolumeId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ThresholdInDays" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="ThresholdInDays" ParameterType="string" Selector="$Config/ThresholdInDays$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="Script" TypeID="Microsoft.Windows.FileServices.Service.Deduplication.10.0.GetDedupStatus">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<ComputerName>$Config/ComputerName$</ComputerName>
<VolumeId>$Config/VolumeId$</VolumeId>
</DataSource>
<ConditionDetection ID="JobNotRunWithinThresholdFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Property[@Name='$Config/PropertyBagValueToCheck$']</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Integer">$Config/ThresholdInDays$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="JobRunWithinThresholdFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">Property[@Name='$Config/PropertyBagValueToCheck$']</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Integer">$Config/ThresholdInDays$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="JobNotRunWithinThreshold">
<Node ID="JobNotRunWithinThresholdFilter">
<Node ID="Script"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="JobRunWithinThreshold">
<Node ID="JobRunWithinThresholdFilter">
<Node ID="Script"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>