@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
134 lines • 4.94 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* > **Deprecated:** Use `proxmoxve.apt/standard.Repository` instead. This resource will be removed in v1.0.
*
* Manages an APT standard repository of a Proxmox VE node.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = new proxmoxve.apt.standard.RepositoryLegacy("example", {
* handle: "no-subscription",
* node: "pve",
* });
* const exampleRepositoryLegacy = new proxmoxve.apt.RepositoryLegacy("example", {
* enabled: true,
* filePath: example.filePath,
* index: example.index,
* node: example.node,
* });
* ```
*
* ## Import
*
* !/usr/bin/env sh
* An APT standard repository can be imported using a comma-separated list consisting of the name of the Proxmox VE node,
* and the standard repository handle in the exact same order, e.g.:
*
* ```sh
* $ pulumi import proxmoxve:apt/standard/repositoryLegacy:RepositoryLegacy example pve,no-subscription
* ```
*/
export declare class RepositoryLegacy extends pulumi.CustomResource {
/**
* Get an existing RepositoryLegacy resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RepositoryLegacyState, opts?: pulumi.CustomResourceOptions): RepositoryLegacy;
/**
* Returns true if the given object is an instance of RepositoryLegacy. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is RepositoryLegacy;
/**
* The description of the APT standard repository.
*/
readonly description: pulumi.Output<string>;
/**
* The absolute path of the source list file that contains this standard repository.
*/
readonly filePath: pulumi.Output<string>;
/**
* The handle of the APT standard repository. Must be `ceph-squid-enterprise` | `ceph-squid-no-subscription` | `ceph-squid-test` | `enterprise` | `no-subscription` | `test`.
*/
readonly handle: pulumi.Output<string>;
/**
* The index within the defining source list file.
*/
readonly index: pulumi.Output<number>;
/**
* The name of the APT standard repository.
*/
readonly name: pulumi.Output<string>;
/**
* The name of the target Proxmox VE node.
*/
readonly node: pulumi.Output<string>;
/**
* Indicates the activation status.
*/
readonly status: pulumi.Output<number>;
/**
* Create a RepositoryLegacy resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: RepositoryLegacyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering RepositoryLegacy resources.
*/
export interface RepositoryLegacyState {
/**
* The description of the APT standard repository.
*/
description?: pulumi.Input<string | undefined>;
/**
* The absolute path of the source list file that contains this standard repository.
*/
filePath?: pulumi.Input<string | undefined>;
/**
* The handle of the APT standard repository. Must be `ceph-squid-enterprise` | `ceph-squid-no-subscription` | `ceph-squid-test` | `enterprise` | `no-subscription` | `test`.
*/
handle?: pulumi.Input<string | undefined>;
/**
* The index within the defining source list file.
*/
index?: pulumi.Input<number | undefined>;
/**
* The name of the APT standard repository.
*/
name?: pulumi.Input<string | undefined>;
/**
* The name of the target Proxmox VE node.
*/
node?: pulumi.Input<string | undefined>;
/**
* Indicates the activation status.
*/
status?: pulumi.Input<number | undefined>;
}
/**
* The set of arguments for constructing a RepositoryLegacy resource.
*/
export interface RepositoryLegacyArgs {
/**
* The handle of the APT standard repository. Must be `ceph-squid-enterprise` | `ceph-squid-no-subscription` | `ceph-squid-test` | `enterprise` | `no-subscription` | `test`.
*/
handle: pulumi.Input<string>;
/**
* The name of the target Proxmox VE node.
*/
node: pulumi.Input<string>;
}
//# sourceMappingURL=repositoryLegacy.d.ts.map