Azure SQL MI: Database Discovery Data Source

Microsoft.Azure.ManagedInstance.DataSource.DatabaseDiscovery (DataSourceModuleType)

Database Discovery Data Source on Azure SQL Managed Instance.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
OutputTypeSystem.Discovery.Data

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Discovery.Scheduler Default
Probe ProbeAction Microsoft.Azure.ManagedInstance.ProbeAction.DatabaseDiscovery Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
ExcludeListstring$Config/ExcludeList$Exclude ListA comma-separated list of databases that must be excluded from discovery. Use a wildcard character * to exclude all databases. Otherwise, use conditions like *_test to exclude database names that end with _test, Test* to exclude database names that start with Test, or *test* condition to exclude database names that have test in any place.
SqlTimeoutSecondsint$Config/SqlTimeoutSeconds$Timeout for database connection (seconds)The workflow will fail and register an event, if it cannot access the database during the specified period.
TimeoutSecondsint$Config/TimeoutSeconds$Timeout (seconds)Specifies the time the workflow is allowed to run before being closed and marked as failed.
IntervalSecondsint$Config/IntervalSeconds$Interval (seconds)The recurring interval of time in seconds in which to run the workflow.
SyncTimestring$Config/SyncTime$Synchronization TimeSynchronization Time

Source Code:

<DataSourceModuleType ID="Microsoft.Azure.ManagedInstance.DataSource.DatabaseDiscovery" Accessibility="Internal">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Tier" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="HardwareGeneration" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ReadScaleOutReplicaType" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ConnectionString" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AuthType" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AuthorityDetails" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ExcludeList" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SqlTimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ExcludeList" ParameterType="string" Selector="$Config/ExcludeList$"/>
<OverrideableParameter ID="SqlTimeoutSeconds" ParameterType="int" Selector="$Config/SqlTimeoutSeconds$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.Discovery.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.Azure.ManagedInstance.ProbeAction.DatabaseDiscovery">
<InstanceName>$Config/InstanceName$</InstanceName>
<Tier>$Config/Tier$</Tier>
<HardwareGeneration>$Config/HardwareGeneration$</HardwareGeneration>
<ReadScaleOutReplicaType>$Config/ReadScaleOutReplicaType$</ReadScaleOutReplicaType>
<ConnectionString>$Config/ConnectionString$</ConnectionString>
<AuthType>$Config/AuthType$</AuthType>
<AuthorityDetails>$Config/AuthorityDetails$</AuthorityDetails>
<Login>$RunAs[Name="Microsoft.Azure.ManagedInstance.RunAs.SqlCredentials"]/UserName$</Login>
<Password>$RunAs[Name="Microsoft.Azure.ManagedInstance.RunAs.SqlCredentials"]/Password$</Password>
<AzureLogin>$RunAs[Name="Microsoft.Azure.ManagedInstance.RunAs.AzureCredentials"]/UserName$</AzureLogin>
<AzurePassword>$RunAs[Name="Microsoft.Azure.ManagedInstance.RunAs.AzureCredentials"]/Password$</AzurePassword>
<ExcludeList>$Config/ExcludeList$</ExcludeList>
<DatabaseClassId>$MPElement[Name='Microsoft.Azure.ManagedInstance.Database']$</DatabaseClassId>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<DefaultPoolClassId>$MPElement[Name='Microsoft.Azure.ManagedInstance.DefaultPool']$</DefaultPoolClassId>
<UserDefinedResourcePoolClassId>$MPElement[Name='Microsoft.Azure.ManagedInstance.UserDefinedPool']$</UserDefinedResourcePoolClassId>
<DatabaseReferencesUserResourcePoolClassId>$MPElement[Name='Microsoft.Azure.ManagedInstance.DatabaseReferencesUserResourcePool']$</DatabaseReferencesUserResourcePoolClassId>
<SqlTimeoutSeconds>$Config/SqlTimeoutSeconds$</SqlTimeoutSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<Publisher>ManagedInstanceDiscovery</Publisher>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</ProbeAction>
</MemberModules>
<Composition>
<Node ID="Probe">
<Node ID="Scheduler"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>