Tag Azure Subscription via Python SDK?
Is it possible to tag a subscription through the Python SDK? If yes, is there some documentation around this? I unfortunately could not find anything in the official Azure docs.
Thanks for reaching out @chris-jaec, @nickzhums could you help out here?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @anuragdalmia, @shilpigautam, @ramaganesan-rg.
Assigning this to @rthorn17 who is driving this. Existing documentation for doing this is [here] (https://docs.microsoft.com/en-us/rest/api/resources/tags/createorupdateatscope#update-tags-on-a-subscription). I will let @rthorn17 talk about support for python SDK.
@ramaganesan-rg to track this appropriately under Management Group
Removed "Subscription" tag. This should belong in Management Group
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.
any update on this? would be nice to have this
Hi team, any updates?
@anuragdalmia @rthorn17 could you guys provide any updates?
Hi Everyone- Refer to https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2019_10_01/operations/_tags_operations.py
get_at_scope() create_or_update_at_scope() update_at_scope() delete_at_scope()
These four Tags operations in SDK you can specify scope parameter with the subscription. That way you can manage tags on subscription level.
I don't see any docs on this written yet but I will get this added to backlogs to be done. Thanks
@rthorn17 - your link to github doesn't work for me. It looks like MS internal?
@rthorn17 - your link to github doesn't work for me. It looks like MS internal?
See if it works now as I just updated it. I don't know why but I was getting an error also with the same link