Skip to main content

ado_oauth_info

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

Overview

Nameado_oauth_info
TypeResource
Idazure_extras.developer_hub.ado_oauth_info

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
getselectsubscriptionId, 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.

NameDatatypeDescription
locationstringThe name of the Azure region.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

OK

SELECT
authURL,
token
FROM azure_extras.developer_hub.ado_oauth_info
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
;