UNIX/Linux WS-Management 時間列舉值 DiscoveryData
Microsoft.Unix.WSMan.TimedEnumerate.DiscoveryData (DataSourceModuleType)
UNIX/Linux WS-Management 時間列舉值傳回 DiscoveryData
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<DataSourceModuleType ID="Microsoft.Unix.WSMan.TimedEnumerate.DiscoveryData" Accessibility="Public">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.Discovery.MapperSchema</SchemaType>
<SchemaType>System!System.ExpressionEvaluatorSchema</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="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"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="Expression" type="ExpressionType"/>
</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 enumeration -->
<ProbeAction ID="Enum" TypeID="Microsoft.Unix.WSMan.Enumerate.ProbeAction">
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<Uri>$Config/Uri$</Uri>
<Filter>$Config/Filter$</Filter>
<OutputErrorIfAny>$Config/OutputErrorIfAny$</OutputErrorIfAny>
<SplitItems>$Config/SplitItems$</SplitItems>
</ProbeAction>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<Not>
<Expression>
<Exists>
<ValueExpression>
<XPathQuery Type="String">WsManData/ErrorCode</XPathQuery>
</ValueExpression>
</Exists>
</Expression>
</Not>
</Expression>
<Expression>$Config/Expression$</Expression>
</And>
</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="Filter">
<Node ID="Enum">
<Node ID="Scheduler"/>
</Node>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>