Note
This reference is part of the azure-devops extension for the Azure CLI (version 2.30.0 or higher). The extension will automatically install the first time you run an az pipelines variable command. Learn more about extensions.
Manage pipeline variables.
Commands az pipelines variable createAdd a variable to a pipeline.
az pipelines variable create --name
[--allow-override {false, true}]
[--detect {false, true}]
[--org --organization]
[--pipeline-id]
[--pipeline-name]
[--project]
[--secret {false, true}]
[--value]
Required Parameters
Name of the variable.
Optional ParametersThe following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Indicates whether the value can be set at queue time.
Property Value Accepted values: false, trueAutomatically detect organization.
Property Value Accepted values: false, trueAzure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/
.
Id of the pipeline.
Name of the pipeline. Ignored if --pipeline-id parameter is supplied.
Name or ID of the project. You can configure the default project using az devops configure -d project=NAME_OR_ID. Required if not configured as default or picked up via git config.
Indicates whether the variable's value is a secret.
Property Value Accepted values: false, trueValue of the variable. For secret variables, if --value parameter is not given, it will be picked from environment variable prefixed with AZURE_DEVOPS_EXT_PIPELINE_VAR_ or user will be prompted to enter it via standard input. e.g. A variable named MySecret
can be input using environment variable AZURE_DEVOPS_EXT_PIPELINE_VAR_MySecret.
Increase logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property Value Default value: False az pipelines variable deleteDelete a variable from pipeline.
az pipelines variable delete --name
[--detect {false, true}]
[--org --organization]
[--pipeline-id]
[--pipeline-name]
[--project]
[--yes]
Required Parameters
Name of the variable to delete.
Optional ParametersThe following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Automatically detect organization.
Property Value Accepted values: false, trueAzure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/
.
Id of the pipeline.
Name of the pipeline.
Name or ID of the project. You can configure the default project using az devops configure -d project=NAME_OR_ID. Required if not configured as default or picked up via git config.
Do not prompt for confirmation.
Property Value Default value: False Global ParametersIncrease logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property Value Default value: False az pipelines variable listList the variables in a pipeline.
az pipelines variable list [--detect {false, true}]
[--org --organization]
[--pipeline-id]
[--pipeline-name]
[--project]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Automatically detect organization.
Property Value Accepted values: false, trueAzure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/
.
Id of the pipeline.
Name of the pipeline. Ignored if --pipeline-id parameter is supplied.
Name or ID of the project. You can configure the default project using az devops configure -d project=NAME_OR_ID. Required if not configured as default or picked up via git config.
Global ParametersIncrease logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property Value Default value: False az pipelines variable updateUpdate a variable in a pipeline.
az pipelines variable update --name
[--allow-override {false, true}]
[--detect {false, true}]
[--new-name]
[--org --organization]
[--pipeline-id]
[--pipeline-name]
[--project]
[--prompt-value {false, true}]
[--secret {false, true}]
[--value]
Required Parameters
Name of the variable.
Optional ParametersThe following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Indicates whether the value can be set at queue time.
Property Value Accepted values: false, trueAutomatically detect organization.
Property Value Accepted values: false, trueNew name of the variable.
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: https://dev.azure.com/MyOrganizationName/
.
Id of the pipeline.
Name of the pipeline. Ignored if --pipeline-id parameter is supplied.
Name or ID of the project. You can configure the default project using az devops configure -d project=NAME_OR_ID. Required if not configured as default or picked up via git config.
Set it to True to update the value of a secret variable using environment variable or prompt via standard input.
Property Value Accepted values: false, trueIf the value of the variable is a secret.
Property Value Accepted values: false, trueNew value of the variable. For secret variables, use --prompt-value parameter, to be prompted to enter it via standard input. For non-interactive consoles it can be picked from environment variable prefixed with AZURE_DEVOPS_EXT_PIPELINE_VAR_ e.g. A variable nameed MySecret
can be input using environment variable AZURE_DEVOPS_EXT_PIPELINE_VAR_MySecret.
Increase logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property Value Default value: FalseRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4