@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
106 lines • 3.03 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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.getMappings({
* checkNode: "pve",
* type: "dir",
* });
* const example_pci = proxmoxve.hardware.getMappings({
* checkNode: "pve",
* type: "pci",
* });
* const example_usb = proxmoxve.hardware.getMappings({
* checkNode: "pve",
* type: "usb",
* });
* export const dataProxmoxHardwareMappingsPci = example_pci;
* export const dataProxmoxHardwareMappingsUsb = example_usb;
* ```
*/
export declare function getMappings(args: GetMappingsArgs, opts?: pulumi.InvokeOptions): Promise<GetMappingsResult>;
/**
* A collection of arguments for invoking getMappings.
*/
export interface GetMappingsArgs {
/**
* 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 getMappings.
*/
export interface GetMappingsResult {
/**
* 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.GetMappingsCheck[];
/**
* 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;
}
/**
* 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.getMappings({
* checkNode: "pve",
* type: "dir",
* });
* const example_pci = proxmoxve.hardware.getMappings({
* checkNode: "pve",
* type: "pci",
* });
* const example_usb = proxmoxve.hardware.getMappings({
* checkNode: "pve",
* type: "usb",
* });
* export const dataProxmoxHardwareMappingsPci = example_pci;
* export const dataProxmoxHardwareMappingsUsb = example_usb;
* ```
*/
export declare function getMappingsOutput(args: GetMappingsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMappingsResult>;
/**
* A collection of arguments for invoking getMappings.
*/
export interface GetMappingsOutputArgs {
/**
* 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=getMappings.d.ts.map