azure-devops-yaml-schema
azure-devops-yaml-schema copied to clipboard
Deployment outputs variable not clear
This seciton of the document:
deploymentOutputs - Deployment outputs string.
Provides a name for the variable for the output variable, which contains the outputs section of the current deployment object in string format. You can use the ConvertFrom-Json PowerShell cmdlet to parse the JSON object and access the individual output values. Learn more about deployment outputs.
It's not clear whether this argument needs to be the powershell variable name or the symbol (i.e with the dollar prefix) e.g
E.g should I do this?
deploymentOutputs: '$myVariable`
Or this:
deploymentOutputs: 'myVariable`
The link also provides no clarification.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 39f9c731-0172-2061-b972-3870d69ac358
- Version Independent ID: 39f9c731-0172-2061-b972-3870d69ac358
- Content: AzureResourceManagerTemplateDeployment@3 - ARM template deployment v3 task
- Content Source: task-reference/azure-resource-manager-template-deployment-v3.md
- Service: azure-devops-pipelines
- Sub-service: azure-devops-pipelines-tasks
- GitHub Login: @steved0x
- Microsoft Alias: sdanie