@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
78 lines • 2.31 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../../types/output";
/**
* > **Deprecated:** Use `proxmoxve.hardware/mapping.Dir` instead. This data source will be removed in v1.0.
*
* 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.getDirLegacy({
* name: "example",
* });
* export const dataProxmoxVirtualEnvironmentHardwareMappingDir = example;
* ```
*/
export declare function getDirLegacy(args: GetDirLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetDirLegacyResult>;
/**
* A collection of arguments for invoking getDirLegacy.
*/
export interface GetDirLegacyArgs {
/**
* The name of this directory mapping.
*/
name: string;
}
/**
* A collection of values returned by getDirLegacy.
*/
export interface GetDirLegacyResult {
/**
* 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.GetDirLegacyMap[];
/**
* The name of this directory mapping.
*/
readonly name: string;
}
/**
* > **Deprecated:** Use `proxmoxve.hardware/mapping.Dir` instead. This data source will be removed in v1.0.
*
* 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.getDirLegacy({
* name: "example",
* });
* export const dataProxmoxVirtualEnvironmentHardwareMappingDir = example;
* ```
*/
export declare function getDirLegacyOutput(args: GetDirLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDirLegacyResult>;
/**
* A collection of arguments for invoking getDirLegacy.
*/
export interface GetDirLegacyOutputArgs {
/**
* The name of this directory mapping.
*/
name: pulumi.Input<string>;
}
//# sourceMappingURL=getDirLegacy.d.ts.map