Skip to main content

ado_oauth_infos

Creates, updates, deletes, gets or lists an ado_oauth_infos resource.

Overview

Nameado_oauth_infos
TypeResource
Idazure_extras.devhub.ado_oauth_infos

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
authURLstringURL used to authorize ADO app using Entra ID.
tokenstringOAuth token used to make calls to ADO APIs.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ado_oauth_infoselectlocation, subscription_idGets 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.

NameDatatypeDescription
locationstringThe location name. Required.
subscription_idstring

SELECT examples

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
;