Add a new parameter, LogAnalyticsWorkspaceResourceID, to support it.
Add a new parameter, VNETRestrictedAccessForAzureMonitorResources, in azure-python-promote-or-quarantine plugin.
Log Analytics workspaces also provide properties, publicNetworkAccessForIngestion and publicNetworkAccessForQuery, to configure the network access. We think the Azure Monitor resources, like Application Insights and Log Analytics workspaces, should allow or disallow public network access at the same time.
When any of VNETRestrictedAccessForApplicationInsights and VNETRestrictedAccessForAzureMonitorResources is true, we disable public network access of all Application Insights and Log Analytics workspace resources.
We only allow public network access to those resources when both of the parameters are set to false.
Feat: Migrate classic Application Insights to workspace-based Application Insights for Azure plugins
Change Summary
Azure announced that they will retire classic Application Insights on 29 February 2024.
LogAnalyticsWorkspaceResourceID
, to support it.VNETRestrictedAccessForAzureMonitorResources
, inazure-python-promote-or-quarantine
plugin.publicNetworkAccessForIngestion
andpublicNetworkAccessForQuery
, to configure the network access. We think the Azure Monitor resources, like Application Insights and Log Analytics workspaces, should allow or disallow public network access at the same time.VNETRestrictedAccessForApplicationInsights
andVNETRestrictedAccessForAzureMonitorResources
istrue
, we disable public network access of all Application Insights and Log Analytics workspace resources.false
.PR Checklist
template.json
has been updatedOther Notes