published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
Manages an LXC container on a Proxmox VE node.
A container’s root filesystem (the disk block) and any additional volumes
(mountPoint blocks) can be placed on any Proxmox VE storage backend —
directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, CIFS, or any other storage
configured on the cluster. Bind mounts of arbitrary host directories are
also supported. See the Storage section below for details.
Example Usage
Basic container
A minimal Ubuntu container with a 4 GB rootfs on local-lvm,
DHCP networking, and an SSH key:
import * as pulumi from "@pulumi/pulumi";
import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
import * as random from "@pulumi/random";
import * as std from "@pulumi/std";
import * as tls from "@pulumi/tls";
export = async () => {
const ubuntu2504LxcImg = new proxmoxve.download.FileLegacy("ubuntu_2504_lxc_img", {
contentType: "vztmpl",
datastoreId: "local",
nodeName: "first-node",
url: "https://mirrors.servercentral.com/ubuntu-cloud-images/releases/25.04/release/ubuntu-25.04-server-cloudimg-amd64-root.tar.xz",
});
const ubuntuContainerPassword = new random.RandomPassword("ubuntu_container_password", {
length: 16,
overrideSpecial: "_%@",
special: true,
});
const ubuntuContainerKey = new tls.PrivateKey("ubuntu_container_key", {
algorithm: "RSA",
rsaBits: 2048,
});
const ubuntuContainer = new proxmoxve.ContainerLegacy("ubuntu_container", {
description: "Managed by Pulumi",
nodeName: "first-node",
vmId: 1234,
unprivileged: true,
features: {
nesting: true,
},
initialization: {
hostname: "terraform-provider-proxmox-ubuntu-container",
ipConfigs: [{
ipv4: {
address: "dhcp",
},
}],
userAccount: {
keys: [std.trimspaceOutput({
input: ubuntuContainerKey.publicKeyOpenssh,
}).apply(invoke => invoke.result)],
password: ubuntuContainerPassword.result,
},
},
networkInterfaces: [{
name: "veth0",
}],
disk: {
datastoreId: "local-lvm",
size: 4,
},
operatingSystem: {
templateFileId: ubuntu2504LxcImg.id,
type: "ubuntu",
},
startup: {
order: 3,
upDelay: 60,
downDelay: 60,
},
});
return {
ubuntuContainerPassword: ubuntuContainerPassword.result,
ubuntuContainerPrivateKey: ubuntuContainerKey.privateKeyPem,
ubuntuContainerPublicKey: ubuntuContainerKey.publicKeyOpenssh,
};
}
import pulumi
import pulumi_proxmoxve as proxmoxve
import pulumi_random as random
import pulumi_std as std
import pulumi_tls as tls
ubuntu2504_lxc_img = proxmoxve.download.FileLegacy("ubuntu_2504_lxc_img",
content_type="vztmpl",
datastore_id="local",
node_name="first-node",
url="https://mirrors.servercentral.com/ubuntu-cloud-images/releases/25.04/release/ubuntu-25.04-server-cloudimg-amd64-root.tar.xz")
ubuntu_container_password = random.RandomPassword("ubuntu_container_password",
length=16,
override_special="_%@",
special=True)
ubuntu_container_key = tls.PrivateKey("ubuntu_container_key",
algorithm="RSA",
rsa_bits=2048)
ubuntu_container = proxmoxve.ContainerLegacy("ubuntu_container",
description="Managed by Pulumi",
node_name="first-node",
vm_id=1234,
unprivileged=True,
features={
"nesting": True,
},
initialization={
"hostname": "terraform-provider-proxmox-ubuntu-container",
"ip_configs": [{
"ipv4": {
"address": "dhcp",
},
}],
"user_account": {
"keys": [std.trimspace_output(input=ubuntu_container_key.public_key_openssh).apply(lambda invoke: invoke.result)],
"password": ubuntu_container_password.result,
},
},
network_interfaces=[{
"name": "veth0",
}],
disk={
"datastore_id": "local-lvm",
"size": 4,
},
operating_system={
"template_file_id": ubuntu2504_lxc_img.id,
"type": "ubuntu",
},
startup={
"order": 3,
"up_delay": 60,
"down_delay": 60,
})
pulumi.export("ubuntuContainerPassword", ubuntu_container_password.result)
pulumi.export("ubuntuContainerPrivateKey", ubuntu_container_key.private_key_pem)
pulumi.export("ubuntuContainerPublicKey", ubuntu_container_key.public_key_openssh)
package main
import (
"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve"
"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve/download"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi-std/sdk/v2/go/std"
"github.com/pulumi/pulumi-tls/sdk/v5/go/tls"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ubuntu2504LxcImg, err := download.NewFileLegacy(ctx, "ubuntu_2504_lxc_img", &download.FileLegacyArgs{
ContentType: pulumi.String("vztmpl"),
DatastoreId: pulumi.String("local"),
NodeName: pulumi.String("first-node"),
Url: pulumi.String("https://mirrors.servercentral.com/ubuntu-cloud-images/releases/25.04/release/ubuntu-25.04-server-cloudimg-amd64-root.tar.xz"),
})
if err != nil {
return err
}
ubuntuContainerPassword, err := random.NewRandomPassword(ctx, "ubuntu_container_password", &random.RandomPasswordArgs{
Length: pulumi.Int(16),
OverrideSpecial: pulumi.String("_%@"),
Special: pulumi.Bool(true),
})
if err != nil {
return err
}
ubuntuContainerKey, err := tls.NewPrivateKey(ctx, "ubuntu_container_key", &tls.PrivateKeyArgs{
Algorithm: pulumi.String("RSA"),
RsaBits: pulumi.Int(2048),
})
if err != nil {
return err
}
_, err = proxmoxve.NewContainerLegacy(ctx, "ubuntu_container", &proxmoxve.ContainerLegacyArgs{
Description: pulumi.String("Managed by Pulumi"),
NodeName: pulumi.String("first-node"),
VmId: pulumi.Int(1234),
Unprivileged: pulumi.Bool(true),
Features: &proxmoxve.ContainerLegacyFeaturesArgs{
Nesting: pulumi.Bool(true),
},
Initialization: &proxmoxve.ContainerLegacyInitializationArgs{
Hostname: pulumi.String("terraform-provider-proxmox-ubuntu-container"),
IpConfigs: proxmoxve.ContainerLegacyInitializationIpConfigArray{
&proxmoxve.ContainerLegacyInitializationIpConfigArgs{
Ipv4: &proxmoxve.ContainerLegacyInitializationIpConfigIpv4Args{
Address: pulumi.String("dhcp"),
},
},
},
UserAccount: &proxmoxve.ContainerLegacyInitializationUserAccountArgs{
Keys: pulumi.StringArray{
std.TrimspaceOutput(ctx, std.TrimspaceOutputArgs{
Input: ubuntuContainerKey.PublicKeyOpenssh,
}, nil).ApplyT(func(invoke std.TrimspaceResult) (*string, error) {
val := invoke.Result
return &val, nil
}).(pulumi.StringPtrOutput),
},
Password: ubuntuContainerPassword.Result,
},
},
NetworkInterfaces: proxmoxve.ContainerLegacyNetworkInterfaceArray{
&proxmoxve.ContainerLegacyNetworkInterfaceArgs{
Name: pulumi.String("veth0"),
},
},
Disk: &proxmoxve.ContainerLegacyDiskArgs{
DatastoreId: pulumi.String("local-lvm"),
Size: pulumi.Int(4),
},
OperatingSystem: &proxmoxve.ContainerLegacyOperatingSystemArgs{
TemplateFileId: ubuntu2504LxcImg.ID(),
Type: pulumi.String("ubuntu"),
},
Startup: &proxmoxve.ContainerLegacyStartupArgs{
Order: pulumi.Int(3),
UpDelay: pulumi.Int(60),
DownDelay: pulumi.Int(60),
},
})
if err != nil {
return err
}
ctx.Export("ubuntuContainerPassword", ubuntuContainerPassword.Result)
ctx.Export("ubuntuContainerPrivateKey", ubuntuContainerKey.PrivateKeyPem)
ctx.Export("ubuntuContainerPublicKey", ubuntuContainerKey.PublicKeyOpenssh)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ProxmoxVE = Pulumi.ProxmoxVE;
using Random = Pulumi.Random;
using Std = Pulumi.Std;
using Tls = Pulumi.Tls;
return await Deployment.RunAsync(() =>
{
var ubuntu2504LxcImg = new ProxmoxVE.Download.FileLegacy("ubuntu_2504_lxc_img", new()
{
ContentType = "vztmpl",
DatastoreId = "local",
NodeName = "first-node",
Url = "https://mirrors.servercentral.com/ubuntu-cloud-images/releases/25.04/release/ubuntu-25.04-server-cloudimg-amd64-root.tar.xz",
});
var ubuntuContainerPassword = new Random.RandomPassword("ubuntu_container_password", new()
{
Length = 16,
OverrideSpecial = "_%@",
Special = true,
});
var ubuntuContainerKey = new Tls.PrivateKey("ubuntu_container_key", new()
{
Algorithm = "RSA",
RsaBits = 2048,
});
var ubuntuContainer = new ProxmoxVE.ContainerLegacy("ubuntu_container", new()
{
Description = "Managed by Pulumi",
NodeName = "first-node",
VmId = 1234,
Unprivileged = true,
Features = new ProxmoxVE.Inputs.ContainerLegacyFeaturesArgs
{
Nesting = true,
},
Initialization = new ProxmoxVE.Inputs.ContainerLegacyInitializationArgs
{
Hostname = "terraform-provider-proxmox-ubuntu-container",
IpConfigs = new[]
{
new ProxmoxVE.Inputs.ContainerLegacyInitializationIpConfigArgs
{
Ipv4 = new ProxmoxVE.Inputs.ContainerLegacyInitializationIpConfigIpv4Args
{
Address = "dhcp",
},
},
},
UserAccount = new ProxmoxVE.Inputs.ContainerLegacyInitializationUserAccountArgs
{
Keys = new[]
{
Std.Trimspace.Invoke(new()
{
Input = ubuntuContainerKey.PublicKeyOpenssh,
}).Apply(invoke => invoke.Result),
},
Password = ubuntuContainerPassword.Result,
},
},
NetworkInterfaces = new[]
{
new ProxmoxVE.Inputs.ContainerLegacyNetworkInterfaceArgs
{
Name = "veth0",
},
},
Disk = new ProxmoxVE.Inputs.ContainerLegacyDiskArgs
{
DatastoreId = "local-lvm",
Size = 4,
},
OperatingSystem = new ProxmoxVE.Inputs.ContainerLegacyOperatingSystemArgs
{
TemplateFileId = ubuntu2504LxcImg.Id,
Type = "ubuntu",
},
Startup = new ProxmoxVE.Inputs.ContainerLegacyStartupArgs
{
Order = 3,
UpDelay = 60,
DownDelay = 60,
},
});
return new Dictionary<string, object?>
{
["ubuntuContainerPassword"] = ubuntuContainerPassword.Result,
["ubuntuContainerPrivateKey"] = ubuntuContainerKey.PrivateKeyPem,
["ubuntuContainerPublicKey"] = ubuntuContainerKey.PublicKeyOpenssh,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import io.muehlbachler.pulumi.proxmoxve.download.FileLegacy;
import io.muehlbachler.pulumi.proxmoxve.download.FileLegacyArgs;
import com.pulumi.random.RandomPassword;
import com.pulumi.random.RandomPasswordArgs;
import com.pulumi.tls.PrivateKey;
import com.pulumi.tls.PrivateKeyArgs;
import io.muehlbachler.pulumi.proxmoxve.ContainerLegacy;
import io.muehlbachler.pulumi.proxmoxve.ContainerLegacyArgs;
import com.pulumi.proxmoxve.inputs.ContainerLegacyFeaturesArgs;
import com.pulumi.proxmoxve.inputs.ContainerLegacyInitializationArgs;
import com.pulumi.proxmoxve.inputs.ContainerLegacyInitializationUserAccountArgs;
import com.pulumi.proxmoxve.inputs.ContainerLegacyNetworkInterfaceArgs;
import com.pulumi.proxmoxve.inputs.ContainerLegacyDiskArgs;
import com.pulumi.proxmoxve.inputs.ContainerLegacyOperatingSystemArgs;
import com.pulumi.proxmoxve.inputs.ContainerLegacyStartupArgs;
import com.pulumi.std.StdFunctions;
import com.pulumi.std.inputs.TrimspaceArgs;
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 ubuntu2504LxcImg = new FileLegacy("ubuntu2504LxcImg", FileLegacyArgs.builder()
.contentType("vztmpl")
.datastoreId("local")
.nodeName("first-node")
.url("https://mirrors.servercentral.com/ubuntu-cloud-images/releases/25.04/release/ubuntu-25.04-server-cloudimg-amd64-root.tar.xz")
.build());
var ubuntuContainerPassword = new RandomPassword("ubuntuContainerPassword", RandomPasswordArgs.builder()
.length(16)
.overrideSpecial("_%@")
.special(true)
.build());
var ubuntuContainerKey = new PrivateKey("ubuntuContainerKey", PrivateKeyArgs.builder()
.algorithm("RSA")
.rsaBits(2048)
.build());
var ubuntuContainer = new ContainerLegacy("ubuntuContainer", ContainerLegacyArgs.builder()
.description("Managed by Pulumi")
.nodeName("first-node")
.vmId(1234)
.unprivileged(true)
.features(ContainerLegacyFeaturesArgs.builder()
.nesting(true)
.build())
.initialization(ContainerLegacyInitializationArgs.builder()
.hostname("terraform-provider-proxmox-ubuntu-container")
.ipConfigs(ContainerLegacyInitializationIpConfigArgs.builder()
.ipv4(ContainerLegacyInitializationIpConfigIpv4Args.builder()
.address("dhcp")
.build())
.build())
.userAccount(ContainerLegacyInitializationUserAccountArgs.builder()
.keys(StdFunctions.trimspace(TrimspaceArgs.builder()
.input(ubuntuContainerKey.publicKeyOpenssh())
.build()).applyValue(_invoke -> _invoke.result()))
.password(ubuntuContainerPassword.result())
.build())
.build())
.networkInterfaces(ContainerLegacyNetworkInterfaceArgs.builder()
.name("veth0")
.build())
.disk(ContainerLegacyDiskArgs.builder()
.datastoreId("local-lvm")
.size(4)
.build())
.operatingSystem(ContainerLegacyOperatingSystemArgs.builder()
.templateFileId(ubuntu2504LxcImg.id())
.type("ubuntu")
.build())
.startup(ContainerLegacyStartupArgs.builder()
.order(3)
.upDelay(60)
.downDelay(60)
.build())
.build());
ctx.export("ubuntuContainerPassword", ubuntuContainerPassword.result());
ctx.export("ubuntuContainerPrivateKey", ubuntuContainerKey.privateKeyPem());
ctx.export("ubuntuContainerPublicKey", ubuntuContainerKey.publicKeyOpenssh());
}
}
resources:
ubuntuContainer:
type: proxmoxve:ContainerLegacy
name: ubuntu_container
properties:
description: Managed by Pulumi
nodeName: first-node
vmId: 1234 # newer linux distributions require unprivileged user namespaces
unprivileged: true
features:
nesting: true
initialization:
hostname: terraform-provider-proxmox-ubuntu-container
ipConfigs:
- ipv4:
address: dhcp
userAccount:
keys:
- fn::invoke:
function: std:trimspace
arguments:
input: ${ubuntuContainerKey.publicKeyOpenssh}
return: result
password: ${ubuntuContainerPassword.result}
networkInterfaces:
- name: veth0
disk:
datastoreId: local-lvm
size: 4
operatingSystem:
templateFileId: ${ubuntu2504LxcImg.id}
type: ubuntu
startup:
order: '3'
upDelay: '60'
downDelay: '60'
ubuntu2504LxcImg:
type: proxmoxve:download:FileLegacy
name: ubuntu_2504_lxc_img
properties:
contentType: vztmpl
datastoreId: local
nodeName: first-node
url: https://mirrors.servercentral.com/ubuntu-cloud-images/releases/25.04/release/ubuntu-25.04-server-cloudimg-amd64-root.tar.xz
ubuntuContainerPassword:
type: random:RandomPassword
name: ubuntu_container_password
properties:
length: 16
overrideSpecial: _%@
special: true
ubuntuContainerKey:
type: tls:PrivateKey
name: ubuntu_container_key
properties:
algorithm: RSA
rsaBits: 2048
outputs:
ubuntuContainerPassword: ${ubuntuContainerPassword.result}
ubuntuContainerPrivateKey: ${ubuntuContainerKey.privateKeyPem}
ubuntuContainerPublicKey: ${ubuntuContainerKey.publicKeyOpenssh}
Example coming soon!
Custom storage configuration
This example places the rootfs on a custom storage pool, attaches an additional volume, mounts an existing volume by ID, and bind-mounts a host directory. Any Proxmox storage backend (directory, LVM-thin, ZFS, Ceph RBD, NFS, CIFS) can be referenced by its storage ID:
import * as pulumi from "@pulumi/pulumi";
import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
const customStorage = new proxmoxve.ContainerLegacy("custom_storage", {
nodeName: "first-node",
vmId: 1235,
disk: {
datastoreId: "tank-zfs",
size: 32,
},
mountPoints: [
{
volume: "local-lvm",
size: "10G",
path: "/mnt/volume",
},
{
volume: "local-lvm:subvol-108-disk-101",
size: "10G",
path: "/mnt/data",
},
{
volume: "/mnt/bindmounts/shared",
path: "/mnt/shared",
},
],
});
import pulumi
import pulumi_proxmoxve as proxmoxve
custom_storage = proxmoxve.ContainerLegacy("custom_storage",
node_name="first-node",
vm_id=1235,
disk={
"datastore_id": "tank-zfs",
"size": 32,
},
mount_points=[
{
"volume": "local-lvm",
"size": "10G",
"path": "/mnt/volume",
},
{
"volume": "local-lvm:subvol-108-disk-101",
"size": "10G",
"path": "/mnt/data",
},
{
"volume": "/mnt/bindmounts/shared",
"path": "/mnt/shared",
},
])
package main
import (
"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := proxmoxve.NewContainerLegacy(ctx, "custom_storage", &proxmoxve.ContainerLegacyArgs{
NodeName: pulumi.String("first-node"),
VmId: pulumi.Int(1235),
Disk: &proxmoxve.ContainerLegacyDiskArgs{
DatastoreId: pulumi.String("tank-zfs"),
Size: pulumi.Int(32),
},
MountPoints: proxmoxve.ContainerLegacyMountPointArray{
&proxmoxve.ContainerLegacyMountPointArgs{
Volume: pulumi.String("local-lvm"),
Size: pulumi.String("10G"),
Path: pulumi.String("/mnt/volume"),
},
&proxmoxve.ContainerLegacyMountPointArgs{
Volume: pulumi.String("local-lvm:subvol-108-disk-101"),
Size: pulumi.String("10G"),
Path: pulumi.String("/mnt/data"),
},
&proxmoxve.ContainerLegacyMountPointArgs{
Volume: pulumi.String("/mnt/bindmounts/shared"),
Path: pulumi.String("/mnt/shared"),
},
},
})
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 customStorage = new ProxmoxVE.ContainerLegacy("custom_storage", new()
{
NodeName = "first-node",
VmId = 1235,
Disk = new ProxmoxVE.Inputs.ContainerLegacyDiskArgs
{
DatastoreId = "tank-zfs",
Size = 32,
},
MountPoints = new[]
{
new ProxmoxVE.Inputs.ContainerLegacyMountPointArgs
{
Volume = "local-lvm",
Size = "10G",
Path = "/mnt/volume",
},
new ProxmoxVE.Inputs.ContainerLegacyMountPointArgs
{
Volume = "local-lvm:subvol-108-disk-101",
Size = "10G",
Path = "/mnt/data",
},
new ProxmoxVE.Inputs.ContainerLegacyMountPointArgs
{
Volume = "/mnt/bindmounts/shared",
Path = "/mnt/shared",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import io.muehlbachler.pulumi.proxmoxve.ContainerLegacy;
import io.muehlbachler.pulumi.proxmoxve.ContainerLegacyArgs;
import com.pulumi.proxmoxve.inputs.ContainerLegacyDiskArgs;
import com.pulumi.proxmoxve.inputs.ContainerLegacyMountPointArgs;
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 customStorage = new ContainerLegacy("customStorage", ContainerLegacyArgs.builder()
.nodeName("first-node")
.vmId(1235)
.disk(ContainerLegacyDiskArgs.builder()
.datastoreId("tank-zfs")
.size(32)
.build())
.mountPoints(
ContainerLegacyMountPointArgs.builder()
.volume("local-lvm")
.size("10G")
.path("/mnt/volume")
.build(),
ContainerLegacyMountPointArgs.builder()
.volume("local-lvm:subvol-108-disk-101")
.size("10G")
.path("/mnt/data")
.build(),
ContainerLegacyMountPointArgs.builder()
.volume("/mnt/bindmounts/shared")
.path("/mnt/shared")
.build())
.build());
}
}
resources:
customStorage:
type: proxmoxve:ContainerLegacy
name: custom_storage
properties:
nodeName: first-node
vmId: 1235 # Rootfs on a non-default storage pool, sized 32 GB.
disk:
datastoreId: tank-zfs
size: 32
mountPoints:
- volume: local-lvm
size: 10G
path: /mnt/volume
- volume: local-lvm:subvol-108-disk-101
size: 10G
path: /mnt/data
- volume: /mnt/bindmounts/shared
path: /mnt/shared
Example coming soon!
Storage
Containers attach storage through two block types:
disk— the root filesystem (rootfs). Exactly one rootfs per container; thedatastoreIdargument selects the Proxmox storage pool it lives on.mountPoint— zero or more additional volumes or bind mounts, each mounted at a separatepathinside the container.
Both block types are backend-agnostic: datastoreId (on disk) and
volume (on mountPoint) accept any Proxmox storage ID, regardless of
backend type. Run pvesm status on the host or use the
proxmoxve.getDatastoresLegacy
data source to list configured storages.
The mount_point.volume attribute accepts three forms:
| Form | Meaning | Example |
|---|---|---|
| Storage ID | Allocate a new volume on that storage (requires size) | local-lvm, tank-zfs |
| Storage ID + volume name | Mount an existing volume by its full PVE volume ID | local-lvm:subvol-108-disk-101 |
| Absolute host path | Bind-mount a host directory (requires root@pam auth) | /mnt/bindmounts/shared |
Create ContainerLegacy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerLegacy(name: string, args: ContainerLegacyArgs, opts?: CustomResourceOptions);@overload
def ContainerLegacy(resource_name: str,
args: ContainerLegacyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContainerLegacy(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_name: Optional[str] = None,
features: Optional[ContainerLegacyFeaturesArgs] = None,
tags: Optional[Sequence[str]] = None,
description: Optional[str] = None,
device_passthroughs: Optional[Sequence[ContainerLegacyDevicePassthroughArgs]] = None,
disk: Optional[ContainerLegacyDiskArgs] = None,
environment_variables: Optional[Mapping[str, str]] = None,
clone: Optional[ContainerLegacyCloneArgs] = None,
hook_script_file_id: Optional[str] = None,
idmaps: Optional[Sequence[ContainerLegacyIdmapArgs]] = None,
initialization: Optional[ContainerLegacyInitializationArgs] = None,
memory: Optional[ContainerLegacyMemoryArgs] = None,
mount_points: Optional[Sequence[ContainerLegacyMountPointArgs]] = None,
network_interfaces: Optional[Sequence[ContainerLegacyNetworkInterfaceArgs]] = None,
console: Optional[ContainerLegacyConsoleArgs] = None,
cpu: Optional[ContainerLegacyCpuArgs] = None,
operating_system: Optional[ContainerLegacyOperatingSystemArgs] = None,
timeout_clone: Optional[int] = None,
start_on_boot: Optional[bool] = None,
started: Optional[bool] = None,
startup: Optional[ContainerLegacyStartupArgs] = None,
pool_id: Optional[str] = None,
template: Optional[bool] = None,
protection: Optional[bool] = None,
timeout_create: Optional[int] = None,
timeout_delete: Optional[int] = None,
timeout_start: Optional[int] = None,
timeout_update: Optional[int] = None,
unprivileged: Optional[bool] = None,
vm_id: Optional[int] = None,
wait_for_ip: Optional[ContainerLegacyWaitForIpArgs] = None)func NewContainerLegacy(ctx *Context, name string, args ContainerLegacyArgs, opts ...ResourceOption) (*ContainerLegacy, error)public ContainerLegacy(string name, ContainerLegacyArgs args, CustomResourceOptions? opts = null)
public ContainerLegacy(String name, ContainerLegacyArgs args)
public ContainerLegacy(String name, ContainerLegacyArgs args, CustomResourceOptions options)
type: proxmoxve:ContainerLegacy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "proxmoxve_containerlegacy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ContainerLegacyArgs
- 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 ContainerLegacyArgs
- 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 ContainerLegacyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerLegacyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerLegacyArgs
- 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 containerLegacyResource = new ProxmoxVE.ContainerLegacy("containerLegacyResource", new()
{
NodeName = "string",
Features = new ProxmoxVE.Inputs.ContainerLegacyFeaturesArgs
{
Fuse = false,
Keyctl = false,
Mknod = false,
Mounts = new[]
{
"string",
},
Nesting = false,
},
Tags = new[]
{
"string",
},
Description = "string",
DevicePassthroughs = new[]
{
new ProxmoxVE.Inputs.ContainerLegacyDevicePassthroughArgs
{
Path = "string",
DenyWrite = false,
Gid = 0,
Mode = "string",
Uid = 0,
},
},
Disk = new ProxmoxVE.Inputs.ContainerLegacyDiskArgs
{
Acl = false,
DatastoreId = "string",
MountOptions = new[]
{
"string",
},
PathInDatastore = "string",
Quota = false,
Replicate = false,
Size = 0,
},
EnvironmentVariables =
{
{ "string", "string" },
},
Clone = new ProxmoxVE.Inputs.ContainerLegacyCloneArgs
{
VmId = 0,
DatastoreId = "string",
Full = false,
NodeName = "string",
},
HookScriptFileId = "string",
Idmaps = new[]
{
new ProxmoxVE.Inputs.ContainerLegacyIdmapArgs
{
ContainerId = 0,
HostId = 0,
Size = 0,
Type = "string",
},
},
Initialization = new ProxmoxVE.Inputs.ContainerLegacyInitializationArgs
{
Dns = new ProxmoxVE.Inputs.ContainerLegacyInitializationDnsArgs
{
Domain = "string",
Servers = new[]
{
"string",
},
},
Entrypoint = "string",
Hostname = "string",
IpConfigs = new[]
{
new ProxmoxVE.Inputs.ContainerLegacyInitializationIpConfigArgs
{
Ipv4 = new ProxmoxVE.Inputs.ContainerLegacyInitializationIpConfigIpv4Args
{
Address = "string",
Gateway = "string",
},
Ipv6 = new ProxmoxVE.Inputs.ContainerLegacyInitializationIpConfigIpv6Args
{
Address = "string",
Gateway = "string",
},
},
},
UserAccount = new ProxmoxVE.Inputs.ContainerLegacyInitializationUserAccountArgs
{
Keys = new[]
{
"string",
},
Password = "string",
},
},
Memory = new ProxmoxVE.Inputs.ContainerLegacyMemoryArgs
{
Dedicated = 0,
Swap = 0,
},
MountPoints = new[]
{
new ProxmoxVE.Inputs.ContainerLegacyMountPointArgs
{
Path = "string",
Volume = "string",
Acl = false,
Backup = false,
MountOptions = new[]
{
"string",
},
PathInDatastore = "string",
Quota = false,
ReadOnly = false,
Replicate = false,
Shared = false,
Size = "string",
},
},
NetworkInterfaces = new[]
{
new ProxmoxVE.Inputs.ContainerLegacyNetworkInterfaceArgs
{
Name = "string",
Bridge = "string",
Enabled = false,
Firewall = false,
HostManaged = false,
MacAddress = "string",
Mtu = 0,
RateLimit = 0,
VlanId = 0,
},
},
Console = new ProxmoxVE.Inputs.ContainerLegacyConsoleArgs
{
Enabled = false,
TtyCount = 0,
Type = "string",
},
Cpu = new ProxmoxVE.Inputs.ContainerLegacyCpuArgs
{
Architecture = "string",
Cores = 0,
Limit = 0,
Units = 0,
},
OperatingSystem = new ProxmoxVE.Inputs.ContainerLegacyOperatingSystemArgs
{
TemplateFileId = "string",
Type = "string",
},
TimeoutClone = 0,
StartOnBoot = false,
Started = false,
Startup = new ProxmoxVE.Inputs.ContainerLegacyStartupArgs
{
DownDelay = 0,
Order = 0,
UpDelay = 0,
},
PoolId = "string",
Template = false,
Protection = false,
TimeoutCreate = 0,
TimeoutDelete = 0,
TimeoutUpdate = 0,
Unprivileged = false,
VmId = 0,
WaitForIp = new ProxmoxVE.Inputs.ContainerLegacyWaitForIpArgs
{
Ipv4 = false,
Ipv6 = false,
},
});
example, err := proxmoxve.NewContainerLegacy(ctx, "containerLegacyResource", &proxmoxve.ContainerLegacyArgs{
NodeName: pulumi.String("string"),
Features: &proxmoxve.ContainerLegacyFeaturesArgs{
Fuse: pulumi.Bool(false),
Keyctl: pulumi.Bool(false),
Mknod: pulumi.Bool(false),
Mounts: pulumi.StringArray{
pulumi.String("string"),
},
Nesting: pulumi.Bool(false),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DevicePassthroughs: proxmoxve.ContainerLegacyDevicePassthroughArray{
&proxmoxve.ContainerLegacyDevicePassthroughArgs{
Path: pulumi.String("string"),
DenyWrite: pulumi.Bool(false),
Gid: pulumi.Int(0),
Mode: pulumi.String("string"),
Uid: pulumi.Int(0),
},
},
Disk: &proxmoxve.ContainerLegacyDiskArgs{
Acl: pulumi.Bool(false),
DatastoreId: pulumi.String("string"),
MountOptions: pulumi.StringArray{
pulumi.String("string"),
},
PathInDatastore: pulumi.String("string"),
Quota: pulumi.Bool(false),
Replicate: pulumi.Bool(false),
Size: pulumi.Int(0),
},
EnvironmentVariables: pulumi.StringMap{
"string": pulumi.String("string"),
},
Clone: &proxmoxve.ContainerLegacyCloneArgs{
VmId: pulumi.Int(0),
DatastoreId: pulumi.String("string"),
Full: pulumi.Bool(false),
NodeName: pulumi.String("string"),
},
HookScriptFileId: pulumi.String("string"),
Idmaps: proxmoxve.ContainerLegacyIdmapArray{
&proxmoxve.ContainerLegacyIdmapArgs{
ContainerId: pulumi.Int(0),
HostId: pulumi.Int(0),
Size: pulumi.Int(0),
Type: pulumi.String("string"),
},
},
Initialization: &proxmoxve.ContainerLegacyInitializationArgs{
Dns: &proxmoxve.ContainerLegacyInitializationDnsArgs{
Domain: pulumi.String("string"),
Servers: pulumi.StringArray{
pulumi.String("string"),
},
},
Entrypoint: pulumi.String("string"),
Hostname: pulumi.String("string"),
IpConfigs: proxmoxve.ContainerLegacyInitializationIpConfigArray{
&proxmoxve.ContainerLegacyInitializationIpConfigArgs{
Ipv4: &proxmoxve.ContainerLegacyInitializationIpConfigIpv4Args{
Address: pulumi.String("string"),
Gateway: pulumi.String("string"),
},
Ipv6: &proxmoxve.ContainerLegacyInitializationIpConfigIpv6Args{
Address: pulumi.String("string"),
Gateway: pulumi.String("string"),
},
},
},
UserAccount: &proxmoxve.ContainerLegacyInitializationUserAccountArgs{
Keys: pulumi.StringArray{
pulumi.String("string"),
},
Password: pulumi.String("string"),
},
},
Memory: &proxmoxve.ContainerLegacyMemoryArgs{
Dedicated: pulumi.Int(0),
Swap: pulumi.Int(0),
},
MountPoints: proxmoxve.ContainerLegacyMountPointArray{
&proxmoxve.ContainerLegacyMountPointArgs{
Path: pulumi.String("string"),
Volume: pulumi.String("string"),
Acl: pulumi.Bool(false),
Backup: pulumi.Bool(false),
MountOptions: pulumi.StringArray{
pulumi.String("string"),
},
PathInDatastore: pulumi.String("string"),
Quota: pulumi.Bool(false),
ReadOnly: pulumi.Bool(false),
Replicate: pulumi.Bool(false),
Shared: pulumi.Bool(false),
Size: pulumi.String("string"),
},
},
NetworkInterfaces: proxmoxve.ContainerLegacyNetworkInterfaceArray{
&proxmoxve.ContainerLegacyNetworkInterfaceArgs{
Name: pulumi.String("string"),
Bridge: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Firewall: pulumi.Bool(false),
HostManaged: pulumi.Bool(false),
MacAddress: pulumi.String("string"),
Mtu: pulumi.Int(0),
RateLimit: pulumi.Float64(0),
VlanId: pulumi.Int(0),
},
},
Console: &proxmoxve.ContainerLegacyConsoleArgs{
Enabled: pulumi.Bool(false),
TtyCount: pulumi.Int(0),
Type: pulumi.String("string"),
},
Cpu: &proxmoxve.ContainerLegacyCpuArgs{
Architecture: pulumi.String("string"),
Cores: pulumi.Int(0),
Limit: pulumi.Float64(0),
Units: pulumi.Int(0),
},
OperatingSystem: &proxmoxve.ContainerLegacyOperatingSystemArgs{
TemplateFileId: pulumi.String("string"),
Type: pulumi.String("string"),
},
TimeoutClone: pulumi.Int(0),
StartOnBoot: pulumi.Bool(false),
Started: pulumi.Bool(false),
Startup: &proxmoxve.ContainerLegacyStartupArgs{
DownDelay: pulumi.Int(0),
Order: pulumi.Int(0),
UpDelay: pulumi.Int(0),
},
PoolId: pulumi.String("string"),
Template: pulumi.Bool(false),
Protection: pulumi.Bool(false),
TimeoutCreate: pulumi.Int(0),
TimeoutDelete: pulumi.Int(0),
TimeoutUpdate: pulumi.Int(0),
Unprivileged: pulumi.Bool(false),
VmId: pulumi.Int(0),
WaitForIp: &proxmoxve.ContainerLegacyWaitForIpArgs{
Ipv4: pulumi.Bool(false),
Ipv6: pulumi.Bool(false),
},
})
resource "proxmoxve_containerlegacy" "containerLegacyResource" {
node_name = "string"
features = {
fuse = false
keyctl = false
mknod = false
mounts = ["string"]
nesting = false
}
tags = ["string"]
description = "string"
device_passthroughs {
path = "string"
deny_write = false
gid = 0
mode = "string"
uid = 0
}
disk = {
acl = false
datastore_id = "string"
mount_options = ["string"]
path_in_datastore = "string"
quota = false
replicate = false
size = 0
}
environment_variables = {
"string" = "string"
}
clone = {
vm_id = 0
datastore_id = "string"
full = false
node_name = "string"
}
hook_script_file_id = "string"
idmaps {
container_id = 0
host_id = 0
size = 0
type = "string"
}
initialization = {
dns = {
domain = "string"
servers = ["string"]
}
entrypoint = "string"
hostname = "string"
ip_configs = [{
"ipv4" = {
"address" = "string"
"gateway" = "string"
}
"ipv6" = {
"address" = "string"
"gateway" = "string"
}
}]
user_account = {
keys = ["string"]
password = "string"
}
}
memory = {
dedicated = 0
swap = 0
}
mount_points {
path = "string"
volume = "string"
acl = false
backup = false
mount_options = ["string"]
path_in_datastore = "string"
quota = false
read_only = false
replicate = false
shared = false
size = "string"
}
network_interfaces {
name = "string"
bridge = "string"
enabled = false
firewall = false
host_managed = false
mac_address = "string"
mtu = 0
rate_limit = 0
vlan_id = 0
}
console = {
enabled = false
tty_count = 0
type = "string"
}
cpu = {
architecture = "string"
cores = 0
limit = 0
units = 0
}
operating_system = {
template_file_id = "string"
type = "string"
}
timeout_clone = 0
start_on_boot = false
started = false
startup = {
down_delay = 0
order = 0
up_delay = 0
}
pool_id = "string"
template = false
protection = false
timeout_create = 0
timeout_delete = 0
timeout_update = 0
unprivileged = false
vm_id = 0
wait_for_ip = {
ipv4 = false
ipv6 = false
}
}
var containerLegacyResource = new ContainerLegacy("containerLegacyResource", ContainerLegacyArgs.builder()
.nodeName("string")
.features(ContainerLegacyFeaturesArgs.builder()
.fuse(false)
.keyctl(false)
.mknod(false)
.mounts("string")
.nesting(false)
.build())
.tags("string")
.description("string")
.devicePassthroughs(ContainerLegacyDevicePassthroughArgs.builder()
.path("string")
.denyWrite(false)
.gid(0)
.mode("string")
.uid(0)
.build())
.disk(ContainerLegacyDiskArgs.builder()
.acl(false)
.datastoreId("string")
.mountOptions("string")
.pathInDatastore("string")
.quota(false)
.replicate(false)
.size(0)
.build())
.environmentVariables(Map.of("string", "string"))
.clone(ContainerLegacyCloneArgs.builder()
.vmId(0)
.datastoreId("string")
.full(false)
.nodeName("string")
.build())
.hookScriptFileId("string")
.idmaps(ContainerLegacyIdmapArgs.builder()
.containerId(0)
.hostId(0)
.size(0)
.type("string")
.build())
.initialization(ContainerLegacyInitializationArgs.builder()
.dns(ContainerLegacyInitializationDnsArgs.builder()
.domain("string")
.servers("string")
.build())
.entrypoint("string")
.hostname("string")
.ipConfigs(ContainerLegacyInitializationIpConfigArgs.builder()
.ipv4(ContainerLegacyInitializationIpConfigIpv4Args.builder()
.address("string")
.gateway("string")
.build())
.ipv6(ContainerLegacyInitializationIpConfigIpv6Args.builder()
.address("string")
.gateway("string")
.build())
.build())
.userAccount(ContainerLegacyInitializationUserAccountArgs.builder()
.keys("string")
.password("string")
.build())
.build())
.memory(ContainerLegacyMemoryArgs.builder()
.dedicated(0)
.swap(0)
.build())
.mountPoints(ContainerLegacyMountPointArgs.builder()
.path("string")
.volume("string")
.acl(false)
.backup(false)
.mountOptions("string")
.pathInDatastore("string")
.quota(false)
.readOnly(false)
.replicate(false)
.shared(false)
.size("string")
.build())
.networkInterfaces(ContainerLegacyNetworkInterfaceArgs.builder()
.name("string")
.bridge("string")
.enabled(false)
.firewall(false)
.hostManaged(false)
.macAddress("string")
.mtu(0)
.rateLimit(0.0)
.vlanId(0)
.build())
.console(ContainerLegacyConsoleArgs.builder()
.enabled(false)
.ttyCount(0)
.type("string")
.build())
.cpu(ContainerLegacyCpuArgs.builder()
.architecture("string")
.cores(0)
.limit(0.0)
.units(0)
.build())
.operatingSystem(ContainerLegacyOperatingSystemArgs.builder()
.templateFileId("string")
.type("string")
.build())
.timeoutClone(0)
.startOnBoot(false)
.started(false)
.startup(ContainerLegacyStartupArgs.builder()
.downDelay(0)
.order(0)
.upDelay(0)
.build())
.poolId("string")
.template(false)
.protection(false)
.timeoutCreate(0)
.timeoutDelete(0)
.timeoutUpdate(0)
.unprivileged(false)
.vmId(0)
.waitForIp(ContainerLegacyWaitForIpArgs.builder()
.ipv4(false)
.ipv6(false)
.build())
.build());
container_legacy_resource = proxmoxve.ContainerLegacy("containerLegacyResource",
node_name="string",
features={
"fuse": False,
"keyctl": False,
"mknod": False,
"mounts": ["string"],
"nesting": False,
},
tags=["string"],
description="string",
device_passthroughs=[{
"path": "string",
"deny_write": False,
"gid": 0,
"mode": "string",
"uid": 0,
}],
disk={
"acl": False,
"datastore_id": "string",
"mount_options": ["string"],
"path_in_datastore": "string",
"quota": False,
"replicate": False,
"size": 0,
},
environment_variables={
"string": "string",
},
clone={
"vm_id": 0,
"datastore_id": "string",
"full": False,
"node_name": "string",
},
hook_script_file_id="string",
idmaps=[{
"container_id": 0,
"host_id": 0,
"size": 0,
"type": "string",
}],
initialization={
"dns": {
"domain": "string",
"servers": ["string"],
},
"entrypoint": "string",
"hostname": "string",
"ip_configs": [{
"ipv4": {
"address": "string",
"gateway": "string",
},
"ipv6": {
"address": "string",
"gateway": "string",
},
}],
"user_account": {
"keys": ["string"],
"password": "string",
},
},
memory={
"dedicated": 0,
"swap": 0,
},
mount_points=[{
"path": "string",
"volume": "string",
"acl": False,
"backup": False,
"mount_options": ["string"],
"path_in_datastore": "string",
"quota": False,
"read_only": False,
"replicate": False,
"shared": False,
"size": "string",
}],
network_interfaces=[{
"name": "string",
"bridge": "string",
"enabled": False,
"firewall": False,
"host_managed": False,
"mac_address": "string",
"mtu": 0,
"rate_limit": float(0),
"vlan_id": 0,
}],
console={
"enabled": False,
"tty_count": 0,
"type": "string",
},
cpu={
"architecture": "string",
"cores": 0,
"limit": float(0),
"units": 0,
},
operating_system={
"template_file_id": "string",
"type": "string",
},
timeout_clone=0,
start_on_boot=False,
started=False,
startup={
"down_delay": 0,
"order": 0,
"up_delay": 0,
},
pool_id="string",
template=False,
protection=False,
timeout_create=0,
timeout_delete=0,
timeout_update=0,
unprivileged=False,
vm_id=0,
wait_for_ip={
"ipv4": False,
"ipv6": False,
})
const containerLegacyResource = new proxmoxve.ContainerLegacy("containerLegacyResource", {
nodeName: "string",
features: {
fuse: false,
keyctl: false,
mknod: false,
mounts: ["string"],
nesting: false,
},
tags: ["string"],
description: "string",
devicePassthroughs: [{
path: "string",
denyWrite: false,
gid: 0,
mode: "string",
uid: 0,
}],
disk: {
acl: false,
datastoreId: "string",
mountOptions: ["string"],
pathInDatastore: "string",
quota: false,
replicate: false,
size: 0,
},
environmentVariables: {
string: "string",
},
clone: {
vmId: 0,
datastoreId: "string",
full: false,
nodeName: "string",
},
hookScriptFileId: "string",
idmaps: [{
containerId: 0,
hostId: 0,
size: 0,
type: "string",
}],
initialization: {
dns: {
domain: "string",
servers: ["string"],
},
entrypoint: "string",
hostname: "string",
ipConfigs: [{
ipv4: {
address: "string",
gateway: "string",
},
ipv6: {
address: "string",
gateway: "string",
},
}],
userAccount: {
keys: ["string"],
password: "string",
},
},
memory: {
dedicated: 0,
swap: 0,
},
mountPoints: [{
path: "string",
volume: "string",
acl: false,
backup: false,
mountOptions: ["string"],
pathInDatastore: "string",
quota: false,
readOnly: false,
replicate: false,
shared: false,
size: "string",
}],
networkInterfaces: [{
name: "string",
bridge: "string",
enabled: false,
firewall: false,
hostManaged: false,
macAddress: "string",
mtu: 0,
rateLimit: 0,
vlanId: 0,
}],
console: {
enabled: false,
ttyCount: 0,
type: "string",
},
cpu: {
architecture: "string",
cores: 0,
limit: 0,
units: 0,
},
operatingSystem: {
templateFileId: "string",
type: "string",
},
timeoutClone: 0,
startOnBoot: false,
started: false,
startup: {
downDelay: 0,
order: 0,
upDelay: 0,
},
poolId: "string",
template: false,
protection: false,
timeoutCreate: 0,
timeoutDelete: 0,
timeoutUpdate: 0,
unprivileged: false,
vmId: 0,
waitForIp: {
ipv4: false,
ipv6: false,
},
});
type: proxmoxve:ContainerLegacy
properties:
clone:
datastoreId: string
full: false
nodeName: string
vmId: 0
console:
enabled: false
ttyCount: 0
type: string
cpu:
architecture: string
cores: 0
limit: 0
units: 0
description: string
devicePassthroughs:
- denyWrite: false
gid: 0
mode: string
path: string
uid: 0
disk:
acl: false
datastoreId: string
mountOptions:
- string
pathInDatastore: string
quota: false
replicate: false
size: 0
environmentVariables:
string: string
features:
fuse: false
keyctl: false
mknod: false
mounts:
- string
nesting: false
hookScriptFileId: string
idmaps:
- containerId: 0
hostId: 0
size: 0
type: string
initialization:
dns:
domain: string
servers:
- string
entrypoint: string
hostname: string
ipConfigs:
- ipv4:
address: string
gateway: string
ipv6:
address: string
gateway: string
userAccount:
keys:
- string
password: string
memory:
dedicated: 0
swap: 0
mountPoints:
- acl: false
backup: false
mountOptions:
- string
path: string
pathInDatastore: string
quota: false
readOnly: false
replicate: false
shared: false
size: string
volume: string
networkInterfaces:
- bridge: string
enabled: false
firewall: false
hostManaged: false
macAddress: string
mtu: 0
name: string
rateLimit: 0
vlanId: 0
nodeName: string
operatingSystem:
templateFileId: string
type: string
poolId: string
protection: false
startOnBoot: false
started: false
startup:
downDelay: 0
order: 0
upDelay: 0
tags:
- string
template: false
timeoutClone: 0
timeoutCreate: 0
timeoutDelete: 0
timeoutUpdate: 0
unprivileged: false
vmId: 0
waitForIp:
ipv4: false
ipv6: false
ContainerLegacy 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 ContainerLegacy resource accepts the following input properties:
- Node
Name string - The name of the node to assign the container to.
- Clone
Pulumi.
Proxmox VE. Inputs. Container Legacy Clone - The cloning configuration.
- Console
Pulumi.
Proxmox VE. Inputs. Container Legacy Console - The console configuration.
- Cpu
Pulumi.
Proxmox VE. Inputs. Container Legacy Cpu - The CPU configuration.
- Description string
- The description.
- Device
Passthroughs List<Pulumi.Proxmox VE. Inputs. Container Legacy Device Passthrough> - Device to pass through to the container (multiple blocks supported).
- Disk
Pulumi.
Proxmox VE. Inputs. Container Legacy Disk - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- Environment
Variables Dictionary<string, string> - A map of runtime environment variables for the container init process.
- Features
Pulumi.
Proxmox VE. Inputs. Container Legacy Features - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - Hook
Script stringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - Idmaps
List<Pulumi.
Proxmox VE. Inputs. Container Legacy Idmap> - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - Initialization
Pulumi.
Proxmox VE. Inputs. Container Legacy Initialization - The initialization configuration.
- Memory
Pulumi.
Proxmox VE. Inputs. Container Legacy Memory - The memory configuration.
- Mount
Points List<Pulumi.Proxmox VE. Inputs. Container Legacy Mount Point> - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- Network
Interfaces List<Pulumi.Proxmox VE. Inputs. Container Legacy Network Interface> - A network interface (multiple blocks supported).
- Operating
System Pulumi.Proxmox VE. Inputs. Container Legacy Operating System - The Operating System configuration.
- Pool
Id string - The identifier for a pool to assign the container to.
- Protection bool
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - Start
On boolBoot - Automatically start container when the host
system boots (defaults to
true). - Started bool
- Whether to start the container (defaults to
true). - Startup
Pulumi.
Proxmox VE. Inputs. Container Legacy Startup - Defines startup and shutdown behavior of the container.
- List<string>
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - Template bool
- Whether to create a template (defaults to
false). - Timeout
Clone int - Timeout for cloning a container in seconds (defaults to 1800).
- Timeout
Create int - Timeout for creating a container in seconds (defaults to 1800).
- Timeout
Delete int - Timeout for deleting a container in seconds (defaults to 60).
- Timeout
Start int - Start container timeout
- Timeout
Update int - Timeout for updating a container in seconds (defaults to 1800).
- Unprivileged bool
- Whether the container runs as unprivileged on the host (defaults to
false). - Vm
Id int - The container identifier
- Wait
For Pulumi.Ip Proxmox VE. Inputs. Container Legacy Wait For Ip - Configuration for waiting for specific IP address types when the container starts.
- Node
Name string - The name of the node to assign the container to.
- Clone
Container
Legacy Clone Args - The cloning configuration.
- Console
Container
Legacy Console Args - The console configuration.
- Cpu
Container
Legacy Cpu Args - The CPU configuration.
- Description string
- The description.
- Device
Passthroughs []ContainerLegacy Device Passthrough Args - Device to pass through to the container (multiple blocks supported).
- Disk
Container
Legacy Disk Args - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- Environment
Variables map[string]string - A map of runtime environment variables for the container init process.
- Features
Container
Legacy Features Args - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - Hook
Script stringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - Idmaps
[]Container
Legacy Idmap Args - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - Initialization
Container
Legacy Initialization Args - The initialization configuration.
- Memory
Container
Legacy Memory Args - The memory configuration.
- Mount
Points []ContainerLegacy Mount Point Args - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- Network
Interfaces []ContainerLegacy Network Interface Args - A network interface (multiple blocks supported).
- Operating
System ContainerLegacy Operating System Args - The Operating System configuration.
- Pool
Id string - The identifier for a pool to assign the container to.
- Protection bool
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - Start
On boolBoot - Automatically start container when the host
system boots (defaults to
true). - Started bool
- Whether to start the container (defaults to
true). - Startup
Container
Legacy Startup Args - Defines startup and shutdown behavior of the container.
- []string
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - Template bool
- Whether to create a template (defaults to
false). - Timeout
Clone int - Timeout for cloning a container in seconds (defaults to 1800).
- Timeout
Create int - Timeout for creating a container in seconds (defaults to 1800).
- Timeout
Delete int - Timeout for deleting a container in seconds (defaults to 60).
- Timeout
Start int - Start container timeout
- Timeout
Update int - Timeout for updating a container in seconds (defaults to 1800).
- Unprivileged bool
- Whether the container runs as unprivileged on the host (defaults to
false). - Vm
Id int - The container identifier
- Wait
For ContainerIp Legacy Wait For Ip Args - Configuration for waiting for specific IP address types when the container starts.
- node_
name string - The name of the node to assign the container to.
- clone object
- The cloning configuration.
- console object
- The console configuration.
- cpu object
- The CPU configuration.
- description string
- The description.
- device_
passthroughs list(object) - Device to pass through to the container (multiple blocks supported).
- disk object
- The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment_
variables map(string) - A map of runtime environment variables for the container init process.
- features object
- The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook_
script_ stringfile_ id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps list(object)
- UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization object
- The initialization configuration.
- memory object
- The memory configuration.
- mount_
points list(object) - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network_
interfaces list(object) - A network interface (multiple blocks supported).
- operating_
system object - The Operating System configuration.
- pool_
id string - The identifier for a pool to assign the container to.
- protection bool
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start_
on_ boolboot - Automatically start container when the host
system boots (defaults to
true). - started bool
- Whether to start the container (defaults to
true). - startup object
- Defines startup and shutdown behavior of the container.
- list(string)
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template bool
- Whether to create a template (defaults to
false). - timeout_
clone number - Timeout for cloning a container in seconds (defaults to 1800).
- timeout_
create number - Timeout for creating a container in seconds (defaults to 1800).
- timeout_
delete number - Timeout for deleting a container in seconds (defaults to 60).
- timeout_
start number - Start container timeout
- timeout_
update number - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged bool
- Whether the container runs as unprivileged on the host (defaults to
false). - vm_
id number - The container identifier
- wait_
for_ objectip - Configuration for waiting for specific IP address types when the container starts.
- node
Name String - The name of the node to assign the container to.
- clone_
Container
Legacy Clone - The cloning configuration.
- console
Container
Legacy Console - The console configuration.
- cpu
Container
Legacy Cpu - The CPU configuration.
- description String
- The description.
- device
Passthroughs List<ContainerLegacy Device Passthrough> - Device to pass through to the container (multiple blocks supported).
- disk
Container
Legacy Disk - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment
Variables Map<String,String> - A map of runtime environment variables for the container init process.
- features
Container
Legacy Features - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook
Script StringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps
List<Container
Legacy Idmap> - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization
Container
Legacy Initialization - The initialization configuration.
- memory
Container
Legacy Memory - The memory configuration.
- mount
Points List<ContainerLegacy Mount Point> - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network
Interfaces List<ContainerLegacy Network Interface> - A network interface (multiple blocks supported).
- operating
System ContainerLegacy Operating System - The Operating System configuration.
- pool
Id String - The identifier for a pool to assign the container to.
- protection Boolean
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start
On BooleanBoot - Automatically start container when the host
system boots (defaults to
true). - started Boolean
- Whether to start the container (defaults to
true). - startup
Container
Legacy Startup - Defines startup and shutdown behavior of the container.
- List<String>
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template Boolean
- Whether to create a template (defaults to
false). - timeout
Clone Integer - Timeout for cloning a container in seconds (defaults to 1800).
- timeout
Create Integer - Timeout for creating a container in seconds (defaults to 1800).
- timeout
Delete Integer - Timeout for deleting a container in seconds (defaults to 60).
- timeout
Start Integer - Start container timeout
- timeout
Update Integer - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged Boolean
- Whether the container runs as unprivileged on the host (defaults to
false). - vm
Id Integer - The container identifier
- wait
For ContainerIp Legacy Wait For Ip - Configuration for waiting for specific IP address types when the container starts.
- node
Name string - The name of the node to assign the container to.
- clone
Container
Legacy Clone - The cloning configuration.
- console
Container
Legacy Console - The console configuration.
- cpu
Container
Legacy Cpu - The CPU configuration.
- description string
- The description.
- device
Passthroughs ContainerLegacy Device Passthrough[] - Device to pass through to the container (multiple blocks supported).
- disk
Container
Legacy Disk - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment
Variables {[key: string]: string} - A map of runtime environment variables for the container init process.
- features
Container
Legacy Features - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook
Script stringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps
Container
Legacy Idmap[] - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization
Container
Legacy Initialization - The initialization configuration.
- memory
Container
Legacy Memory - The memory configuration.
- mount
Points ContainerLegacy Mount Point[] - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network
Interfaces ContainerLegacy Network Interface[] - A network interface (multiple blocks supported).
- operating
System ContainerLegacy Operating System - The Operating System configuration.
- pool
Id string - The identifier for a pool to assign the container to.
- protection boolean
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start
On booleanBoot - Automatically start container when the host
system boots (defaults to
true). - started boolean
- Whether to start the container (defaults to
true). - startup
Container
Legacy Startup - Defines startup and shutdown behavior of the container.
- string[]
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template boolean
- Whether to create a template (defaults to
false). - timeout
Clone number - Timeout for cloning a container in seconds (defaults to 1800).
- timeout
Create number - Timeout for creating a container in seconds (defaults to 1800).
- timeout
Delete number - Timeout for deleting a container in seconds (defaults to 60).
- timeout
Start number - Start container timeout
- timeout
Update number - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged boolean
- Whether the container runs as unprivileged on the host (defaults to
false). - vm
Id number - The container identifier
- wait
For ContainerIp Legacy Wait For Ip - Configuration for waiting for specific IP address types when the container starts.
- node_
name str - The name of the node to assign the container to.
- clone
Container
Legacy Clone Args - The cloning configuration.
- console
Container
Legacy Console Args - The console configuration.
- cpu
Container
Legacy Cpu Args - The CPU configuration.
- description str
- The description.
- device_
passthroughs Sequence[ContainerLegacy Device Passthrough Args] - Device to pass through to the container (multiple blocks supported).
- disk
Container
Legacy Disk Args - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment_
variables Mapping[str, str] - A map of runtime environment variables for the container init process.
- features
Container
Legacy Features Args - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook_
script_ strfile_ id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps
Sequence[Container
Legacy Idmap Args] - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization
Container
Legacy Initialization Args - The initialization configuration.
- memory
Container
Legacy Memory Args - The memory configuration.
- mount_
points Sequence[ContainerLegacy Mount Point Args] - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network_
interfaces Sequence[ContainerLegacy Network Interface Args] - A network interface (multiple blocks supported).
- operating_
system ContainerLegacy Operating System Args - The Operating System configuration.
- pool_
id str - The identifier for a pool to assign the container to.
- protection bool
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start_
on_ boolboot - Automatically start container when the host
system boots (defaults to
true). - started bool
- Whether to start the container (defaults to
true). - startup
Container
Legacy Startup Args - Defines startup and shutdown behavior of the container.
- Sequence[str]
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template bool
- Whether to create a template (defaults to
false). - timeout_
clone int - Timeout for cloning a container in seconds (defaults to 1800).
- timeout_
create int - Timeout for creating a container in seconds (defaults to 1800).
- timeout_
delete int - Timeout for deleting a container in seconds (defaults to 60).
- timeout_
start int - Start container timeout
- timeout_
update int - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged bool
- Whether the container runs as unprivileged on the host (defaults to
false). - vm_
id int - The container identifier
- wait_
for_ Containerip Legacy Wait For Ip Args - Configuration for waiting for specific IP address types when the container starts.
- node
Name String - The name of the node to assign the container to.
- clone Property Map
- The cloning configuration.
- console Property Map
- The console configuration.
- cpu Property Map
- The CPU configuration.
- description String
- The description.
- device
Passthroughs List<Property Map> - Device to pass through to the container (multiple blocks supported).
- disk Property Map
- The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment
Variables Map<String> - A map of runtime environment variables for the container init process.
- features Property Map
- The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook
Script StringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps List<Property Map>
- UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization Property Map
- The initialization configuration.
- memory Property Map
- The memory configuration.
- mount
Points List<Property Map> - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network
Interfaces List<Property Map> - A network interface (multiple blocks supported).
- operating
System Property Map - The Operating System configuration.
- pool
Id String - The identifier for a pool to assign the container to.
- protection Boolean
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start
On BooleanBoot - Automatically start container when the host
system boots (defaults to
true). - started Boolean
- Whether to start the container (defaults to
true). - startup Property Map
- Defines startup and shutdown behavior of the container.
- List<String>
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template Boolean
- Whether to create a template (defaults to
false). - timeout
Clone Number - Timeout for cloning a container in seconds (defaults to 1800).
- timeout
Create Number - Timeout for creating a container in seconds (defaults to 1800).
- timeout
Delete Number - Timeout for deleting a container in seconds (defaults to 60).
- timeout
Start Number - Start container timeout
- timeout
Update Number - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged Boolean
- Whether the container runs as unprivileged on the host (defaults to
false). - vm
Id Number - The container identifier
- wait
For Property MapIp - Configuration for waiting for specific IP address types when the container starts.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerLegacy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4 Dictionary<string, string>
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- Ipv6 Dictionary<string, string>
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4 map[string]string
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- Ipv6 map[string]string
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4 map(string)
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 map(string)
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4 Map<String,String>
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 Map<String,String>
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4 {[key: string]: string}
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 {[key: string]: string}
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv4 Mapping[str, str]
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 Mapping[str, str]
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4 Map<String>
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 Map<String>
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
Look up Existing ContainerLegacy Resource
Get an existing ContainerLegacy 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?: ContainerLegacyState, opts?: CustomResourceOptions): ContainerLegacy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
clone: Optional[ContainerLegacyCloneArgs] = None,
console: Optional[ContainerLegacyConsoleArgs] = None,
cpu: Optional[ContainerLegacyCpuArgs] = None,
description: Optional[str] = None,
device_passthroughs: Optional[Sequence[ContainerLegacyDevicePassthroughArgs]] = None,
disk: Optional[ContainerLegacyDiskArgs] = None,
environment_variables: Optional[Mapping[str, str]] = None,
features: Optional[ContainerLegacyFeaturesArgs] = None,
hook_script_file_id: Optional[str] = None,
idmaps: Optional[Sequence[ContainerLegacyIdmapArgs]] = None,
initialization: Optional[ContainerLegacyInitializationArgs] = None,
ipv4: Optional[Mapping[str, str]] = None,
ipv6: Optional[Mapping[str, str]] = None,
memory: Optional[ContainerLegacyMemoryArgs] = None,
mount_points: Optional[Sequence[ContainerLegacyMountPointArgs]] = None,
network_interfaces: Optional[Sequence[ContainerLegacyNetworkInterfaceArgs]] = None,
node_name: Optional[str] = None,
operating_system: Optional[ContainerLegacyOperatingSystemArgs] = None,
pool_id: Optional[str] = None,
protection: Optional[bool] = None,
start_on_boot: Optional[bool] = None,
started: Optional[bool] = None,
startup: Optional[ContainerLegacyStartupArgs] = None,
tags: Optional[Sequence[str]] = None,
template: Optional[bool] = None,
timeout_clone: Optional[int] = None,
timeout_create: Optional[int] = None,
timeout_delete: Optional[int] = None,
timeout_start: Optional[int] = None,
timeout_update: Optional[int] = None,
unprivileged: Optional[bool] = None,
vm_id: Optional[int] = None,
wait_for_ip: Optional[ContainerLegacyWaitForIpArgs] = None) -> ContainerLegacyfunc GetContainerLegacy(ctx *Context, name string, id IDInput, state *ContainerLegacyState, opts ...ResourceOption) (*ContainerLegacy, error)public static ContainerLegacy Get(string name, Input<string> id, ContainerLegacyState? state, CustomResourceOptions? opts = null)public static ContainerLegacy get(String name, Output<String> id, ContainerLegacyState state, CustomResourceOptions options)resources: _: type: proxmoxve:ContainerLegacy get: id: ${id}import {
to = proxmoxve_containerlegacy.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.
- Clone
Pulumi.
Proxmox VE. Inputs. Container Legacy Clone - The cloning configuration.
- Console
Pulumi.
Proxmox VE. Inputs. Container Legacy Console - The console configuration.
- Cpu
Pulumi.
Proxmox VE. Inputs. Container Legacy Cpu - The CPU configuration.
- Description string
- The description.
- Device
Passthroughs List<Pulumi.Proxmox VE. Inputs. Container Legacy Device Passthrough> - Device to pass through to the container (multiple blocks supported).
- Disk
Pulumi.
Proxmox VE. Inputs. Container Legacy Disk - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- Environment
Variables Dictionary<string, string> - A map of runtime environment variables for the container init process.
- Features
Pulumi.
Proxmox VE. Inputs. Container Legacy Features - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - Hook
Script stringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - Idmaps
List<Pulumi.
Proxmox VE. Inputs. Container Legacy Idmap> - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - Initialization
Pulumi.
Proxmox VE. Inputs. Container Legacy Initialization - The initialization configuration.
- Ipv4 Dictionary<string, string>
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- Ipv6 Dictionary<string, string>
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- Memory
Pulumi.
Proxmox VE. Inputs. Container Legacy Memory - The memory configuration.
- Mount
Points List<Pulumi.Proxmox VE. Inputs. Container Legacy Mount Point> - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- Network
Interfaces List<Pulumi.Proxmox VE. Inputs. Container Legacy Network Interface> - A network interface (multiple blocks supported).
- Node
Name string - The name of the node to assign the container to.
- Operating
System Pulumi.Proxmox VE. Inputs. Container Legacy Operating System - The Operating System configuration.
- Pool
Id string - The identifier for a pool to assign the container to.
- Protection bool
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - Start
On boolBoot - Automatically start container when the host
system boots (defaults to
true). - Started bool
- Whether to start the container (defaults to
true). - Startup
Pulumi.
Proxmox VE. Inputs. Container Legacy Startup - Defines startup and shutdown behavior of the container.
- List<string>
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - Template bool
- Whether to create a template (defaults to
false). - Timeout
Clone int - Timeout for cloning a container in seconds (defaults to 1800).
- Timeout
Create int - Timeout for creating a container in seconds (defaults to 1800).
- Timeout
Delete int - Timeout for deleting a container in seconds (defaults to 60).
- Timeout
Start int - Start container timeout
- Timeout
Update int - Timeout for updating a container in seconds (defaults to 1800).
- Unprivileged bool
- Whether the container runs as unprivileged on the host (defaults to
false). - Vm
Id int - The container identifier
- Wait
For Pulumi.Ip Proxmox VE. Inputs. Container Legacy Wait For Ip - Configuration for waiting for specific IP address types when the container starts.
- Clone
Container
Legacy Clone Args - The cloning configuration.
- Console
Container
Legacy Console Args - The console configuration.
- Cpu
Container
Legacy Cpu Args - The CPU configuration.
- Description string
- The description.
- Device
Passthroughs []ContainerLegacy Device Passthrough Args - Device to pass through to the container (multiple blocks supported).
- Disk
Container
Legacy Disk Args - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- Environment
Variables map[string]string - A map of runtime environment variables for the container init process.
- Features
Container
Legacy Features Args - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - Hook
Script stringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - Idmaps
[]Container
Legacy Idmap Args - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - Initialization
Container
Legacy Initialization Args - The initialization configuration.
- Ipv4 map[string]string
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- Ipv6 map[string]string
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- Memory
Container
Legacy Memory Args - The memory configuration.
- Mount
Points []ContainerLegacy Mount Point Args - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- Network
Interfaces []ContainerLegacy Network Interface Args - A network interface (multiple blocks supported).
- Node
Name string - The name of the node to assign the container to.
- Operating
System ContainerLegacy Operating System Args - The Operating System configuration.
- Pool
Id string - The identifier for a pool to assign the container to.
- Protection bool
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - Start
On boolBoot - Automatically start container when the host
system boots (defaults to
true). - Started bool
- Whether to start the container (defaults to
true). - Startup
Container
Legacy Startup Args - Defines startup and shutdown behavior of the container.
- []string
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - Template bool
- Whether to create a template (defaults to
false). - Timeout
Clone int - Timeout for cloning a container in seconds (defaults to 1800).
- Timeout
Create int - Timeout for creating a container in seconds (defaults to 1800).
- Timeout
Delete int - Timeout for deleting a container in seconds (defaults to 60).
- Timeout
Start int - Start container timeout
- Timeout
Update int - Timeout for updating a container in seconds (defaults to 1800).
- Unprivileged bool
- Whether the container runs as unprivileged on the host (defaults to
false). - Vm
Id int - The container identifier
- Wait
For ContainerIp Legacy Wait For Ip Args - Configuration for waiting for specific IP address types when the container starts.
- clone object
- The cloning configuration.
- console object
- The console configuration.
- cpu object
- The CPU configuration.
- description string
- The description.
- device_
passthroughs list(object) - Device to pass through to the container (multiple blocks supported).
- disk object
- The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment_
variables map(string) - A map of runtime environment variables for the container init process.
- features object
- The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook_
script_ stringfile_ id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps list(object)
- UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization object
- The initialization configuration.
- ipv4 map(string)
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 map(string)
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- memory object
- The memory configuration.
- mount_
points list(object) - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network_
interfaces list(object) - A network interface (multiple blocks supported).
- node_
name string - The name of the node to assign the container to.
- operating_
system object - The Operating System configuration.
- pool_
id string - The identifier for a pool to assign the container to.
- protection bool
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start_
on_ boolboot - Automatically start container when the host
system boots (defaults to
true). - started bool
- Whether to start the container (defaults to
true). - startup object
- Defines startup and shutdown behavior of the container.
- list(string)
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template bool
- Whether to create a template (defaults to
false). - timeout_
clone number - Timeout for cloning a container in seconds (defaults to 1800).
- timeout_
create number - Timeout for creating a container in seconds (defaults to 1800).
- timeout_
delete number - Timeout for deleting a container in seconds (defaults to 60).
- timeout_
start number - Start container timeout
- timeout_
update number - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged bool
- Whether the container runs as unprivileged on the host (defaults to
false). - vm_
id number - The container identifier
- wait_
for_ objectip - Configuration for waiting for specific IP address types when the container starts.
- clone_
Container
Legacy Clone - The cloning configuration.
- console
Container
Legacy Console - The console configuration.
- cpu
Container
Legacy Cpu - The CPU configuration.
- description String
- The description.
- device
Passthroughs List<ContainerLegacy Device Passthrough> - Device to pass through to the container (multiple blocks supported).
- disk
Container
Legacy Disk - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment
Variables Map<String,String> - A map of runtime environment variables for the container init process.
- features
Container
Legacy Features - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook
Script StringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps
List<Container
Legacy Idmap> - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization
Container
Legacy Initialization - The initialization configuration.
- ipv4 Map<String,String>
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 Map<String,String>
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- memory
Container
Legacy Memory - The memory configuration.
- mount
Points List<ContainerLegacy Mount Point> - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network
Interfaces List<ContainerLegacy Network Interface> - A network interface (multiple blocks supported).
- node
Name String - The name of the node to assign the container to.
- operating
System ContainerLegacy Operating System - The Operating System configuration.
- pool
Id String - The identifier for a pool to assign the container to.
- protection Boolean
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start
On BooleanBoot - Automatically start container when the host
system boots (defaults to
true). - started Boolean
- Whether to start the container (defaults to
true). - startup
Container
Legacy Startup - Defines startup and shutdown behavior of the container.
- List<String>
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template Boolean
- Whether to create a template (defaults to
false). - timeout
Clone Integer - Timeout for cloning a container in seconds (defaults to 1800).
- timeout
Create Integer - Timeout for creating a container in seconds (defaults to 1800).
- timeout
Delete Integer - Timeout for deleting a container in seconds (defaults to 60).
- timeout
Start Integer - Start container timeout
- timeout
Update Integer - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged Boolean
- Whether the container runs as unprivileged on the host (defaults to
false). - vm
Id Integer - The container identifier
- wait
For ContainerIp Legacy Wait For Ip - Configuration for waiting for specific IP address types when the container starts.
- clone
Container
Legacy Clone - The cloning configuration.
- console
Container
Legacy Console - The console configuration.
- cpu
Container
Legacy Cpu - The CPU configuration.
- description string
- The description.
- device
Passthroughs ContainerLegacy Device Passthrough[] - Device to pass through to the container (multiple blocks supported).
- disk
Container
Legacy Disk - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment
Variables {[key: string]: string} - A map of runtime environment variables for the container init process.
- features
Container
Legacy Features - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook
Script stringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps
Container
Legacy Idmap[] - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization
Container
Legacy Initialization - The initialization configuration.
- ipv4 {[key: string]: string}
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 {[key: string]: string}
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- memory
Container
Legacy Memory - The memory configuration.
- mount
Points ContainerLegacy Mount Point[] - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network
Interfaces ContainerLegacy Network Interface[] - A network interface (multiple blocks supported).
- node
Name string - The name of the node to assign the container to.
- operating
System ContainerLegacy Operating System - The Operating System configuration.
- pool
Id string - The identifier for a pool to assign the container to.
- protection boolean
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start
On booleanBoot - Automatically start container when the host
system boots (defaults to
true). - started boolean
- Whether to start the container (defaults to
true). - startup
Container
Legacy Startup - Defines startup and shutdown behavior of the container.
- string[]
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template boolean
- Whether to create a template (defaults to
false). - timeout
Clone number - Timeout for cloning a container in seconds (defaults to 1800).
- timeout
Create number - Timeout for creating a container in seconds (defaults to 1800).
- timeout
Delete number - Timeout for deleting a container in seconds (defaults to 60).
- timeout
Start number - Start container timeout
- timeout
Update number - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged boolean
- Whether the container runs as unprivileged on the host (defaults to
false). - vm
Id number - The container identifier
- wait
For ContainerIp Legacy Wait For Ip - Configuration for waiting for specific IP address types when the container starts.
- clone
Container
Legacy Clone Args - The cloning configuration.
- console
Container
Legacy Console Args - The console configuration.
- cpu
Container
Legacy Cpu Args - The CPU configuration.
- description str
- The description.
- device_
passthroughs Sequence[ContainerLegacy Device Passthrough Args] - Device to pass through to the container (multiple blocks supported).
- disk
Container
Legacy Disk Args - The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment_
variables Mapping[str, str] - A map of runtime environment variables for the container init process.
- features
Container
Legacy Features Args - The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook_
script_ strfile_ id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps
Sequence[Container
Legacy Idmap Args] - UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization
Container
Legacy Initialization Args - The initialization configuration.
- ipv4 Mapping[str, str]
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 Mapping[str, str]
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- memory
Container
Legacy Memory Args - The memory configuration.
- mount_
points Sequence[ContainerLegacy Mount Point Args] - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network_
interfaces Sequence[ContainerLegacy Network Interface Args] - A network interface (multiple blocks supported).
- node_
name str - The name of the node to assign the container to.
- operating_
system ContainerLegacy Operating System Args - The Operating System configuration.
- pool_
id str - The identifier for a pool to assign the container to.
- protection bool
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start_
on_ boolboot - Automatically start container when the host
system boots (defaults to
true). - started bool
- Whether to start the container (defaults to
true). - startup
Container
Legacy Startup Args - Defines startup and shutdown behavior of the container.
- Sequence[str]
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template bool
- Whether to create a template (defaults to
false). - timeout_
clone int - Timeout for cloning a container in seconds (defaults to 1800).
- timeout_
create int - Timeout for creating a container in seconds (defaults to 1800).
- timeout_
delete int - Timeout for deleting a container in seconds (defaults to 60).
- timeout_
start int - Start container timeout
- timeout_
update int - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged bool
- Whether the container runs as unprivileged on the host (defaults to
false). - vm_
id int - The container identifier
- wait_
for_ Containerip Legacy Wait For Ip Args - Configuration for waiting for specific IP address types when the container starts.
- clone Property Map
- The cloning configuration.
- console Property Map
- The console configuration.
- cpu Property Map
- The CPU configuration.
- description String
- The description.
- device
Passthroughs List<Property Map> - Device to pass through to the container (multiple blocks supported).
- disk Property Map
- The root filesystem (rootfs) storage configuration. Selects the Proxmox storage pool the container's root volume is created on. Backend-agnostic — works with directory, LVM, LVM-thin, ZFS, Ceph RBD, NFS, and any other configured Proxmox storage.
- environment
Variables Map<String> - A map of runtime environment variables for the container init process.
- features Property Map
- The container feature flags. Changing flags (except nesting) is only allowed for
root@pamauthenticated user. - hook
Script StringFile Id - The identifier for a file containing a hook script (needs to be executable, e.g. by using the
proxmox_virtual_environment_file.file_modeattribute). - idmaps List<Property Map>
- UID/GID mapping for unprivileged containers (multiple
blocks supported). These are written as
lxc.idmapentries in the container configuration file via SSH, since the Proxmox API does not support writinglxc[n]parameters. - initialization Property Map
- The initialization configuration.
- ipv4 Map<String>
- The map of IPv4 addresses per network devices. Returns the first address for each network device, if multiple addresses are assigned.
- ipv6 Map<String>
- The map of IPv6 addresses per network device. Returns the first address for each network device, if multiple addresses are assigned.
- memory Property Map
- The memory configuration.
- mount
Points List<Property Map> - An additional volume mount or host bind mount (multiple blocks supported). Use this for data volumes, shared directories, or attaching pre-existing PVE volumes.
- network
Interfaces List<Property Map> - A network interface (multiple blocks supported).
- node
Name String - The name of the node to assign the container to.
- operating
System Property Map - The Operating System configuration.
- pool
Id String - The identifier for a pool to assign the container to.
- protection Boolean
- Whether to set the protection flag of the container (defaults to
false). This will prevent the container itself and its disk for remove/update operations. - start
On BooleanBoot - Automatically start container when the host
system boots (defaults to
true). - started Boolean
- Whether to start the container (defaults to
true). - startup Property Map
- Defines startup and shutdown behavior of the container.
- List<String>
- A list of tags the container tags. This is only meta
information (defaults to
[]). Note: Proxmox always sorts the container tags and set them to lowercase. If tag contains capital letters, then Proxmox will always report a difference on the resource. You may use theignoreChangeslifecycle meta-argument to ignore changes to this attribute. - template Boolean
- Whether to create a template (defaults to
false). - timeout
Clone Number - Timeout for cloning a container in seconds (defaults to 1800).
- timeout
Create Number - Timeout for creating a container in seconds (defaults to 1800).
- timeout
Delete Number - Timeout for deleting a container in seconds (defaults to 60).
- timeout
Start Number - Start container timeout
- timeout
Update Number - Timeout for updating a container in seconds (defaults to 1800).
- unprivileged Boolean
- Whether the container runs as unprivileged on the host (defaults to
false). - vm
Id Number - The container identifier
- wait
For Property MapIp - Configuration for waiting for specific IP address types when the container starts.
Supporting Types
ContainerLegacyClone, ContainerLegacyCloneArgs
- Vm
Id int - The identifier for the source container.
- Datastore
Id string - The identifier for the target datastore.
- Full bool
- When cloning, create a full copy of all disks. Set
to
falseto create a linked clone. Linked clones require the source container to be a template on storage that supports copy-on-write (e.g. Ceph RBD) (defaults totrue). - Node
Name string - The name of the source node (leave blank, if
equal to the
nodeNameargument).
- Vm
Id int - The identifier for the source container.
- Datastore
Id string - The identifier for the target datastore.
- Full bool
- When cloning, create a full copy of all disks. Set
to
falseto create a linked clone. Linked clones require the source container to be a template on storage that supports copy-on-write (e.g. Ceph RBD) (defaults totrue). - Node
Name string - The name of the source node (leave blank, if
equal to the
nodeNameargument).
- vm_
id number - The identifier for the source container.
- datastore_
id string - The identifier for the target datastore.
- full bool
- When cloning, create a full copy of all disks. Set
to
falseto create a linked clone. Linked clones require the source container to be a template on storage that supports copy-on-write (e.g. Ceph RBD) (defaults totrue). - node_
name string - The name of the source node (leave blank, if
equal to the
nodeNameargument).
- vm
Id Integer - The identifier for the source container.
- datastore
Id String - The identifier for the target datastore.
- full Boolean
- When cloning, create a full copy of all disks. Set
to
falseto create a linked clone. Linked clones require the source container to be a template on storage that supports copy-on-write (e.g. Ceph RBD) (defaults totrue). - node
Name String - The name of the source node (leave blank, if
equal to the
nodeNameargument).
- vm
Id number - The identifier for the source container.
- datastore
Id string - The identifier for the target datastore.
- full boolean
- When cloning, create a full copy of all disks. Set
to
falseto create a linked clone. Linked clones require the source container to be a template on storage that supports copy-on-write (e.g. Ceph RBD) (defaults totrue). - node
Name string - The name of the source node (leave blank, if
equal to the
nodeNameargument).
- vm_
id int - The identifier for the source container.
- datastore_
id str - The identifier for the target datastore.
- full bool
- When cloning, create a full copy of all disks. Set
to
falseto create a linked clone. Linked clones require the source container to be a template on storage that supports copy-on-write (e.g. Ceph RBD) (defaults totrue). - node_
name str - The name of the source node (leave blank, if
equal to the
nodeNameargument).
- vm
Id Number - The identifier for the source container.
- datastore
Id String - The identifier for the target datastore.
- full Boolean
- When cloning, create a full copy of all disks. Set
to
falseto create a linked clone. Linked clones require the source container to be a template on storage that supports copy-on-write (e.g. Ceph RBD) (defaults totrue). - node
Name String - The name of the source node (leave blank, if
equal to the
nodeNameargument).
ContainerLegacyConsole, ContainerLegacyConsoleArgs
ContainerLegacyCpu, ContainerLegacyCpuArgs
- Architecture string
- The CPU architecture (defaults to
amd64). - Cores int
- The number of CPU cores (defaults to
1). - Limit double
- Limit of CPU usage. Value
0indicates no limit (defaults to0). - Units int
- The CPU units (defaults to
1024).
- Architecture string
- The CPU architecture (defaults to
amd64). - Cores int
- The number of CPU cores (defaults to
1). - Limit float64
- Limit of CPU usage. Value
0indicates no limit (defaults to0). - Units int
- The CPU units (defaults to
1024).
- architecture string
- The CPU architecture (defaults to
amd64). - cores number
- The number of CPU cores (defaults to
1). - limit number
- Limit of CPU usage. Value
0indicates no limit (defaults to0). - units number
- The CPU units (defaults to
1024).
- architecture String
- The CPU architecture (defaults to
amd64). - cores Integer
- The number of CPU cores (defaults to
1). - limit Double
- Limit of CPU usage. Value
0indicates no limit (defaults to0). - units Integer
- The CPU units (defaults to
1024).
- architecture string
- The CPU architecture (defaults to
amd64). - cores number
- The number of CPU cores (defaults to
1). - limit number
- Limit of CPU usage. Value
0indicates no limit (defaults to0). - units number
- The CPU units (defaults to
1024).
- architecture str
- The CPU architecture (defaults to
amd64). - cores int
- The number of CPU cores (defaults to
1). - limit float
- Limit of CPU usage. Value
0indicates no limit (defaults to0). - units int
- The CPU units (defaults to
1024).
- architecture String
- The CPU architecture (defaults to
amd64). - cores Number
- The number of CPU cores (defaults to
1). - limit Number
- Limit of CPU usage. Value
0indicates no limit (defaults to0). - units Number
- The CPU units (defaults to
1024).
ContainerLegacyDevicePassthrough, ContainerLegacyDevicePassthroughArgs
- Path string
- Device to pass through to the container (e.g.
/dev/sda). - Deny
Write bool - Deny the container to write to the device (defaults to
false). - Gid int
- Group ID to be assigned to the device node.
- Mode string
- Access mode to be set on the device node. Must be a 4-digit octal number.
- Uid int
- User ID to be assigned to the device node.
- Path string
- Device to pass through to the container (e.g.
/dev/sda). - Deny
Write bool - Deny the container to write to the device (defaults to
false). - Gid int
- Group ID to be assigned to the device node.
- Mode string
- Access mode to be set on the device node. Must be a 4-digit octal number.
- Uid int
- User ID to be assigned to the device node.
- path string
- Device to pass through to the container (e.g.
/dev/sda). - deny_
write bool - Deny the container to write to the device (defaults to
false). - gid number
- Group ID to be assigned to the device node.
- mode string
- Access mode to be set on the device node. Must be a 4-digit octal number.
- uid number
- User ID to be assigned to the device node.
- path String
- Device to pass through to the container (e.g.
/dev/sda). - deny
Write Boolean - Deny the container to write to the device (defaults to
false). - gid Integer
- Group ID to be assigned to the device node.
- mode String
- Access mode to be set on the device node. Must be a 4-digit octal number.
- uid Integer
- User ID to be assigned to the device node.
- path string
- Device to pass through to the container (e.g.
/dev/sda). - deny
Write boolean - Deny the container to write to the device (defaults to
false). - gid number
- Group ID to be assigned to the device node.
- mode string
- Access mode to be set on the device node. Must be a 4-digit octal number.
- uid number
- User ID to be assigned to the device node.
- path str
- Device to pass through to the container (e.g.
/dev/sda). - deny_
write bool - Deny the container to write to the device (defaults to
false). - gid int
- Group ID to be assigned to the device node.
- mode str
- Access mode to be set on the device node. Must be a 4-digit octal number.
- uid int
- User ID to be assigned to the device node.
- path String
- Device to pass through to the container (e.g.
/dev/sda). - deny
Write Boolean - Deny the container to write to the device (defaults to
false). - gid Number
- Group ID to be assigned to the device node.
- mode String
- Access mode to be set on the device node. Must be a 4-digit octal number.
- uid Number
- User ID to be assigned to the device node.
ContainerLegacyDisk, ContainerLegacyDiskArgs
- Acl bool
- Explicitly enable or disable ACL support
- Datastore
Id string - The Proxmox storage ID where the rootfs
volume is created (defaults to
local). - Mount
Options List<string> - List of extra mount options.
- Path
In stringDatastore - The in-datastore path to the disk image. Use this attribute for cross-resource references.
- Quota bool
- Enable user quotas for the container rootfs
- Replicate bool
- Will include this volume to a storage replica job
- Size int
- The size of the root filesystem in gigabytes (defaults
to
4). When set to 0 a directory or zfs/btrfs subvolume will be created. RequiresdatastoreIdto be set.
- Acl bool
- Explicitly enable or disable ACL support
- Datastore
Id string - The Proxmox storage ID where the rootfs
volume is created (defaults to
local). - Mount
Options []string - List of extra mount options.
- Path
In stringDatastore - The in-datastore path to the disk image. Use this attribute for cross-resource references.
- Quota bool
- Enable user quotas for the container rootfs
- Replicate bool
- Will include this volume to a storage replica job
- Size int
- The size of the root filesystem in gigabytes (defaults
to
4). When set to 0 a directory or zfs/btrfs subvolume will be created. RequiresdatastoreIdto be set.
- acl bool
- Explicitly enable or disable ACL support
- datastore_
id string - The Proxmox storage ID where the rootfs
volume is created (defaults to
local). - mount_
options list(string) - List of extra mount options.
- path_
in_ stringdatastore - The in-datastore path to the disk image. Use this attribute for cross-resource references.
- quota bool
- Enable user quotas for the container rootfs
- replicate bool
- Will include this volume to a storage replica job
- size number
- The size of the root filesystem in gigabytes (defaults
to
4). When set to 0 a directory or zfs/btrfs subvolume will be created. RequiresdatastoreIdto be set.
- acl Boolean
- Explicitly enable or disable ACL support
- datastore
Id String - The Proxmox storage ID where the rootfs
volume is created (defaults to
local). - mount
Options List<String> - List of extra mount options.
- path
In StringDatastore - The in-datastore path to the disk image. Use this attribute for cross-resource references.
- quota Boolean
- Enable user quotas for the container rootfs
- replicate Boolean
- Will include this volume to a storage replica job
- size Integer
- The size of the root filesystem in gigabytes (defaults
to
4). When set to 0 a directory or zfs/btrfs subvolume will be created. RequiresdatastoreIdto be set.
- acl boolean
- Explicitly enable or disable ACL support
- datastore
Id string - The Proxmox storage ID where the rootfs
volume is created (defaults to
local). - mount
Options string[] - List of extra mount options.
- path
In stringDatastore - The in-datastore path to the disk image. Use this attribute for cross-resource references.
- quota boolean
- Enable user quotas for the container rootfs
- replicate boolean
- Will include this volume to a storage replica job
- size number
- The size of the root filesystem in gigabytes (defaults
to
4). When set to 0 a directory or zfs/btrfs subvolume will be created. RequiresdatastoreIdto be set.
- acl bool
- Explicitly enable or disable ACL support
- datastore_
id str - The Proxmox storage ID where the rootfs
volume is created (defaults to
local). - mount_
options Sequence[str] - List of extra mount options.
- path_
in_ strdatastore - The in-datastore path to the disk image. Use this attribute for cross-resource references.
- quota bool
- Enable user quotas for the container rootfs
- replicate bool
- Will include this volume to a storage replica job
- size int
- The size of the root filesystem in gigabytes (defaults
to
4). When set to 0 a directory or zfs/btrfs subvolume will be created. RequiresdatastoreIdto be set.
- acl Boolean
- Explicitly enable or disable ACL support
- datastore
Id String - The Proxmox storage ID where the rootfs
volume is created (defaults to
local). - mount
Options List<String> - List of extra mount options.
- path
In StringDatastore - The in-datastore path to the disk image. Use this attribute for cross-resource references.
- quota Boolean
- Enable user quotas for the container rootfs
- replicate Boolean
- Will include this volume to a storage replica job
- size Number
- The size of the root filesystem in gigabytes (defaults
to
4). When set to 0 a directory or zfs/btrfs subvolume will be created. RequiresdatastoreIdto be set.
ContainerLegacyFeatures, ContainerLegacyFeaturesArgs
- Fuse bool
- Whether the container supports FUSE mounts (defaults to
false) - Keyctl bool
- Whether the container supports
keyctl()system call (defaults tofalse) - Mknod bool
- Whether the container supports
mknod()system call (defaults tofalse) - Mounts List<string>
- List of allowed mount types (
cifsornfs) - Nesting bool
- Whether the container is nested (defaults to
false)
- Fuse bool
- Whether the container supports FUSE mounts (defaults to
false) - Keyctl bool
- Whether the container supports
keyctl()system call (defaults tofalse) - Mknod bool
- Whether the container supports
mknod()system call (defaults tofalse) - Mounts []string
- List of allowed mount types (
cifsornfs) - Nesting bool
- Whether the container is nested (defaults to
false)
- fuse bool
- Whether the container supports FUSE mounts (defaults to
false) - keyctl bool
- Whether the container supports
keyctl()system call (defaults tofalse) - mknod bool
- Whether the container supports
mknod()system call (defaults tofalse) - mounts list(string)
- List of allowed mount types (
cifsornfs) - nesting bool
- Whether the container is nested (defaults to
false)
- fuse Boolean
- Whether the container supports FUSE mounts (defaults to
false) - keyctl Boolean
- Whether the container supports
keyctl()system call (defaults tofalse) - mknod Boolean
- Whether the container supports
mknod()system call (defaults tofalse) - mounts List<String>
- List of allowed mount types (
cifsornfs) - nesting Boolean
- Whether the container is nested (defaults to
false)
- fuse boolean
- Whether the container supports FUSE mounts (defaults to
false) - keyctl boolean
- Whether the container supports
keyctl()system call (defaults tofalse) - mknod boolean
- Whether the container supports
mknod()system call (defaults tofalse) - mounts string[]
- List of allowed mount types (
cifsornfs) - nesting boolean
- Whether the container is nested (defaults to
false)
- fuse bool
- Whether the container supports FUSE mounts (defaults to
false) - keyctl bool
- Whether the container supports
keyctl()system call (defaults tofalse) - mknod bool
- Whether the container supports
mknod()system call (defaults tofalse) - mounts Sequence[str]
- List of allowed mount types (
cifsornfs) - nesting bool
- Whether the container is nested (defaults to
false)
- fuse Boolean
- Whether the container supports FUSE mounts (defaults to
false) - keyctl Boolean
- Whether the container supports
keyctl()system call (defaults tofalse) - mknod Boolean
- Whether the container supports
mknod()system call (defaults tofalse) - mounts List<String>
- List of allowed mount types (
cifsornfs) - nesting Boolean
- Whether the container is nested (defaults to
false)
ContainerLegacyIdmap, ContainerLegacyIdmapArgs
- Container
Id int - Starting ID in the container namespace.
- Host
Id int - Starting ID in the host namespace.
- Size int
- Number of IDs to map (must be at least
1). - Type string
- Mapping type (
uidorgid).
- Container
Id int - Starting ID in the container namespace.
- Host
Id int - Starting ID in the host namespace.
- Size int
- Number of IDs to map (must be at least
1). - Type string
- Mapping type (
uidorgid).
- container_
id number - Starting ID in the container namespace.
- host_
id number - Starting ID in the host namespace.
- size number
- Number of IDs to map (must be at least
1). - type string
- Mapping type (
uidorgid).
- container
Id Integer - Starting ID in the container namespace.
- host
Id Integer - Starting ID in the host namespace.
- size Integer
- Number of IDs to map (must be at least
1). - type String
- Mapping type (
uidorgid).
- container
Id number - Starting ID in the container namespace.
- host
Id number - Starting ID in the host namespace.
- size number
- Number of IDs to map (must be at least
1). - type string
- Mapping type (
uidorgid).
- container_
id int - Starting ID in the container namespace.
- host_
id int - Starting ID in the host namespace.
- size int
- Number of IDs to map (must be at least
1). - type str
- Mapping type (
uidorgid).
- container
Id Number - Starting ID in the container namespace.
- host
Id Number - Starting ID in the host namespace.
- size Number
- Number of IDs to map (must be at least
1). - type String
- Mapping type (
uidorgid).
ContainerLegacyInitialization, ContainerLegacyInitializationArgs
- Dns
Pulumi.
Proxmox VE. Inputs. Container Legacy Initialization Dns - The DNS configuration.
- Entrypoint string
- Command to run as init, optionally with arguments. It may start with an absolute path, relative path, or a binary in
$PATH. - Hostname string
- The hostname. Must be a valid DNS name.
- Ip
Configs List<Pulumi.Proxmox VE. Inputs. Container Legacy Initialization Ip Config> - The IP configuration (one block per network device).
- User
Account Pulumi.Proxmox VE. Inputs. Container Legacy Initialization User Account - The user account configuration.
- Dns
Container
Legacy Initialization Dns - The DNS configuration.
- Entrypoint string
- Command to run as init, optionally with arguments. It may start with an absolute path, relative path, or a binary in
$PATH. - Hostname string
- The hostname. Must be a valid DNS name.
- Ip
Configs []ContainerLegacy Initialization Ip Config - The IP configuration (one block per network device).
- User
Account ContainerLegacy Initialization User Account - The user account configuration.
- dns object
- The DNS configuration.
- entrypoint string
- Command to run as init, optionally with arguments. It may start with an absolute path, relative path, or a binary in
$PATH. - hostname string
- The hostname. Must be a valid DNS name.
- ip_
configs list(object) - The IP configuration (one block per network device).
- user_
account object - The user account configuration.
- dns
Container
Legacy Initialization Dns - The DNS configuration.
- entrypoint String
- Command to run as init, optionally with arguments. It may start with an absolute path, relative path, or a binary in
$PATH. - hostname String
- The hostname. Must be a valid DNS name.
- ip
Configs List<ContainerLegacy Initialization Ip Config> - The IP configuration (one block per network device).
- user
Account ContainerLegacy Initialization User Account - The user account configuration.
- dns
Container
Legacy Initialization Dns - The DNS configuration.
- entrypoint string
- Command to run as init, optionally with arguments. It may start with an absolute path, relative path, or a binary in
$PATH. - hostname string
- The hostname. Must be a valid DNS name.
- ip
Configs ContainerLegacy Initialization Ip Config[] - The IP configuration (one block per network device).
- user
Account ContainerLegacy Initialization User Account - The user account configuration.
- dns
Container
Legacy Initialization Dns - The DNS configuration.
- entrypoint str
- Command to run as init, optionally with arguments. It may start with an absolute path, relative path, or a binary in
$PATH. - hostname str
- The hostname. Must be a valid DNS name.
- ip_
configs Sequence[ContainerLegacy Initialization Ip Config] - The IP configuration (one block per network device).
- user_
account ContainerLegacy Initialization User Account - The user account configuration.
- dns Property Map
- The DNS configuration.
- entrypoint String
- Command to run as init, optionally with arguments. It may start with an absolute path, relative path, or a binary in
$PATH. - hostname String
- The hostname. Must be a valid DNS name.
- ip
Configs List<Property Map> - The IP configuration (one block per network device).
- user
Account Property Map - The user account configuration.
ContainerLegacyInitializationDns, ContainerLegacyInitializationDnsArgs
ContainerLegacyInitializationIpConfig, ContainerLegacyInitializationIpConfigArgs
- Ipv4
Pulumi.
Proxmox VE. Inputs. Container Legacy Initialization Ip Config Ipv4 - The IPv4 configuration.
- Ipv6
Pulumi.
Proxmox VE. Inputs. Container Legacy Initialization Ip Config Ipv6 - The IPv6 configuration.
- Ipv4
Container
Legacy Initialization Ip Config Ipv4 - The IPv4 configuration.
- Ipv6
Container
Legacy Initialization Ip Config Ipv6 - The IPv6 configuration.
- ipv4
Container
Legacy Initialization Ip Config Ipv4 - The IPv4 configuration.
- ipv6
Container
Legacy Initialization Ip Config Ipv6 - The IPv6 configuration.
- ipv4
Container
Legacy Initialization Ip Config Ipv4 - The IPv4 configuration.
- ipv6
Container
Legacy Initialization Ip Config Ipv6 - The IPv6 configuration.
- ipv4
Container
Legacy Initialization Ip Config Ipv4 - The IPv4 configuration.
- ipv6
Container
Legacy Initialization Ip Config Ipv6 - The IPv6 configuration.
- ipv4 Property Map
- The IPv4 configuration.
- ipv6 Property Map
- The IPv6 configuration.
ContainerLegacyInitializationIpConfigIpv4, ContainerLegacyInitializationIpConfigIpv4Args
ContainerLegacyInitializationIpConfigIpv6, ContainerLegacyInitializationIpConfigIpv6Args
ContainerLegacyInitializationUserAccount, ContainerLegacyInitializationUserAccountArgs
ContainerLegacyMemory, ContainerLegacyMemoryArgs
ContainerLegacyMountPoint, ContainerLegacyMountPointArgs
- Path string
- Path to the mount point as seen from inside the container.
- Volume string
- Volume reference. Accepts a Proxmox storage ID
(e.g.
local-lvm) to allocate a new volume, a full PVE volume ID (e.g.local-lvm:subvol-108-disk-101) to mount an existing volume, or an absolute host path (e.g./mnt/bindmounts/shared) to bind-mount a host directory. - Acl bool
- Explicitly enable or disable ACL support.
- Backup bool
- Whether to include the mount point in backups (only
used for volume mount points, defaults to
false). - Mount
Options List<string> - List of extra mount options.
- Path
In stringDatastore - The in-datastore path to the mount point volume.
Use this attribute for cross-resource references instead of
volume. - Quota bool
- Enable user quotas inside the container (not supported with ZFS subvolumes).
- Read
Only bool - Read-only mount point.
- Replicate bool
- Will include this volume to a storage replica job.
- bool
- Mark this non-volume mount point as available on all nodes.
- Size string
- Volume size (only for volume mount points).
Can be specified with a unit suffix (e.g.
10G).
- Path string
- Path to the mount point as seen from inside the container.
- Volume string
- Volume reference. Accepts a Proxmox storage ID
(e.g.
local-lvm) to allocate a new volume, a full PVE volume ID (e.g.local-lvm:subvol-108-disk-101) to mount an existing volume, or an absolute host path (e.g./mnt/bindmounts/shared) to bind-mount a host directory. - Acl bool
- Explicitly enable or disable ACL support.
- Backup bool
- Whether to include the mount point in backups (only
used for volume mount points, defaults to
false). - Mount
Options []string - List of extra mount options.
- Path
In stringDatastore - The in-datastore path to the mount point volume.
Use this attribute for cross-resource references instead of
volume. - Quota bool
- Enable user quotas inside the container (not supported with ZFS subvolumes).
- Read
Only bool - Read-only mount point.
- Replicate bool
- Will include this volume to a storage replica job.
- bool
- Mark this non-volume mount point as available on all nodes.
- Size string
- Volume size (only for volume mount points).
Can be specified with a unit suffix (e.g.
10G).
- path string
- Path to the mount point as seen from inside the container.
- volume string
- Volume reference. Accepts a Proxmox storage ID
(e.g.
local-lvm) to allocate a new volume, a full PVE volume ID (e.g.local-lvm:subvol-108-disk-101) to mount an existing volume, or an absolute host path (e.g./mnt/bindmounts/shared) to bind-mount a host directory. - acl bool
- Explicitly enable or disable ACL support.
- backup bool
- Whether to include the mount point in backups (only
used for volume mount points, defaults to
false). - mount_
options list(string) - List of extra mount options.
- path_
in_ stringdatastore - The in-datastore path to the mount point volume.
Use this attribute for cross-resource references instead of
volume. - quota bool
- Enable user quotas inside the container (not supported with ZFS subvolumes).
- read_
only bool - Read-only mount point.
- replicate bool
- Will include this volume to a storage replica job.
- bool
- Mark this non-volume mount point as available on all nodes.
- size string
- Volume size (only for volume mount points).
Can be specified with a unit suffix (e.g.
10G).
- path String
- Path to the mount point as seen from inside the container.
- volume String
- Volume reference. Accepts a Proxmox storage ID
(e.g.
local-lvm) to allocate a new volume, a full PVE volume ID (e.g.local-lvm:subvol-108-disk-101) to mount an existing volume, or an absolute host path (e.g./mnt/bindmounts/shared) to bind-mount a host directory. - acl Boolean
- Explicitly enable or disable ACL support.
- backup Boolean
- Whether to include the mount point in backups (only
used for volume mount points, defaults to
false). - mount
Options List<String> - List of extra mount options.
- path
In StringDatastore - The in-datastore path to the mount point volume.
Use this attribute for cross-resource references instead of
volume. - quota Boolean
- Enable user quotas inside the container (not supported with ZFS subvolumes).
- read
Only Boolean - Read-only mount point.
- replicate Boolean
- Will include this volume to a storage replica job.
- Boolean
- Mark this non-volume mount point as available on all nodes.
- size String
- Volume size (only for volume mount points).
Can be specified with a unit suffix (e.g.
10G).
- path string
- Path to the mount point as seen from inside the container.
- volume string
- Volume reference. Accepts a Proxmox storage ID
(e.g.
local-lvm) to allocate a new volume, a full PVE volume ID (e.g.local-lvm:subvol-108-disk-101) to mount an existing volume, or an absolute host path (e.g./mnt/bindmounts/shared) to bind-mount a host directory. - acl boolean
- Explicitly enable or disable ACL support.
- backup boolean
- Whether to include the mount point in backups (only
used for volume mount points, defaults to
false). - mount
Options string[] - List of extra mount options.
- path
In stringDatastore - The in-datastore path to the mount point volume.
Use this attribute for cross-resource references instead of
volume. - quota boolean
- Enable user quotas inside the container (not supported with ZFS subvolumes).
- read
Only boolean - Read-only mount point.
- replicate boolean
- Will include this volume to a storage replica job.
- boolean
- Mark this non-volume mount point as available on all nodes.
- size string
- Volume size (only for volume mount points).
Can be specified with a unit suffix (e.g.
10G).
- path str
- Path to the mount point as seen from inside the container.
- volume str
- Volume reference. Accepts a Proxmox storage ID
(e.g.
local-lvm) to allocate a new volume, a full PVE volume ID (e.g.local-lvm:subvol-108-disk-101) to mount an existing volume, or an absolute host path (e.g./mnt/bindmounts/shared) to bind-mount a host directory. - acl bool
- Explicitly enable or disable ACL support.
- backup bool
- Whether to include the mount point in backups (only
used for volume mount points, defaults to
false). - mount_
options Sequence[str] - List of extra mount options.
- path_
in_ strdatastore - The in-datastore path to the mount point volume.
Use this attribute for cross-resource references instead of
volume. - quota bool
- Enable user quotas inside the container (not supported with ZFS subvolumes).
- read_
only bool - Read-only mount point.
- replicate bool
- Will include this volume to a storage replica job.
- bool
- Mark this non-volume mount point as available on all nodes.
- size str
- Volume size (only for volume mount points).
Can be specified with a unit suffix (e.g.
10G).
- path String
- Path to the mount point as seen from inside the container.
- volume String
- Volume reference. Accepts a Proxmox storage ID
(e.g.
local-lvm) to allocate a new volume, a full PVE volume ID (e.g.local-lvm:subvol-108-disk-101) to mount an existing volume, or an absolute host path (e.g./mnt/bindmounts/shared) to bind-mount a host directory. - acl Boolean
- Explicitly enable or disable ACL support.
- backup Boolean
- Whether to include the mount point in backups (only
used for volume mount points, defaults to
false). - mount
Options List<String> - List of extra mount options.
- path
In StringDatastore - The in-datastore path to the mount point volume.
Use this attribute for cross-resource references instead of
volume. - quota Boolean
- Enable user quotas inside the container (not supported with ZFS subvolumes).
- read
Only Boolean - Read-only mount point.
- replicate Boolean
- Will include this volume to a storage replica job.
- Boolean
- Mark this non-volume mount point as available on all nodes.
- size String
- Volume size (only for volume mount points).
Can be specified with a unit suffix (e.g.
10G).
ContainerLegacyNetworkInterface, ContainerLegacyNetworkInterfaceArgs
- Name string
- The network interface name.
- Bridge string
- The name of the network bridge (defaults
to
vmbr0). - Enabled bool
- Whether to enable the network device (defaults
to
true). - Firewall bool
- Whether this interface's firewall rules should be
used (defaults to
false). - Host
Managed bool - Whether the host runs DHCP on this interface's
behalf (defaults to
false). Requires Proxmox VE 9.1+. Required for application containers that do not include a DHCP client. - Mac
Address string - The MAC address.
- Mtu int
- Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
- Rate
Limit double - The rate limit in megabytes per second.
- Vlan
Id int - The VLAN identifier.
- Name string
- The network interface name.
- Bridge string
- The name of the network bridge (defaults
to
vmbr0). - Enabled bool
- Whether to enable the network device (defaults
to
true). - Firewall bool
- Whether this interface's firewall rules should be
used (defaults to
false). - Host
Managed bool - Whether the host runs DHCP on this interface's
behalf (defaults to
false). Requires Proxmox VE 9.1+. Required for application containers that do not include a DHCP client. - Mac
Address string - The MAC address.
- Mtu int
- Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
- Rate
Limit float64 - The rate limit in megabytes per second.
- Vlan
Id int - The VLAN identifier.
- name string
- The network interface name.
- bridge string
- The name of the network bridge (defaults
to
vmbr0). - enabled bool
- Whether to enable the network device (defaults
to
true). - firewall bool
- Whether this interface's firewall rules should be
used (defaults to
false). - host_
managed bool - Whether the host runs DHCP on this interface's
behalf (defaults to
false). Requires Proxmox VE 9.1+. Required for application containers that do not include a DHCP client. - mac_
address string - The MAC address.
- mtu number
- Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
- rate_
limit number - The rate limit in megabytes per second.
- vlan_
id number - The VLAN identifier.
- name String
- The network interface name.
- bridge String
- The name of the network bridge (defaults
to
vmbr0). - enabled Boolean
- Whether to enable the network device (defaults
to
true). - firewall Boolean
- Whether this interface's firewall rules should be
used (defaults to
false). - host
Managed Boolean - Whether the host runs DHCP on this interface's
behalf (defaults to
false). Requires Proxmox VE 9.1+. Required for application containers that do not include a DHCP client. - mac
Address String - The MAC address.
- mtu Integer
- Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
- rate
Limit Double - The rate limit in megabytes per second.
- vlan
Id Integer - The VLAN identifier.
- name string
- The network interface name.
- bridge string
- The name of the network bridge (defaults
to
vmbr0). - enabled boolean
- Whether to enable the network device (defaults
to
true). - firewall boolean
- Whether this interface's firewall rules should be
used (defaults to
false). - host
Managed boolean - Whether the host runs DHCP on this interface's
behalf (defaults to
false). Requires Proxmox VE 9.1+. Required for application containers that do not include a DHCP client. - mac
Address string - The MAC address.
- mtu number
- Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
- rate
Limit number - The rate limit in megabytes per second.
- vlan
Id number - The VLAN identifier.
- name str
- The network interface name.
- bridge str
- The name of the network bridge (defaults
to
vmbr0). - enabled bool
- Whether to enable the network device (defaults
to
true). - firewall bool
- Whether this interface's firewall rules should be
used (defaults to
false). - host_
managed bool - Whether the host runs DHCP on this interface's
behalf (defaults to
false). Requires Proxmox VE 9.1+. Required for application containers that do not include a DHCP client. - mac_
address str - The MAC address.
- mtu int
- Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
- rate_
limit float - The rate limit in megabytes per second.
- vlan_
id int - The VLAN identifier.
- name String
- The network interface name.
- bridge String
- The name of the network bridge (defaults
to
vmbr0). - enabled Boolean
- Whether to enable the network device (defaults
to
true). - firewall Boolean
- Whether this interface's firewall rules should be
used (defaults to
false). - host
Managed Boolean - Whether the host runs DHCP on this interface's
behalf (defaults to
false). Requires Proxmox VE 9.1+. Required for application containers that do not include a DHCP client. - mac
Address String - The MAC address.
- mtu Number
- Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
- rate
Limit Number - The rate limit in megabytes per second.
- vlan
Id Number - The VLAN identifier.
ContainerLegacyOperatingSystem, ContainerLegacyOperatingSystemArgs
- Template
File stringId - The identifier for an OS template file.
The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/jammy-server-cloudimg-amd64.tar.gz. Can be also taken fromproxmoxve.download.FileLegacyresource, or from the output ofpvesm list <storage>. - Type string
- The type (defaults to
unmanaged).
- Template
File stringId - The identifier for an OS template file.
The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/jammy-server-cloudimg-amd64.tar.gz. Can be also taken fromproxmoxve.download.FileLegacyresource, or from the output ofpvesm list <storage>. - Type string
- The type (defaults to
unmanaged).
- template_
file_ stringid - The identifier for an OS template file.
The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/jammy-server-cloudimg-amd64.tar.gz. Can be also taken fromproxmoxve.download.FileLegacyresource, or from the output ofpvesm list <storage>. - type string
- The type (defaults to
unmanaged).
- template
File StringId - The identifier for an OS template file.
The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/jammy-server-cloudimg-amd64.tar.gz. Can be also taken fromproxmoxve.download.FileLegacyresource, or from the output ofpvesm list <storage>. - type String
- The type (defaults to
unmanaged).
- template
File stringId - The identifier for an OS template file.
The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/jammy-server-cloudimg-amd64.tar.gz. Can be also taken fromproxmoxve.download.FileLegacyresource, or from the output ofpvesm list <storage>. - type string
- The type (defaults to
unmanaged).
- template_
file_ strid - The identifier for an OS template file.
The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/jammy-server-cloudimg-amd64.tar.gz. Can be also taken fromproxmoxve.download.FileLegacyresource, or from the output ofpvesm list <storage>. - type str
- The type (defaults to
unmanaged).
- template
File StringId - The identifier for an OS template file.
The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/jammy-server-cloudimg-amd64.tar.gz. Can be also taken fromproxmoxve.download.FileLegacyresource, or from the output ofpvesm list <storage>. - type String
- The type (defaults to
unmanaged).
ContainerLegacyStartup, ContainerLegacyStartupArgs
- down_
delay number - A non-negative number defining the delay in seconds before the next container is shut down.
- order number
- A non-negative number defining the general startup order.
- up_
delay number - A non-negative number defining the delay in seconds before the next container is started.
- down_
delay int - A non-negative number defining the delay in seconds before the next container is shut down.
- order int
- A non-negative number defining the general startup order.
- up_
delay int - A non-negative number defining the delay in seconds before the next container is started.
ContainerLegacyWaitForIp, ContainerLegacyWaitForIpArgs
- Ipv4 bool
- Wait for at least one IPv4 address (non-loopback, non-link-local) (defaults to
false). - Ipv6 bool
Wait for at least one IPv6 address (non-loopback, non-link-local) (defaults to
false).When
waitForIpis not specified or bothipv4andipv6arefalse, the provider waits for any valid global unicast address (IPv4 or IPv6). In dual-stack networks where DHCPv6 responds faster, this may result in only IPv6 addresses being available. Setipv4 = trueto ensure IPv4 address availability.
- Ipv4 bool
- Wait for at least one IPv4 address (non-loopback, non-link-local) (defaults to
false). - Ipv6 bool
Wait for at least one IPv6 address (non-loopback, non-link-local) (defaults to
false).When
waitForIpis not specified or bothipv4andipv6arefalse, the provider waits for any valid global unicast address (IPv4 or IPv6). In dual-stack networks where DHCPv6 responds faster, this may result in only IPv6 addresses being available. Setipv4 = trueto ensure IPv4 address availability.
- ipv4 bool
- Wait for at least one IPv4 address (non-loopback, non-link-local) (defaults to
false). - ipv6 bool
Wait for at least one IPv6 address (non-loopback, non-link-local) (defaults to
false).When
waitForIpis not specified or bothipv4andipv6arefalse, the provider waits for any valid global unicast address (IPv4 or IPv6). In dual-stack networks where DHCPv6 responds faster, this may result in only IPv6 addresses being available. Setipv4 = trueto ensure IPv4 address availability.
- ipv4 Boolean
- Wait for at least one IPv4 address (non-loopback, non-link-local) (defaults to
false). - ipv6 Boolean
Wait for at least one IPv6 address (non-loopback, non-link-local) (defaults to
false).When
waitForIpis not specified or bothipv4andipv6arefalse, the provider waits for any valid global unicast address (IPv4 or IPv6). In dual-stack networks where DHCPv6 responds faster, this may result in only IPv6 addresses being available. Setipv4 = trueto ensure IPv4 address availability.
- ipv4 boolean
- Wait for at least one IPv4 address (non-loopback, non-link-local) (defaults to
false). - ipv6 boolean
Wait for at least one IPv6 address (non-loopback, non-link-local) (defaults to
false).When
waitForIpis not specified or bothipv4andipv6arefalse, the provider waits for any valid global unicast address (IPv4 or IPv6). In dual-stack networks where DHCPv6 responds faster, this may result in only IPv6 addresses being available. Setipv4 = trueto ensure IPv4 address availability.
- ipv4 bool
- Wait for at least one IPv4 address (non-loopback, non-link-local) (defaults to
false). - ipv6 bool
Wait for at least one IPv6 address (non-loopback, non-link-local) (defaults to
false).When
waitForIpis not specified or bothipv4andipv6arefalse, the provider waits for any valid global unicast address (IPv4 or IPv6). In dual-stack networks where DHCPv6 responds faster, this may result in only IPv6 addresses being available. Setipv4 = trueto ensure IPv4 address availability.
- ipv4 Boolean
- Wait for at least one IPv4 address (non-loopback, non-link-local) (defaults to
false). - ipv6 Boolean
Wait for at least one IPv6 address (non-loopback, non-link-local) (defaults to
false).When
waitForIpis not specified or bothipv4andipv6arefalse, the provider waits for any valid global unicast address (IPv4 or IPv6). In dual-stack networks where DHCPv6 responds faster, this may result in only IPv6 addresses being available. Setipv4 = trueto ensure IPv4 address availability.
Import
Instances can be imported using the nodeName and the vmId, e.g.,
$ pulumi import proxmoxve:index/containerLegacy:ContainerLegacy ubuntu_container first-node/1234
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