Type de module d'expression pour la bande passante de carte réseau utilisée

Microsoft.Windows.Server.10.0.NetworkAdapter.BandwidthUsed.ConditionDetection.ModuleType (ConditionDetectionModuleType)

Type de module de détection de condition qui filtre les données en fonction du nom d'objet d'analyse et du delta des valeurs.

Element properties:

TypeConditionDetectionModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
OutputTypeSystem.Performance.Data

Member Modules:

ID Module Type TypeId RunAs 
OptimizedFilter ConditionDetection System.Performance.OptimizedCollectionFilter Default
TargetExpression ConditionDetection System.ExpressionFilter Default

Source Code:

<ConditionDetectionModuleType ID="Microsoft.Windows.Server.10.0.NetworkAdapter.BandwidthUsed.ConditionDetection.ModuleType" Accessibility="Internal" Batching="false" Stateful="true" PassThrough="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Tolerance" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ToleranceType">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Absolute"/>
<xsd:enumeration value="Percentage"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="MaximumSampleSeparation" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ReturnedObjectName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="MonitoringObjectName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Frequency" type="xsd:integer"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ConditionDetection ID="TargetExpression" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>$Config/ReturnedObjectName$</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Config/MonitoringObjectName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="OptimizedFilter" TypeID="SystemPerf!System.Performance.OptimizedCollectionFilter">
<Tolerance>$Config/Tolerance$</Tolerance>
<ToleranceType>$Config/ToleranceType$</ToleranceType>
<MaximumSampleSeparation>$Config/MaximumSampleSeparation$</MaximumSampleSeparation>
<SamplingPeriodInSeconds>$Config/Frequency$</SamplingPeriodInSeconds>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="OptimizedFilter">
<Node ID="TargetExpression"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>SystemPerf!System.Performance.Data</OutputType>
<InputTypes>
<InputType>SystemPerf!System.Performance.Data</InputType>
</InputTypes>
</ConditionDetectionModuleType>