import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * > **Deprecated:** Use `proxmoxve.hardware.getMappings` instead. This data source will be removed in v1.0. * * Retrieves a list of hardware mapping resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example_dir = proxmoxve.hardware.getMappingsLegacy({ * checkNode: "pve", * type: "dir", * }); * const example_pci = proxmoxve.hardware.getMappingsLegacy({ * checkNode: "pve", * type: "pci", * }); * const example_usb = proxmoxve.hardware.getMappingsLegacy({ * checkNode: "pve", * type: "usb", * }); * export const dataProxmoxVirtualEnvironmentHardwareMappingsPci = example_pci; * export const dataProxmoxVirtualEnvironmentHardwareMappingsUsb = example_usb; * ``` */ export declare function getMappingsLegacy(args: GetMappingsLegacyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMappingsLegacy. */ export interface GetMappingsLegacyArgs { /** * The name of the node whose configurations should be checked for correctness. */ checkNode?: string; /** * The type of the hardware mappings. */ type: string; } /** * A collection of values returned by getMappingsLegacy. */ export interface GetMappingsLegacyResult { /** * The name of the node whose configurations should be checked for correctness. */ readonly checkNode?: string; /** * Might contain relevant diagnostics about incorrect configurations. */ readonly checks: outputs.hardware.GetMappingsLegacyCheck[]; /** * The unique identifier of this hardware mappings data source. */ readonly id: string; /** * The identifiers of the hardware mappings. */ readonly ids: string[]; /** * The type of the hardware mappings. */ readonly type: string; } /** * > **Deprecated:** Use `proxmoxve.hardware.getMappings` instead. This data source will be removed in v1.0. * * Retrieves a list of hardware mapping resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example_dir = proxmoxve.hardware.getMappingsLegacy({ * checkNode: "pve", * type: "dir", * }); * const example_pci = proxmoxve.hardware.getMappingsLegacy({ * checkNode: "pve", * type: "pci", * }); * const example_usb = proxmoxve.hardware.getMappingsLegacy({ * checkNode: "pve", * type: "usb", * }); * export const dataProxmoxVirtualEnvironmentHardwareMappingsPci = example_pci; * export const dataProxmoxVirtualEnvironmentHardwareMappingsUsb = example_usb; * ``` */ export declare function getMappingsLegacyOutput(args: GetMappingsLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMappingsLegacy. */ export interface GetMappingsLegacyOutputArgs { /** * The name of the node whose configurations should be checked for correctness. */ checkNode?: pulumi.Input; /** * The type of the hardware mappings. */ type: pulumi.Input; } //# sourceMappingURL=getMappingsLegacy.d.ts.map