Windows Azure Event Log Simple Monitor Type

Microsoft.SystemCenter.Azure.EventLog.MonitorType (UnitMonitorType)

Two state monitor, each associated to an event.

Element properties:

RunAsMicrosoft.SystemCenter.Azure.RunAsProfile.Proxy
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.Azure.RoleInstance.EventLog.CollectData.DS Default
FirstFilterCondition ConditionDetection System.ExpressionFilter Default
SecondFilterCondition ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Interval SecondsInterval Seconds
TimeoutSecondsint$Config/TimeoutSeconds$Timeout SecondsTimeout Seconds

Source Code:

<UnitMonitorType ID="Microsoft.SystemCenter.Azure.EventLog.MonitorType" Accessibility="Public" RunAs="Microsoft.SystemCenter.Azure.RunAsProfile.Proxy">
<MonitorTypeStates>
<MonitorTypeState ID="FirstEventRaised" NoDetection="false"/>
<MonitorTypeState ID="SecondEventRaised" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element minOccurs="1" maxOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element minOccurs="1" maxOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element minOccurs="1" maxOccurs="1" name="FirstExpression" type="ExpressionType"/>
<xsd:element minOccurs="1" maxOccurs="1" name="SecondExpression" type="ExpressionType"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.Azure.RoleInstance.EventLog.CollectData.DS">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="FirstFilterCondition" TypeID="System!System.ExpressionFilter">
<Expression>$Config/FirstExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="SecondFilterCondition" TypeID="System!System.ExpressionFilter">
<Expression>$Config/SecondExpression$</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="FirstEventRaised">
<Node ID="FirstFilterCondition">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="SecondEventRaised">
<Node ID="SecondFilterCondition">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>