Fix disabling `enable_log_analytics_workspace` returns error
Fix the problem when we try to disable enable_log_analytics_workspace
, it returns error Error: waiting for update of Managed Kubernetes Cluster "<cluster_name>" (Resource Group "<rg_name>"): Code="GetLogAnalyticsWorkspaceError" Message="Unable to get log analytics workspace info. Resource ID: /subscriptions/<subscription_id>/resourcegroups/<rg_name>/providers/microsoft.operationalinsights/workspaces/<log_analytics_workspace_id>. Details: autorest/azure: Service returned an error. Status=404 Code=\"ResourceNotFound\" Message=\"The Resource 'Microsoft.OperationalInsights/workspaces/<log_analytics_workspace_id>' under resource group '<rg_name>' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\". For more details about how to create and use log analytics workspace, please refer to: https://aka.ms/new-log-analytics"
. Because removing block oms_agent
will not disable the enable_log_analytics_workspace
.