https://pulumi.com logo
#dotnet
Title
# dotnet
l

loud-shampoo-49194

12/29/2020, 10:38 AM
I have a quick question about naming resources - what is the difference between the constructor "name" argument and the *Args *Name argument? I'm using AzureNextGen.Latest and it throws an error when the *Args name argument is missing.
t

tall-librarian-49374

12/29/2020, 11:37 AM
The constructor argument is a “logical” name - it identifies the resource for Pulumi and has to be unique in the stack. The args name is a “physical” name that will appear in Azure.
We have an issue open to auto-assign the physical name based on the logical one but it’s a bit tricky in the NextGen provider
l

loud-shampoo-49194

12/30/2020, 6:45 AM
Hey Mikhail, thanks alot - that clears things up!