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 SourceInvokeAsync(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> |