Show / Hide Table of Contents

Class GetProject

Inheritance
System.Object
GetProject
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public static class GetProject

Methods

View Source

InvokeAsync(GetProjectArgs, InvokeOptions)

Provides details about a specific project in the gitlab provider. The results include the name of the project, path, description, default branch, etc.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using GitLab = Pulumi.GitLab;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(GitLab.GetProject.InvokeAsync(new GitLab.GetProjectArgs
    {
        Id = 30,
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetProjectResult> InvokeAsync(GetProjectArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetProjectArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetProjectResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.