azure-native.devhub.getGitHubOAuth
Explore with Pulumi AI
URL used to authorize the Developer Hub GitHub App Azure REST API version: 2022-10-11-preview.
Using getGitHubOAuth
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 getGitHubOAuth(args: GetGitHubOAuthArgs, opts?: InvokeOptions): Promise<GetGitHubOAuthResult>
function getGitHubOAuthOutput(args: GetGitHubOAuthOutputArgs, opts?: InvokeOptions): Output<GetGitHubOAuthResult>
def get_git_hub_o_auth(location: Optional[str] = None,
redirect_url: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGitHubOAuthResult
def get_git_hub_o_auth_output(location: Optional[pulumi.Input[str]] = None,
redirect_url: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGitHubOAuthResult]
func GetGitHubOAuth(ctx *Context, args *GetGitHubOAuthArgs, opts ...InvokeOption) (*GetGitHubOAuthResult, error)
func GetGitHubOAuthOutput(ctx *Context, args *GetGitHubOAuthOutputArgs, opts ...InvokeOption) GetGitHubOAuthResultOutput
> Note: This function is named GetGitHubOAuth
in the Go SDK.
public static class GetGitHubOAuth
{
public static Task<GetGitHubOAuthResult> InvokeAsync(GetGitHubOAuthArgs args, InvokeOptions? opts = null)
public static Output<GetGitHubOAuthResult> Invoke(GetGitHubOAuthInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGitHubOAuthResult> getGitHubOAuth(GetGitHubOAuthArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:devhub:getGitHubOAuth
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
The name of Azure region.
- Redirect
Url string The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
- Location string
The name of Azure region.
- Redirect
Url string The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
- location String
The name of Azure region.
- redirect
Url String The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
- location string
The name of Azure region.
- redirect
Url string The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
- location str
The name of 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 Azure region.
- redirect
Url String The URL the client will redirect to on successful authentication. If empty, no redirect will occur.
getGitHubOAuth Result
The following output properties are available:
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0