GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi
gitlab.getApplication
Explore with Pulumi AI
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());
}
}
variables:
oidc:
fn::invoke:
Function: gitlab:getApplication
Arguments:
applicationId: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gitlab:index/getApplication:getApplication
arguments:
# arguments dictionary
The 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
gitlab
Terraform Provider.