az devops service-endpoint

Manage service endpoints/connections.

Commands

az devops service-endpoint azurerm

Manage Azure RM service endpoints/connections.

az devops service-endpoint azurerm create

Create an Azure RM type service endpoint.

az devops service-endpoint create

Create a service endpoint using configuration file.

az devops service-endpoint delete

Deletes service endpoint.

az devops service-endpoint github

Manage GitHub service endpoints/connections.

az devops service-endpoint github create

Create a GitHub service endpoint.

az devops service-endpoint list

List service endpoints in a project.

az devops service-endpoint show

Get the details of a service endpoint.

az devops service-endpoint update

Update a service endpoint.

az devops service-endpoint create

Create a service endpoint using configuration file.

You can learn more about this at https://aka.ms/azure-devops-service-endpoint-config.

az devops service-endpoint create --service-endpoint-configuration
                                  [--detect {false, true}]
                                  [--encoding {ascii, utf-16be, utf-16le, utf-8}]
                                  [--org]
                                  [--project]
                                  [--subscription]

Required Parameters

--service-endpoint-configuration

Configuration file with service endpoint request.

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--encoding

Encoding of the input file.

accepted values: ascii, utf-16be, utf-16le, utf-8
default value: utf-8
--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 devops service-endpoint delete

Deletes service endpoint.

az devops service-endpoint delete --id
                                  [--deep]
                                  [--detect {false, true}]
                                  [--org]
                                  [--project]
                                  [--subscription]
                                  [--yes]

Required Parameters

--id

Id of the service endpoint to delete.

Optional Parameters

--deep

Specific to AzureRM endpoint created in Automatic flow. When it is specified, this will also delete corresponding AAD application in Azure.

--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 devops service-endpoint list

List service endpoints in a project.

rtypelist of VssJsonCollectionWrapper.

az devops service-endpoint list [--detect {false, true}]
                                [--org]
                                [--project]
                                [--query-examples]
                                [--subscription]

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 devops service-endpoint show

Get the details of a service endpoint.

az devops service-endpoint show --id
                                [--detect {false, true}]
                                [--org]
                                [--project]
                                [--query-examples]
                                [--subscription]

Required Parameters

--id

ID of the service endpoint.

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 devops service-endpoint update

Update a service endpoint.

az devops service-endpoint update --id
                                  [--detect {false, true}]
                                  [--enable-for-all {false, true}]
                                  [--org]
                                  [--project]
                                  [--subscription]

Required Parameters

--id

ID of the service endpoint.

Optional Parameters

--detect

Automatically detect organization.

accepted values: false, true
--enable-for-all

Allow all pipelines to access this service endpoint.

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.