Class GetUser
Inheritance
System.Object
GetUser
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 GetUser
Methods
View SourceInvokeAsync(GetUserArgs, InvokeOptions)
Provides details about a specific user in the gitlab provider. Especially the ability to lookup the id for linking to other resources.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using GitLab = Pulumi.GitLab;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(GitLab.GetUser.InvokeAsync(new GitLab.GetUserArgs
{
Username = "myuser",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetUserResult> InvokeAsync(GetUserArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetUserArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetUserResult> |