.net - Azure ARM Template Deployment Without Template Linking -


i'm having trouble finding documentation (although there seems hints) on how deploy azrm templates in .net application using azure.resource.manager without requiring use of template links. want generate templates on fly , deploy in-memory template , parameters file, possible?

the easiest way call azure powershell. can write arm template file, , deploy file with:

switch-azuremode -name azureresourcemanager     new-azureresourcegroup -name <resource group name> -location 'westus' -templatefile <json file location> 

to auth use add-azureaccount , switch sub want use select-azuresubscription.

to call cmdlet unattended see: auto login azure powershell


Comments