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 create

Create a service endpoint using configuration file.

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

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.

az devops service-endpoint delete

Deletes service endpoint.

az devops service-endpoint delete --id
[--deep]
[--detect {false, true}]
[--org]
[--project]
[--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.

--yes -y

Do not prompt for confirmation.

az devops service-endpoint list

List service endpoints in a project.

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

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.

az devops service-endpoint show

Get the details of a service endpoint.

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

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.