az pipelines variable-group
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-group command. Learn more about extensions.
Manage variable groups.
Commands
Name | Description | Type | Status |
---|---|---|---|
az pipelines variable-group create |
Create a variable group. |
Extension | GA |
az pipelines variable-group delete |
Delete a variable group. |
Extension | GA |
az pipelines variable-group list |
List variable groups. |
Extension | GA |
az pipelines variable-group show |
Show variable group details. |
Extension | GA |
az pipelines variable-group update |
Update a variable group. |
Extension | GA |
az pipelines variable-group variable |
Manage variables in a variable group. |
Extension | GA |
az pipelines variable-group variable create |
Add a variable to a variable group. |
Extension | GA |
az pipelines variable-group variable delete |
Delete a variable from variable group. |
Extension | GA |
az pipelines variable-group variable list |
List the variables in a variable group. |
Extension | GA |
az pipelines variable-group variable update |
Update a variable in a variable group. |
Extension | GA |
az pipelines variable-group create
Create a variable group.
az pipelines variable-group create --name
--variables
[--authorize {false, true}]
[--description]
[--detect {false, true}]
[--org --organization]
[--project]
Required Parameters
Name of the variable group.
Variables in format key=value space separated pairs. Secret variables should be managed using az pipelines variable-group variable
commands.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Whether the variable group should be accessible by all pipelines.
Property | Value |
---|---|
Accepted values: | false, true |
Description of the variable group.
Automatically detect organization.
Property | Value |
---|---|
Accepted values: | false, true |
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/
.
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 Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 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-group delete
Delete a variable group.
az pipelines variable-group delete --group-id --id
[--detect {false, true}]
[--org --organization]
[--project]
[--yes]
Required Parameters
Id of the variable group.
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, true |
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/
.
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 Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 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-group list
List variable groups.
az pipelines variable-group list [--action --action-filter {manage, none, use}]
[--continuation-token]
[--detect {false, true}]
[--group-name]
[--org --organization]
[--project]
[--query-order {Asc, Desc}]
[--top]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Action filter for the variable group. It specifies the action which can be performed on the variable groups.
Property | Value |
---|---|
Accepted values: | manage, none, use |
Gets the variable groups after the continuation token provided.
Automatically detect organization.
Property | Value |
---|---|
Accepted values: | false, true |
Name of the variable group. Wildcards are accepted. e.g. var_group*.
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/
.
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.
Gets the results in the defined order.
Property | Value |
---|---|
Default value: | Desc |
Accepted values: | Asc, Desc |
Number of variable groups to get.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 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-group show
Show variable group details.
az pipelines variable-group show --group-id --id
[--detect {false, true}]
[--org --organization]
[--project]
Required Parameters
ID of the variable group.
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, true |
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/
.
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 Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 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-group update
Update a variable group.
az pipelines variable-group update --group-id --id
[--authorize {false, true}]
[--description]
[--detect {false, true}]
[--name]
[--org --organization]
[--project]
Required Parameters
Id of the variable group.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Whether the variable group should be accessible by all pipelines.
Property | Value |
---|---|
Accepted values: | false, true |
New description of the variable group.
Automatically detect organization.
Property | Value |
---|---|
Accepted values: | false, true |
New name of the variable group.
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/
.
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 Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 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 |