Check Disk (DBCC)

Microsoft.Azure.ManagedInstance.Task.Database.DBCCCheckAlloc (Task)

Checks the consistency of disk space allocation structures for a specified database.

Element properties:

TargetMicrosoft.Azure.ManagedInstance.Database
AccessibilityInternal
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA ProbeAction Microsoft.Azure.ManagedInstance.ProbeAction.DBCCCommandExecutor Default

Source Code:

<Task ID="Microsoft.Azure.ManagedInstance.Task.Database.DBCCCheckAlloc" Target="MngdInstD!Microsoft.Azure.ManagedInstance.Database" Accessibility="Internal" Enabled="true">
<Category>Maintenance</Category>
<ProbeAction ID="WA" TypeID="Microsoft.Azure.ManagedInstance.ProbeAction.DBCCCommandExecutor">
<InstanceName>$Target/Host/Property[Type="MngdInstD!Microsoft.Azure.ManagedInstance.DBEngine"]/InstanceName$</InstanceName>
<Tier>$Target/Host/Property[Type="MngdInstD!Microsoft.Azure.ManagedInstance.DBEngine"]/Tier$</Tier>
<HardwareGeneration>$Target/Host/Property[Type="MngdInstD!Microsoft.Azure.ManagedInstance.DBEngine"]/HardwareGeneration$</HardwareGeneration>
<ReadScaleOutReplicaType>$Target/Host/Property[Type="MngdInstD!Microsoft.Azure.ManagedInstance.DBEngine"]/ReadScaleOutReplicaType$</ReadScaleOutReplicaType>
<ConnectionString>$Target/Host/Property[Type="MngdInstD!Microsoft.Azure.ManagedInstance.DBEngine"]/ConnectionString$</ConnectionString>
<AuthType>$Target/Host/Property[Type="MngdInstD!Microsoft.Azure.ManagedInstance.DBEngine"]/AuthType$</AuthType>
<AuthorityDetails>$Target/Host/Property[Type="MngdInstD!Microsoft.Azure.ManagedInstance.DBEngine"]/AuthorityDetails$</AuthorityDetails>
<Login>$RunAs[Name="MngdInstD!Microsoft.Azure.ManagedInstance.RunAs.SqlCredentials"]/UserName$</Login>
<Password>$RunAs[Name="MngdInstD!Microsoft.Azure.ManagedInstance.RunAs.SqlCredentials"]/Password$</Password>
<AzureLogin>$RunAs[Name="MngdInstD!Microsoft.Azure.ManagedInstance.RunAs.AzureCredentials"]/UserName$</AzureLogin>
<AzurePassword>$RunAs[Name="MngdInstD!Microsoft.Azure.ManagedInstance.RunAs.AzureCredentials"]/Password$</AzurePassword>
<CommandName>CHECKALLOC</CommandName>
<DatabaseName>$Target/Property[Type="MngdInstD!Microsoft.Azure.ManagedInstance.Database"]/DatabaseName$</DatabaseName>
<SqlTimeoutSeconds>15</SqlTimeoutSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<Publisher>ManagedInstanceMonitoring</Publisher>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</ProbeAction>
</Task>