@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
96 lines • 2.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* > **Deprecated:** Use `proxmoxve.Vm` instead. This data source will be removed in v1.0.
*
* Retrieves information about a specific VM.
*/
export declare function getVm2Legacy(args: GetVm2LegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetVm2LegacyResult>;
/**
* A collection of arguments for invoking getVm2Legacy.
*/
export interface GetVm2LegacyArgs {
/**
* The unique identifier of the VM in the Proxmox cluster.
*/
id: number;
/**
* The name of the node where the VM is provisioned.
*/
nodeName: string;
timeouts?: inputs.GetVm2LegacyTimeouts;
}
/**
* A collection of values returned by getVm2Legacy.
*/
export interface GetVm2LegacyResult {
/**
* The CD-ROM configuration.
*/
readonly cdrom: {
[key: string]: outputs.GetVm2LegacyCdrom;
};
/**
* The CPU configuration.
*/
readonly cpu: outputs.GetVm2LegacyCpu;
/**
* The description of the VM.
*/
readonly description: string;
/**
* The unique identifier of the VM in the Proxmox cluster.
*/
readonly id: number;
/**
* The name of the VM.
*/
readonly name: string;
/**
* The name of the node where the VM is provisioned.
*/
readonly nodeName: string;
/**
* The RNG (Random Number Generator) configuration.
*/
readonly rng: outputs.GetVm2LegacyRng;
/**
* The status of the VM (e.g., `running`, `stopped`).
*/
readonly status: string;
/**
* The tags assigned to the VM.
*/
readonly tags: string[];
/**
* Whether the VM is a template.
*/
readonly template: boolean;
readonly timeouts?: outputs.GetVm2LegacyTimeouts;
/**
* The VGA configuration.
*/
readonly vga: outputs.GetVm2LegacyVga;
}
/**
* > **Deprecated:** Use `proxmoxve.Vm` instead. This data source will be removed in v1.0.
*
* Retrieves information about a specific VM.
*/
export declare function getVm2LegacyOutput(args: GetVm2LegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVm2LegacyResult>;
/**
* A collection of arguments for invoking getVm2Legacy.
*/
export interface GetVm2LegacyOutputArgs {
/**
* The unique identifier of the VM in the Proxmox cluster.
*/
id: pulumi.Input<number>;
/**
* The name of the node where the VM is provisioned.
*/
nodeName: pulumi.Input<string>;
timeouts?: pulumi.Input<inputs.GetVm2LegacyTimeoutsArgs | undefined>;
}
//# sourceMappingURL=getVm2Legacy.d.ts.map