azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

tags on subscription level

Open donets420 opened this issue 6 years ago • 4 comments

Hi team, I am trying to find method to return list of all available tags on subscription level. SubcriptionClient(azure.mgmt.subscription) doesn't have this information.

Is it possible to grap this information? Thanks in advance!

donets420 avatar Jul 07 '20 21:07 donets420

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @anuragdalmia, @shilpigautam, @ramaganesan-rg.

ghost avatar Jul 08 '20 15:07 ghost

@rthorn17 - can you take a look at this please.

anuragdalmia avatar Jul 09 '20 23:07 anuragdalmia

@donets420 You should use this python sdk: https://pypi.org/project/azure-mgmt-resource/. with the api, with parameter -resourceId (provide subscriptionId). This will get all tags on the subscription

rthorn17 avatar Jul 10 '20 17:07 rthorn17

yep, it works, thanks!

donets420 avatar Jul 10 '20 19:07 donets420