import * as pulumi from "@pulumi/pulumi"; /** * 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.getRepository({ * filePath: "/etc/apt/sources.list", * index: 0, * node: "pve", * }); * export const proxmoxAptRepository = example; * ``` */ export declare function getRepository(args: GetRepositoryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepository. */ export interface GetRepositoryArgs { /** * 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 getRepository. */ export interface GetRepositoryResult { /** * 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[]; } /** * 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.getRepository({ * filePath: "/etc/apt/sources.list", * index: 0, * node: "pve", * }); * export const proxmoxAptRepository = example; * ``` */ export declare function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepository. */ export interface GetRepositoryOutputArgs { /** * 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=getRepository.d.ts.map