1. Packages
  2. Gitlab Provider
  3. API Docs
  4. getApplication
GitLab v8.10.0 published on Friday, Mar 21, 2025 by Pulumi

gitlab.getApplication

Explore with Pulumi AI

GitLab v8.10.0 published on Friday, Mar 21, 2025 by Pulumi

The gitlab.Application data source retrieves information about a gitlab application.

Upstream API: GitLab REST API docs

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GitlabFunctions;
import com.pulumi.gitlab.inputs.GetApplicationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var oidc = GitlabFunctions.getApplication(GetApplicationArgs.builder()
            .applicationId(1)
            .build());

    }
}
Copy
variables:
  oidc:
    fn::invoke:
      function: gitlab:getApplication
      arguments:
        applicationId: 1
Copy

Using getApplication

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 getApplication(args: GetApplicationArgs, opts?: InvokeOptions): Promise<GetApplicationResult>
function getApplicationOutput(args: GetApplicationOutputArgs, opts?: InvokeOptions): Output<GetApplicationResult>
Copy
def get_application(id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetApplicationResult
def get_application_output(id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetApplicationResult]
Copy
func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput
Copy

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

public static class GetApplication 
{
    public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions? opts = null)
    public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
public static Output<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gitlab:index/getApplication:getApplication
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

getApplication Result

The following output properties are available:

ApplicationId string
Internal GitLab application id.
Confidential bool
Indicates if the application is kept confidential.
Id string
Name string
The name of the GitLab application.
RedirectUrl string
The redirect url of the application.
ApplicationId string
Internal GitLab application id.
Confidential bool
Indicates if the application is kept confidential.
Id string
Name string
The name of the GitLab application.
RedirectUrl string
The redirect url of the application.
applicationId String
Internal GitLab application id.
confidential Boolean
Indicates if the application is kept confidential.
id String
name String
The name of the GitLab application.
redirectUrl String
The redirect url of the application.
applicationId string
Internal GitLab application id.
confidential boolean
Indicates if the application is kept confidential.
id string
name string
The name of the GitLab application.
redirectUrl string
The redirect url of the application.
application_id str
Internal GitLab application id.
confidential bool
Indicates if the application is kept confidential.
id str
name str
The name of the GitLab application.
redirect_url str
The redirect url of the application.
applicationId String
Internal GitLab application id.
confidential Boolean
Indicates if the application is kept confidential.
id String
name String
The name of the GitLab application.
redirectUrl String
The redirect url of the application.

Package Details

Repository
GitLab pulumi/pulumi-gitlab
License
Apache-2.0
Notes
This Pulumi package is based on the gitlab Terraform Provider.
GitLab v8.10.0 published on Friday, Mar 21, 2025 by Pulumi