Данные обнаружения синхронизированного перечислителя WS-Management с двойной фильтрацией
Microsoft.JEE.WSMan.TimedEnumerate.DoubleFiltered.DiscoveryData (DataSourceModuleType)
Синхронизированный перечислитель WS-Management с двойной фильтрацией, возвращающий данные обнаружения
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<DataSourceModuleType ID="Microsoft.JEE.WSMan.TimedEnumerate.DoubleFiltered.DiscoveryData" Accessibility="Public">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
<SchemaType>System!System.Discovery.MapperSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="TargetSystem" type="xsd:string"/>
<xsd:element name="Uri" type="xsd:string"/>
<xsd:element name="Filter" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="SplitItems" type="xsd:boolean"/>
<xsd:element name="Interval" type="xsd:unsignedInt"/>
<xsd:element name="SyncTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="FilterProperty1" type="xsd:string"/>
<xsd:element name="FilterValue1" type="xsd:string"/>
<xsd:element name="FilterProperty2" type="xsd:string"/>
<xsd:element name="FilterValue2" type="xsd:string"/>
<xsd:element name="ClassId" type="xsd:string"/>
<xsd:element name="InstanceSettings" minOccurs="0" maxOccurs="1" type="SettingsType"/>
<xsd:element name="OutputErrorIfAny" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" ParameterType="int" Selector="$Config/Interval$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="OutputErrorIfAny" ParameterType="string" Selector="$Config/OutputErrorIfAny$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.Discovery.Scheduler">
<!-- Params to the scheduler part -->
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/Interval$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<!-- WSMan Payloader -->
<ProbeAction ID="Payload" TypeID="Microsoft.JEE.WSMan.Native.ProbeAction">
<UserName>$RunAs[Name="Unix!Microsoft.Unix.ActionAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Unix!Microsoft.Unix.ActionAccount"]/Password$</Password>
</ProbeAction>
<!-- WSMan enumeration -->
<ProbeAction ID="TimedEnum" TypeID="WSM!Microsoft.SystemCenter.WSManagement.Enumerator">
<!-- Params to the enumeration part -->
<Enumerate>
<Protocol>https</Protocol>
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<Port>1270</Port>
<Authentication>basic</Authentication>
<UserName>$Data/WSManPayloadData/UserName$</UserName>
<Password>$RunAs[Name="Unix!Microsoft.Unix.ActionAccount"]/Password$</Password>
<SkipCACheck>false</SkipCACheck>
<SkipCNCheck>false</SkipCNCheck>
<OutputErrorIfAny>$Config/OutputErrorIfAny$</OutputErrorIfAny>
<UTF>utf-8</UTF>
<Uri>$Config/Uri$</Uri>
<Filter>$Config/Filter$</Filter>
<TimeOutInMS>120000</TimeOutInMS>
<SplitItems>$Config/SplitItems$</SplitItems>
<EventPolicy>
<EventOnConnectionErrors>false</EventOnConnectionErrors>
</EventPolicy>
</Enumerate>
</ProbeAction>
<ConditionDetection ID="Filter1" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">$Config/FilterProperty1$</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>$Config/FilterValue1$</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Filter2" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">$Config/FilterProperty2$</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>$Config/FilterValue2$</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Mapper" TypeID="System!System.Discovery.ClassSnapshotDataMapper">
<ClassId>$Config/ClassId$</ClassId>
<InstanceSettings>$Config/InstanceSettings$</InstanceSettings>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="Filter2">
<Node ID="Filter1">
<Node ID="TimedEnum">
<Node ID="Payload">
<Node ID="Scheduler"/>
</Node>
</Node>
</Node>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>