sparse-intern-71089
07/13/2021, 10:11 AMbrave-planet-10645
07/13/2021, 10:14 AMname
, do you mean the first parameter:
resource_group = ResourceGroup("rg_Mark")
?ancient-eve-13947
07/13/2021, 10:21 AMbrave-planet-10645
07/13/2021, 10:22 AMancient-eve-13947
07/13/2021, 10:22 AMancient-eve-13947
07/13/2021, 10:28 AMvar sqlServer= new Server("nameJustForPulumi", new ServerArgs{ ServerName="actualServerName", ... });
var sqlDatabase= new Database("...", new DatabaseArgs{ ServerName= sqlServer.Name});
Will the server name of the database be correctly set, ie, to "actualServerName"? or do I use this wrong?brave-planet-10645
07/13/2021, 10:44 AMServerName
has a few characters on the end (due to our auto-naming), but you're referencing it correctly in the Database
resourceancient-eve-13947
07/13/2021, 10:48 AMancient-eve-13947
07/13/2021, 10:55 AMancient-eve-13947
07/13/2021, 10:56 AMancient-eve-13947
07/13/2021, 10:56 AMbrave-planet-10645
07/13/2021, 1:08 PM