Skip to content

Azure Web App Stop

Adrien Siffermann edited this page Aug 4, 2016 · 8 revisions

Icon

With this task, you can stop an Azure Web App, or one of its slot, using an Azure Resource Manager Service Endpoint.

Requirements

You should have Setup an Azure Resource Manager Endpoint to use this task.

Add the task to your Build or Release Definition

Add-Tasks

You will find the task in the "Deploy" category.

Configuration

Configure-StopWebApp

General

  • Azure RM Subscription - Specifies the Azure Resource Manager Service Endpoint to use.
  • Web App Name - The Azure Web App name to target; you could pick up a value from your existing Web Apps, or enter a name (usefull when working with variables).
  • Slot - (Optionnal) If provided, will start the specified slot instead of the Web App itself.

Output

  • Stopped Url - (Optionnal) If provided, set a VSTS variable with this name and the stopped url as value. The variable can be used as $(variableName) to refer to the hosted url of Web App in subsequent tasks like in the PowerShell on Target Machines task.