https://pulumi.com logo
Title
p

plain-tiger-79744

03/24/2020, 5:57 PM
Hi! How can I use the function
registerStackTransformation
with C#? I can't find the method for C#.
You need the latest 1.13.0 of Pulumi nuget
đź‘Ť 1
p

plain-tiger-79744

03/25/2020, 9:25 AM
How would I set tags for all of my Azure resources within a resource group? Unfortunately, the Tags property is not a part of base class, but defined in each Azure ResourceArg.
t

tall-librarian-49374

03/25/2020, 9:46 AM
Good question… I suspect you may have to resort to reflection for that.
p

plain-tiger-79744

03/25/2020, 2:17 PM
Would you be open for having a Marker Interface like ITagResourceArg? If you like a can create a Github issue for that.
t

tall-librarian-49374

03/25/2020, 3:54 PM
Our codegen doesn’t support anything like that at the moment. Also, not all Azure resources have tags, so it would have to actually inspect the type before adding the interface. Feel free to file an issue, but it’s not a simple change.
p

plain-tiger-79744

04/06/2020, 10:58 AM
@tall-librarian-49374 Is there a possibility to have this functionality not only in the base class but also when using the lambda of Pulumi.Deployment.RunAsync()?