Akce zápisu nastavení stavů při sledovacím procesu v oblasti zdrojů
Microsoft.SystemCenter.ManagementServicePoolWatcher.SetStateAction (WriteActionModuleType)
Element properties:
Member Modules:
Source Code:
<WriteActionModuleType ID="Microsoft.SystemCenter.ManagementServicePoolWatcher.SetStateAction" Accessibility="Internal" Batching="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>Health!System.Health.AlertSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="MonitorId" type="xsd:string"/>
<xsd:element name="HealthState" type="System.Health.AlertHealthState"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Target/ManagementGroup/Id$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<XPathQuery Type="String">ManagementGroupId</XPathQuery>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteAction ID="Health.SetStateAction" TypeID="Microsoft.SystemCenter.Health.SetStateAction">
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<MonitorId>$Config/MonitorId$</MonitorId>
<ManagedEntityTypeId>$MPElement[Name="SCLibrary!Microsoft.SystemCenter.ManagementServicePoolWatcher"]$</ManagedEntityTypeId>
<KeyProperties>
<KeyProperty>
<PropertyId>$MPElement[Name="SCLibrary!Microsoft.SystemCenter.ManagementServicePoolWatcher"]/PoolId$</PropertyId>
<IsCaseSensitive>false</IsCaseSensitive>
<Value>$Data/HealthServiceId$</Value>
</KeyProperty>
</KeyProperties>
<HealthState>$Config/HealthState$</HealthState>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="Health.SetStateAction">
<Node ID="Filter"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>