@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
74 lines • 1.95 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../../types/output";
/**
* Retrieves a directory mapping from a Proxmox VE cluster.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.hardware.mapping.getDir({
* name: "example",
* });
* export const dataProxmoxHardwareMappingDir = example;
* ```
*/
export declare function getDir(args: GetDirArgs, opts?: pulumi.InvokeOptions): Promise<GetDirResult>;
/**
* A collection of arguments for invoking getDir.
*/
export interface GetDirArgs {
/**
* The name of this directory mapping.
*/
name: string;
}
/**
* A collection of values returned by getDir.
*/
export interface GetDirResult {
/**
* The comment of this directory mapping.
*/
readonly comment: string;
/**
* The unique identifier of this directory mapping data source.
*/
readonly id: string;
/**
* The actual map of devices for the directory mapping.
*/
readonly maps: outputs.hardware.mapping.GetDirMap[];
/**
* The name of this directory mapping.
*/
readonly name: string;
}
/**
* Retrieves a directory mapping from a Proxmox VE cluster.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.hardware.mapping.getDir({
* name: "example",
* });
* export const dataProxmoxHardwareMappingDir = example;
* ```
*/
export declare function getDirOutput(args: GetDirOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDirResult>;
/**
* A collection of arguments for invoking getDir.
*/
export interface GetDirOutputArgs {
/**
* The name of this directory mapping.
*/
name: pulumi.Input<string>;
}
//# sourceMappingURL=getDir.d.ts.map