Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The gitlab.Application data source retrieves information about a gitlab application.
Upstream API: GitLab REST API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const oidc = gitlab.getApplication({
id: "1",
});
import pulumi
import pulumi_gitlab as gitlab
oidc = gitlab.get_application(id="1")
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v9/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gitlab.LookupApplication(ctx, &gitlab.LookupApplicationArgs{
Id: "1",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var oidc = GitLab.GetApplication.Invoke(new()
{
Id = "1",
});
});
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()
.id("1")
.build());
}
}
variables:
oidc:
fn::invoke:
function: gitlab:getApplication
arguments:
id: 1
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>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]func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput> 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)
}public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
public static Output<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getApplication:getApplication
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getApplication Result
The following output properties are available:
- Application
Id string - Internal GitLab application id.
- Confidential bool
- Indicates if the application is kept confidential.
- Id string
- Name string
- The name of the GitLab application.
- Redirect
Url string - The redirect url of the application.
- Application
Id string - Internal GitLab application id.
- Confidential bool
- Indicates if the application is kept confidential.
- Id string
- Name string
- The name of the GitLab application.
- Redirect
Url string - The redirect url of the application.
- application
Id String - Internal GitLab application id.
- confidential Boolean
- Indicates if the application is kept confidential.
- id String
- name String
- The name of the GitLab application.
- redirect
Url String - The redirect url of the application.
- application
Id string - Internal GitLab application id.
- confidential boolean
- Indicates if the application is kept confidential.
- id string
- name string
- The name of the GitLab application.
- redirect
Url 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.
- application
Id String - Internal GitLab application id.
- confidential Boolean
- Indicates if the application is kept confidential.
- id String
- name String
- The name of the GitLab application.
- redirect
Url 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
gitlabTerraform Provider.
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
