az devops service-endpoint
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 devops service-endpoint command. Learn more about extensions.
Manage service endpoints/connections.
Commands
Name | Description | Type | Status |
---|---|---|---|
az devops service-endpoint azurerm |
Manage Azure RM service endpoints/connections. |
Extension | GA |
az devops service-endpoint azurerm create |
Create an Azure RM type service endpoint. |
Extension | GA |
az devops service-endpoint create |
Create a service endpoint using configuration file. |
Extension | GA |
az devops service-endpoint delete |
Deletes service endpoint. |
Extension | GA |
az devops service-endpoint github |
Manage GitHub service endpoints/connections. |
Extension | GA |
az devops service-endpoint github create |
Create a GitHub service endpoint. |
Extension | GA |
az devops service-endpoint list |
List service endpoints in a project. |
Extension | GA |
az devops service-endpoint show |
Get the details of a service endpoint. |
Extension | GA |
az devops service-endpoint update |
Update a service endpoint. |
Extension | GA |
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]
Required Parameters
Configuration file with service endpoint request.
Optional Parameters
Automatically detect organization.
Encoding of the input file.
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.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az devops service-endpoint delete
Deletes service endpoint.
az devops service-endpoint delete --id
[--deep]
[--detect {false, true}]
[--org]
[--project]
[--yes]
Required Parameters
Id of the service endpoint to delete.
Optional Parameters
Specific to AzureRM endpoint created in Automatic flow. When it is specified, this will also delete corresponding AAD application in Azure.
Automatically detect 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/.
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.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az devops service-endpoint list
List service endpoints in a project.
:rtype: list of :class:VssJsonCollectionWrapper <service_endpoint.v4_1.models.ServiceEndpoint>
.
az devops service-endpoint list [--detect {false, true}]
[--org]
[--project]
Optional Parameters
Automatically detect 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/.
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.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
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 of the service endpoint.
Optional Parameters
Automatically detect 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/.
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.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
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]
Required Parameters
ID of the service endpoint.
Optional Parameters
Automatically detect organization.
Allow all pipelines to access this service endpoint.
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.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.