BKoth on Fri, 16 Aug 2019 18:53:13
Is it possible to add tags to the resources created through an Azure Batch pool? I don't see anything in the batch sdk, I thought perhaps the Azure Resource Management sdk might have a way but I'm struggling to see how.
Micah McKittrick on Fri, 16 Aug 2019 19:47:19
Are you referring to tagging as resources are being created or after they are created you going back and updating the tags?
BKoth on Fri, 16 Aug 2019 20:13:33
Micah McKittrick on Fri, 16 Aug 2019 20:33:07
Azure Batch does support tags
As per applying tags, you can apply them using the portal, PowerShell, CLI, Template and Rest API.
We have examples of using each of these here:
BKoth on Fri, 16 Aug 2019 20:44:43
What about through the .NET SDK?
Micah McKittrick on Fri, 16 Aug 2019 20:51:04
I am not aware of any way to achieve this using the .Net SDK. Only the above listed options in my previous comment.
Jake Freck [MSFT] on Tue, 20 Aug 2019 01:04:32
For the .NET SDK, you can use the ResourceManager SDK to add a tag to an existing resource: