Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken import due to renamed MonitorClient to MonitorManagementClient #65

Open
SREbuilt opened this issue May 7, 2021 · 0 comments
Open

Comments

@SREbuilt
Copy link
Contributor

SREbuilt commented May 7, 2021

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
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant