You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can inventory and view SQL Server databases in Azure.
16
+
You can inventory and view [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] databases in Azure.
17
17
18
18
## Prerequisites
19
19
20
-
Before you begin, verify that the SQL Server instance that hosts the databases:
20
+
Before you begin, verify that the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instance that hosts the databases:
21
21
22
22
- Is hosted on a physical or virtual machine running Windows operating system.
23
23
- Is [!INCLUDE [sssql14-md](../../includes/sssql14-md.md)] or later.
24
24
- Is connected to Azure Arc. See [Connect your SQL Server to Azure Arc](connect.md).
25
25
- Is connected to the internet directly or through a proxy server.
26
26
- Make sure that database names adhere to naming conventions and don't contain reserve words. For a list of reserved words, see [Resolve errors for reserved resource names](/azure/azure-resource-manager/troubleshooting/error-reserved-resource-name).
27
-
- To view the database size and space available, please provide the following permission:
28
-
- The SQL Server built-in login **NT AUTHORITY\SYSTEM** must be the member of SQL Server **sysadmin** server role for all the SQL Server instances running on the machine.
27
+
- To view the database size and space available, provide the following permission:
28
+
- The built-in [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)]login **NT AUTHORITY\SYSTEM** must be a member of the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)]**sysadmin** server role, for all the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] instances running on the machine.
29
29
30
30
## Inventory databases
31
31
32
32
1. Locate the [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] instance in the Azure portal.
33
-
1.**Select** the SQL Server resource.
33
+
1.**Select** the [!INCLUDE [ssnoversion-md](../../includes/ssnoversion-md.md)] resource.
34
34
1. Under **Data management**, select **Databases**.
35
35
36
36
The Azure portal shows **SQL Server databases - Azure Arc**. Use this area to view the databases that belong to the instance.
@@ -41,9 +41,9 @@ To view database properties for a specific database, select the database on the
41
41
42
42
After you create, modify, or delete a database, changes are visible in the Azure portal within an hour.
43
43
44
-
:::image type="content" source="media/view-databases/database-properties.png" alt-text="Screenshot of Azure portal, SQL Server database properties.":::
44
+
:::image type="content" source="media/view-databases/database-properties.png" alt-text="Screenshot of Azure portal, SQL Server database properties." lightbox="media/view-databases/database-properties.png":::
45
45
46
-
On Database properties the page describes:
46
+
On the Database page, you see the following information:
47
47
48
48
- Information about the data collection and upload:
49
49
- Last collected time
@@ -54,6 +54,10 @@ On Database properties the page describes:
54
54
- Creation time
55
55
- Earliest restore point
56
56
57
+
When you select a specific database, you see all the properties for that database, which are also visible in SQL Server Management Studio (SSMS).
58
+
59
+
:::image type="content" source="media/view-databases/full-property-list.png" alt-text="Screenshot of full database property list." lightbox="media/view-databases/full-property-list.png":::
60
+
57
61
## How to use Azure Resource Graph to query data
58
62
59
63
Here are some example scenarios showing how you use [Azure Resource Graph](/azure/governance/resource-graph/overview) to query data that is available when viewing [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] databases.
@@ -140,7 +144,7 @@ You can also [create charts and pin them to dashboards](/azure/governance/resour
140
144
141
145
:::image type="content" source="media/view-databases/database-chart.png" alt-text="Diagram of a pie chart that displays the query results for the count of databases by compatibility level.":::
142
146
143
-
## Next steps
147
+
## Related content
144
148
145
149
-[Protect [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] with Microsoft Defender for Cloud](configure-advanced-data-security.md)
146
-
-[Configure best practices assessment on a [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] instance](assess.md)
150
+
-[Configure best practices assessment on a [!INCLUDE [ssazurearc](../../includes/ssazurearc.md)] instance](assess.md)
0 commit comments