@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
97 lines • 2.34 kB
TypeScript
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.getUserLegacy({
* userId: "operation@pam",
* });
* ```
*/
export declare function getUserLegacy(args: GetUserLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetUserLegacyResult>;
/**
* A collection of arguments for invoking getUserLegacy.
*/
export interface GetUserLegacyArgs {
/**
* The user identifier.
*/
userId: string;
}
/**
* A collection of values returned by getUserLegacy.
*/
export interface GetUserLegacyResult {
/**
* The access control list.
*/
readonly acls: outputs.GetUserLegacyAcl[];
/**
* 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.getUserLegacy({
* userId: "operation@pam",
* });
* ```
*/
export declare function getUserLegacyOutput(args: GetUserLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserLegacyResult>;
/**
* A collection of arguments for invoking getUserLegacy.
*/
export interface GetUserLegacyOutputArgs {
/**
* The user identifier.
*/
userId: pulumi.Input<string>;
}
//# sourceMappingURL=getUserLegacy.d.ts.map