@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
69 lines (68 loc) • 1.68 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieves information about a specific resource pool.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const operationsPool = proxmoxve.Permission.getPool({
* poolId: "operations",
* });
* ```
*/
export declare function getPool(args: GetPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetPoolResult>;
/**
* A collection of arguments for invoking getPool.
*/
export interface GetPoolArgs {
/**
* The pool identifier.
*/
poolId: string;
}
/**
* A collection of values returned by getPool.
*/
export interface GetPoolResult {
/**
* The pool comment.
*/
readonly comment: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The pool members.
*/
readonly members: outputs.Permission.GetPoolMember[];
readonly poolId: string;
}
/**
* Retrieves information about a specific resource pool.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const operationsPool = proxmoxve.Permission.getPool({
* poolId: "operations",
* });
* ```
*/
export declare function getPoolOutput(args: GetPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPoolResult>;
/**
* A collection of arguments for invoking getPool.
*/
export interface GetPoolOutputArgs {
/**
* The pool identifier.
*/
poolId: pulumi.Input<string>;
}