WindowsAzurePack.Discovery.TenantAPI (Discovery)

Element properties:

TargetMicrosoft.Windows.Server.Computer
EnabledTrue
Frequency14400
RemotableFalse
CommentDiscovers the TenantAPI Site by finding its build number in the registry

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
WindowsAzurePack.DataSource.Registry.TenantAPI DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="WindowsAzurePack.Discovery.TenantAPI" Target="Windows!Microsoft.Windows.Server.Computer" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" Comment="Discovers the TenantAPI Site by finding its build number in the registry">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="WindowsAzurePack.TenantAPI">
<Property TypeID="WindowsAzurePack.WAP.Server" PropertyID="BuildVersion"/>
</DiscoveryClass>
<!--<DiscoveryRelationship TypeID="WindowsAzurePack.Relation.WinServer.WAP" />-->
</DiscoveryTypes>
<DataSource ID="WindowsAzurePack.DataSource.Registry.TenantAPI" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider" Comment="Registry keys created by the TenantAPI when it installs">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>WAPTenantAPIExists</AttributeName>
<Path>SOFTWARE\Microsoft\MgmtSvc\TenantAPI</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>BuildVersion</AttributeName>
<Path>SOFTWARE\Microsoft\MgmtSvc\TenantAPI\BuildVersion</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<!--<ClassId>BuildVersion</ClassId>-->
<ClassId>$MPElement[Name="WindowsAzurePack.TenantAPI"]$</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>WindowsAzurePack.TenantAPI</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="WindowsAzurePack.WAP.Server"]/BuildVersion$</Name>
<Value>$Data/Values/BuildVersion$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/WAPTenantAPIExists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">True</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>