디스크 파티션 - 논리 디스크 검색 규칙

Microsoft.Windows.Server.2008.DiskPartitionContainsLogicalDisk.Discovery (Discovery)

이 규칙은 디스크 파티션과 논리 디스크 간의 관계를 검색합니다.

Knowledge Base article:

요약

이 검색 규칙은 "디스크 파티션에 논리 디스크 포함"이라는 Windows Server 관계 클래스를 검색하여 디스크 파티션에 논리 디스크 포함 관계 인스턴스로 채웁니다.

Element properties:

TargetMicrosoft.Windows.Server.2008.DiskPartition
EnabledTrue
Frequency86580
RemotableFalse

Object Discovery Details:

Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.Windows.WmiProviderWithRelationshipSnapshotDataMapper Default

Source Code:

<Discovery ID="Microsoft.Windows.Server.2008.DiskPartitionContainsLogicalDisk.Discovery" Enabled="true" Target="Microsoft.Windows.Server.2008.DiskPartition">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryRelationship TypeID="Microsoft.Windows.Server.2008.DiskPartitionContainsLogicalDisk"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Windows!Microsoft.Windows.WmiProviderWithRelationshipSnapshotDataMapper">
<NameSpace>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$\root\cimv2</NameSpace>
<Query>associators of {win32_diskpartition='$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$'} where ResultClass=Win32_LogicalDisk</Query>
<Frequency>86580</Frequency>
<RelationshipId>$MPElement[Name="Microsoft.Windows.Server.2008.DiskPartitionContainsLogicalDisk"]$</RelationshipId>
<SourceRoleSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</Value>
</Setting>
</Settings>
</SourceRoleSettings>
<TargetRoleSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</Name>
<Value>$Data/Property[@Name='DeviceID']$</Value>
</Setting>
</Settings>
</TargetRoleSettings>
</DataSource>
</Discovery>