TFS-gyűjtemény felderítési adatforrása (futásidejű készlet által felügyelve)

Microsoft.SystemCenter.TfsWISync.TfsServer.RuntimePoolDiscovery.DataSourceType (DataSourceModuleType)

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeSystem.Discovery.Data

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.SimpleScheduler Default
DiscoveryMapper ProbeAction Microsoft.SystemCenter.CM.DiscoveryMapperPA Default
IsRuntimePool ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Intervallum hossza (s)Intervallum hossza (s)

Source Code:

<DataSourceModuleType ID="Microsoft.SystemCenter.TfsWISync.TfsServer.RuntimePoolDiscovery.DataSourceType" Accessibility="Public" Batching="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.Discovery.MapperSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:unsignedInt"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Name" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Description" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Url" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="Links" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="LocaleId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="MachinePoolClassId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="MachinePoolKeyPropertyValue" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime/>
</DataSource>
<ProbeAction ID="DiscoveryMapper" TypeID="ClientMonitoring!Microsoft.SystemCenter.CM.DiscoveryMapperPA">
<ManagedEntity>
<Detailed>
<TimeGenerated UseCurrent="true"/>
<DiscoveryType>Snapshot</DiscoveryType>
<DiscoverySourceType>Rule</DiscoverySourceType>
<SourceObjectId>$MPElement$</SourceObjectId>
<SourceManagedEntityId>$Target/Id$</SourceManagedEntityId>
<Properties/>
<PropertySets/>
<ClassInstances>
<ClassInstance If=".">
<TypeId>$MPElement[Name="Microsoft.SystemCenter.TfsWISync.TfsServer"]$</TypeId>
<Properties>
<Property>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Config/Name$</Value>
</Property>
<Property>
<Name>$MPElement[Name='Microsoft.SystemCenter.TfsWISync.TfsServer']/Description$</Name>
<Value>$Config/Description$</Value>
</Property>
<Property>
<Name>$MPElement[Name='Microsoft.SystemCenter.TfsWISync.TfsServer']/Url$</Name>
<Value>$Config/Url$</Value>
</Property>
<Property>
<Name>$MPElement[Name='Microsoft.SystemCenter.TfsWISync.TfsServer']/Links$</Name>
<Value>$Config/Links$</Value>
</Property>
<Property>
<Name>$MPElement[Name='Microsoft.SystemCenter.TfsWISync.TfsServer']/LocaleId$</Name>
<Value>$Config/LocaleId$</Value>
</Property>
</Properties>
</ClassInstance>
</ClassInstances>
<RelationshipInstances>
<RelationshipInstance If=".">
<TypeId>$MPElement[Name="SC!Microsoft.SystemCenter.ManagementActionPointShouldManageEntity"]$</TypeId>
<SourceTypeId>$Config/MachinePoolClassId$</SourceTypeId>
<TargetTypeId>$MPElement[Name="Microsoft.SystemCenter.TfsWISync.TfsServer"]$</TargetTypeId>
<SourceProperties>
<Property>
<Name>$MPElement[Name='SC!Microsoft.SystemCenter.ManagementServiceRuntimePool']/Name$</Name>
<Value>$Config/MachinePoolKeyPropertyValue$</Value>
</Property>
</SourceProperties>
<TargetProperties>
<Property>
<Name>$MPElement[Name='Microsoft.SystemCenter.TfsWISync.TfsServer']/Url$</Name>
<Value>$Config/Url$</Value>
</Property>
</TargetProperties>
<Properties/>
</RelationshipInstance>
</RelationshipInstances>
</Detailed>
</ManagedEntity>
</ProbeAction>
<ConditionDetection ID="IsRuntimePool" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Config/MachinePoolKeyPropertyValue$</Value>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String"/>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="DiscoveryMapper">
<Node ID="IsRuntimePool">
<Node ID="DS"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>