@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
64 lines (63 loc) • 1.53 kB
TypeScript
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.Permission.getRole({
* roleId: "operations",
* });
* ```
*/
export declare function getRole(args: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleResult>;
/**
* A collection of arguments for invoking getRole.
*/
export interface GetRoleArgs {
/**
* The role identifier.
*/
roleId: string;
}
/**
* A collection of values returned by getRole.
*/
export interface GetRoleResult {
/**
* 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.Permission.getRole({
* roleId: "operations",
* });
* ```
*/
export declare function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoleResult>;
/**
* A collection of arguments for invoking getRole.
*/
export interface GetRoleOutputArgs {
/**
* The role identifier.
*/
roleId: pulumi.Input<string>;
}