TFS 工作項目同步處理

Microsoft.SystemCenter.TfsWISync.TfsServer.Template (Template)

此範本會連結 Operations Manager 警示和 Foundation Server 工作項目。 在此範本已設定時,操作員可以手動將警示指派給工程團隊。 指派警示給工程時會在 Team Foundation Server 中建立新的「工作項目」。

Source Code:

<Template ID="Microsoft.SystemCenter.TfsWISync.TfsServer.Template">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TemplateId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Name" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Description" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Links" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Url" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MachinePoolClassId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MachinePoolKeyPropertyValue" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="LocaleId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SecureStorageId" type="xsd:string"/>
</Configuration>
<References>
<Reference ID="System"/>
<Reference ID="Self"/>
</References>
<Implementation>
<Monitoring>
<Discoveries>
<Discovery ID="Microsoft.SystemCenter.TfsWISync.TfsServer.RuntimeDiscovery.$TemplateConfig/TemplateId$" Enabled="true" Target="$Reference/Self$Microsoft.SystemCenter.TfsWISync.ScomServer" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer">
<Property PropertyID="DisplayName" TypeID="$Reference/System$System.Entity"/>
<Property PropertyID="Url" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="Links" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="Description" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="LocaleId" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer.SingletonPoolDiscovery.DataSourceType">
<IntervalSeconds>3600</IntervalSeconds>
<Name>$TemplateConfig/Name$</Name>
<Description>$TemplateConfig/Description$</Description>
<Url>$TemplateConfig/Url$</Url>
<Links>$TemplateConfig/Links$</Links>
<LocaleId>$TemplateConfig/LocaleId$</LocaleId>
<MachinePoolClassId>$TemplateConfig/MachinePoolClassId$</MachinePoolClassId>
<MachinePoolKeyPropertyValue>$TemplateConfig/MachinePoolKeyPropertyValue$</MachinePoolKeyPropertyValue>
</DataSource>
</Discovery>
<Discovery ID="Microsoft.SystemCenter.TfsWISync.TfsServer.SingletonDiscovery.$TemplateConfig/TemplateId$" Enabled="true" Target="$Reference/Self$Microsoft.SystemCenter.TfsWISync.ScomServer" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer">
<Property PropertyID="DisplayName" TypeID="$Reference/System$System.Entity"/>
<Property PropertyID="Url" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="Links" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="Description" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
<Property PropertyID="LocaleId" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsServer.RuntimePoolDiscovery.DataSourceType">
<IntervalSeconds>3600</IntervalSeconds>
<Name>$TemplateConfig/Name$</Name>
<Description>$TemplateConfig/Description$</Description>
<Url>$TemplateConfig/Url$</Url>
<Links>$TemplateConfig/Links$</Links>
<LocaleId>$TemplateConfig/LocaleId$</LocaleId>
<MachinePoolClassId>$TemplateConfig/MachinePoolClassId$</MachinePoolClassId>
<MachinePoolKeyPropertyValue>$TemplateConfig/MachinePoolKeyPropertyValue$</MachinePoolKeyPropertyValue>
</DataSource>
</Discovery>
</Discoveries>
<Overrides>
<SecureReferenceOverride ID="Microsoft.SystemCenter.TfsWISync.TfsAccessAccount.SecureOverride.$TemplateConfig/TemplateId$" Context="$Reference/System$System.Entity" ContextInstance="$TemplateConfig/InstanceId$" Enforced="true" SecureReference="$Reference/Self$Microsoft.SystemCenter.TfsWISync.TfsAccessAccount">
<Value>$TemplateConfig/SecureStorageId$</Value>
</SecureReferenceOverride>
</Overrides>
</Monitoring>
<LanguagePacks>
<LanguagePack ID="$TemplateConfig/LocaleId$">
<DisplayStrings>
<DisplayString ElementID="Microsoft.SystemCenter.TfsWISync.TfsServer.RuntimeDiscovery.$TemplateConfig/TemplateId$">
<Name>TFS Collection discovery ($TemplateConfig/Url$) - runtime pool</Name>
<Description>TFS Collection discovery managed by runtime pool</Description>
</DisplayString>
<DisplayString ElementID="Microsoft.SystemCenter.TfsWISync.TfsServer.SingletonDiscovery.$TemplateConfig/TemplateId$">
<Name>TFS Collection discovery ($TemplateConfig/Url$) - singleton pool</Name>
<Description>TFS Collection discovery managed by singleton pool</Description>
</DisplayString>
<DisplayString ElementID="Microsoft.SystemCenter.TfsWISync.TfsAccessAccount.SecureOverride.$TemplateConfig/TemplateId$">
<Name>TFS Access Account override ($TemplateConfig/Url$)</Name>
<Description>TFS Access Account override ($TemplateConfig/Url$)</Description>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
</Implementation>
</Template>