Windows Azure Role Instance Event Log Collection Simple Data Source
Microsoft.SystemCenter.Azure.RoleInstance.EventLog.CollectData.DS (DataSourceModuleType)
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<DataSourceModuleType ID="Microsoft.SystemCenter.Azure.RoleInstance.EventLog.CollectData.DS" Accessibility="Public" RunAs="Microsoft.SystemCenter.Azure.RunAsProfile.Proxy" Batching="true">
<Configuration>
<xsd:element minOccurs="1" maxOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element minOccurs="1" maxOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="WebApp!Microsoft.SystemCenter.WebApplication.PerProbe.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/IntervalSeconds$</Interval>
<SpreadInitializationOverInterval Unit="Seconds">$Config/IntervalSeconds$</SpreadInitializationOverInterval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
<UniquenessKey>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.Azure.Deployment"]/DeploymentId$$Target/Host/Property[Type="Microsoft.SystemCenter.Azure.Role"]/RoleName$$Target/Host/Property[Type="Microsoft.SystemCenter.Azure.Role"]/DiagnosticsStorageAccount$WADWindowsEventLogsTable</UniquenessKey>
</DataSource>
<ProbeAction ID="PA" TypeID="Microsoft.SystemCenter.Azure.RoleInstance.EventLog.CollectData.PA">
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<Proxy>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.Azure.HostedService"]/ProxyServerAddress$</Proxy>
<CertificateBlob>$RunAs[Name="Microsoft.SystemCenter.Azure.RunAsProfile.Blob"]/Data$</CertificateBlob>
<CertificatePassword>$RunAs[Name="Microsoft.SystemCenter.Azure.RunAsProfile.Password"]/Password$</CertificatePassword>
<BaseManagementApiAddress>https://management.core.windows.net</BaseManagementApiAddress>
<ManagementApiVersion>2009-10-01</ManagementApiVersion>
<SubscriptionId>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.Azure.HostedService"]/SubscriptionId$</SubscriptionId>
<ServiceName>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.Azure.HostedService"]/ServiceName$</ServiceName>
<DeploymentSlot>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.Azure.Deployment"]/DeploymentSlot$</DeploymentSlot>
<DeploymentId>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.Azure.Deployment"]/DeploymentId$</DeploymentId>
<RoleName>$Target/Host/Property[Type="Microsoft.SystemCenter.Azure.Role"]/RoleName$</RoleName>
<StorageServiceApiVersion>2009-09-19</StorageServiceApiVersion>
<DiagnosticsStorageAccount>$Target/Host/Property[Type="Microsoft.SystemCenter.Azure.Role"]/DiagnosticsStorageAccount$</DiagnosticsStorageAccount>
<DiagnosticsStorageTable>WADWindowsEventLogsTable</DiagnosticsStorageTable>
</ProbeAction>
<ConditionDetection ID="CD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">LoggingComputer</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.Azure.HostedService"]/SubscriptionId$.$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.Azure.HostedService"]/ServiceName$.$Target/Host/Host/Property[Type="Microsoft.SystemCenter.Azure.Deployment"]/DeploymentSlot$.$Target/Property[Type="Microsoft.SystemCenter.Azure.RoleInstance"]/RoleInstanceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="CD">
<Node ID="PA">
<Node ID="DS"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>SC!Microsoft.SystemCenter.Event.LinkedData</OutputType>
</DataSourceModuleType>