UNPKG

@muhlba91/pulumi-proxmoxve

Version:

A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.

97 lines (96 loc) 2.24 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieves information about a specific user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const operationsUser = proxmoxve.Permission.getUser({ * userId: "operation@pam", * }); * ``` */ export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>; /** * A collection of arguments for invoking getUser. */ export interface GetUserArgs { /** * The user identifier. */ userId: string; } /** * A collection of values returned by getUser. */ export interface GetUserResult { /** * The access control list. */ readonly acls: outputs.Permission.GetUserAcl[]; /** * The user comment. */ readonly comment: string; /** * The user's email address. */ readonly email: string; /** * Whether the user account is enabled. */ readonly enabled: boolean; /** * The user account's expiration date (RFC 3339). */ readonly expirationDate: string; /** * The user's first name. */ readonly firstName: string; /** * The user's groups. */ readonly groups: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The user's keys. */ readonly keys: string; /** * The user's last name. */ readonly lastName: string; readonly userId: string; } /** * Retrieves information about a specific user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const operationsUser = proxmoxve.Permission.getUser({ * userId: "operation@pam", * }); * ``` */ export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserResult>; /** * A collection of arguments for invoking getUser. */ export interface GetUserOutputArgs { /** * The user identifier. */ userId: pulumi.Input<string>; }