Show / Hide Table of Contents

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 Source

InvokeAsync(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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.