import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Retrieves information about all containers in the Proxmox cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const ubuntuContainers = proxmoxve.getContainersLegacy({ * tags: ["ubuntu"], * }); * const ubuntuTemplates = proxmoxve.getContainersLegacy({ * 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 getContainersLegacy(args?: GetContainersLegacyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getContainersLegacy. */ export interface GetContainersLegacyArgs { /** * Filter blocks. The container must satisfy all filter blocks to be included in the result. */ filters?: inputs.GetContainersLegacyFilter[]; /** * The node name. All cluster nodes will be queried in case this is omitted */ nodeName?: string; /** * A list of tags to filter the containers. The container must have all * the tags to be included in the result. */ tags?: string[]; } /** * A collection of values returned by getContainersLegacy. */ export interface GetContainersLegacyResult { /** * The containers list. */ readonly containers: outputs.GetContainersLegacyContainer[]; readonly filters?: outputs.GetContainersLegacyFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The node name. */ readonly nodeName?: string; /** * A list of tags of the container. */ readonly tags?: string[]; } /** * Retrieves information about all containers in the Proxmox cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const ubuntuContainers = proxmoxve.getContainersLegacy({ * tags: ["ubuntu"], * }); * const ubuntuTemplates = proxmoxve.getContainersLegacy({ * 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 getContainersLegacyOutput(args?: GetContainersLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getContainersLegacy. */ export interface GetContainersLegacyOutputArgs { /** * Filter blocks. The container 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 containers. The container must have all * the tags to be included in the result. */ tags?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getContainersLegacy.d.ts.map