import * as pulumi from "@pulumi/pulumi"; /** * > **Deprecated:** Use `proxmoxve.apt.Repository` instead. This data source will be removed in v1.0. * * Retrieves an APT repository from a Proxmox VE cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.apt.getRepositoryLegacy({ * filePath: "/etc/apt/sources.list", * index: 0, * node: "pve", * }); * export const proxmoxVirtualEnvironmentAptRepository = example; * ``` */ export declare function getRepositoryLegacy(args: GetRepositoryLegacyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepositoryLegacy. */ export interface GetRepositoryLegacyArgs { /** * The absolute path of the source list file that contains this repository. */ filePath: string; /** * The index within the defining source list file. */ index: number; /** * The name of the target Proxmox VE node. */ node: string; } /** * A collection of values returned by getRepositoryLegacy. */ export interface GetRepositoryLegacyResult { /** * The associated comment. */ readonly comment: string; /** * The list of components. */ readonly components: string[]; /** * Indicates the activation status. */ readonly enabled: boolean; /** * The absolute path of the source list file that contains this repository. */ readonly filePath: string; /** * The format of the defining source list file. */ readonly fileType: string; /** * The unique identifier of this APT repository data source. */ readonly id: string; /** * The index within the defining source list file. */ readonly index: number; /** * The name of the target Proxmox VE node. */ readonly node: string; /** * The list of package types. */ readonly packageTypes: string[]; /** * The list of package distributions. */ readonly suites: string[]; /** * The list of repository URIs. */ readonly uris: string[]; } /** * > **Deprecated:** Use `proxmoxve.apt.Repository` instead. This data source will be removed in v1.0. * * Retrieves an APT repository from a Proxmox VE cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.apt.getRepositoryLegacy({ * filePath: "/etc/apt/sources.list", * index: 0, * node: "pve", * }); * export const proxmoxVirtualEnvironmentAptRepository = example; * ``` */ export declare function getRepositoryLegacyOutput(args: GetRepositoryLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepositoryLegacy. */ export interface GetRepositoryLegacyOutputArgs { /** * The absolute path of the source list file that contains this repository. */ filePath: pulumi.Input; /** * The index within the defining source list file. */ index: pulumi.Input; /** * The name of the target Proxmox VE node. */ node: pulumi.Input; } //# sourceMappingURL=getRepositoryLegacy.d.ts.map