-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix azure-mgmt-monitor example code #29571
Fix azure-mgmt-monitor example code #29571
Comments
Hi @legdba, thank you for opening an issue! I'll tag some folks who should be able to help and we'll get back to you as soon as possible. |
Thank you for your feedback. This has been routed to the support team for assistance. |
@legdba The PR for the fix has been created and it will be merged soon. Thanks again for pointing this out, I am closing the issue based on this update, please let us know if there is something else that we can help you with. |
Describe the bug
Sample code from documentation (https://learn.microsoft.com/en-us/python/api/overview/azure/monitoring?view=azure-python-previous&viewFallbackFrom=azure-python) does not work:
item.unit.name
should beitem.unit
.I also suggest updating the example to be a fully functional code, not just a snippet. As it is, it misses credentials.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Executes and returns value.
Screenshots
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: