ViewType
Applies To: Operations Manager 2007 R2, System Center Operations Manager 2007
For internal usage only. Represents a view type that is available within the Operations console.
Schema Hierarchy
ManagementPack
PresentationTypes
ViewTypes
ViewType
Syntax
<ViewType ID=”ViewTypeID” Comment=”Comment” Accessbility=”Public/Internal”>
<Configuration>…</Configuration>
<ViewImplementation>…</ViewImplementation></ViewType>
Attributes and Elements
The following sections describe attributes, child elements, and the parent element of the ViewType element.
Attributes
Attribute | Description |
---|---|
ID |
Required attribute. Represents the identity of the element. To learn how to identify your element in a management pack, see Element Identity and Namespace Conventions. |
Comment |
Optional attribute. Represents commentary by the management pack author. |
Accessibility |
Required attribute. Defines the visibility of the view type definition. |
Accessibility Attribute Values
Value | Description |
---|---|
Public |
Indicates that the view type definition is visible to external management packs. |
Internal |
Indicates that the view type definition is not visible to external management packs. |
Child Elements
Element | Description |
---|---|
Optional element. Represents the configuration parameters for a view type definition. |
|
Required element. Defines the managed assembly and type of the view type. |
Parent Elements
Element | Description |
---|---|
For internal use only. Contains the view types that are available within the Operations console. |
Remarks
Users also can generate their own views through the Operations console, by choosing from the available view type definitions.
Important
Currently, it is not possible to define your own view types. However, you can add an implementation of an already defined view type by defining a View element.
Example
The following XML sample illustrates a view type definition that is used to display alerts.
<ViewType ID="Microsoft.SystemCenter.AlertViewType" Accessibility="Public">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>Microsoft.SystemCenter.ViewCriteriaSchema</SchemaType>
<SchemaType>Microsoft.SystemCenter.ViewPresentationSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="Criteria" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SeverityList" minOccurs="0">
<xsd:annotation>
<xsd:documentation>of a specific severity</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Severity" maxOccurs="unbounded">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Success" />
<xsd:enumeration value="Warning" />
<xsd:enumeration value="Error" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="PriorityList" minOccurs="0">
<xsd:annotation>
<xsd:documentation>of a specific severity</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Priority" maxOccurs="unbounded">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Low" />
<xsd:enumeration value="Medium" />
<xsd:enumeration value="High" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SourceList" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Source" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Type">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Rule" />
<xsd:enumeration value="Monitor" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Id" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CategoryList" minOccurs="0">
<xsd:annotation>
<xsd:documentation>of a specific category</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Category" maxOccurs="unbounded">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Alert" />
<xsd:enumeration value="Discovery" />
<xsd:enumeration value="Event" />
<xsd:enumeration value="Notification" />
<xsd:enumeration value="Operations" />
<xsd:enumeration value="Performance" />
<xsd:enumeration value="Performance Health" />
<xsd:enumeration value="Software and Updates" />
<xsd:enumeration value="State" />
<xsd:enumeration value="System" />
<xsd:enumeration value="Unknown" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ResolutionState" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with a specific resolution state</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element name="State" type="xsd:unsignedByte" maxOccurs="unbounded" />
<xsd:element name="StateRange">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:unsignedByte">
<xsd:attribute name="Operator" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Equals" />
<xsd:enumeration value="NotEquals" />
<xsd:enumeration value="LessThan" />
<xsd:enumeration value="AtMost" />
<xsd:enumeration value="GreaterThan" />
<xsd:enumeration value="AtLeast" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:element name="ResolutionStateList" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ResolutionValue" type="xsd:unsignedInt" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Name" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with a specific name</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Description" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specified text in the description</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TimeCreated" type="TimeRangeCriteriaType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>created in specific time period</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="AssignedTo" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>assigned to a specific person</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TicketId" type="xsd:string" minOccurs="0" />
<xsd:element name="Class" type="GUIDCriteriaType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>raised by any instance of a specific class</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Instances" minOccurs="0">
<xsd:annotation>
<xsd:documentation>raised by specific instances</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Instance" type="GUIDCriteriaType" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="InstanceName" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>raised by an instance with a specific name</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="LastModifiedBy" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>last modified by specific user</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="LastModifiedTime" type="TimeRangeCriteriaType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>modified in specific time period</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ResolutionStateLastModifiedTime" type="TimeRangeCriteriaType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>modfied in specific time period</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TimeResolved" type="TimeRangeCriteriaType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>resolved in specific time period</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ResolvedBy" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>resolved by specific user</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TimeAdded" type="TimeRangeCriteriaType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>added to the database in specific time period</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="RuleId" type="GUIDCriteriaType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>generated by a specific rule</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ID" type="GUIDCriteriaType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with a specific ID</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Site" type="xsd:string" minOccurs="0" />
<xsd:element name="CustomField1" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field1</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomField2" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field2</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomField3" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field3</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomField4" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field4</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomField5" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field5</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomField6" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field6</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomField7" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field7</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomField8" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field8</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomField9" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field9</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomField10" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>with specific text in custom field10</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Presentation" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ColumnInfo" type="ColumnInfoType" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Target" type="xsd:string" minOccurs="0" maxOccurs="1" />
</Configuration>
<ViewImplementation>
<Assembly>Microsoft.Mom.UI.Components, Culture="", PublicKeyToken="9396306c2be7fcc4", Version="6.0.4900.0"</Assembly>
<Type>Microsoft.EnterpriseManagement.Mom.UI.AlertView</Type>
</ViewImplementation>
</ViewType>