@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
78 lines • 2.33 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../../types/output";
/**
* > **Deprecated:** Use `proxmoxve.hardware/mapping.Usb` instead. This data source will be removed in v1.0.
*
* Retrieves a USB hardware 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.getUsbLegacy({
* name: "example",
* });
* export const dataProxmoxVirtualEnvironmentHardwareMappingUsb = example;
* ```
*/
export declare function getUsbLegacy(args: GetUsbLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetUsbLegacyResult>;
/**
* A collection of arguments for invoking getUsbLegacy.
*/
export interface GetUsbLegacyArgs {
/**
* The name of this USB hardware mapping.
*/
name: string;
}
/**
* A collection of values returned by getUsbLegacy.
*/
export interface GetUsbLegacyResult {
/**
* The comment of this USB hardware mapping.
*/
readonly comment: string;
/**
* The unique identifier of this USB hardware mapping data source.
*/
readonly id: string;
/**
* The actual map of devices for the hardware mapping.
*/
readonly maps: outputs.hardware.mapping.GetUsbLegacyMap[];
/**
* The name of this USB hardware mapping.
*/
readonly name: string;
}
/**
* > **Deprecated:** Use `proxmoxve.hardware/mapping.Usb` instead. This data source will be removed in v1.0.
*
* Retrieves a USB hardware 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.getUsbLegacy({
* name: "example",
* });
* export const dataProxmoxVirtualEnvironmentHardwareMappingUsb = example;
* ```
*/
export declare function getUsbLegacyOutput(args: GetUsbLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUsbLegacyResult>;
/**
* A collection of arguments for invoking getUsbLegacy.
*/
export interface GetUsbLegacyOutputArgs {
/**
* The name of this USB hardware mapping.
*/
name: pulumi.Input<string>;
}
//# sourceMappingURL=getUsbLegacy.d.ts.map