1. Packages
  2. Azure Native
  3. API Docs
  4. devhub
  5. getADOOAuthInfo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.devhub.getADOOAuthInfo

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 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>
    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]
    func GetADOOAuthInfo(ctx *Context, args *GetADOOAuthInfoArgs, opts ...InvokeOption) (*GetADOOAuthInfoResult, error)
    func GetADOOAuthInfoOutput(ctx *Context, args *GetADOOAuthInfoOutputArgs, opts ...InvokeOption) GetADOOAuthInfoResultOutput

    > 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)
    }
    public static CompletableFuture<GetADOOAuthInfoResult> getADOOAuthInfo(GetADOOAuthInfoArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:devhub:getADOOAuthInfo
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location 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 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 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 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 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 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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi