import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * > **Deprecated:** Use `proxmoxve.storage.Pbs` instead. This resource will be removed in v1.0.
 *
 * Manages a Proxmox Backup Server (PBS) storage in Proxmox VE.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
 *
 * const example = new proxmoxve.storage.PbsLegacy("example", {
 *     resourceId: "example-pbs",
 *     nodes: ["pve"],
 *     server: "pbs.example.local",
 *     datastore: "backup",
 *     username: "pbs-user",
 *     password: "pbs-password",
 *     fingerprint: "AA:BB:CC:DD:EE:FF",
 *     contents: ["backup"],
 *     generateEncryptionKey: true,
 * });
 * ```
 *
 * ## Import
 *
 * !/usr/bin/env sh
 * Storage can be imported using its identifier, e.g.:
 *
 * ```sh
 * $ pulumi import proxmoxve:storage/pbsLegacy:PbsLegacy example pbs-backup
 * ```
 */
export declare class PbsLegacy extends pulumi.CustomResource {
    /**
     * Get an existing PbsLegacy 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?: PbsLegacyState, opts?: pulumi.CustomResourceOptions): PbsLegacy;
    /**
     * Returns true if the given object is an instance of PbsLegacy.  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 PbsLegacy;
    /**
     * Configure backup retention settings for the storage type.
     */
    readonly backups: pulumi.Output<outputs.storage.PbsLegacyBackups | undefined>;
    /**
     * The content types that can be stored on this storage. Valid values: `backup` (VM backups), `images` (VM disk images), `import` (VM disk images for import), `iso` (ISO images), `rootdir` (container root directories), `snippets` (cloud-init, hook scripts, etc.), `vztmpl` (container templates).
     */
    readonly contents: pulumi.Output<string[]>;
    /**
     * The name of the datastore on the Proxmox Backup Server.
     */
    readonly datastore: pulumi.Output<string>;
    /**
     * Whether the storage is disabled.
     */
    readonly disable: pulumi.Output<boolean>;
    /**
     * An existing encryption key for the datastore. This is a sensitive value. Conflicts with `generateEncryptionKey`.
     */
    readonly encryptionKey: pulumi.Output<string | undefined>;
    /**
     * The SHA256 fingerprint of the encryption key currently in use.
     */
    readonly encryptionKeyFingerprint: pulumi.Output<string>;
    /**
     * The SHA256 fingerprint of the Proxmox Backup Server's certificate.
     */
    readonly fingerprint: pulumi.Output<string | undefined>;
    /**
     * If set to true, Proxmox will generate a new encryption key. The key will be stored in the `generatedEncryptionKey` attribute. Conflicts with `encryptionKey`.
     */
    readonly generateEncryptionKey: pulumi.Output<boolean | undefined>;
    /**
     * The encryption key returned by Proxmox when `generateEncryptionKey` is true.
     */
    readonly generatedEncryptionKey: pulumi.Output<string>;
    /**
     * The namespace to use on the Proxmox Backup Server.
     */
    readonly namespace: pulumi.Output<string | undefined>;
    /**
     * A list of nodes where this storage is available.
     */
    readonly nodes: pulumi.Output<string[]>;
    /**
     * The password for authenticating with the Proxmox Backup Server.
     */
    readonly password: pulumi.Output<string>;
    /**
     * The unique identifier of the storage.
     */
    readonly resourceId: pulumi.Output<string>;
    /**
     * The IP address or DNS name of the Proxmox Backup Server.
     */
    readonly server: pulumi.Output<string>;
    /**
     * Whether the storage is shared across all nodes.
     */
    readonly shared: pulumi.Output<boolean>;
    /**
     * The username for authenticating with the Proxmox Backup Server.
     */
    readonly username: pulumi.Output<string>;
    /**
     * Create a PbsLegacy 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: PbsLegacyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering PbsLegacy resources.
 */
export interface PbsLegacyState {
    /**
     * Configure backup retention settings for the storage type.
     */
    backups?: pulumi.Input<inputs.storage.PbsLegacyBackups | undefined>;
    /**
     * The content types that can be stored on this storage. Valid values: `backup` (VM backups), `images` (VM disk images), `import` (VM disk images for import), `iso` (ISO images), `rootdir` (container root directories), `snippets` (cloud-init, hook scripts, etc.), `vztmpl` (container templates).
     */
    contents?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The name of the datastore on the Proxmox Backup Server.
     */
    datastore?: pulumi.Input<string | undefined>;
    /**
     * Whether the storage is disabled.
     */
    disable?: pulumi.Input<boolean | undefined>;
    /**
     * An existing encryption key for the datastore. This is a sensitive value. Conflicts with `generateEncryptionKey`.
     */
    encryptionKey?: pulumi.Input<string | undefined>;
    /**
     * The SHA256 fingerprint of the encryption key currently in use.
     */
    encryptionKeyFingerprint?: pulumi.Input<string | undefined>;
    /**
     * The SHA256 fingerprint of the Proxmox Backup Server's certificate.
     */
    fingerprint?: pulumi.Input<string | undefined>;
    /**
     * If set to true, Proxmox will generate a new encryption key. The key will be stored in the `generatedEncryptionKey` attribute. Conflicts with `encryptionKey`.
     */
    generateEncryptionKey?: pulumi.Input<boolean | undefined>;
    /**
     * The encryption key returned by Proxmox when `generateEncryptionKey` is true.
     */
    generatedEncryptionKey?: pulumi.Input<string | undefined>;
    /**
     * The namespace to use on the Proxmox Backup Server.
     */
    namespace?: pulumi.Input<string | undefined>;
    /**
     * A list of nodes where this storage is available.
     */
    nodes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The password for authenticating with the Proxmox Backup Server.
     */
    password?: pulumi.Input<string | undefined>;
    /**
     * The unique identifier of the storage.
     */
    resourceId?: pulumi.Input<string | undefined>;
    /**
     * The IP address or DNS name of the Proxmox Backup Server.
     */
    server?: pulumi.Input<string | undefined>;
    /**
     * Whether the storage is shared across all nodes.
     */
    shared?: pulumi.Input<boolean | undefined>;
    /**
     * The username for authenticating with the Proxmox Backup Server.
     */
    username?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a PbsLegacy resource.
 */
export interface PbsLegacyArgs {
    /**
     * Configure backup retention settings for the storage type.
     */
    backups?: pulumi.Input<inputs.storage.PbsLegacyBackups | undefined>;
    /**
     * The content types that can be stored on this storage. Valid values: `backup` (VM backups), `images` (VM disk images), `import` (VM disk images for import), `iso` (ISO images), `rootdir` (container root directories), `snippets` (cloud-init, hook scripts, etc.), `vztmpl` (container templates).
     */
    contents?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The name of the datastore on the Proxmox Backup Server.
     */
    datastore: pulumi.Input<string>;
    /**
     * Whether the storage is disabled.
     */
    disable?: pulumi.Input<boolean | undefined>;
    /**
     * An existing encryption key for the datastore. This is a sensitive value. Conflicts with `generateEncryptionKey`.
     */
    encryptionKey?: pulumi.Input<string | undefined>;
    /**
     * The SHA256 fingerprint of the Proxmox Backup Server's certificate.
     */
    fingerprint?: pulumi.Input<string | undefined>;
    /**
     * If set to true, Proxmox will generate a new encryption key. The key will be stored in the `generatedEncryptionKey` attribute. Conflicts with `encryptionKey`.
     */
    generateEncryptionKey?: pulumi.Input<boolean | undefined>;
    /**
     * The namespace to use on the Proxmox Backup Server.
     */
    namespace?: pulumi.Input<string | undefined>;
    /**
     * A list of nodes where this storage is available.
     */
    nodes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The password for authenticating with the Proxmox Backup Server.
     */
    password: pulumi.Input<string>;
    /**
     * The unique identifier of the storage.
     */
    resourceId: pulumi.Input<string>;
    /**
     * The IP address or DNS name of the Proxmox Backup Server.
     */
    server: pulumi.Input<string>;
    /**
     * The username for authenticating with the Proxmox Backup Server.
     */
    username: pulumi.Input<string>;
}
//# sourceMappingURL=pbsLegacy.d.ts.map