import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Retrieves information about all VMs in the Proxmox cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const ubuntuVms = proxmoxve.getVmsLegacy({ * tags: ["ubuntu"], * }); * const ubuntuTemplates = proxmoxve.getVmsLegacy({ * tags: [ * "template", * "latest", * ], * filters: [ * { * name: "template", * values: ["true"], * }, * { * name: "status", * values: ["stopped"], * }, * { * name: "name", * regex: true, * values: ["^ubuntu-20.*$"], * }, * { * name: "node_name", * regex: true, * values: [ * "node_us_[1-3]", * "node_eu_[1-3]", * ], * }, * ], * }); * ``` */ export declare function getVmsLegacy(args?: GetVmsLegacyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVmsLegacy. */ export interface GetVmsLegacyArgs { /** * Filter blocks. The VM must satisfy all filter blocks to be included in the result. */ filters?: inputs.GetVmsLegacyFilter[]; /** * The node name. All cluster nodes will be queried in case this is omitted */ nodeName?: string; /** * A list of tags to filter the VMs. The VM must have all * the tags to be included in the result. */ tags?: string[]; } /** * A collection of values returned by getVmsLegacy. */ export interface GetVmsLegacyResult { readonly filters?: outputs.GetVmsLegacyFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The node name. */ readonly nodeName?: string; /** * A list of tags of the VM. */ readonly tags?: string[]; /** * The VMs list. */ readonly vms: outputs.GetVmsLegacyVm[]; } /** * Retrieves information about all VMs in the Proxmox cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const ubuntuVms = proxmoxve.getVmsLegacy({ * tags: ["ubuntu"], * }); * const ubuntuTemplates = proxmoxve.getVmsLegacy({ * tags: [ * "template", * "latest", * ], * filters: [ * { * name: "template", * values: ["true"], * }, * { * name: "status", * values: ["stopped"], * }, * { * name: "name", * regex: true, * values: ["^ubuntu-20.*$"], * }, * { * name: "node_name", * regex: true, * values: [ * "node_us_[1-3]", * "node_eu_[1-3]", * ], * }, * ], * }); * ``` */ export declare function getVmsLegacyOutput(args?: GetVmsLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVmsLegacy. */ export interface GetVmsLegacyOutputArgs { /** * Filter blocks. The VM must satisfy all filter blocks to be included in the result. */ filters?: pulumi.Input[] | undefined>; /** * The node name. All cluster nodes will be queried in case this is omitted */ nodeName?: pulumi.Input; /** * A list of tags to filter the VMs. The VM must have all * the tags to be included in the result. */ tags?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getVmsLegacy.d.ts.map