@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
99 lines (98 loc) • 2.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves an APT standard 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.standard.getRepository({
* handle: "no-subscription",
* node: "pve",
* });
* export const proxmoxVirtualEnvironmentAptStandardRepository = example;
* ```
*/
export declare function getRepository(args: GetRepositoryArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryResult>;
/**
* A collection of arguments for invoking getRepository.
*/
export interface GetRepositoryArgs {
/**
* The handle of the APT standard repository.
*/
handle: string;
/**
* The name of the target Proxmox VE node.
*/
node: string;
}
/**
* A collection of values returned by getRepository.
*/
export interface GetRepositoryResult {
/**
* The description of the APT standard repository.
*/
readonly description: string;
/**
* The absolute path of the source list file that contains this standard repository.
*/
readonly filePath: string;
/**
* The handle of the APT standard repository.
*/
readonly handle: string;
/**
* The unique identifier of this APT standard repository data source.
*/
readonly id: string;
/**
* The index within the defining source list file.
*/
readonly index: number;
/**
* The name of the APT standard repository.
*/
readonly name: string;
/**
* The name of the target Proxmox VE node.
*/
readonly node: string;
/**
* Indicates the activation status.
*/
readonly status: number;
}
/**
* Retrieves an APT standard 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.standard.getRepository({
* handle: "no-subscription",
* node: "pve",
* });
* export const proxmoxVirtualEnvironmentAptStandardRepository = example;
* ```
*/
export declare function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRepositoryResult>;
/**
* A collection of arguments for invoking getRepository.
*/
export interface GetRepositoryOutputArgs {
/**
* The handle of the APT standard repository.
*/
handle: pulumi.Input<string>;
/**
* The name of the target Proxmox VE node.
*/
node: pulumi.Input<string>;
}