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