az pipelines variable-group

Manage variable groups.

Commands

az pipelines variable-group create

Create a variable group.

az pipelines variable-group delete

Delete a variable group.

az pipelines variable-group list

List variable groups.

az pipelines variable-group show

Show variable group details.

az pipelines variable-group update

Update a variable group.

az pipelines variable-group variable

Manage variables in a variable group.

az pipelines variable-group variable create

Add a variable to a variable group.

az pipelines variable-group variable delete

Delete a variable from variable group.

az pipelines variable-group variable list

List the variables in a variable group.

az pipelines variable-group variable update

Update a variable in a variable group.

az pipelines variable-group create

Create a variable group.

az pipelines variable-group create --name
                                   --variables
                                   [--authorize {false, true}]
                                   [--description]
                                   [--detect {false, true}]
                                   [--org]
                                   [--project]
                                   [--subscription]

Required Parameters

--name

Name of the variable group.

--variables

Variables in format key=value space separated pairs. Secret variables should be managed using az pipelines variable-group variable commands.

Optional Parameters

--authorize

Whether the variable group should be accessible by all pipelines.

accepted values: false, true
--description

Description of the variable group.

--detect

Automatically detect organization.

accepted values: false, true
--org --organization

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/.

--project -p

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.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az pipelines variable-group delete

Delete a variable group.

az pipelines variable-group delete --group-id
                                   [--detect {false, true}]
                                   [--org]
                                   [--project]
                                   [--subscription]
                                   [--yes]

Required Parameters

--group-id --id

Id of the variable group.

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--org --organization

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/.

--project -p

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.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--yes -y

Do not prompt for confirmation.

az pipelines variable-group list

List variable groups.

az pipelines variable-group list [--action {manage, none, use}]
                                 [--continuation-token]
                                 [--detect {false, true}]
                                 [--group-name]
                                 [--org]
                                 [--project]
                                 [--query-examples]
                                 [--query-order {Asc, Desc}]
                                 [--subscription]
                                 [--top]

Optional Parameters

--action --action-filter

Action filter for the variable group. It specifies the action which can be performed on the variable groups.

accepted values: manage, none, use
--continuation-token

Gets the variable groups after the continuation token provided.

--detect

Automatically detect organization.

accepted values: false, true
--group-name

Name of the variable group. Wildcards are accepted. e.g. var_group*.

--org --organization

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/.

--project -p

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.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--query-order

Gets the results in the defined order.

accepted values: Asc, Desc
default value: Desc
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--top

Number of variable groups to get.

az pipelines variable-group show

Show variable group details.

az pipelines variable-group show --group-id
                                 [--detect {false, true}]
                                 [--org]
                                 [--project]
                                 [--query-examples]
                                 [--subscription]

Required Parameters

--group-id --id

ID of the variable group.

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--org --organization

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/.

--project -p

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.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az pipelines variable-group update

Update a variable group.

az pipelines variable-group update --group-id
                                   [--authorize {false, true}]
                                   [--description]
                                   [--detect {false, true}]
                                   [--name]
                                   [--org]
                                   [--project]
                                   [--subscription]

Required Parameters

--group-id --id

Id of the variable group.

Optional Parameters

--authorize

Whether the variable group should be accessible by all pipelines.

accepted values: false, true
--description

New description of the variable group.

--detect

Automatically detect organization.

accepted values: false, true
--name

New name of the variable group.

--org --organization

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/.

--project -p

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.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.