Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Deprecated: Use
proxmoxve.hardware.getMappingsinstead. This data source will be removed in v1.0.
Retrieves a list of hardware mapping resources.
Example Usage
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;
import pulumi
import pulumi_proxmoxve as proxmoxve
example_dir = proxmoxve.hardware.get_mappings_legacy(check_node="pve",
type="dir")
example_pci = proxmoxve.hardware.get_mappings_legacy(check_node="pve",
type="pci")
example_usb = proxmoxve.hardware.get_mappings_legacy(check_node="pve",
type="usb")
pulumi.export("dataProxmoxVirtualEnvironmentHardwareMappingsPci", example_pci)
pulumi.export("dataProxmoxVirtualEnvironmentHardwareMappingsUsb", example_usb)
package main
import (
"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve/hardware"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hardware.GetMappingsLegacy(ctx, &hardware.GetMappingsLegacyArgs{
CheckNode: pulumi.StringRef("pve"),
Type: "dir",
}, nil)
if err != nil {
return err
}
example_pci, err := hardware.GetMappingsLegacy(ctx, &hardware.GetMappingsLegacyArgs{
CheckNode: pulumi.StringRef("pve"),
Type: "pci",
}, nil)
if err != nil {
return err
}
example_usb, err := hardware.GetMappingsLegacy(ctx, &hardware.GetMappingsLegacyArgs{
CheckNode: pulumi.StringRef("pve"),
Type: "usb",
}, nil)
if err != nil {
return err
}
ctx.Export("dataProxmoxVirtualEnvironmentHardwareMappingsPci", example_pci)
ctx.Export("dataProxmoxVirtualEnvironmentHardwareMappingsUsb", example_usb)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ProxmoxVE = Pulumi.ProxmoxVE;
return await Deployment.RunAsync(() =>
{
var example_dir = ProxmoxVE.Hardware.GetMappingsLegacy.Invoke(new()
{
CheckNode = "pve",
Type = "dir",
});
var example_pci = ProxmoxVE.Hardware.GetMappingsLegacy.Invoke(new()
{
CheckNode = "pve",
Type = "pci",
});
var example_usb = ProxmoxVE.Hardware.GetMappingsLegacy.Invoke(new()
{
CheckNode = "pve",
Type = "usb",
});
return new Dictionary<string, object?>
{
["dataProxmoxVirtualEnvironmentHardwareMappingsPci"] = example_pci,
["dataProxmoxVirtualEnvironmentHardwareMappingsUsb"] = example_usb,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.proxmoxve.hardware.HardwareFunctions;
import com.pulumi.proxmoxve.hardware.inputs.GetMappingsLegacyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example-dir = HardwareFunctions.getMappingsLegacy(GetMappingsLegacyArgs.builder()
.checkNode("pve")
.type("dir")
.build());
final var example-pci = HardwareFunctions.getMappingsLegacy(GetMappingsLegacyArgs.builder()
.checkNode("pve")
.type("pci")
.build());
final var example-usb = HardwareFunctions.getMappingsLegacy(GetMappingsLegacyArgs.builder()
.checkNode("pve")
.type("usb")
.build());
ctx.export("dataProxmoxVirtualEnvironmentHardwareMappingsPci", example_pci);
ctx.export("dataProxmoxVirtualEnvironmentHardwareMappingsUsb", example_usb);
}
}
variables:
example-dir:
fn::invoke:
function: proxmoxve:hardware:getMappingsLegacy
arguments:
checkNode: pve
type: dir
example-pci:
fn::invoke:
function: proxmoxve:hardware:getMappingsLegacy
arguments:
checkNode: pve
type: pci
example-usb:
fn::invoke:
function: proxmoxve:hardware:getMappingsLegacy
arguments:
checkNode: pve
type: usb
outputs:
dataProxmoxVirtualEnvironmentHardwareMappingsPci: ${["example-pci"]}
dataProxmoxVirtualEnvironmentHardwareMappingsUsb: ${["example-usb"]}
Using getMappingsLegacy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMappingsLegacy(args: GetMappingsLegacyArgs, opts?: InvokeOptions): Promise<GetMappingsLegacyResult>
function getMappingsLegacyOutput(args: GetMappingsLegacyOutputArgs, opts?: InvokeOptions): Output<GetMappingsLegacyResult>def get_mappings_legacy(check_node: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMappingsLegacyResult
def get_mappings_legacy_output(check_node: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMappingsLegacyResult]func GetMappingsLegacy(ctx *Context, args *GetMappingsLegacyArgs, opts ...InvokeOption) (*GetMappingsLegacyResult, error)
func GetMappingsLegacyOutput(ctx *Context, args *GetMappingsLegacyOutputArgs, opts ...InvokeOption) GetMappingsLegacyResultOutput> Note: This function is named GetMappingsLegacy in the Go SDK.
public static class GetMappingsLegacy
{
public static Task<GetMappingsLegacyResult> InvokeAsync(GetMappingsLegacyArgs args, InvokeOptions? opts = null)
public static Output<GetMappingsLegacyResult> Invoke(GetMappingsLegacyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMappingsLegacyResult> getMappingsLegacy(GetMappingsLegacyArgs args, InvokeOptions options)
public static Output<GetMappingsLegacyResult> getMappingsLegacy(GetMappingsLegacyArgs args, InvokeOptions options)
fn::invoke:
function: proxmoxve:hardware/getMappingsLegacy:getMappingsLegacy
arguments:
# arguments dictionaryThe following arguments are supported:
- type str
- The type of the hardware mappings.
- check_
node str - The name of the node whose configurations should be checked for correctness.
getMappingsLegacy Result
The following output properties are available:
- Checks
List<Pulumi.
Proxmox VE. Hardware. Outputs. Get Mappings Legacy Check> - Might contain relevant diagnostics about incorrect configurations.
- Id string
- The unique identifier of this hardware mappings data source.
- Ids List<string>
- The identifiers of the hardware mappings.
- Type string
- The type of the hardware mappings.
- Check
Node string - The name of the node whose configurations should be checked for correctness.
- Checks
[]Get
Mappings Legacy Check - Might contain relevant diagnostics about incorrect configurations.
- Id string
- The unique identifier of this hardware mappings data source.
- Ids []string
- The identifiers of the hardware mappings.
- Type string
- The type of the hardware mappings.
- Check
Node string - The name of the node whose configurations should be checked for correctness.
- checks
List<Get
Mappings Legacy Check> - Might contain relevant diagnostics about incorrect configurations.
- id String
- The unique identifier of this hardware mappings data source.
- ids List<String>
- The identifiers of the hardware mappings.
- type String
- The type of the hardware mappings.
- check
Node String - The name of the node whose configurations should be checked for correctness.
- checks
Get
Mappings Legacy Check[] - Might contain relevant diagnostics about incorrect configurations.
- id string
- The unique identifier of this hardware mappings data source.
- ids string[]
- The identifiers of the hardware mappings.
- type string
- The type of the hardware mappings.
- check
Node string - The name of the node whose configurations should be checked for correctness.
- checks
Sequence[Get
Mappings Legacy Check] - Might contain relevant diagnostics about incorrect configurations.
- id str
- The unique identifier of this hardware mappings data source.
- ids Sequence[str]
- The identifiers of the hardware mappings.
- type str
- The type of the hardware mappings.
- check_
node str - The name of the node whose configurations should be checked for correctness.
- checks List<Property Map>
- Might contain relevant diagnostics about incorrect configurations.
- id String
- The unique identifier of this hardware mappings data source.
- ids List<String>
- The identifiers of the hardware mappings.
- type String
- The type of the hardware mappings.
- check
Node String - The name of the node whose configurations should be checked for correctness.
Supporting Types
GetMappingsLegacyCheck
- mapping_
id str - The corresponding hardware mapping ID of the node check diagnostic entry.
- message str
- The message of the node check diagnostic entry.
- severity str
- The severity of the node check diagnostic entry.
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmoxTerraform Provider.
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
