O'Reilly logo

DevOps with Windows Server 2016 by Ritesh Modi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

New-TemplateDeployment.ps1

After ensuring that the ARM template has no errors, it's time to execute the template and provision environment along with the application deployment. This script is very similar to Test-ARMTemplate.ps1. It takes the same parameters but instead of testing the template, this script starts the actual deployment process using the New-AzureRmResourceGroupDeployment cmdlet. This script is executed from the release pipeline. The entire script is shown here.

param(

    [string] $ARMTemplatePath,

    [string] $ARMTemplateParametersPath,

    [string] $resourceGroupName,

    [string] $OMSWorkspaceName,

    [string] $skuName ,

    [string] $deploymentName,

    [string] $pullserverRegKey,

    [string] $pullserverPort,

 [string] $webAppPort,  ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required