UNPKG

@muhlba91/pulumi-proxmoxve

Version:

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

64 lines 1.63 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieves information about a specific role. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const operationsRole = proxmoxve.getRoleLegacy({ * roleId: "operations", * }); * ``` */ export declare function getRoleLegacy(args: GetRoleLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleLegacyResult>; /** * A collection of arguments for invoking getRoleLegacy. */ export interface GetRoleLegacyArgs { /** * The role identifier. */ roleId: string; } /** * A collection of values returned by getRoleLegacy. */ export interface GetRoleLegacyResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The role privileges */ readonly privileges: string[]; readonly roleId: string; } /** * Retrieves information about a specific role. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const operationsRole = proxmoxve.getRoleLegacy({ * roleId: "operations", * }); * ``` */ export declare function getRoleLegacyOutput(args: GetRoleLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoleLegacyResult>; /** * A collection of arguments for invoking getRoleLegacy. */ export interface GetRoleLegacyOutputArgs { /** * The role identifier. */ roleId: pulumi.Input<string>; } //# sourceMappingURL=getRoleLegacy.d.ts.map