更新发现的属性

Microsoft.ApacheHTTPServer.DiscoverServer.Task (Task)

此任务会触发 Apache 服务器属性的发现。此任务可以用于在部署 Apache CIM 模块和提供程序之后触发 Apache HTTP 服务器的完整发现。

Element properties:

TargetMicrosoft.ApacheHTTPServer.Installation.Unix
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
DiscoverServer WriteAction Microsoft.ApacheHTTPServer.DiscoverProvider.WriteAction Default

Source Code:

<Task ID="Microsoft.ApacheHTTPServer.DiscoverServer.Task" Target="Microsoft.ApacheHTTPServer.Installation.Unix" Accessibility="Public" Enabled="true">
<Category>Maintenance</Category>
<WriteAction ID="DiscoverServer" TypeID="Microsoft.ApacheHTTPServer.DiscoverProvider.WriteAction">
<TimeoutSeconds>240</TimeoutSeconds>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<DiscoveryId>$MPElement[Name="Microsoft.ApacheHTTPServer.ManagedSever.Discovery.Unix"]$</DiscoveryId>
<TargetInstanceId>$Target/Host/Id$</TargetInstanceId>
</WriteAction>
</Task>