@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
49 lines • 1.33 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves information about all the available roles.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const availableRoles = proxmoxve.getRolesLegacy({});
* ```
*/
export declare function getRolesLegacy(opts?: pulumi.InvokeOptions): Promise<GetRolesLegacyResult>;
/**
* A collection of values returned by getRolesLegacy.
*/
export interface GetRolesLegacyResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The role privileges.
*/
readonly privileges: string[][];
/**
* The role identifiers.
*/
readonly roleIds: string[];
/**
* Whether the role is special (built-in).
*/
readonly specials: boolean[];
}
/**
* Retrieves information about all the available roles.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const availableRoles = proxmoxve.getRolesLegacy({});
* ```
*/
export declare function getRolesLegacyOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRolesLegacyResult>;
//# sourceMappingURL=getRolesLegacy.d.ts.map