UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

51 lines (50 loc) 1.98 kB
import * as pulumi from "@pulumi/pulumi"; /** * Response containing ADO OAuth information * * Uses Azure REST API version 2025-03-01-preview. * * Other available API versions: 2024-08-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native devhub [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getADOOAuthInfo(args: GetADOOAuthInfoArgs, opts?: pulumi.InvokeOptions): Promise<GetADOOAuthInfoResult>; export interface GetADOOAuthInfoArgs { /** * The name of the Azure region. */ location: string; /** * The URL the client will redirect to on successful authentication. If empty, no redirect will occur. */ redirectUrl?: string; } /** * Response containing ADO OAuth information */ export interface GetADOOAuthInfoResult { /** * URL used to authorize ADO app using Entra ID */ readonly authURL?: string; /** * OAuth token used to make calls to ADO APIs */ readonly token?: string; } /** * Response containing ADO OAuth information * * Uses Azure REST API version 2025-03-01-preview. * * Other available API versions: 2024-08-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native devhub [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getADOOAuthInfoOutput(args: GetADOOAuthInfoOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetADOOAuthInfoResult>; export interface GetADOOAuthInfoOutputArgs { /** * The name of the Azure region. */ location: pulumi.Input<string>; /** * The URL the client will redirect to on successful authentication. If empty, no redirect will occur. */ redirectUrl?: pulumi.Input<string>; }