Skip to content

Commit

Permalink
Merge pull request helderpinto#50 from helderpinto/issue49fix
Browse files Browse the repository at this point in the history
Replaced providers function usage by API version
  • Loading branch information
helderpinto authored Jan 11, 2022
2 parents fe31a11 + 56ec203 commit ff973a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1853,7 +1853,7 @@
],
"properties": {
"description": "The Azure SQL Server hostname for the ingestion control and recommendations tables",
"value": "[concat('\"', reference(resourceId('Microsoft.Sql/servers', parameters('sqlServerName')), providers('Microsoft.Sql', 'servers').apiVersions[0]).fullyQualifiedDomainName, '\"')]"
"value": "[concat('\"', reference(resourceId('Microsoft.Sql/servers', parameters('sqlServerName')), variables('apiVersions').sql).fullyQualifiedDomainName, '\"')]"
}
},
// Automation Variables (Log Analytics workspace Id)
Expand All @@ -1867,7 +1867,7 @@
],
"properties": {
"description": "The Log Analytics Workspace ID where optimization data will be ingested",
"value": "[concat('\"', reference(if(not(parameters('logAnalyticsReuse')), resourceId('microsoft.operationalinsights/workspaces', parameters('logAnalyticsWorkspaceName')), resourceId(parameters('logAnalyticsWorkspaceRG'), 'microsoft.operationalinsights/workspaces', parameters('logAnalyticsWorkspaceName'))), providers('microsoft.operationalinsights', 'workspaces').apiVersions[0]).customerId, '\"')]"
"value": "[concat('\"', reference(if(not(parameters('logAnalyticsReuse')), resourceId('microsoft.operationalinsights/workspaces', parameters('logAnalyticsWorkspaceName')), resourceId(parameters('logAnalyticsWorkspaceRG'), 'microsoft.operationalinsights/workspaces', parameters('logAnalyticsWorkspaceName'))), variables('apiVersions').operationalInsights).customerId, '\"')]"
}
},
// Automation Variables (Log Analytics workspace key)
Expand Down

0 comments on commit ff973a9

Please sign in to comment.