From 7e0c69e5003d52e00ce5acf712baef13a6ad685d Mon Sep 17 00:00:00 2001 From: Mike Ray <15928587+MikeRayMSFT@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:09:39 -0800 Subject: [PATCH] Learn Editor: Update manage-configuration.md --- docs/sql-server/azure-arc/manage-configuration.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/sql-server/azure-arc/manage-configuration.md b/docs/sql-server/azure-arc/manage-configuration.md index 8ec2df211aa..dae12d882a8 100644 --- a/docs/sql-server/azure-arc/manage-configuration.md +++ b/docs/sql-server/azure-arc/manage-configuration.md @@ -294,7 +294,7 @@ resources | extend Version = properties.version | extend Edition = properties.edition | extend containerId = tolower(tostring (properties.containerResourceId)) -| where Version in ("2012", "2014") +| where Version in ("SQL Server 2012", "SQL Server 2014") | where Edition in ("Enterprise", "Standard") | where isnotempty(containerId) | project containerId, SQL_instance = name, Version, Edition @@ -310,7 +310,11 @@ on $left.containerId == $right.machineId | where type == "microsoft.hybridcompute/machines/extensions" | where properties.type in ("WindowsAgent.SqlServer","LinuxAgent.SqlServer") | extend machineIdHasSQLServerExtensionInstalled = tolower(iff(id contains "/extensions/WindowsAgent.SqlServer" or id contains "/extensions/LinuxAgent.SqlServer", substring(id, 0, indexof(id, "/extensions/")), "")) - | project machineIdHasSQLServerExtensionInstalled, Extension_State = properties.provisioningState, License_Type = properties.settings.LicenseType, ESU = iff(notnull(properties.settings.enableExtendedSecurityUpdates), iff(properties.settings.enableExtendedSecurityUpdates == true,"enabled","disabled"), ""), Extension_Version = properties.instanceView.typeHandlerVersion + | project machineIdHasSQLServerExtensionInstalled, + Extension_State = properties.provisioningState, + License_Type = properties.settings.LicenseType, + ESU = iff(notnull(properties.settings.enableExtendedSecurityUpdates), iff(properties.settings.enableExtendedSecurityUpdates == 'true',"ENABLED","disabled"), "disabled"), + Extension_Version = properties.instanceView.typeHandlerVersion ) on $left.machineId == $right.machineIdHasSQLServerExtensionInstalled | project-away machineId, containerId, machineIdHasSQLServerExtensionInstalled