Azure-Samples / azure-samples-python-management

This repo contains sample code for management libraries of Azure SDK for Python
MIT License
167 stars 134 forks source link

broken import due to renamed MonitorClient to MonitorManagementClient #65

Open SREbuilt opened 3 years ago

SREbuilt commented 3 years ago

wrong import seen in manage_activity_log_alert.py

probably there are more broken imports due to refactoring going on and probable all samples should be re-validated for broken imports..

correct are: [..] from azure.mgmt.monitor import MonitorManagementClient [..] monitor_client = MonitorManagementClient( credential=DefaultAzureCredential(), subscription_id=SUBSCRIPTION_ID )