Condividi tramite


HealthDefinitionConfiguration Element

 

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>  

Attributes and Elements

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

Attributes

Attribute Description
Name Required 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

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

Parent Elements

Element Description
FeatureConfiguration Element Specifies configuration information for health add-ins.

See Also

How to: Create a Definition Configuration XML File