Manageability Test State Monitor Type

Microsoft.SystemCenter.MicrosoftAzure.Test.State.MonitorType (UnitMonitorType)

Microsoft Enterprise Management Manageability Test State monitor type.

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.MicrosoftAzure.Test.SyntheticTransaction.DS Default
ErrorCD ConditionDetection System.ExpressionFilter.EventSuppression Default
SuccessCD ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
FunctionNamestring$Config/FunctionName$Function NameFunction Name
FunctionScriptstring$Config/FunctionScript$Function ScriptFunction Script
IntervalSecondsint$Config/IntervalSeconds$Interval SecondsInterval Seconds
SyncTimestring$Config/SyncTime$Sync TimeSync Time
TimeoutSecondsint$Config/TimeoutSeconds$Timeout SecondsTimeout Seconds
ErrorSuppressionMatchCountint$Config/ErrorSuppressionMatchCount$Error Suppression Match CountError Suppression Match Count
ErrorSuppressionWithinSecondsint$Config/ErrorSuppressionWithinSeconds$Error Suppression Within SecondsError Suppression Within Seconds

Source Code:

<UnitMonitorType ID="Microsoft.SystemCenter.MicrosoftAzure.Test.State.MonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="ConditionTrue" NoDetection="false"/>
<MonitorTypeState ID="ConditionFalse" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="FunctionName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="FunctionScript" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" 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="1" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ErrorSuppressionMatchCount" type="xsd:unsignedByte"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ErrorSuppressionWithinSeconds" type="xsd:unsignedInt"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="FunctionName" Selector="$Config/FunctionName$" ParameterType="string"/>
<OverrideableParameter ID="FunctionScript" Selector="$Config/FunctionScript$" ParameterType="string"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="ErrorSuppressionMatchCount" Selector="$Config/ErrorSuppressionMatchCount$" ParameterType="int"/>
<OverrideableParameter ID="ErrorSuppressionWithinSeconds" Selector="$Config/ErrorSuppressionWithinSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.MicrosoftAzure.Test.SyntheticTransaction.DS">
<FunctionName>$Config/FunctionName$</FunctionName>
<FunctionScript>$Config/FunctionScript$</FunctionScript>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="SuccessCD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Success</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="ErrorCD" TypeID="System!System.ExpressionFilter.EventSuppression">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Error</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Config/ErrorSuppressionMatchCount$</MatchCount>
<WithinSeconds>$Config/ErrorSuppressionWithinSeconds$</WithinSeconds>
</SuppressionSettings>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ConditionTrue">
<Node ID="SuccessCD">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ConditionFalse">
<Node ID="ErrorCD">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>