1. Packages
  2. Azure Native v2
  3. API Docs
  4. devhub
  5. getADOOAuthInfo
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.devhub.getADOOAuthInfo

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Response containing ADO OAuth information Azure REST API version: 2024-08-01-preview.

Using getADOOAuthInfo

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getADOOAuthInfo(args: GetADOOAuthInfoArgs, opts?: InvokeOptions): Promise<GetADOOAuthInfoResult>
function getADOOAuthInfoOutput(args: GetADOOAuthInfoOutputArgs, opts?: InvokeOptions): Output<GetADOOAuthInfoResult>
Copy
def get_adoo_auth_info(location: Optional[str] = None,
                       redirect_url: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetADOOAuthInfoResult
def get_adoo_auth_info_output(location: Optional[pulumi.Input[str]] = None,
                       redirect_url: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetADOOAuthInfoResult]
Copy
func GetADOOAuthInfo(ctx *Context, args *GetADOOAuthInfoArgs, opts ...InvokeOption) (*GetADOOAuthInfoResult, error)
func GetADOOAuthInfoOutput(ctx *Context, args *GetADOOAuthInfoOutputArgs, opts ...InvokeOption) GetADOOAuthInfoResultOutput
Copy

> Note: This function is named GetADOOAuthInfo in the Go SDK.

public static class GetADOOAuthInfo 
{
    public static Task<GetADOOAuthInfoResult> InvokeAsync(GetADOOAuthInfoArgs args, InvokeOptions? opts = null)
    public static Output<GetADOOAuthInfoResult> Invoke(GetADOOAuthInfoInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetADOOAuthInfoResult> getADOOAuthInfo(GetADOOAuthInfoArgs args, InvokeOptions options)
public static Output<GetADOOAuthInfoResult> getADOOAuthInfo(GetADOOAuthInfoArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:devhub:getADOOAuthInfo
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure region.
RedirectUrl string
The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
Location
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure region.
RedirectUrl string
The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
location
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure region.
redirectUrl String
The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
location
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure region.
redirectUrl string
The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
location
This property is required.
Changes to this property will trigger replacement.
str
The name of the Azure region.
redirect_url str
The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
location
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure region.
redirectUrl String
The URL the client will redirect to on successful authentication. If empty, no redirect will occur.

getADOOAuthInfo Result

The following output properties are available:

AuthURL string
URL used to authorize ADO app using Entra ID
Token string
OAuth token used to make calls to ADO APIs
AuthURL string
URL used to authorize ADO app using Entra ID
Token string
OAuth token used to make calls to ADO APIs
authURL String
URL used to authorize ADO app using Entra ID
token String
OAuth token used to make calls to ADO APIs
authURL string
URL used to authorize ADO app using Entra ID
token string
OAuth token used to make calls to ADO APIs
auth_url str
URL used to authorize ADO app using Entra ID
token str
OAuth token used to make calls to ADO APIs
authURL String
URL used to authorize ADO app using Entra ID
token String
OAuth token used to make calls to ADO APIs

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi