1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. CT
  5. Container
Proxmox Virtual Environment (Proxmox VE) v5.24.4 published on Wednesday, Feb 21, 2024 by Daniel Muehlbachler-Pietrzykowski

proxmoxve.CT.Container

Explore with Pulumi AI

proxmoxve logo
Proxmox Virtual Environment (Proxmox VE) v5.24.4 published on Wednesday, Feb 21, 2024 by Daniel Muehlbachler-Pietrzykowski

    Manages a container.

    Create Container Resource

    new Container(name: string, args: ContainerArgs, opts?: CustomResourceOptions);
    @overload
    def Container(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  clone: Optional[_ct.ContainerCloneArgs] = None,
                  console: Optional[_ct.ContainerConsoleArgs] = None,
                  cpu: Optional[_ct.ContainerCpuArgs] = None,
                  description: Optional[str] = None,
                  disk: Optional[_ct.ContainerDiskArgs] = None,
                  features: Optional[_ct.ContainerFeaturesArgs] = None,
                  initialization: Optional[_ct.ContainerInitializationArgs] = None,
                  memory: Optional[_ct.ContainerMemoryArgs] = None,
                  mount_points: Optional[Sequence[_ct.ContainerMountPointArgs]] = None,
                  network_interfaces: Optional[Sequence[_ct.ContainerNetworkInterfaceArgs]] = None,
                  node_name: Optional[str] = None,
                  operating_system: Optional[_ct.ContainerOperatingSystemArgs] = None,
                  pool_id: Optional[str] = None,
                  start_on_boot: Optional[bool] = None,
                  started: Optional[bool] = None,
                  startup: Optional[_ct.ContainerStartupArgs] = None,
                  tags: Optional[Sequence[str]] = None,
                  template: Optional[bool] = None,
                  unprivileged: Optional[bool] = None,
                  vm_id: Optional[int] = None)
    @overload
    def Container(resource_name: str,
                  args: ContainerArgs,
                  opts: Optional[ResourceOptions] = None)
    func NewContainer(ctx *Context, name string, args ContainerArgs, opts ...ResourceOption) (*Container, error)
    public Container(string name, ContainerArgs args, CustomResourceOptions? opts = null)
    public Container(String name, ContainerArgs args)
    public Container(String name, ContainerArgs args, CustomResourceOptions options)
    
    type: proxmoxve:CT:Container
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ContainerArgs
    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 ContainerArgs
    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 ContainerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContainerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Container Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Container resource accepts the following input properties:

    NodeName string
    The name of the node to assign the container to.
    Clone Pulumi.ProxmoxVE.CT.Inputs.ContainerClone
    The cloning configuration.
    Console Pulumi.ProxmoxVE.CT.Inputs.ContainerConsole
    Console.
    Cpu Pulumi.ProxmoxVE.CT.Inputs.ContainerCpu
    The CPU configuration.
    Description string
    The description.
    Disk Pulumi.ProxmoxVE.CT.Inputs.ContainerDisk
    The disk configuration.
    Features Pulumi.ProxmoxVE.CT.Inputs.ContainerFeatures
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    Initialization Pulumi.ProxmoxVE.CT.Inputs.ContainerInitialization
    The initialization configuration.
    Memory Pulumi.ProxmoxVE.CT.Inputs.ContainerMemory
    The memory configuration.
    MountPoints List<Pulumi.ProxmoxVE.CT.Inputs.ContainerMountPoint>
    A mount point
    NetworkInterfaces List<Pulumi.ProxmoxVE.CT.Inputs.ContainerNetworkInterface>
    A network interface (multiple blocks supported).
    OperatingSystem Pulumi.ProxmoxVE.CT.Inputs.ContainerOperatingSystem
    The Operating System configuration.
    PoolId string
    The identifier for a pool to assign the container to.
    StartOnBoot bool
    Automatically start container when the host system boots (defaults to true).
    Started bool
    Whether to start the container (defaults to true).
    Startup Pulumi.ProxmoxVE.CT.Inputs.ContainerStartup
    Defines startup and shutdown behavior of the container.
    Tags List<string>
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    Template bool
    Whether to create a template (defaults to false).
    Unprivileged bool
    Whether the container runs as unprivileged on the host (defaults to false).
    VmId int
    The container identifier
    NodeName string
    The name of the node to assign the container to.
    Clone ContainerCloneArgs
    The cloning configuration.
    Console ContainerConsoleArgs
    Console.
    Cpu ContainerCpuArgs
    The CPU configuration.
    Description string
    The description.
    Disk ContainerDiskArgs
    The disk configuration.
    Features ContainerFeaturesArgs
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    Initialization ContainerInitializationArgs
    The initialization configuration.
    Memory ContainerMemoryArgs
    The memory configuration.
    MountPoints []ContainerMountPointArgs
    A mount point
    NetworkInterfaces []ContainerNetworkInterfaceArgs
    A network interface (multiple blocks supported).
    OperatingSystem ContainerOperatingSystemArgs
    The Operating System configuration.
    PoolId string
    The identifier for a pool to assign the container to.
    StartOnBoot bool
    Automatically start container when the host system boots (defaults to true).
    Started bool
    Whether to start the container (defaults to true).
    Startup ContainerStartupArgs
    Defines startup and shutdown behavior of the container.
    Tags []string
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    Template bool
    Whether to create a template (defaults to false).
    Unprivileged bool
    Whether the container runs as unprivileged on the host (defaults to false).
    VmId int
    The container identifier
    nodeName String
    The name of the node to assign the container to.
    clone_ ContainerClone
    The cloning configuration.
    console ContainerConsole
    Console.
    cpu ContainerCpu
    The CPU configuration.
    description String
    The description.
    disk ContainerDisk
    The disk configuration.
    features ContainerFeatures
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    initialization ContainerInitialization
    The initialization configuration.
    memory ContainerMemory
    The memory configuration.
    mountPoints List<ContainerMountPoint>
    A mount point
    networkInterfaces List<ContainerNetworkInterface>
    A network interface (multiple blocks supported).
    operatingSystem ContainerOperatingSystem
    The Operating System configuration.
    poolId String
    The identifier for a pool to assign the container to.
    startOnBoot Boolean
    Automatically start container when the host system boots (defaults to true).
    started Boolean
    Whether to start the container (defaults to true).
    startup ContainerStartup
    Defines startup and shutdown behavior of the container.
    tags List<String>
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    template Boolean
    Whether to create a template (defaults to false).
    unprivileged Boolean
    Whether the container runs as unprivileged on the host (defaults to false).
    vmId Integer
    The container identifier
    nodeName string
    The name of the node to assign the container to.
    clone ContainerClone
    The cloning configuration.
    console ContainerConsole
    Console.
    cpu ContainerCpu
    The CPU configuration.
    description string
    The description.
    disk ContainerDisk
    The disk configuration.
    features ContainerFeatures
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    initialization ContainerInitialization
    The initialization configuration.
    memory ContainerMemory
    The memory configuration.
    mountPoints ContainerMountPoint[]
    A mount point
    networkInterfaces ContainerNetworkInterface[]
    A network interface (multiple blocks supported).
    operatingSystem ContainerOperatingSystem
    The Operating System configuration.
    poolId string
    The identifier for a pool to assign the container to.
    startOnBoot boolean
    Automatically start container when the host system boots (defaults to true).
    started boolean
    Whether to start the container (defaults to true).
    startup ContainerStartup
    Defines startup and shutdown behavior of the container.
    tags string[]
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    template boolean
    Whether to create a template (defaults to false).
    unprivileged boolean
    Whether the container runs as unprivileged on the host (defaults to false).
    vmId number
    The container identifier
    node_name str
    The name of the node to assign the container to.
    clone ContainerCloneArgs
    The cloning configuration.
    console ContainerConsoleArgs
    Console.
    cpu ContainerCpuArgs
    The CPU configuration.
    description str
    The description.
    disk ContainerDiskArgs
    The disk configuration.
    features ContainerFeaturesArgs
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    initialization ContainerInitializationArgs
    The initialization configuration.
    memory ContainerMemoryArgs
    The memory configuration.
    mount_points ContainerMountPointArgs]
    A mount point
    network_interfaces ContainerNetworkInterfaceArgs]
    A network interface (multiple blocks supported).
    operating_system ContainerOperatingSystemArgs
    The Operating System configuration.
    pool_id str
    The identifier for a pool to assign the container to.
    start_on_boot bool
    Automatically start container when the host system boots (defaults to true).
    started bool
    Whether to start the container (defaults to true).
    startup ContainerStartupArgs
    Defines startup and shutdown behavior of the container.
    tags Sequence[str]
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    template bool
    Whether to create a template (defaults to false).
    unprivileged bool
    Whether the container runs as unprivileged on the host (defaults to false).
    vm_id int
    The container identifier
    nodeName String
    The name of the node to assign the container to.
    clone Property Map
    The cloning configuration.
    console Property Map
    Console.
    cpu Property Map
    The CPU configuration.
    description String
    The description.
    disk Property Map
    The disk configuration.
    features Property Map
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    initialization Property Map
    The initialization configuration.
    memory Property Map
    The memory configuration.
    mountPoints List<Property Map>
    A mount point
    networkInterfaces List<Property Map>
    A network interface (multiple blocks supported).
    operatingSystem Property Map
    The Operating System configuration.
    poolId String
    The identifier for a pool to assign the container to.
    startOnBoot Boolean
    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.
    tags List<String>
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    template Boolean
    Whether to create a template (defaults to false).
    unprivileged Boolean
    Whether the container runs as unprivileged on the host (defaults to false).
    vmId Number
    The container identifier

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Container Resource

    Get an existing Container 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?: ContainerState, opts?: CustomResourceOptions): Container
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            clone: Optional[_ct.ContainerCloneArgs] = None,
            console: Optional[_ct.ContainerConsoleArgs] = None,
            cpu: Optional[_ct.ContainerCpuArgs] = None,
            description: Optional[str] = None,
            disk: Optional[_ct.ContainerDiskArgs] = None,
            features: Optional[_ct.ContainerFeaturesArgs] = None,
            initialization: Optional[_ct.ContainerInitializationArgs] = None,
            memory: Optional[_ct.ContainerMemoryArgs] = None,
            mount_points: Optional[Sequence[_ct.ContainerMountPointArgs]] = None,
            network_interfaces: Optional[Sequence[_ct.ContainerNetworkInterfaceArgs]] = None,
            node_name: Optional[str] = None,
            operating_system: Optional[_ct.ContainerOperatingSystemArgs] = None,
            pool_id: Optional[str] = None,
            start_on_boot: Optional[bool] = None,
            started: Optional[bool] = None,
            startup: Optional[_ct.ContainerStartupArgs] = None,
            tags: Optional[Sequence[str]] = None,
            template: Optional[bool] = None,
            unprivileged: Optional[bool] = None,
            vm_id: Optional[int] = None) -> Container
    func GetContainer(ctx *Context, name string, id IDInput, state *ContainerState, opts ...ResourceOption) (*Container, error)
    public static Container Get(string name, Input<string> id, ContainerState? state, CustomResourceOptions? opts = null)
    public static Container get(String name, Output<String> id, ContainerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Clone Pulumi.ProxmoxVE.CT.Inputs.ContainerClone
    The cloning configuration.
    Console Pulumi.ProxmoxVE.CT.Inputs.ContainerConsole
    Console.
    Cpu Pulumi.ProxmoxVE.CT.Inputs.ContainerCpu
    The CPU configuration.
    Description string
    The description.
    Disk Pulumi.ProxmoxVE.CT.Inputs.ContainerDisk
    The disk configuration.
    Features Pulumi.ProxmoxVE.CT.Inputs.ContainerFeatures
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    Initialization Pulumi.ProxmoxVE.CT.Inputs.ContainerInitialization
    The initialization configuration.
    Memory Pulumi.ProxmoxVE.CT.Inputs.ContainerMemory
    The memory configuration.
    MountPoints List<Pulumi.ProxmoxVE.CT.Inputs.ContainerMountPoint>
    A mount point
    NetworkInterfaces List<Pulumi.ProxmoxVE.CT.Inputs.ContainerNetworkInterface>
    A network interface (multiple blocks supported).
    NodeName string
    The name of the node to assign the container to.
    OperatingSystem Pulumi.ProxmoxVE.CT.Inputs.ContainerOperatingSystem
    The Operating System configuration.
    PoolId string
    The identifier for a pool to assign the container to.
    StartOnBoot bool
    Automatically start container when the host system boots (defaults to true).
    Started bool
    Whether to start the container (defaults to true).
    Startup Pulumi.ProxmoxVE.CT.Inputs.ContainerStartup
    Defines startup and shutdown behavior of the container.
    Tags List<string>
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    Template bool
    Whether to create a template (defaults to false).
    Unprivileged bool
    Whether the container runs as unprivileged on the host (defaults to false).
    VmId int
    The container identifier
    Clone ContainerCloneArgs
    The cloning configuration.
    Console ContainerConsoleArgs
    Console.
    Cpu ContainerCpuArgs
    The CPU configuration.
    Description string
    The description.
    Disk ContainerDiskArgs
    The disk configuration.
    Features ContainerFeaturesArgs
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    Initialization ContainerInitializationArgs
    The initialization configuration.
    Memory ContainerMemoryArgs
    The memory configuration.
    MountPoints []ContainerMountPointArgs
    A mount point
    NetworkInterfaces []ContainerNetworkInterfaceArgs
    A network interface (multiple blocks supported).
    NodeName string
    The name of the node to assign the container to.
    OperatingSystem ContainerOperatingSystemArgs
    The Operating System configuration.
    PoolId string
    The identifier for a pool to assign the container to.
    StartOnBoot bool
    Automatically start container when the host system boots (defaults to true).
    Started bool
    Whether to start the container (defaults to true).
    Startup ContainerStartupArgs
    Defines startup and shutdown behavior of the container.
    Tags []string
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    Template bool
    Whether to create a template (defaults to false).
    Unprivileged bool
    Whether the container runs as unprivileged on the host (defaults to false).
    VmId int
    The container identifier
    clone_ ContainerClone
    The cloning configuration.
    console ContainerConsole
    Console.
    cpu ContainerCpu
    The CPU configuration.
    description String
    The description.
    disk ContainerDisk
    The disk configuration.
    features ContainerFeatures
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    initialization ContainerInitialization
    The initialization configuration.
    memory ContainerMemory
    The memory configuration.
    mountPoints List<ContainerMountPoint>
    A mount point
    networkInterfaces List<ContainerNetworkInterface>
    A network interface (multiple blocks supported).
    nodeName String
    The name of the node to assign the container to.
    operatingSystem ContainerOperatingSystem
    The Operating System configuration.
    poolId String
    The identifier for a pool to assign the container to.
    startOnBoot Boolean
    Automatically start container when the host system boots (defaults to true).
    started Boolean
    Whether to start the container (defaults to true).
    startup ContainerStartup
    Defines startup and shutdown behavior of the container.
    tags List<String>
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    template Boolean
    Whether to create a template (defaults to false).
    unprivileged Boolean
    Whether the container runs as unprivileged on the host (defaults to false).
    vmId Integer
    The container identifier
    clone ContainerClone
    The cloning configuration.
    console ContainerConsole
    Console.
    cpu ContainerCpu
    The CPU configuration.
    description string
    The description.
    disk ContainerDisk
    The disk configuration.
    features ContainerFeatures
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    initialization ContainerInitialization
    The initialization configuration.
    memory ContainerMemory
    The memory configuration.
    mountPoints ContainerMountPoint[]
    A mount point
    networkInterfaces ContainerNetworkInterface[]
    A network interface (multiple blocks supported).
    nodeName string
    The name of the node to assign the container to.
    operatingSystem ContainerOperatingSystem
    The Operating System configuration.
    poolId string
    The identifier for a pool to assign the container to.
    startOnBoot boolean
    Automatically start container when the host system boots (defaults to true).
    started boolean
    Whether to start the container (defaults to true).
    startup ContainerStartup
    Defines startup and shutdown behavior of the container.
    tags string[]
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    template boolean
    Whether to create a template (defaults to false).
    unprivileged boolean
    Whether the container runs as unprivileged on the host (defaults to false).
    vmId number
    The container identifier
    clone ContainerCloneArgs
    The cloning configuration.
    console ContainerConsoleArgs
    Console.
    cpu ContainerCpuArgs
    The CPU configuration.
    description str
    The description.
    disk ContainerDiskArgs
    The disk configuration.
    features ContainerFeaturesArgs
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    initialization ContainerInitializationArgs
    The initialization configuration.
    memory ContainerMemoryArgs
    The memory configuration.
    mount_points ContainerMountPointArgs]
    A mount point
    network_interfaces ContainerNetworkInterfaceArgs]
    A network interface (multiple blocks supported).
    node_name str
    The name of the node to assign the container to.
    operating_system ContainerOperatingSystemArgs
    The Operating System configuration.
    pool_id str
    The identifier for a pool to assign the container to.
    start_on_boot bool
    Automatically start container when the host system boots (defaults to true).
    started bool
    Whether to start the container (defaults to true).
    startup ContainerStartupArgs
    Defines startup and shutdown behavior of the container.
    tags Sequence[str]
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    template bool
    Whether to create a template (defaults to false).
    unprivileged bool
    Whether the container runs as unprivileged on the host (defaults to false).
    vm_id int
    The container identifier
    clone Property Map
    The cloning configuration.
    console Property Map
    Console.
    cpu Property Map
    The CPU configuration.
    description String
    The description.
    disk Property Map
    The disk configuration.
    features Property Map
    The container feature flags. Changing flags (except nesting) is only allowed for root@pam authenticated user.
    initialization Property Map
    The initialization configuration.
    memory Property Map
    The memory configuration.
    mountPoints List<Property Map>
    A mount point
    networkInterfaces List<Property Map>
    A network interface (multiple blocks supported).
    nodeName String
    The name of the node to assign the container to.
    operatingSystem Property Map
    The Operating System configuration.
    poolId String
    The identifier for a pool to assign the container to.
    startOnBoot Boolean
    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.
    tags List<String>
    A list of tags the container tags. This is only meta information (defaults to []). Note: Proxmox always sorts the container tags. If the list in template is not sorted, then Proxmox will always report a difference on the resource. You may use the ignore_changes lifecycle meta-argument to ignore changes to this attribute.
    template Boolean
    Whether to create a template (defaults to false).
    unprivileged Boolean
    Whether the container runs as unprivileged on the host (defaults to false).
    vmId Number
    The container identifier

    Supporting Types

    ContainerClone, ContainerCloneArgs

    VmId int
    The container identifier
    DatastoreId string
    The identifier for the datastore to create the disk in (defaults to local).
    NodeName string
    The name of the node to assign the container to.
    VmId int
    The container identifier
    DatastoreId string
    The identifier for the datastore to create the disk in (defaults to local).
    NodeName string
    The name of the node to assign the container to.
    vmId Integer
    The container identifier
    datastoreId String
    The identifier for the datastore to create the disk in (defaults to local).
    nodeName String
    The name of the node to assign the container to.
    vmId number
    The container identifier
    datastoreId string
    The identifier for the datastore to create the disk in (defaults to local).
    nodeName string
    The name of the node to assign the container to.
    vm_id int
    The container identifier
    datastore_id str
    The identifier for the datastore to create the disk in (defaults to local).
    node_name str
    The name of the node to assign the container to.
    vmId Number
    The container identifier
    datastoreId String
    The identifier for the datastore to create the disk in (defaults to local).
    nodeName String
    The name of the node to assign the container to.

    ContainerConsole, ContainerConsoleArgs

    Enabled bool
    Whether to enable the network device (defaults to true).
    TtyCount int
    The number of available TTY (defaults to 2).
    Type string
    The type (defaults to unmanaged).
    Enabled bool
    Whether to enable the network device (defaults to true).
    TtyCount int
    The number of available TTY (defaults to 2).
    Type string
    The type (defaults to unmanaged).
    enabled Boolean
    Whether to enable the network device (defaults to true).
    ttyCount Integer
    The number of available TTY (defaults to 2).
    type String
    The type (defaults to unmanaged).
    enabled boolean
    Whether to enable the network device (defaults to true).
    ttyCount number
    The number of available TTY (defaults to 2).
    type string
    The type (defaults to unmanaged).
    enabled bool
    Whether to enable the network device (defaults to true).
    tty_count int
    The number of available TTY (defaults to 2).
    type str
    The type (defaults to unmanaged).
    enabled Boolean
    Whether to enable the network device (defaults to true).
    ttyCount Number
    The number of available TTY (defaults to 2).
    type String
    The type (defaults to unmanaged).

    ContainerCpu, ContainerCpuArgs

    Architecture string
    The CPU architecture (defaults to amd64).
    Cores int
    The number of CPU cores (defaults to 1).
    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).
    Units int
    The CPU units (defaults to 1024).
    architecture String
    The CPU architecture (defaults to amd64).
    cores Integer
    The number of CPU cores (defaults to 1).
    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).
    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).
    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).
    units Number
    The CPU units (defaults to 1024).

    ContainerDisk, ContainerDiskArgs

    DatastoreId string
    The identifier for the datastore to create the disk in (defaults to local).
    Size int
    Volume size (only for volume mount points). Can be specified with a unit suffix (e.g. 10G).
    DatastoreId string
    The identifier for the datastore to create the disk in (defaults to local).
    Size int
    Volume size (only for volume mount points). Can be specified with a unit suffix (e.g. 10G).
    datastoreId String
    The identifier for the datastore to create the disk in (defaults to local).
    size Integer
    Volume size (only for volume mount points). Can be specified with a unit suffix (e.g. 10G).
    datastoreId string
    The identifier for the datastore to create the disk in (defaults to local).
    size number
    Volume size (only for volume mount points). Can be specified with a unit suffix (e.g. 10G).
    datastore_id str
    The identifier for the datastore to create the disk in (defaults to local).
    size int
    Volume size (only for volume mount points). Can be specified with a unit suffix (e.g. 10G).
    datastoreId String
    The identifier for the datastore to create the disk in (defaults to local).
    size Number
    Volume size (only for volume mount points). Can be specified with a unit suffix (e.g. 10G).

    ContainerFeatures, ContainerFeaturesArgs

    Fuse bool
    Whether the container supports FUSE mounts (defaults to false)
    Keyctl bool
    Whether the container supports keyctl() system call (defaults to false)
    Mounts List<string>
    List of allowed mount types (cifs or nfs)
    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 to false)
    Mounts []string
    List of allowed mount types (cifs or nfs)
    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 to false)
    mounts List<String>
    List of allowed mount types (cifs or nfs)
    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 to false)
    mounts string[]
    List of allowed mount types (cifs or nfs)
    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 to false)
    mounts Sequence[str]
    List of allowed mount types (cifs or nfs)
    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 to false)
    mounts List<String>
    List of allowed mount types (cifs or nfs)
    nesting Boolean
    Whether the container is nested (defaults to false)

    ContainerInitialization, ContainerInitializationArgs

    Dns ContainerInitializationDns
    The DNS configuration.
    Hostname string
    The hostname.
    IpConfigs []ContainerInitializationIpConfig
    The IP configuration (one block per network device).
    UserAccount ContainerInitializationUserAccount
    The user account configuration.
    dns ContainerInitializationDns
    The DNS configuration.
    hostname String
    The hostname.
    ipConfigs List<ContainerInitializationIpConfig>
    The IP configuration (one block per network device).
    userAccount ContainerInitializationUserAccount
    The user account configuration.
    dns ContainerInitializationDns
    The DNS configuration.
    hostname string
    The hostname.
    ipConfigs ContainerInitializationIpConfig[]
    The IP configuration (one block per network device).
    userAccount ContainerInitializationUserAccount
    The user account configuration.
    dns ContainerInitializationDns
    The DNS configuration.
    hostname str
    The hostname.
    ip_configs ContainerInitializationIpConfig]
    The IP configuration (one block per network device).
    user_account ContainerInitializationUserAccount
    The user account configuration.
    dns Property Map
    The DNS configuration.
    hostname String
    The hostname.
    ipConfigs List<Property Map>
    The IP configuration (one block per network device).
    userAccount Property Map
    The user account configuration.

    ContainerInitializationDns, ContainerInitializationDnsArgs

    Domain string
    The DNS search domain.
    Server string
    The DNS server. The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    Deprecated:The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    Servers List<string>
    The list of DNS servers.
    Domain string
    The DNS search domain.
    Server string
    The DNS server. The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    Deprecated:The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    Servers []string
    The list of DNS servers.
    domain String
    The DNS search domain.
    server String
    The DNS server. The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    Deprecated:The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    servers List<String>
    The list of DNS servers.
    domain string
    The DNS search domain.
    server string
    The DNS server. The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    Deprecated:The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    servers string[]
    The list of DNS servers.
    domain str
    The DNS search domain.
    server str
    The DNS server. The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    Deprecated:The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    servers Sequence[str]
    The list of DNS servers.
    domain String
    The DNS search domain.
    server String
    The DNS server. The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    Deprecated:The server attribute is deprecated and will be removed in a future release. Please use the servers attribute instead.

    servers List<String>
    The list of DNS servers.

    ContainerInitializationIpConfig, ContainerInitializationIpConfigArgs

    ipv4 Property Map
    The IPv4 configuration.
    ipv6 Property Map
    The IPv4 configuration.

    ContainerInitializationIpConfigIpv4, ContainerInitializationIpConfigIpv4Args

    Address string
    The IPv6 address (use dhcp for autodiscovery).
    Gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    Address string
    The IPv6 address (use dhcp for autodiscovery).
    Gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address String
    The IPv6 address (use dhcp for autodiscovery).
    gateway String
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address string
    The IPv6 address (use dhcp for autodiscovery).
    gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address str
    The IPv6 address (use dhcp for autodiscovery).
    gateway str
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address String
    The IPv6 address (use dhcp for autodiscovery).
    gateway String
    The IPv6 gateway (must be omitted when dhcp is used as the address).

    ContainerInitializationIpConfigIpv6, ContainerInitializationIpConfigIpv6Args

    Address string
    The IPv6 address (use dhcp for autodiscovery).
    Gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    Address string
    The IPv6 address (use dhcp for autodiscovery).
    Gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address String
    The IPv6 address (use dhcp for autodiscovery).
    gateway String
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address string
    The IPv6 address (use dhcp for autodiscovery).
    gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address str
    The IPv6 address (use dhcp for autodiscovery).
    gateway str
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address String
    The IPv6 address (use dhcp for autodiscovery).
    gateway String
    The IPv6 gateway (must be omitted when dhcp is used as the address).

    ContainerInitializationUserAccount, ContainerInitializationUserAccountArgs

    Keys List<string>
    The SSH keys for the root account.
    Password string
    The password for the root account.
    Keys []string
    The SSH keys for the root account.
    Password string
    The password for the root account.
    keys List<String>
    The SSH keys for the root account.
    password String
    The password for the root account.
    keys string[]
    The SSH keys for the root account.
    password string
    The password for the root account.
    keys Sequence[str]
    The SSH keys for the root account.
    password str
    The password for the root account.
    keys List<String>
    The SSH keys for the root account.
    password String
    The password for the root account.

    ContainerMemory, ContainerMemoryArgs

    Dedicated int
    The dedicated memory in megabytes (defaults to 512).
    Swap int
    The swap size in megabytes (defaults to 0).
    Dedicated int
    The dedicated memory in megabytes (defaults to 512).
    Swap int
    The swap size in megabytes (defaults to 0).
    dedicated Integer
    The dedicated memory in megabytes (defaults to 512).
    swap Integer
    The swap size in megabytes (defaults to 0).
    dedicated number
    The dedicated memory in megabytes (defaults to 512).
    swap number
    The swap size in megabytes (defaults to 0).
    dedicated int
    The dedicated memory in megabytes (defaults to 512).
    swap int
    The swap size in megabytes (defaults to 0).
    dedicated Number
    The dedicated memory in megabytes (defaults to 512).
    swap Number
    The swap size in megabytes (defaults to 0).

    ContainerMountPoint, ContainerMountPointArgs

    Path string
    Path to the mount point as seen from inside the container.
    Volume string
    Volume, device or directory to mount into the container.
    Acl bool
    Explicitly enable or disable ACL support.
    Backup bool
    Whether to include the mount point in backups (only used for volume mount points).
    MountOptions List<string>
    List of extra mount options.
    Quota bool
    Enable user quotas inside the container (not supported with ZFS subvolumes).
    ReadOnly bool
    Read-only mount point.
    Replicate bool
    Will include this volume to a storage replica job.
    Shared 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, device or directory to mount into the container.
    Acl bool
    Explicitly enable or disable ACL support.
    Backup bool
    Whether to include the mount point in backups (only used for volume mount points).
    MountOptions []string
    List of extra mount options.
    Quota bool
    Enable user quotas inside the container (not supported with ZFS subvolumes).
    ReadOnly bool
    Read-only mount point.
    Replicate bool
    Will include this volume to a storage replica job.
    Shared 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, device or directory to mount into the container.
    acl Boolean
    Explicitly enable or disable ACL support.
    backup Boolean
    Whether to include the mount point in backups (only used for volume mount points).
    mountOptions List<String>
    List of extra mount options.
    quota Boolean
    Enable user quotas inside the container (not supported with ZFS subvolumes).
    readOnly Boolean
    Read-only mount point.
    replicate Boolean
    Will include this volume to a storage replica job.
    shared 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, device or directory to mount into the container.
    acl boolean
    Explicitly enable or disable ACL support.
    backup boolean
    Whether to include the mount point in backups (only used for volume mount points).
    mountOptions string[]
    List of extra mount options.
    quota boolean
    Enable user quotas inside the container (not supported with ZFS subvolumes).
    readOnly boolean
    Read-only mount point.
    replicate boolean
    Will include this volume to a storage replica job.
    shared 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, device or directory to mount into the container.
    acl bool
    Explicitly enable or disable ACL support.
    backup bool
    Whether to include the mount point in backups (only used for volume mount points).
    mount_options Sequence[str]
    List of extra mount options.
    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.
    shared 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, device or directory to mount into the container.
    acl Boolean
    Explicitly enable or disable ACL support.
    backup Boolean
    Whether to include the mount point in backups (only used for volume mount points).
    mountOptions List<String>
    List of extra mount options.
    quota Boolean
    Enable user quotas inside the container (not supported with ZFS subvolumes).
    readOnly Boolean
    Read-only mount point.
    replicate Boolean
    Will include this volume to a storage replica job.
    shared 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).

    ContainerNetworkInterface, ContainerNetworkInterfaceArgs

    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).
    MacAddress string
    The MAC address.
    Mtu int
    Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
    RateLimit double
    The rate limit in megabytes per second.
    VlanId 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).
    MacAddress string
    The MAC address.
    Mtu int
    Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
    RateLimit float64
    The rate limit in megabytes per second.
    VlanId 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).
    macAddress String
    The MAC address.
    mtu Integer
    Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
    rateLimit Double
    The rate limit in megabytes per second.
    vlanId 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).
    macAddress string
    The MAC address.
    mtu number
    Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
    rateLimit number
    The rate limit in megabytes per second.
    vlanId 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).
    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).
    macAddress String
    The MAC address.
    mtu Number
    Maximum transfer unit of the interface. Cannot be larger than the bridge's MTU.
    rateLimit Number
    The rate limit in megabytes per second.
    vlanId Number
    The VLAN identifier.

    ContainerOperatingSystem, ContainerOperatingSystemArgs

    TemplateFileId string
    The identifier for an OS template file.
    Type string
    The type (defaults to unmanaged).
    TemplateFileId string
    The identifier for an OS template file.
    Type string
    The type (defaults to unmanaged).
    templateFileId String
    The identifier for an OS template file.
    type String
    The type (defaults to unmanaged).
    templateFileId string
    The identifier for an OS template file.
    type string
    The type (defaults to unmanaged).
    template_file_id str
    The identifier for an OS template file.
    type str
    The type (defaults to unmanaged).
    templateFileId String
    The identifier for an OS template file.
    type String
    The type (defaults to unmanaged).

    ContainerStartup, ContainerStartupArgs

    DownDelay 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.
    UpDelay int
    A non-negative number defining the delay in seconds before the next container is started
    DownDelay 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.
    UpDelay int
    A non-negative number defining the delay in seconds before the next container is started
    downDelay Integer
    A non-negative number defining the delay in seconds before the next container is shut down
    order Integer
    A non-negative number defining the general startup order.
    upDelay Integer
    A non-negative number defining the delay in seconds before the next container is started
    downDelay 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.
    upDelay 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
    downDelay 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.
    upDelay Number
    A non-negative number defining the delay in seconds before the next container is started

    Import

    Instances can be imported using the node_name and the vm_id, e.g.,

    bash

    $ pulumi import proxmoxve:CT/container:Container ubuntu_container first-node/1234
    

    Package Details

    Repository
    proxmoxve muhlba91/pulumi-proxmoxve
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the proxmox Terraform Provider.
    proxmoxve logo
    Proxmox Virtual Environment (Proxmox VE) v5.24.4 published on Wednesday, Feb 21, 2024 by Daniel Muehlbachler-Pietrzykowski