1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. storage
  5. CifsLegacy
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
proxmoxve logo
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski

    Deprecated: Use proxmoxve.storage.Cifs instead. This resource will be removed in v1.0.

    Manages an SMB/CIFS based storage server in Proxmox VE.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
    
    const example = new proxmoxve.storage.CifsLegacy("example", {
        resourceId: "example-cifs",
        nodes: ["pve"],
        server: "10.0.0.20",
        share: "proxmox",
        username: "cifs-user",
        password: "cifs-password",
        contents: ["images"],
        domain: "WORKGROUP",
        subdirectory: "terraform",
        preallocation: "metadata",
        snapshotAsVolumeChain: true,
        backups: {
            maxProtectedBackups: 5,
            keepDaily: 7,
        },
    });
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    example = proxmoxve.storage.CifsLegacy("example",
        resource_id="example-cifs",
        nodes=["pve"],
        server="10.0.0.20",
        share="proxmox",
        username="cifs-user",
        password="cifs-password",
        contents=["images"],
        domain="WORKGROUP",
        subdirectory="terraform",
        preallocation="metadata",
        snapshot_as_volume_chain=True,
        backups={
            "max_protected_backups": 5,
            "keep_daily": 7,
        })
    
    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.NewCifsLegacy(ctx, "example", &storage.CifsLegacyArgs{
    			ResourceId: pulumi.String("example-cifs"),
    			Nodes: pulumi.StringArray{
    				pulumi.String("pve"),
    			},
    			Server:   pulumi.String("10.0.0.20"),
    			Share:    pulumi.String("proxmox"),
    			Username: pulumi.String("cifs-user"),
    			Password: pulumi.String("cifs-password"),
    			Contents: pulumi.StringArray{
    				pulumi.String("images"),
    			},
    			Domain:                pulumi.String("WORKGROUP"),
    			Subdirectory:          pulumi.String("terraform"),
    			Preallocation:         pulumi.String("metadata"),
    			SnapshotAsVolumeChain: pulumi.Bool(true),
    			Backups: &storage.CifsLegacyBackupsArgs{
    				MaxProtectedBackups: pulumi.Int(5),
    				KeepDaily:           pulumi.Int(7),
    			},
    		})
    		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.CifsLegacy("example", new()
        {
            ResourceId = "example-cifs",
            Nodes = new[]
            {
                "pve",
            },
            Server = "10.0.0.20",
            Share = "proxmox",
            Username = "cifs-user",
            Password = "cifs-password",
            Contents = new[]
            {
                "images",
            },
            Domain = "WORKGROUP",
            Subdirectory = "terraform",
            Preallocation = "metadata",
            SnapshotAsVolumeChain = true,
            Backups = new ProxmoxVE.Storage.Inputs.CifsLegacyBackupsArgs
            {
                MaxProtectedBackups = %!v(PANIC=Format method: fatal: A failure has occurred: unexpected literal type in GenLiteralValueExpression: cty.NumberIntVal(5) (example.pp:14,27-28)),
                KeepDaily = %!v(PANIC=Format method: fatal: A failure has occurred: unexpected literal type in GenLiteralValueExpression: cty.NumberIntVal(7) (example.pp:15,27-28)),
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import io.muehlbachler.pulumi.proxmoxve.storage.CifsLegacy;
    import io.muehlbachler.pulumi.proxmoxve.storage.CifsLegacyArgs;
    import com.pulumi.proxmoxve.storage.inputs.CifsLegacyBackupsArgs;
    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 CifsLegacy("example", CifsLegacyArgs.builder()
                .resourceId("example-cifs")
                .nodes("pve")
                .server("10.0.0.20")
                .share("proxmox")
                .username("cifs-user")
                .password("cifs-password")
                .contents("images")
                .domain("WORKGROUP")
                .subdirectory("terraform")
                .preallocation("metadata")
                .snapshotAsVolumeChain(true)
                .backups(CifsLegacyBackupsArgs.builder()
                    .maxProtectedBackups(%!v(PANIC=Format method: fatal: A failure has occurred: unexpected literal type in GenLiteralValueExpression: cty.NumberIntVal(5) (example.pp:14,27-28)))
                    .keepDaily(%!v(PANIC=Format method: fatal: A failure has occurred: unexpected literal type in GenLiteralValueExpression: cty.NumberIntVal(7) (example.pp:15,27-28)))
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: proxmoxve:storage:CifsLegacy
        properties:
          resourceId: example-cifs
          nodes:
            - pve
          server: 10.0.0.20
          share: proxmox
          username: cifs-user
          password: cifs-password
          contents:
            - images
          domain: WORKGROUP
          subdirectory: terraform
          preallocation: metadata
          snapshotAsVolumeChain: true
          backups:
            maxProtectedBackups: 5
            keepDaily: 7
    

    Create CifsLegacy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CifsLegacy(name: string, args: CifsLegacyArgs, opts?: CustomResourceOptions);
    @overload
    def CifsLegacy(resource_name: str,
                   args: CifsLegacyArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def CifsLegacy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   password: Optional[str] = None,
                   username: Optional[str] = None,
                   share: Optional[str] = None,
                   server: Optional[str] = None,
                   resource_id: Optional[str] = None,
                   domain: Optional[str] = None,
                   preallocation: Optional[str] = None,
                   nodes: Optional[Sequence[str]] = None,
                   backups: Optional[CifsLegacyBackupsArgs] = None,
                   disable: Optional[bool] = None,
                   snapshot_as_volume_chain: Optional[bool] = None,
                   subdirectory: Optional[str] = None,
                   contents: Optional[Sequence[str]] = None)
    func NewCifsLegacy(ctx *Context, name string, args CifsLegacyArgs, opts ...ResourceOption) (*CifsLegacy, error)
    public CifsLegacy(string name, CifsLegacyArgs args, CustomResourceOptions? opts = null)
    public CifsLegacy(String name, CifsLegacyArgs args)
    public CifsLegacy(String name, CifsLegacyArgs args, CustomResourceOptions options)
    
    type: proxmoxve:storage:CifsLegacy
    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 CifsLegacyArgs
    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 CifsLegacyArgs
    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 CifsLegacyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CifsLegacyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CifsLegacyArgs
    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 cifsLegacyResource = new ProxmoxVE.Storage.CifsLegacy("cifsLegacyResource", new()
    {
        Password = "string",
        Username = "string",
        Share = "string",
        Server = "string",
        ResourceId = "string",
        Domain = "string",
        Preallocation = "string",
        Nodes = new[]
        {
            "string",
        },
        Backups = new ProxmoxVE.Storage.Inputs.CifsLegacyBackupsArgs
        {
            KeepAll = false,
            KeepDaily = 0,
            KeepHourly = 0,
            KeepLast = 0,
            KeepMonthly = 0,
            KeepWeekly = 0,
            KeepYearly = 0,
            MaxProtectedBackups = 0,
        },
        Disable = false,
        SnapshotAsVolumeChain = false,
        Subdirectory = "string",
        Contents = new[]
        {
            "string",
        },
    });
    
    example, err := storage.NewCifsLegacy(ctx, "cifsLegacyResource", &storage.CifsLegacyArgs{
    	Password:      pulumi.String("string"),
    	Username:      pulumi.String("string"),
    	Share:         pulumi.String("string"),
    	Server:        pulumi.String("string"),
    	ResourceId:    pulumi.String("string"),
    	Domain:        pulumi.String("string"),
    	Preallocation: pulumi.String("string"),
    	Nodes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Backups: &storage.CifsLegacyBackupsArgs{
    		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),
    	},
    	Disable:               pulumi.Bool(false),
    	SnapshotAsVolumeChain: pulumi.Bool(false),
    	Subdirectory:          pulumi.String("string"),
    	Contents: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var cifsLegacyResource = new CifsLegacy("cifsLegacyResource", CifsLegacyArgs.builder()
        .password("string")
        .username("string")
        .share("string")
        .server("string")
        .resourceId("string")
        .domain("string")
        .preallocation("string")
        .nodes("string")
        .backups(CifsLegacyBackupsArgs.builder()
            .keepAll(false)
            .keepDaily(0)
            .keepHourly(0)
            .keepLast(0)
            .keepMonthly(0)
            .keepWeekly(0)
            .keepYearly(0)
            .maxProtectedBackups(0)
            .build())
        .disable(false)
        .snapshotAsVolumeChain(false)
        .subdirectory("string")
        .contents("string")
        .build());
    
    cifs_legacy_resource = proxmoxve.storage.CifsLegacy("cifsLegacyResource",
        password="string",
        username="string",
        share="string",
        server="string",
        resource_id="string",
        domain="string",
        preallocation="string",
        nodes=["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,
        },
        disable=False,
        snapshot_as_volume_chain=False,
        subdirectory="string",
        contents=["string"])
    
    const cifsLegacyResource = new proxmoxve.storage.CifsLegacy("cifsLegacyResource", {
        password: "string",
        username: "string",
        share: "string",
        server: "string",
        resourceId: "string",
        domain: "string",
        preallocation: "string",
        nodes: ["string"],
        backups: {
            keepAll: false,
            keepDaily: 0,
            keepHourly: 0,
            keepLast: 0,
            keepMonthly: 0,
            keepWeekly: 0,
            keepYearly: 0,
            maxProtectedBackups: 0,
        },
        disable: false,
        snapshotAsVolumeChain: false,
        subdirectory: "string",
        contents: ["string"],
    });
    
    type: proxmoxve:storage:CifsLegacy
    properties:
        backups:
            keepAll: false
            keepDaily: 0
            keepHourly: 0
            keepLast: 0
            keepMonthly: 0
            keepWeekly: 0
            keepYearly: 0
            maxProtectedBackups: 0
        contents:
            - string
        disable: false
        domain: string
        nodes:
            - string
        password: string
        preallocation: string
        resourceId: string
        server: string
        share: string
        snapshotAsVolumeChain: false
        subdirectory: string
        username: string
    

    CifsLegacy 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 CifsLegacy resource accepts the following input properties:

    Password string
    The password for authenticating with the SMB/CIFS server.
    ResourceId string
    The unique identifier of the storage.
    Server string
    The IP address or DNS name of the SMB/CIFS server.
    Share string
    The name of the SMB/CIFS share.
    Username string
    The username for authenticating with the SMB/CIFS server.
    Backups Pulumi.ProxmoxVE.Storage.Inputs.CifsLegacyBackups
    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.
    Domain string
    The SMB/CIFS domain.
    Nodes List<string>
    A list of nodes where this storage is available.
    Preallocation string
    The preallocation mode for raw and qcow2 images.
    SnapshotAsVolumeChain bool
    Enable support for creating snapshots through volume backing-chains.
    Subdirectory string
    A subdirectory to mount within the share.
    Password string
    The password for authenticating with the SMB/CIFS server.
    ResourceId string
    The unique identifier of the storage.
    Server string
    The IP address or DNS name of the SMB/CIFS server.
    Share string
    The name of the SMB/CIFS share.
    Username string
    The username for authenticating with the SMB/CIFS server.
    Backups CifsLegacyBackupsArgs
    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.
    Domain string
    The SMB/CIFS domain.
    Nodes []string
    A list of nodes where this storage is available.
    Preallocation string
    The preallocation mode for raw and qcow2 images.
    SnapshotAsVolumeChain bool
    Enable support for creating snapshots through volume backing-chains.
    Subdirectory string
    A subdirectory to mount within the share.
    password String
    The password for authenticating with the SMB/CIFS server.
    resourceId String
    The unique identifier of the storage.
    server String
    The IP address or DNS name of the SMB/CIFS server.
    share String
    The name of the SMB/CIFS share.
    username String
    The username for authenticating with the SMB/CIFS server.
    backups CifsLegacyBackups
    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.
    domain String
    The SMB/CIFS domain.
    nodes List<String>
    A list of nodes where this storage is available.
    preallocation String
    The preallocation mode for raw and qcow2 images.
    snapshotAsVolumeChain Boolean
    Enable support for creating snapshots through volume backing-chains.
    subdirectory String
    A subdirectory to mount within the share.
    password string
    The password for authenticating with the SMB/CIFS server.
    resourceId string
    The unique identifier of the storage.
    server string
    The IP address or DNS name of the SMB/CIFS server.
    share string
    The name of the SMB/CIFS share.
    username string
    The username for authenticating with the SMB/CIFS server.
    backups CifsLegacyBackups
    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.
    domain string
    The SMB/CIFS domain.
    nodes string[]
    A list of nodes where this storage is available.
    preallocation string
    The preallocation mode for raw and qcow2 images.
    snapshotAsVolumeChain boolean
    Enable support for creating snapshots through volume backing-chains.
    subdirectory string
    A subdirectory to mount within the share.
    password str
    The password for authenticating with the SMB/CIFS server.
    resource_id str
    The unique identifier of the storage.
    server str
    The IP address or DNS name of the SMB/CIFS server.
    share str
    The name of the SMB/CIFS share.
    username str
    The username for authenticating with the SMB/CIFS server.
    backups CifsLegacyBackupsArgs
    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.
    domain str
    The SMB/CIFS domain.
    nodes Sequence[str]
    A list of nodes where this storage is available.
    preallocation str
    The preallocation mode for raw and qcow2 images.
    snapshot_as_volume_chain bool
    Enable support for creating snapshots through volume backing-chains.
    subdirectory str
    A subdirectory to mount within the share.
    password String
    The password for authenticating with the SMB/CIFS server.
    resourceId String
    The unique identifier of the storage.
    server String
    The IP address or DNS name of the SMB/CIFS server.
    share String
    The name of the SMB/CIFS share.
    username String
    The username for authenticating with the SMB/CIFS 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.
    domain String
    The SMB/CIFS domain.
    nodes List<String>
    A list of nodes where this storage is available.
    preallocation String
    The preallocation mode for raw and qcow2 images.
    snapshotAsVolumeChain Boolean
    Enable support for creating snapshots through volume backing-chains.
    subdirectory String
    A subdirectory to mount within the share.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CifsLegacy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Shared bool
    Whether the storage is shared across all nodes.
    Id string
    The provider-assigned unique ID for this managed resource.
    Shared bool
    Whether the storage is shared across all nodes.
    id String
    The provider-assigned unique ID for this managed resource.
    shared Boolean
    Whether the storage is shared across all nodes.
    id string
    The provider-assigned unique ID for this managed resource.
    shared boolean
    Whether the storage is shared across all nodes.
    id str
    The provider-assigned unique ID for this managed resource.
    shared bool
    Whether the storage is shared across all nodes.
    id String
    The provider-assigned unique ID for this managed resource.
    shared Boolean
    Whether the storage is shared across all nodes.

    Look up Existing CifsLegacy Resource

    Get an existing CifsLegacy 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?: CifsLegacyState, opts?: CustomResourceOptions): CifsLegacy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backups: Optional[CifsLegacyBackupsArgs] = None,
            contents: Optional[Sequence[str]] = None,
            disable: Optional[bool] = None,
            domain: Optional[str] = None,
            nodes: Optional[Sequence[str]] = None,
            password: Optional[str] = None,
            preallocation: Optional[str] = None,
            resource_id: Optional[str] = None,
            server: Optional[str] = None,
            share: Optional[str] = None,
            shared: Optional[bool] = None,
            snapshot_as_volume_chain: Optional[bool] = None,
            subdirectory: Optional[str] = None,
            username: Optional[str] = None) -> CifsLegacy
    func GetCifsLegacy(ctx *Context, name string, id IDInput, state *CifsLegacyState, opts ...ResourceOption) (*CifsLegacy, error)
    public static CifsLegacy Get(string name, Input<string> id, CifsLegacyState? state, CustomResourceOptions? opts = null)
    public static CifsLegacy get(String name, Output<String> id, CifsLegacyState state, CustomResourceOptions options)
    resources:  _:    type: proxmoxve:storage:CifsLegacy    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.
    The following state arguments are supported:
    Backups Pulumi.ProxmoxVE.Storage.Inputs.CifsLegacyBackups
    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.
    Domain string
    The SMB/CIFS domain.
    Nodes List<string>
    A list of nodes where this storage is available.
    Password string
    The password for authenticating with the SMB/CIFS server.
    Preallocation string
    The preallocation mode for raw and qcow2 images.
    ResourceId string
    The unique identifier of the storage.
    Server string
    The IP address or DNS name of the SMB/CIFS server.
    Share string
    The name of the SMB/CIFS share.
    Shared bool
    Whether the storage is shared across all nodes.
    SnapshotAsVolumeChain bool
    Enable support for creating snapshots through volume backing-chains.
    Subdirectory string
    A subdirectory to mount within the share.
    Username string
    The username for authenticating with the SMB/CIFS server.
    Backups CifsLegacyBackupsArgs
    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.
    Domain string
    The SMB/CIFS domain.
    Nodes []string
    A list of nodes where this storage is available.
    Password string
    The password for authenticating with the SMB/CIFS server.
    Preallocation string
    The preallocation mode for raw and qcow2 images.
    ResourceId string
    The unique identifier of the storage.
    Server string
    The IP address or DNS name of the SMB/CIFS server.
    Share string
    The name of the SMB/CIFS share.
    Shared bool
    Whether the storage is shared across all nodes.
    SnapshotAsVolumeChain bool
    Enable support for creating snapshots through volume backing-chains.
    Subdirectory string
    A subdirectory to mount within the share.
    Username string
    The username for authenticating with the SMB/CIFS server.
    backups CifsLegacyBackups
    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.
    domain String
    The SMB/CIFS domain.
    nodes List<String>
    A list of nodes where this storage is available.
    password String
    The password for authenticating with the SMB/CIFS server.
    preallocation String
    The preallocation mode for raw and qcow2 images.
    resourceId String
    The unique identifier of the storage.
    server String
    The IP address or DNS name of the SMB/CIFS server.
    share String
    The name of the SMB/CIFS share.
    shared Boolean
    Whether the storage is shared across all nodes.
    snapshotAsVolumeChain Boolean
    Enable support for creating snapshots through volume backing-chains.
    subdirectory String
    A subdirectory to mount within the share.
    username String
    The username for authenticating with the SMB/CIFS server.
    backups CifsLegacyBackups
    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.
    domain string
    The SMB/CIFS domain.
    nodes string[]
    A list of nodes where this storage is available.
    password string
    The password for authenticating with the SMB/CIFS server.
    preallocation string
    The preallocation mode for raw and qcow2 images.
    resourceId string
    The unique identifier of the storage.
    server string
    The IP address or DNS name of the SMB/CIFS server.
    share string
    The name of the SMB/CIFS share.
    shared boolean
    Whether the storage is shared across all nodes.
    snapshotAsVolumeChain boolean
    Enable support for creating snapshots through volume backing-chains.
    subdirectory string
    A subdirectory to mount within the share.
    username string
    The username for authenticating with the SMB/CIFS server.
    backups CifsLegacyBackupsArgs
    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.
    domain str
    The SMB/CIFS domain.
    nodes Sequence[str]
    A list of nodes where this storage is available.
    password str
    The password for authenticating with the SMB/CIFS server.
    preallocation str
    The preallocation mode for raw and qcow2 images.
    resource_id str
    The unique identifier of the storage.
    server str
    The IP address or DNS name of the SMB/CIFS server.
    share str
    The name of the SMB/CIFS share.
    shared bool
    Whether the storage is shared across all nodes.
    snapshot_as_volume_chain bool
    Enable support for creating snapshots through volume backing-chains.
    subdirectory str
    A subdirectory to mount within the share.
    username str
    The username for authenticating with the SMB/CIFS 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.
    domain String
    The SMB/CIFS domain.
    nodes List<String>
    A list of nodes where this storage is available.
    password String
    The password for authenticating with the SMB/CIFS server.
    preallocation String
    The preallocation mode for raw and qcow2 images.
    resourceId String
    The unique identifier of the storage.
    server String
    The IP address or DNS name of the SMB/CIFS server.
    share String
    The name of the SMB/CIFS share.
    shared Boolean
    Whether the storage is shared across all nodes.
    snapshotAsVolumeChain Boolean
    Enable support for creating snapshots through volume backing-chains.
    subdirectory String
    A subdirectory to mount within the share.
    username String
    The username for authenticating with the SMB/CIFS server.

    Supporting Types

    CifsLegacyBackups, CifsLegacyBackupsArgs

    KeepAll bool
    Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
    KeepDaily int
    The number of daily backups to keep. Older backups will be removed.
    KeepHourly int
    The number of hourly backups to keep. Older backups will be removed.
    KeepLast int
    Specifies the number of the most recent backups to keep, regardless of their age.
    KeepMonthly int
    The number of monthly backups to keep. Older backups will be removed.
    KeepWeekly int
    The number of weekly backups to keep. Older backups will be removed.
    KeepYearly int
    The number of yearly backups to keep. Older backups will be removed.
    MaxProtectedBackups int
    The maximum number of protected backups per guest. Use '-1' for unlimited.
    KeepAll bool
    Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
    KeepDaily int
    The number of daily backups to keep. Older backups will be removed.
    KeepHourly int
    The number of hourly backups to keep. Older backups will be removed.
    KeepLast int
    Specifies the number of the most recent backups to keep, regardless of their age.
    KeepMonthly int
    The number of monthly backups to keep. Older backups will be removed.
    KeepWeekly int
    The number of weekly backups to keep. Older backups will be removed.
    KeepYearly int
    The number of yearly backups to keep. Older backups will be removed.
    MaxProtectedBackups int
    The maximum number of protected backups per guest. Use '-1' for unlimited.
    keepAll Boolean
    Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
    keepDaily Integer
    The number of daily backups to keep. Older backups will be removed.
    keepHourly Integer
    The number of hourly backups to keep. Older backups will be removed.
    keepLast Integer
    Specifies the number of the most recent backups to keep, regardless of their age.
    keepMonthly Integer
    The number of monthly backups to keep. Older backups will be removed.
    keepWeekly Integer
    The number of weekly backups to keep. Older backups will be removed.
    keepYearly Integer
    The number of yearly backups to keep. Older backups will be removed.
    maxProtectedBackups Integer
    The maximum number of protected backups per guest. Use '-1' for unlimited.
    keepAll boolean
    Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
    keepDaily number
    The number of daily backups to keep. Older backups will be removed.
    keepHourly number
    The number of hourly backups to keep. Older backups will be removed.
    keepLast number
    Specifies the number of the most recent backups to keep, regardless of their age.
    keepMonthly number
    The number of monthly backups to keep. Older backups will be removed.
    keepWeekly number
    The number of weekly backups to keep. Older backups will be removed.
    keepYearly number
    The number of yearly backups to keep. Older backups will be removed.
    maxProtectedBackups number
    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_backups int
    The maximum number of protected backups per guest. Use '-1' for unlimited.
    keepAll Boolean
    Specifies if all backups should be kept, regardless of their age. When set to true, other keep_* attributes must not be set.
    keepDaily Number
    The number of daily backups to keep. Older backups will be removed.
    keepHourly Number
    The number of hourly backups to keep. Older backups will be removed.
    keepLast Number
    Specifies the number of the most recent backups to keep, regardless of their age.
    keepMonthly Number
    The number of monthly backups to keep. Older backups will be removed.
    keepWeekly Number
    The number of weekly backups to keep. Older backups will be removed.
    keepYearly Number
    The number of yearly backups to keep. Older backups will be removed.
    maxProtectedBackups Number
    The maximum number of protected backups per guest. Use '-1' for unlimited.

    Package Details

    Repository
    proxmoxve muhlba91/pulumi-proxmoxve
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the proxmox Terraform Provider.
    proxmoxve logo
    Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
    published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
      Try Pulumi Cloud free. Your team will thank you.