Microsoft.SystemCenter.AlertSubscriptionDataSourceSchema (SchemaType)
Element properties:
Source Code:
<SchemaType ID="Microsoft.SystemCenter.AlertSubscriptionDataSourceSchema" Comment="schema for alert change subscription" Accessibility="Public">
<xsd:complexType name="AlertChangedSubscriptionType">
<xsd:sequence>
<xsd:element name="Groups" type="GroupType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="Types" type="ClassType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="Criteria" type="AlertCriteriaType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ExpirationStartTime" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="PollingIntervalMinutes" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1"/>
<xsd:element name="UserSid" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="LanguageCode" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="BatchSize" type="BatchSizeType " minOccurs="0" maxOccurs="1"/>
<xsd:element name="ExcludeNonNullConnectorIds" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RuleId" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="TargetBaseManagedEntityId" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="TimeZone" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="Property" type="AlertSubscriptionPropertyType"/>
<xsd:attribute name="History" type="xsd:boolean" use="optional"/>
</xsd:complexType>
<xsd:complexType name="AlertNotChangedSubscriptionType">
<xsd:sequence>
<xsd:element name="Groups" type="GroupType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="Types" type="ClassType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="Criteria" type="AlertCriteriaType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ExpirationStartTime" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="IdleMinutes" type="xsd:positiveInteger" minOccurs="0" maxOccurs="1"/>
<xsd:element name="PollingIntervalMinutes" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1"/>
<xsd:element name="UserSid" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="LanguageCode" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="BatchSize" type="BatchSizeType " minOccurs="0" maxOccurs="1"/>
<xsd:element name="ExcludeNonNullConnectorIds" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RuleId" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="TargetBaseManagedEntityId" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="TimeZone" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="Property" type="AlertSubscriptionPropertyType"/>
</xsd:complexType>
<xsd:simpleType name="AlertSubscriptionPropertyType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Any">
<xsd:annotation>
<xsd:documentation>Subscription is about any of the alert properties changing or not changing</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="ResolutionState">
<xsd:annotation>
<xsd:documentation>Subscription is about any of the alert resolution state property changing or not changing</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="NonConnector">
<xsd:annotation>
<xsd:documentation>Subscription is about any of the alert property changing or not changing by a non connector</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="BatchSizeType">
<xsd:restriction base="xsd:positiveInteger">
<xsd:maxInclusive value="1000"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="GroupType">
<xsd:sequence>
<xsd:element name="GroupId" type="GuidType" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ClassType">
<xsd:sequence>
<xsd:element name="TypeId" type="GuidType" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="GuidType">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="36"/>
<xsd:minLength value="36"/>
<xsd:pattern value="[0-9a-fA-F]{8,8}-[0-9a-fA-F]{4,4}-[0-9a-fA-F]{4,4}-[0-9a-fA-F]{4,4}-[0-9a-fA-F]{12,12}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ManagementPackElementReferenceType">
<xsd:annotation>
<xsd:documentation>Sample: $MPElement[Name="Windows!Microsoft.Windows.Computer"]$</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:pattern value="$MPElement(\[Name=[''|"]([\w]+!){0,1}[\w\.]+[''|"]\](/[\w\.]+){0,1}){0,1}$"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="TargetReferenceType">
<xsd:annotation>
<xsd:documentation>Sample: $Target/Host/Property[Type="Windows!System.Windows.Computer"]/PrincipalName$</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:pattern value="$Target/(Id|ManagementGroup/Id|ManagementGroup/Name|Host/Id|(Host/)*Property\[Type=[''|"]([\w]+!){0,1}[\w\.]+[''|"]\]/[\w]+)$"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AlertCriteriaType">
<xsd:sequence>
<xsd:element name="Expression" type="ExpressionType" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="Comment" type="xsd:string" use="optional"/>
</xsd:complexType>
<xsd:complexType name="ExpressionType">
<xsd:choice>
<xsd:element name="SimpleExpression" type="SimpleCriteriaType"/>
<xsd:element name="UnaryExpression" type="UnaryCriteriaType"/>
<xsd:element name="And" type="AndType"/>
<xsd:element name="Or" type="OrType"/>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="SimpleCriteriaType">
<xsd:sequence maxOccurs="1" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Expression comparing two values.</xsd:documentation>
</xsd:annotation>
<xsd:element name="ValueExpression" type="ValueExpressionType"/>
<xsd:element name="Operator" type="CriteriaCompareType"/>
<xsd:element name="ValueExpression" type="ValueExpressionType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="UnaryCriteriaType">
<xsd:sequence>
<xsd:annotation>
<xsd:documentation>Expression with value and unary operator.</xsd:documentation>
</xsd:annotation>
<xsd:element name="ValueExpression" type="ValueExpressionType"/>
<xsd:element name="Operator" type="UnaryOperatorType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AndType">
<xsd:sequence>
<xsd:element name="Expression" type="ExpressionType" minOccurs="2" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OrType">
<xsd:sequence>
<xsd:element name="Expression" type="ExpressionType" minOccurs="2" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ValueExpressionType">
<xsd:choice>
<xsd:element name="Property" type="xsd:string"/>
<xsd:element name="Value" type="ValueExpressionValueType"/>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="ValueExpressionValueType">
<xsd:simpleContent>
<xsd:extension base="xsd:string"/>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="CriteriaCompareType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Like">
<xsd:annotation>
<xsd:documentation>LIKE</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="NotLike">
<xsd:annotation>
<xsd:documentation>NOT LIKE</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Equal">
<xsd:annotation>
<xsd:documentation>Equal to.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="NotEqual">
<xsd:annotation>
<xsd:documentation>Not equal to.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Greater">
<xsd:annotation>
<xsd:documentation>Greater than.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Less">
<xsd:annotation>
<xsd:documentation>Less than.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="GreaterEqual">
<xsd:annotation>
<xsd:documentation>Greator than or equal to.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="LessEqual">
<xsd:annotation>
<xsd:documentation>Less than or equal to.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="UnaryOperatorType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="IsNull">
<xsd:annotation>
<xsd:documentation>Is null.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="IsNotNull">
<xsd:annotation>
<xsd:documentation>Is not null.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
</SchemaType>