@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
107 lines • 2.53 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* > **Deprecated:** Use `proxmoxve.Vm` instead. This data source will be removed in v1.0.
*
* Retrieves information about a specific VM.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const testVm = proxmoxve.getVmLegacy({
* nodeName: "test",
* vmId: 100,
* });
* ```
*/
export declare function getVmLegacy(args: GetVmLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetVmLegacyResult>;
/**
* A collection of arguments for invoking getVmLegacy.
*/
export interface GetVmLegacyArgs {
/**
* The node name.
*/
nodeName: string;
/**
* The status of the VM.
*/
status?: string;
/**
* Whether the VM is a template.
*/
template?: boolean;
/**
* The VM identifier.
*/
vmId: number;
}
/**
* A collection of values returned by getVmLegacy.
*/
export interface GetVmLegacyResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The virtual machine name.
*/
readonly name: string;
readonly nodeName: string;
/**
* The status of the VM.
*/
readonly status?: string;
/**
* A list of tags of the VM.
*/
readonly tags: string[];
/**
* Whether the VM is a template.
*/
readonly template?: boolean;
readonly vmId: number;
}
/**
* > **Deprecated:** Use `proxmoxve.Vm` instead. This data source will be removed in v1.0.
*
* Retrieves information about a specific VM.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const testVm = proxmoxve.getVmLegacy({
* nodeName: "test",
* vmId: 100,
* });
* ```
*/
export declare function getVmLegacyOutput(args: GetVmLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVmLegacyResult>;
/**
* A collection of arguments for invoking getVmLegacy.
*/
export interface GetVmLegacyOutputArgs {
/**
* The node name.
*/
nodeName: pulumi.Input<string>;
/**
* The status of the VM.
*/
status?: pulumi.Input<string | undefined>;
/**
* Whether the VM is a template.
*/
template?: pulumi.Input<boolean | undefined>;
/**
* The VM identifier.
*/
vmId: pulumi.Input<number>;
}
//# sourceMappingURL=getVmLegacy.d.ts.map