published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
Deprecated: Use
proxmoxve.storage.Pbsinstead. This resource will be removed in v1.0.
Manages a Proxmox Backup Server (PBS) storage in Proxmox VE.
Example Usage
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 pulumi
import pulumi_proxmoxve as proxmoxve
example = proxmoxve.storage.PbsLegacy("example",
resource_id="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"],
generate_encryption_key=True)
package main
import (
"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.NewPbsLegacy(ctx, "example", &storage.PbsLegacyArgs{
ResourceId: pulumi.String("example-pbs"),
Nodes: pulumi.StringArray{
pulumi.String("pve"),
},
Server: pulumi.String("pbs.example.local"),
Datastore: pulumi.String("backup"),
Username: pulumi.String("pbs-user"),
Password: pulumi.String("pbs-password"),
Fingerprint: pulumi.String("AA:BB:CC:DD:EE:FF"),
Contents: pulumi.StringArray{
pulumi.String("backup"),
},
GenerateEncryptionKey: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ProxmoxVE = Pulumi.ProxmoxVE;
return await Deployment.RunAsync(() =>
{
var example = new ProxmoxVE.Storage.PbsLegacy("example", new()
{
ResourceId = "example-pbs",
Nodes = new[]
{
"pve",
},
Server = "pbs.example.local",
Datastore = "backup",
Username = "pbs-user",
Password = "pbs-password",
Fingerprint = "AA:BB:CC:DD:EE:FF",
Contents = new[]
{
"backup",
},
GenerateEncryptionKey = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import io.muehlbachler.pulumi.proxmoxve.storage.PbsLegacy;
import io.muehlbachler.pulumi.proxmoxve.storage.PbsLegacyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new PbsLegacy("example", PbsLegacyArgs.builder()
.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)
.build());
}
}
resources:
example:
type: proxmoxve:storage:PbsLegacy
properties:
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
Example coming soon!
Create PbsLegacy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PbsLegacy(name: string, args: PbsLegacyArgs, opts?: CustomResourceOptions);@overload
def PbsLegacy(resource_name: str,
args: PbsLegacyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PbsLegacy(resource_name: str,
opts: Optional[ResourceOptions] = None,
password: Optional[str] = None,
username: Optional[str] = None,
datastore: Optional[str] = None,
server: Optional[str] = None,
resource_id: Optional[str] = None,
disable: Optional[bool] = None,
generate_encryption_key: Optional[bool] = None,
namespace: Optional[str] = None,
nodes: Optional[Sequence[str]] = None,
fingerprint: Optional[str] = None,
encryption_key: Optional[str] = None,
backups: Optional[PbsLegacyBackupsArgs] = None,
contents: Optional[Sequence[str]] = None)func NewPbsLegacy(ctx *Context, name string, args PbsLegacyArgs, opts ...ResourceOption) (*PbsLegacy, error)public PbsLegacy(string name, PbsLegacyArgs args, CustomResourceOptions? opts = null)
public PbsLegacy(String name, PbsLegacyArgs args)
public PbsLegacy(String name, PbsLegacyArgs args, CustomResourceOptions options)
type: proxmoxve:storage:PbsLegacy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "proxmoxve_storage_pbslegacy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PbsLegacyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PbsLegacyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PbsLegacyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PbsLegacyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PbsLegacyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var pbsLegacyResource = new ProxmoxVE.Storage.PbsLegacy("pbsLegacyResource", new()
{
Password = "string",
Username = "string",
Datastore = "string",
Server = "string",
ResourceId = "string",
Disable = false,
GenerateEncryptionKey = false,
Namespace = "string",
Nodes = new[]
{
"string",
},
Fingerprint = "string",
EncryptionKey = "string",
Backups = new ProxmoxVE.Storage.Inputs.PbsLegacyBackupsArgs
{
KeepAll = false,
KeepDaily = 0,
KeepHourly = 0,
KeepLast = 0,
KeepMonthly = 0,
KeepWeekly = 0,
KeepYearly = 0,
MaxProtectedBackups = 0,
},
Contents = new[]
{
"string",
},
});
example, err := storage.NewPbsLegacy(ctx, "pbsLegacyResource", &storage.PbsLegacyArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
Datastore: pulumi.String("string"),
Server: pulumi.String("string"),
ResourceId: pulumi.String("string"),
Disable: pulumi.Bool(false),
GenerateEncryptionKey: pulumi.Bool(false),
Namespace: pulumi.String("string"),
Nodes: pulumi.StringArray{
pulumi.String("string"),
},
Fingerprint: pulumi.String("string"),
EncryptionKey: pulumi.String("string"),
Backups: &storage.PbsLegacyBackupsArgs{
KeepAll: pulumi.Bool(false),
KeepDaily: pulumi.Int(0),
KeepHourly: pulumi.Int(0),
KeepLast: pulumi.Int(0),
KeepMonthly: pulumi.Int(0),
KeepWeekly: pulumi.Int(0),
KeepYearly: pulumi.Int(0),
MaxProtectedBackups: pulumi.Int(0),
},
Contents: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "proxmoxve_storage_pbslegacy" "pbsLegacyResource" {
password = "string"
username = "string"
datastore = "string"
server = "string"
resource_id = "string"
disable = false
generate_encryption_key = false
namespace = "string"
nodes = ["string"]
fingerprint = "string"
encryption_key = "string"
backups = {
keep_all = false
keep_daily = 0
keep_hourly = 0
keep_last = 0
keep_monthly = 0
keep_weekly = 0
keep_yearly = 0
max_protected_backups = 0
}
contents = ["string"]
}
var pbsLegacyResource = new PbsLegacy("pbsLegacyResource", PbsLegacyArgs.builder()
.password("string")
.username("string")
.datastore("string")
.server("string")
.resourceId("string")
.disable(false)
.generateEncryptionKey(false)
.namespace("string")
.nodes("string")
.fingerprint("string")
.encryptionKey("string")
.backups(PbsLegacyBackupsArgs.builder()
.keepAll(false)
.keepDaily(0)
.keepHourly(0)
.keepLast(0)
.keepMonthly(0)
.keepWeekly(0)
.keepYearly(0)
.maxProtectedBackups(0)
.build())
.contents("string")
.build());
pbs_legacy_resource = proxmoxve.storage.PbsLegacy("pbsLegacyResource",
password="string",
username="string",
datastore="string",
server="string",
resource_id="string",
disable=False,
generate_encryption_key=False,
namespace="string",
nodes=["string"],
fingerprint="string",
encryption_key="string",
backups={
"keep_all": False,
"keep_daily": 0,
"keep_hourly": 0,
"keep_last": 0,
"keep_monthly": 0,
"keep_weekly": 0,
"keep_yearly": 0,
"max_protected_backups": 0,
},
contents=["string"])
const pbsLegacyResource = new proxmoxve.storage.PbsLegacy("pbsLegacyResource", {
password: "string",
username: "string",
datastore: "string",
server: "string",
resourceId: "string",
disable: false,
generateEncryptionKey: false,
namespace: "string",
nodes: ["string"],
fingerprint: "string",
encryptionKey: "string",
backups: {
keepAll: false,
keepDaily: 0,
keepHourly: 0,
keepLast: 0,
keepMonthly: 0,
keepWeekly: 0,
keepYearly: 0,
maxProtectedBackups: 0,
},
contents: ["string"],
});
type: proxmoxve:storage:PbsLegacy
properties:
backups:
keepAll: false
keepDaily: 0
keepHourly: 0
keepLast: 0
keepMonthly: 0
keepWeekly: 0
keepYearly: 0
maxProtectedBackups: 0
contents:
- string
datastore: string
disable: false
encryptionKey: string
fingerprint: string
generateEncryptionKey: false
namespace: string
nodes:
- string
password: string
resourceId: string
server: string
username: string
PbsLegacy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PbsLegacy resource accepts the following input properties:
- Datastore string
- The name of the datastore on the Proxmox Backup Server.
- Password string
- The password for authenticating with the Proxmox Backup Server.
- Resource
Id string - The unique identifier of the storage.
- Server string
- The IP address or DNS name of the Proxmox Backup Server.
- Username string
- The username for authenticating with the Proxmox Backup Server.
- Backups
Pulumi.
Proxmox VE. Storage. Inputs. Pbs Legacy Backups - Configure backup retention settings for the storage type.
- Contents List<string>
- 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). - Disable bool
- Whether the storage is disabled.
- Encryption
Key string - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - Fingerprint string
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- Generate
Encryption boolKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - Namespace string
- The namespace to use on the Proxmox Backup Server.
- Nodes List<string>
- A list of nodes where this storage is available.
- Datastore string
- The name of the datastore on the Proxmox Backup Server.
- Password string
- The password for authenticating with the Proxmox Backup Server.
- Resource
Id string - The unique identifier of the storage.
- Server string
- The IP address or DNS name of the Proxmox Backup Server.
- Username string
- The username for authenticating with the Proxmox Backup Server.
- Backups
Pbs
Legacy Backups Args - Configure backup retention settings for the storage type.
- Contents []string
- 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). - Disable bool
- Whether the storage is disabled.
- Encryption
Key string - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - Fingerprint string
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- Generate
Encryption boolKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - Namespace string
- The namespace to use on the Proxmox Backup Server.
- Nodes []string
- A list of nodes where this storage is available.
- datastore string
- The name of the datastore on the Proxmox Backup Server.
- password string
- The password for authenticating with the Proxmox Backup Server.
- resource_
id string - The unique identifier of the storage.
- server string
- The IP address or DNS name of the Proxmox Backup Server.
- username string
- The username for authenticating with the Proxmox Backup Server.
- backups object
- Configure backup retention settings for the storage type.
- contents list(string)
- 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). - disable bool
- Whether the storage is disabled.
- encryption_
key string - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - fingerprint string
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate_
encryption_ boolkey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - namespace string
- The namespace to use on the Proxmox Backup Server.
- nodes list(string)
- A list of nodes where this storage is available.
- datastore String
- The name of the datastore on the Proxmox Backup Server.
- password String
- The password for authenticating with the Proxmox Backup Server.
- resource
Id String - The unique identifier of the storage.
- server String
- The IP address or DNS name of the Proxmox Backup Server.
- username String
- The username for authenticating with the Proxmox Backup Server.
- backups
Pbs
Legacy Backups - Configure backup retention settings for the storage type.
- contents List<String>
- 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). - disable Boolean
- Whether the storage is disabled.
- encryption
Key String - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - fingerprint String
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate
Encryption BooleanKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - namespace String
- The namespace to use on the Proxmox Backup Server.
- nodes List<String>
- A list of nodes where this storage is available.
- datastore string
- The name of the datastore on the Proxmox Backup Server.
- password string
- The password for authenticating with the Proxmox Backup Server.
- resource
Id string - The unique identifier of the storage.
- server string
- The IP address or DNS name of the Proxmox Backup Server.
- username string
- The username for authenticating with the Proxmox Backup Server.
- backups
Pbs
Legacy Backups - Configure backup retention settings for the storage type.
- contents string[]
- 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). - disable boolean
- Whether the storage is disabled.
- encryption
Key string - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - fingerprint string
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate
Encryption booleanKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - namespace string
- The namespace to use on the Proxmox Backup Server.
- nodes string[]
- A list of nodes where this storage is available.
- datastore str
- The name of the datastore on the Proxmox Backup Server.
- password str
- The password for authenticating with the Proxmox Backup Server.
- resource_
id str - The unique identifier of the storage.
- server str
- The IP address or DNS name of the Proxmox Backup Server.
- username str
- The username for authenticating with the Proxmox Backup Server.
- backups
Pbs
Legacy Backups Args - Configure backup retention settings for the storage type.
- contents Sequence[str]
- 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). - disable bool
- Whether the storage is disabled.
- encryption_
key str - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - fingerprint str
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate_
encryption_ boolkey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - namespace str
- The namespace to use on the Proxmox Backup Server.
- nodes Sequence[str]
- A list of nodes where this storage is available.
- datastore String
- The name of the datastore on the Proxmox Backup Server.
- password String
- The password for authenticating with the Proxmox Backup Server.
- resource
Id String - The unique identifier of the storage.
- server String
- The IP address or DNS name of the Proxmox Backup Server.
- username String
- The username for authenticating with the Proxmox Backup Server.
- backups Property Map
- Configure backup retention settings for the storage type.
- contents List<String>
- 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). - disable Boolean
- Whether the storage is disabled.
- encryption
Key String - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - fingerprint String
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate
Encryption BooleanKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - namespace String
- The namespace to use on the Proxmox Backup Server.
- nodes List<String>
- A list of nodes where this storage is available.
Outputs
All input properties are implicitly available as output properties. Additionally, the PbsLegacy resource produces the following output properties:
- Encryption
Key stringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- Generated
Encryption stringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - Id string
- The provider-assigned unique ID for this managed resource.
- bool
- Whether the storage is shared across all nodes.
- Encryption
Key stringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- Generated
Encryption stringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - Id string
- The provider-assigned unique ID for this managed resource.
- bool
- Whether the storage is shared across all nodes.
- encryption_
key_ stringfingerprint - The SHA256 fingerprint of the encryption key currently in use.
- generated_
encryption_ stringkey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - id string
- The provider-assigned unique ID for this managed resource.
- bool
- Whether the storage is shared across all nodes.
- encryption
Key StringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- generated
Encryption StringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - id String
- The provider-assigned unique ID for this managed resource.
- Boolean
- Whether the storage is shared across all nodes.
- encryption
Key stringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- generated
Encryption stringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - id string
- The provider-assigned unique ID for this managed resource.
- boolean
- Whether the storage is shared across all nodes.
- encryption_
key_ strfingerprint - The SHA256 fingerprint of the encryption key currently in use.
- generated_
encryption_ strkey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - id str
- The provider-assigned unique ID for this managed resource.
- bool
- Whether the storage is shared across all nodes.
- encryption
Key StringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- generated
Encryption StringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - id String
- The provider-assigned unique ID for this managed resource.
- Boolean
- Whether the storage is shared across all nodes.
Look up Existing PbsLegacy Resource
Get an existing PbsLegacy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PbsLegacyState, opts?: CustomResourceOptions): PbsLegacy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backups: Optional[PbsLegacyBackupsArgs] = None,
contents: Optional[Sequence[str]] = None,
datastore: Optional[str] = None,
disable: Optional[bool] = None,
encryption_key: Optional[str] = None,
encryption_key_fingerprint: Optional[str] = None,
fingerprint: Optional[str] = None,
generate_encryption_key: Optional[bool] = None,
generated_encryption_key: Optional[str] = None,
namespace: Optional[str] = None,
nodes: Optional[Sequence[str]] = None,
password: Optional[str] = None,
resource_id: Optional[str] = None,
server: Optional[str] = None,
shared: Optional[bool] = None,
username: Optional[str] = None) -> PbsLegacyfunc GetPbsLegacy(ctx *Context, name string, id IDInput, state *PbsLegacyState, opts ...ResourceOption) (*PbsLegacy, error)public static PbsLegacy Get(string name, Input<string> id, PbsLegacyState? state, CustomResourceOptions? opts = null)public static PbsLegacy get(String name, Output<String> id, PbsLegacyState state, CustomResourceOptions options)resources: _: type: proxmoxve:storage:PbsLegacy get: id: ${id}import {
to = proxmoxve_storage_pbslegacy.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backups
Pulumi.
Proxmox VE. Storage. Inputs. Pbs Legacy Backups - Configure backup retention settings for the storage type.
- Contents List<string>
- 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). - Datastore string
- The name of the datastore on the Proxmox Backup Server.
- Disable bool
- Whether the storage is disabled.
- Encryption
Key string - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - Encryption
Key stringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- Fingerprint string
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- Generate
Encryption boolKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - Generated
Encryption stringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - Namespace string
- The namespace to use on the Proxmox Backup Server.
- Nodes List<string>
- A list of nodes where this storage is available.
- Password string
- The password for authenticating with the Proxmox Backup Server.
- Resource
Id string - The unique identifier of the storage.
- Server string
- The IP address or DNS name of the Proxmox Backup Server.
- bool
- Whether the storage is shared across all nodes.
- Username string
- The username for authenticating with the Proxmox Backup Server.
- Backups
Pbs
Legacy Backups Args - Configure backup retention settings for the storage type.
- Contents []string
- 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). - Datastore string
- The name of the datastore on the Proxmox Backup Server.
- Disable bool
- Whether the storage is disabled.
- Encryption
Key string - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - Encryption
Key stringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- Fingerprint string
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- Generate
Encryption boolKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - Generated
Encryption stringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - Namespace string
- The namespace to use on the Proxmox Backup Server.
- Nodes []string
- A list of nodes where this storage is available.
- Password string
- The password for authenticating with the Proxmox Backup Server.
- Resource
Id string - The unique identifier of the storage.
- Server string
- The IP address or DNS name of the Proxmox Backup Server.
- bool
- Whether the storage is shared across all nodes.
- Username string
- The username for authenticating with the Proxmox Backup Server.
- backups object
- Configure backup retention settings for the storage type.
- contents list(string)
- 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). - datastore string
- The name of the datastore on the Proxmox Backup Server.
- disable bool
- Whether the storage is disabled.
- encryption_
key string - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - encryption_
key_ stringfingerprint - The SHA256 fingerprint of the encryption key currently in use.
- fingerprint string
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate_
encryption_ boolkey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - generated_
encryption_ stringkey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - namespace string
- The namespace to use on the Proxmox Backup Server.
- nodes list(string)
- A list of nodes where this storage is available.
- password string
- The password for authenticating with the Proxmox Backup Server.
- resource_
id string - The unique identifier of the storage.
- server string
- The IP address or DNS name of the Proxmox Backup Server.
- bool
- Whether the storage is shared across all nodes.
- username string
- The username for authenticating with the Proxmox Backup Server.
- backups
Pbs
Legacy Backups - Configure backup retention settings for the storage type.
- contents List<String>
- 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). - datastore String
- The name of the datastore on the Proxmox Backup Server.
- disable Boolean
- Whether the storage is disabled.
- encryption
Key String - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - encryption
Key StringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- fingerprint String
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate
Encryption BooleanKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - generated
Encryption StringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - namespace String
- The namespace to use on the Proxmox Backup Server.
- nodes List<String>
- A list of nodes where this storage is available.
- password String
- The password for authenticating with the Proxmox Backup Server.
- resource
Id String - The unique identifier of the storage.
- server String
- The IP address or DNS name of the Proxmox Backup Server.
- Boolean
- Whether the storage is shared across all nodes.
- username String
- The username for authenticating with the Proxmox Backup Server.
- backups
Pbs
Legacy Backups - Configure backup retention settings for the storage type.
- contents string[]
- 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). - datastore string
- The name of the datastore on the Proxmox Backup Server.
- disable boolean
- Whether the storage is disabled.
- encryption
Key string - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - encryption
Key stringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- fingerprint string
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate
Encryption booleanKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - generated
Encryption stringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - namespace string
- The namespace to use on the Proxmox Backup Server.
- nodes string[]
- A list of nodes where this storage is available.
- password string
- The password for authenticating with the Proxmox Backup Server.
- resource
Id string - The unique identifier of the storage.
- server string
- The IP address or DNS name of the Proxmox Backup Server.
- boolean
- Whether the storage is shared across all nodes.
- username string
- The username for authenticating with the Proxmox Backup Server.
- backups
Pbs
Legacy Backups Args - Configure backup retention settings for the storage type.
- contents Sequence[str]
- 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). - datastore str
- The name of the datastore on the Proxmox Backup Server.
- disable bool
- Whether the storage is disabled.
- encryption_
key str - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - encryption_
key_ strfingerprint - The SHA256 fingerprint of the encryption key currently in use.
- fingerprint str
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate_
encryption_ boolkey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - generated_
encryption_ strkey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - namespace str
- The namespace to use on the Proxmox Backup Server.
- nodes Sequence[str]
- A list of nodes where this storage is available.
- password str
- The password for authenticating with the Proxmox Backup Server.
- resource_
id str - The unique identifier of the storage.
- server str
- The IP address or DNS name of the Proxmox Backup Server.
- bool
- Whether the storage is shared across all nodes.
- username str
- The username for authenticating with the Proxmox Backup Server.
- backups Property Map
- Configure backup retention settings for the storage type.
- contents List<String>
- 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). - datastore String
- The name of the datastore on the Proxmox Backup Server.
- disable Boolean
- Whether the storage is disabled.
- encryption
Key String - An existing encryption key for the datastore. This is a sensitive value. Conflicts with
generateEncryptionKey. - encryption
Key StringFingerprint - The SHA256 fingerprint of the encryption key currently in use.
- fingerprint String
- The SHA256 fingerprint of the Proxmox Backup Server's certificate.
- generate
Encryption BooleanKey - If set to true, Proxmox will generate a new encryption key. The key will be stored in the
generatedEncryptionKeyattribute. Conflicts withencryptionKey. - generated
Encryption StringKey - The encryption key returned by Proxmox when
generateEncryptionKeyis true. - namespace String
- The namespace to use on the Proxmox Backup Server.
- nodes List<String>
- A list of nodes where this storage is available.
- password String
- The password for authenticating with the Proxmox Backup Server.
- resource
Id String - The unique identifier of the storage.
- server String
- The IP address or DNS name of the Proxmox Backup Server.
- Boolean
- Whether the storage is shared across all nodes.
- username String
- The username for authenticating with the Proxmox Backup Server.
Supporting Types
PbsLegacyBackups, PbsLegacyBackupsArgs
- Keep
All bool - Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
- Keep
Daily int - The number of daily backups to keep. Older backups will be removed.
- Keep
Hourly int - The number of hourly backups to keep. Older backups will be removed.
- Keep
Last int - Specifies the number of the most recent backups to keep, regardless of their age.
- Keep
Monthly int - The number of monthly backups to keep. Older backups will be removed.
- Keep
Weekly int - The number of weekly backups to keep. Older backups will be removed.
- Keep
Yearly int - The number of yearly backups to keep. Older backups will be removed.
- Max
Protected intBackups - The maximum number of protected backups per guest. Use '-1' for unlimited.
- Keep
All bool - Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
- Keep
Daily int - The number of daily backups to keep. Older backups will be removed.
- Keep
Hourly int - The number of hourly backups to keep. Older backups will be removed.
- Keep
Last int - Specifies the number of the most recent backups to keep, regardless of their age.
- Keep
Monthly int - The number of monthly backups to keep. Older backups will be removed.
- Keep
Weekly int - The number of weekly backups to keep. Older backups will be removed.
- Keep
Yearly int - The number of yearly backups to keep. Older backups will be removed.
- Max
Protected intBackups - The maximum number of protected backups per guest. Use '-1' for unlimited.
- keep_
all bool - Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
- keep_
daily number - The number of daily backups to keep. Older backups will be removed.
- keep_
hourly number - The number of hourly backups to keep. Older backups will be removed.
- keep_
last number - Specifies the number of the most recent backups to keep, regardless of their age.
- keep_
monthly number - The number of monthly backups to keep. Older backups will be removed.
- keep_
weekly number - The number of weekly backups to keep. Older backups will be removed.
- keep_
yearly number - The number of yearly backups to keep. Older backups will be removed.
- max_
protected_ numberbackups - The maximum number of protected backups per guest. Use '-1' for unlimited.
- keep
All Boolean - Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
- keep
Daily Integer - The number of daily backups to keep. Older backups will be removed.
- keep
Hourly Integer - The number of hourly backups to keep. Older backups will be removed.
- keep
Last Integer - Specifies the number of the most recent backups to keep, regardless of their age.
- keep
Monthly Integer - The number of monthly backups to keep. Older backups will be removed.
- keep
Weekly Integer - The number of weekly backups to keep. Older backups will be removed.
- keep
Yearly Integer - The number of yearly backups to keep. Older backups will be removed.
- max
Protected IntegerBackups - The maximum number of protected backups per guest. Use '-1' for unlimited.
- keep
All boolean - Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
- keep
Daily number - The number of daily backups to keep. Older backups will be removed.
- keep
Hourly number - The number of hourly backups to keep. Older backups will be removed.
- keep
Last number - Specifies the number of the most recent backups to keep, regardless of their age.
- keep
Monthly number - The number of monthly backups to keep. Older backups will be removed.
- keep
Weekly number - The number of weekly backups to keep. Older backups will be removed.
- keep
Yearly number - The number of yearly backups to keep. Older backups will be removed.
- max
Protected numberBackups - The maximum number of protected backups per guest. Use '-1' for unlimited.
- keep_
all bool - Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
- keep_
daily int - The number of daily backups to keep. Older backups will be removed.
- keep_
hourly int - The number of hourly backups to keep. Older backups will be removed.
- keep_
last int - Specifies the number of the most recent backups to keep, regardless of their age.
- keep_
monthly int - The number of monthly backups to keep. Older backups will be removed.
- keep_
weekly int - The number of weekly backups to keep. Older backups will be removed.
- keep_
yearly int - The number of yearly backups to keep. Older backups will be removed.
- max_
protected_ intbackups - The maximum number of protected backups per guest. Use '-1' for unlimited.
- keep
All Boolean - Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
- keep
Daily Number - The number of daily backups to keep. Older backups will be removed.
- keep
Hourly Number - The number of hourly backups to keep. Older backups will be removed.
- keep
Last Number - Specifies the number of the most recent backups to keep, regardless of their age.
- keep
Monthly Number - The number of monthly backups to keep. Older backups will be removed.
- keep
Weekly Number - The number of weekly backups to keep. Older backups will be removed.
- keep
Yearly Number - The number of yearly backups to keep. Older backups will be removed.
- max
Protected NumberBackups - The maximum number of protected backups per guest. Use '-1' for unlimited.
Import
!/usr/bin/env sh Storage can be imported using its identifier, e.g.:
$ pulumi import proxmoxve:storage/pbsLegacy:PbsLegacy example pbs-backup
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmoxTerraform Provider.
published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
