published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Deprecated: Use
proxmoxve.storage.Lvmthininstead. This resource will be removed in v1.0.
Manages thin LVM-based storage in Proxmox VE.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
const example = new proxmoxve.storage.LvmthinLegacy("example", {
resourceId: "example-lvmthin",
nodes: ["pve"],
volumeGroup: "vg0",
thinPool: "data",
contents: ["images"],
});
import pulumi
import pulumi_proxmoxve as proxmoxve
example = proxmoxve.storage.LvmthinLegacy("example",
resource_id="example-lvmthin",
nodes=["pve"],
volume_group="vg0",
thin_pool="data",
contents=["images"])
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.NewLvmthinLegacy(ctx, "example", &storage.LvmthinLegacyArgs{
ResourceId: pulumi.String("example-lvmthin"),
Nodes: pulumi.StringArray{
pulumi.String("pve"),
},
VolumeGroup: pulumi.String("vg0"),
ThinPool: pulumi.String("data"),
Contents: pulumi.StringArray{
pulumi.String("images"),
},
})
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.LvmthinLegacy("example", new()
{
ResourceId = "example-lvmthin",
Nodes = new[]
{
"pve",
},
VolumeGroup = "vg0",
ThinPool = "data",
Contents = new[]
{
"images",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import io.muehlbachler.pulumi.proxmoxve.storage.LvmthinLegacy;
import io.muehlbachler.pulumi.proxmoxve.storage.LvmthinLegacyArgs;
import java.util.List;
import java.util.ArrayList;
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 LvmthinLegacy("example", LvmthinLegacyArgs.builder()
.resourceId("example-lvmthin")
.nodes("pve")
.volumeGroup("vg0")
.thinPool("data")
.contents("images")
.build());
}
}
resources:
example:
type: proxmoxve:storage:LvmthinLegacy
properties:
resourceId: example-lvmthin
nodes:
- pve
volumeGroup: vg0
thinPool: data
contents:
- images
Create LvmthinLegacy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LvmthinLegacy(name: string, args: LvmthinLegacyArgs, opts?: CustomResourceOptions);@overload
def LvmthinLegacy(resource_name: str,
args: LvmthinLegacyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LvmthinLegacy(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_id: Optional[str] = None,
thin_pool: Optional[str] = None,
volume_group: Optional[str] = None,
contents: Optional[Sequence[str]] = None,
disable: Optional[bool] = None,
nodes: Optional[Sequence[str]] = None)func NewLvmthinLegacy(ctx *Context, name string, args LvmthinLegacyArgs, opts ...ResourceOption) (*LvmthinLegacy, error)public LvmthinLegacy(string name, LvmthinLegacyArgs args, CustomResourceOptions? opts = null)
public LvmthinLegacy(String name, LvmthinLegacyArgs args)
public LvmthinLegacy(String name, LvmthinLegacyArgs args, CustomResourceOptions options)
type: proxmoxve:storage:LvmthinLegacy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LvmthinLegacyArgs
- 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 LvmthinLegacyArgs
- 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 LvmthinLegacyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LvmthinLegacyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LvmthinLegacyArgs
- 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 lvmthinLegacyResource = new ProxmoxVE.Storage.LvmthinLegacy("lvmthinLegacyResource", new()
{
ResourceId = "string",
ThinPool = "string",
VolumeGroup = "string",
Contents = new[]
{
"string",
},
Disable = false,
Nodes = new[]
{
"string",
},
});
example, err := storage.NewLvmthinLegacy(ctx, "lvmthinLegacyResource", &storage.LvmthinLegacyArgs{
ResourceId: pulumi.String("string"),
ThinPool: pulumi.String("string"),
VolumeGroup: pulumi.String("string"),
Contents: pulumi.StringArray{
pulumi.String("string"),
},
Disable: pulumi.Bool(false),
Nodes: pulumi.StringArray{
pulumi.String("string"),
},
})
var lvmthinLegacyResource = new LvmthinLegacy("lvmthinLegacyResource", LvmthinLegacyArgs.builder()
.resourceId("string")
.thinPool("string")
.volumeGroup("string")
.contents("string")
.disable(false)
.nodes("string")
.build());
lvmthin_legacy_resource = proxmoxve.storage.LvmthinLegacy("lvmthinLegacyResource",
resource_id="string",
thin_pool="string",
volume_group="string",
contents=["string"],
disable=False,
nodes=["string"])
const lvmthinLegacyResource = new proxmoxve.storage.LvmthinLegacy("lvmthinLegacyResource", {
resourceId: "string",
thinPool: "string",
volumeGroup: "string",
contents: ["string"],
disable: false,
nodes: ["string"],
});
type: proxmoxve:storage:LvmthinLegacy
properties:
contents:
- string
disable: false
nodes:
- string
resourceId: string
thinPool: string
volumeGroup: string
LvmthinLegacy 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 LvmthinLegacy resource accepts the following input properties:
- Resource
Id string - The unique identifier of the storage.
- Thin
Pool string - The name of the LVM thin pool to use.
- Volume
Group string - The name of the volume group to use.
- 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.
- Nodes List<string>
- A list of nodes where this storage is available.
- Resource
Id string - The unique identifier of the storage.
- Thin
Pool string - The name of the LVM thin pool to use.
- Volume
Group string - The name of the volume group to use.
- 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.
- Nodes []string
- A list of nodes where this storage is available.
- resource
Id String - The unique identifier of the storage.
- thin
Pool String - The name of the LVM thin pool to use.
- volume
Group String - The name of the volume group to use.
- 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.
- nodes List<String>
- A list of nodes where this storage is available.
- resource
Id string - The unique identifier of the storage.
- thin
Pool string - The name of the LVM thin pool to use.
- volume
Group string - The name of the volume group to use.
- 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.
- nodes string[]
- A list of nodes where this storage is available.
- resource_
id str - The unique identifier of the storage.
- thin_
pool str - The name of the LVM thin pool to use.
- volume_
group str - The name of the volume group to use.
- 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.
- nodes Sequence[str]
- A list of nodes where this storage is available.
- resource
Id String - The unique identifier of the storage.
- thin
Pool String - The name of the LVM thin pool to use.
- volume
Group String - The name of the volume group to use.
- 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.
- nodes List<String>
- A list of nodes where this storage is available.
Outputs
All input properties are implicitly available as output properties. Additionally, the LvmthinLegacy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- bool
- Whether the storage is shared across all nodes.
- Id string
- The provider-assigned unique ID for this managed resource.
- bool
- Whether the storage is shared across all nodes.
- id String
- The provider-assigned unique ID for this managed resource.
- Boolean
- Whether the storage is shared across all nodes.
- id string
- The provider-assigned unique ID for this managed resource.
- boolean
- Whether the storage is shared across all nodes.
- id str
- The provider-assigned unique ID for this managed resource.
- bool
- Whether the storage is shared across all nodes.
- id String
- The provider-assigned unique ID for this managed resource.
- Boolean
- Whether the storage is shared across all nodes.
Look up Existing LvmthinLegacy Resource
Get an existing LvmthinLegacy 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?: LvmthinLegacyState, opts?: CustomResourceOptions): LvmthinLegacy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
contents: Optional[Sequence[str]] = None,
disable: Optional[bool] = None,
nodes: Optional[Sequence[str]] = None,
resource_id: Optional[str] = None,
shared: Optional[bool] = None,
thin_pool: Optional[str] = None,
volume_group: Optional[str] = None) -> LvmthinLegacyfunc GetLvmthinLegacy(ctx *Context, name string, id IDInput, state *LvmthinLegacyState, opts ...ResourceOption) (*LvmthinLegacy, error)public static LvmthinLegacy Get(string name, Input<string> id, LvmthinLegacyState? state, CustomResourceOptions? opts = null)public static LvmthinLegacy get(String name, Output<String> id, LvmthinLegacyState state, CustomResourceOptions options)resources: _: type: proxmoxve:storage:LvmthinLegacy get: 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.
- 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.
- Nodes List<string>
- A list of nodes where this storage is available.
- Resource
Id string - The unique identifier of the storage.
- bool
- Whether the storage is shared across all nodes.
- Thin
Pool string - The name of the LVM thin pool to use.
- Volume
Group string - The name of the volume group to use.
- 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.
- Nodes []string
- A list of nodes where this storage is available.
- Resource
Id string - The unique identifier of the storage.
- bool
- Whether the storage is shared across all nodes.
- Thin
Pool string - The name of the LVM thin pool to use.
- Volume
Group string - The name of the volume group to use.
- 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.
- nodes List<String>
- A list of nodes where this storage is available.
- resource
Id String - The unique identifier of the storage.
- Boolean
- Whether the storage is shared across all nodes.
- thin
Pool String - The name of the LVM thin pool to use.
- volume
Group String - The name of the volume group to use.
- 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.
- nodes string[]
- A list of nodes where this storage is available.
- resource
Id string - The unique identifier of the storage.
- boolean
- Whether the storage is shared across all nodes.
- thin
Pool string - The name of the LVM thin pool to use.
- volume
Group string - The name of the volume group to use.
- 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.
- nodes Sequence[str]
- A list of nodes where this storage is available.
- resource_
id str - The unique identifier of the storage.
- bool
- Whether the storage is shared across all nodes.
- thin_
pool str - The name of the LVM thin pool to use.
- volume_
group str - The name of the volume group to use.
- 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.
- nodes List<String>
- A list of nodes where this storage is available.
- resource
Id String - The unique identifier of the storage.
- Boolean
- Whether the storage is shared across all nodes.
- thin
Pool String - The name of the LVM thin pool to use.
- volume
Group String - The name of the volume group to use.
Import
!/usr/bin/env sh Storage can be imported using its identifier, e.g.:
$ pulumi import proxmoxve:storage/lvmthinLegacy:LvmthinLegacy example local-lvm-thin
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 Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
