powershell - Azure Resource Template Deployment issues -


i have created separate arm templates each documentdb, azure sql server, storage account, azure key vault, azure batch, hdinsight cluster.

using new-azurermresourcegroupdeployment powershell command when deploy above resources in loop within same resource group found strange behaviour. while deploying docdb deployed resources in resource group vanishes (probably deleted automatically). same case when deploy azure sql server.

has encountered same issue? there fix?

new-azurermresourcegroupdeployment has -mode parameter can set either complete or incremental

complete mode create resource group define in template deleting resource not explicitly defined in template.

incremental mode add or modify resources achieve specified template. ignoring additional resources present within resource group. incremental mode modify pre-existing resources match in template.


Comments