HealthDefinitionConfiguration Element

 

Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials, Windows Home Server 2011, Windows Storage Server 2008 R2 Essentials, Windows Small Business Server 2011 Essentials

Specifies the configuration information for a health definition.

  
<xs:element name="HealthDefinitionConfiguration" type="HealthDefinitionConfigurationElement" maxOccurs="unbounded" minOccurs="0" />  
  
<xs:complexType name="HealthDefinitionConfigurationElement">  
  <xs:sequence>  
    <xs:element name="Configurations" maxOccurs="1" minOccurs="0">  
      <xs:complexType>  
        <xs:sequence>  
          <xs:element name="Enable" type="xs:boolean" maxOccurs="1" minOccurs="0" default="true"/>  
          <xs:element name="TimeInterval" type="xs:duration" maxOccurs="1" minOccurs="0" default="PT30M"/>  
          <xs:element name="Escalate" type="xs:duration" maxOccurs="1" minOccurs="0" default="true"/>  
        </xs:sequence>  
      </xs:complexType>  
    </xs:element>  
    <xs:element name="Arguments" maxOccurs="1" minOccurs="0">  
      <xs:complexType>  
        <xs:sequence>  
          <xs:element name="Argument" type="ArgumentElement" maxOccurs="unbounded" minOccurs="0" />  
        </xs:sequence>  
      </xs:complexType>  
      <xs:unique name="UniqueArgumentName">  
        <xs:selector xpath=".//Argument" />  
        <xs:field xpath="@Name" />  
      </xs:unique>  
    </xs:element>  
  </xs:sequence>  
  <xs:attribute name="Name" type="xs:ID" use="required" />  
</xs:complexType>  

The following sections describe attributes, child elements, and parent elements.

Attributes

AttributeDescription
NameRequired ID attribute.

Specifies the name of the health definition. This name must match the name that you used for the associated HealthDefinition element in the Definition.xml file.

Child Elements

ElementDescription
Configurations ElementSpecifies the specific configuration information for a health definition.
Arguments ElementSpecifies the parameter values for the scripts or programs that are associated to the actions defined for the health definition.

Parent Elements

ElementDescription
FeatureConfiguration ElementSpecifies configuration information for health add-ins.

How to: Create a Definition Configuration XML File

Community Additions

ADD
Show: