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.Linode
Assembly: Pulumi.Linode.dll
Syntax
public static class GetUser

Methods

View Source

InvokeAsync(GetUserArgs, InvokeOptions)

Provides information about a Linode user

{{% examples %}}

Example Usage

{{% example %}}

The following example shows how one might use this data source to access information about a Linode user.

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
public MyStack()
{
    var foo = Output.Create(Linode.GetUser.InvokeAsync(new Linode.GetUserArgs
    {
        Username = "foo",
    }));
}

}

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

Attributes

The Linode User resource exports the following attributes:

  • ssh_keys - A list of SSH Key labels added by this User. These are the keys that will be deployed if this User is included in the authorized_users field of a create Linode, rebuild Linode, or create Disk request.

  • email - The email address for this User, for account management communications, and may be used for other communications as configured.

  • restricted - If true, this User must be granted access to perform actions or access entities on this Account.

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