Azure/azure-sdk-for-python

Added “Resource visualizer” export functionality

gogo25171 opened this issue · 5 comments

Good morning,

I'm contacting you because I have a problem: I want to export the "Resource visualizer" in PNG format, but this is impossible for me. I tried to export the JSON template of my resource group to use it with AzViz, but without success, and moreover, it does not work in Python.

Could you help me resolve this issue? I thank you in advance.

Sincerely

Thanks for reaching out.

Could you share more details?

e.g. which SDK do you use? Or do you use az cli?

Thanks.

Hi @gogo25171. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

Thank you for contacting me.

To answer your question, I'm using the Azure SDK for Python to interact with Azure services in my script. I specifically use the azure.identity libraries for authentication and azure.mgmt.resource for managing Azure resources. I don't use the Azure CLI in this context, because my approach is entirely based on programming with Python.

Additionally, I am facing a challenge: I want to export the “Resource visualizer” in PNG format, but this seems impossible with the tools I have at my disposal. I've attempted to export my resource group's JSON model for use with AzViz in PowerShell mode, but with mixed success, and it appears this isn't easily done in Python.

Do you have any tips or resources to suggest to help me resolve this issue? Any assistance would be greatly appreciated.

I thank you in advance for your help and remain at your disposal for any additional information.

Sincerely, Gauthier C.