ado_oauth_info
Creates, updates, deletes, gets or lists an ado_oauth_info resource.
Overview
| Name | ado_oauth_info |
| Type | Resource |
| Id | azure_extras.developer_hub.ado_oauth_info |
Fields
The following fields are returned by SELECT queries:
- get
| 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 | select | subscriptionId, location |
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 name of the Azure region. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT examples
- get
OK
SELECT
authURL,
token
FROM azure_extras.developer_hub.ado_oauth_info
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;