Proxmox Virtual Environment (Proxmox VE)

v2.0.0 published on Friday, Jul 15, 2022 by Daniel Muehlbachler-Pietrzykowski

getUser

Using getUser

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
def get_user(user_id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(user_id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
func GetUser(ctx *Context, args *GetUserArgs, opts ...InvokeOption) (*GetUserResult, error)
func GetUserOutput(ctx *Context, args *GetUserOutputArgs, opts ...InvokeOption) GetUserResultOutput

> Note: This function is named GetUser in the Go SDK.

public static class GetUser 
{
    public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
    public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: proxmoxve:Permission/getUser:getUser
  arguments:
    # arguments dictionary

The following arguments are supported:

UserId string
UserId string
userId String
userId string
userId String

getUser Result

The following output properties are available:

Acls List<Pulumi.ProxmoxVE.Permission.Outputs.GetUserAcl>
Comment string
Email string
Enabled bool
ExpirationDate string
FirstName string
Groups List<string>
Id string

The provider-assigned unique ID for this managed resource.

Keys string
LastName string
UserId string
Acls []GetUserAcl
Comment string
Email string
Enabled bool
ExpirationDate string
FirstName string
Groups []string
Id string

The provider-assigned unique ID for this managed resource.

Keys string
LastName string
UserId string
acls List<GetUserAcl>
comment String
email String
enabled Boolean
expirationDate String
firstName String
groups List<String>
id String

The provider-assigned unique ID for this managed resource.

keys String
lastName String
userId String
acls GetUserAcl[]
comment string
email string
enabled boolean
expirationDate string
firstName string
groups string[]
id string

The provider-assigned unique ID for this managed resource.

keys string
lastName string
userId string
acls GetUserAcl]
comment str
email str
enabled bool
expiration_date str
first_name str
groups Sequence[str]
id str

The provider-assigned unique ID for this managed resource.

keys str
last_name str
user_id str
acls List<Property Map>
comment String
email String
enabled Boolean
expirationDate String
firstName String
groups List<String>
id String

The provider-assigned unique ID for this managed resource.

keys String
lastName String
userId String

Supporting Types

GetUserAcl

Path string
Propagate bool
RoleId string
Path string
Propagate bool
RoleId string
path String
propagate Boolean
roleId String
path string
propagate boolean
roleId string
path String
propagate Boolean
roleId String

Package Details

Repository
https://github.com/muhlba91/pulumi-proxmoxve
License
Apache-2.0
Notes

This Pulumi package is based on the proxmoxve Terraform Provider.