Microsoft.SystemCenter.WebApplication.PerspectiveDiscoveryDataSource

The Microsoft.SystemCenter.WebApplication.PerspectiveDiscoveryDataSource data source module type takes input type here, if any data as input and result here, if any.

Usage

This module is used to discover web application classes. It is commonly triggered by Microsoft.SystemCenter.WebApplication.Scheduler.Internal

Type Definition

<DataSourceModuleType ID="Microsoft.SystemCenter.WebApplication.PerspectiveDiscoveryDataSource" Accessibility="Public" Batching="false">
  <Configuration>
    <xsd:element name="ClassId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
    <xsd:element name="DisplayName" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
    <xsd:element name="WatcherComputersList" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
    <xsd:element name="UniquenessKey" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
    <xsd:element name="WatcherName" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
  </Configuration>
  <ModuleImplementation Isolation="Any">
    <Composite>
      <MemberModules>
        <DataSource ID="Scheduler" TypeID="Microsoft.SystemCenter.WebApplication.Scheduler.Internal">
          <Scheduler>
            <SimpleReccuringSchedule>
              <Interval Unit="Seconds">86400</Interval>
            </SimpleReccuringSchedule>
            <ExcludeDates />
          </Scheduler>
          <ManagedEntityId>$Target/Id$</ManagedEntityId>
          <RuleId>$MPElement$</RuleId>
          <UniquenessKey>$Config/UniquenessKey$</UniquenessKey>
        </DataSource>
        <ProbeAction ID="Probe" TypeID="Windows!Microsoft.Windows.RegistryProbe">
          <ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
          <RegistryAttributeDefinitions>
            <RegistryAttributeDefinition>
              <AttributeName>Software</AttributeName>
              <Path>Software</Path>
              <PathType>0</PathType>
              <AttributeType>0</AttributeType>
            </RegistryAttributeDefinition>
          </RegistryAttributeDefinitions>
        </ProbeAction>
        <ConditionDetection ID="Mapping" TypeID="System!System.Discovery.FilteredClassSnapshotDataMapper">
          <Expression>
            <RegExExpression>
              <ValueExpression>
                <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
              </ValueExpression>
              <Operator CaseSensitive="false">MatchesRegularExpression</Operator>
              <Pattern>$Config/WatcherComputersList$</Pattern>
            </RegExExpression>
          </Expression>
          <ClassId>$Config/ClassId$</ClassId>
          <InstanceSettings>
            <Settings>
              <Setting>
                <Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
              </Setting>
              <Setting>
                <Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
                <Value>$Config/DisplayName$</Value>
              </Setting>
            </Settings>
          </InstanceSettings>
        </ConditionDetection>
      </MemberModules>
      <Composition>
        <Node ID="Mapping">
          <Node ID="Probe">
            <Node ID="Scheduler" />
          </Node>
        </Node>
      </Composition>
    </Composite>
  </ModuleImplementation>
  <OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>

Parameters

The Microsoft.SystemCenter.WebApplication.PerspectiveDiscoveryDataSourcemodule supports the following configuration parameters.

Parameter Type Description

ClassId

String

Description

DisplayName

String

Description

WatcherComputersList

String

UniquenessKey

String

WatcherName

String

Composition

The Microsoft.SystemCenter.WebApplication.PerspectiveDiscoveryDataSourcemodule is a composite module that contains the member modules that are described in the following table.

Workflow Run Order Module Type Usage

1

Microsoft.SystemCenter.WebApplication.Scheduler.Internal

Description

2

Microsoft.Windows.RegistryProbe

Description

3

System.Discovery.FilteredClassSnapshotDataMapper

Remarks

The Microsoft.SystemCenter.WebApplication.PerspectiveDiscoveryDataSourcedata source module is used to ...

Module Type Usage

type

Description

type

Description

External Module References

None.

Sample

The following example …

Paste the XML of the sample workflow here.

Information

   

Module Type

DataSourceModuleType

Input Type

none

Output Type

System.Discovery.Data

Implementation

Composite

Library

Microsoft.SystemCenter.WebApplication.Library