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.Github
Assembly: Pulumi.Github.dll
Syntax
public static class GetUser
Methods
View SourceInvokeAsync(GetUserArgs, InvokeOptions)
Use this data source to retrieve information about a GitHub user.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Github = Pulumi.Github;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Github.GetUser.InvokeAsync(new Github.GetUserArgs
{
Username = "example",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetUserArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetUserResult> |