A Variable
can be used to enable/disable elements of build/release pipelines in Azure DevOps. This GIST shows how this can be implemented within a pipeline.
Within the Variables
tab create a new variable for this toggle, and set this to a suitable default.
The following example creates a variable Deploy.Arm
that defaults to false
that can be overridden at the creation of the queue.