警报同步数据源

Microsoft.SystemCenter.AlertAttachment.SynchronizeAlerts.DataSource (DataSourceModuleType)

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsMicrosoft.SystemCenter.DatabaseWriteActionAccount
OutputTypeMicrosoft.SystemCenter.DataItemAlertSubscription

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.SubscribedAlertProvider Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
ExpirationStartTimestring$Config/ExpirationStartTime$警报同步数据源过期开始时间警报同步数据源过期开始时间
PollingIntervalMinutesint$Config/PollingIntervalMinutes$警报同步数据源轮询间隔警报同步数据源轮询间隔
LanguageCodestring$Config/LanguageCode$警报同步数据源语言代码警报同步数据源语言代码
BatchSizestring$Config/BatchSize$警报同步数据源批大小警报同步数据源批大小

Source Code:

<DataSourceModuleType ID="Microsoft.SystemCenter.AlertAttachment.SynchronizeAlerts.DataSource" Accessibility="Internal" RunAs="SC!Microsoft.SystemCenter.DatabaseWriteActionAccount" Batching="true">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ExpirationStartTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PollingIntervalMinutes" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="LanguageCode" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="BatchSize" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ExpirationStartTime" Selector="$Config/ExpirationStartTime$" ParameterType="string"/>
<OverrideableParameter ID="PollingIntervalMinutes" Selector="$Config/PollingIntervalMinutes$" ParameterType="int"/>
<OverrideableParameter ID="LanguageCode" Selector="$Config/LanguageCode$" ParameterType="string"/>
<OverrideableParameter ID="BatchSize" Selector="$Config/BatchSize$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.SubscribedAlertProvider">
<AlertChangedSubscription Property="Any" History="true">
<Criteria>
<Expression>
<SimpleExpression>
<ValueExpression>
<Property>CustomField1</Property>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>SynchronizationAlert</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Criteria>
<ExpirationStartTime>$Config/ExpirationStartTime$</ExpirationStartTime>
<PollingIntervalMinutes>$Config/PollingIntervalMinutes$</PollingIntervalMinutes>
<LanguageCode>$Config/LanguageCode$</LanguageCode>
<BatchSize>$Config/BatchSize$</BatchSize>
<RuleId>$MPElement$</RuleId>
<TargetBaseManagedEntityId>$Target/Id$</TargetBaseManagedEntityId>
</AlertChangedSubscription>
</DataSource>
</MemberModules>
<Composition>
<Node ID="DS"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>SC!Microsoft.SystemCenter.DataItemAlertSubscription</OutputType>
</DataSourceModuleType>