ado_oauth_infos
Creates, updates, deletes, gets or lists an ado_oauth_infos resource.
Overview
| Name | ado_oauth_infos |
| Type | Resource |
| Id | azure_extras.devhub.ado_oauth_infos |
Fields
The following fields are returned by SELECT queries:
- get_ado_oauth_info
| Name | Datatype | Description |
|---|---|---|
authURL | string | URL used to authorize ADO app using Entra ID. |
token | string | OAuth token used to make calls to ADO APIs. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_ado_oauth_info | select | location, subscription_id | Gets ADOOAuth info used to authenticate users with ADO. Gets ADOOAuth info used to authenticate users with ADO. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
location | string | The location name. Required. |
subscription_id | string |
SELECT examples
- get_ado_oauth_info
Gets ADOOAuth info used to authenticate users with ADO. Gets ADOOAuth info used to authenticate users with ADO.
SELECT
authURL,
token
FROM azure_extras.devhub.ado_oauth_infos
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;