@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
110 lines • 3.44 kB
TypeScript
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<GetMappingsLegacyResult>;
/**
* 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<GetMappingsLegacyResult>;
/**
* 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<string | undefined>;
/**
* The type of the hardware mappings.
*/
type: pulumi.Input<string>;
}
//# sourceMappingURL=getMappingsLegacy.d.ts.map