1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. VM
  5. VirtualMachine
Proxmox Virtual Environment (Proxmox VE) v6.4.1 published on Sunday, Apr 21, 2024 by Daniel Muehlbachler-Pietrzykowski

proxmoxve.VM.VirtualMachine

Explore with Pulumi AI

proxmoxve logo
Proxmox Virtual Environment (Proxmox VE) v6.4.1 published on Sunday, Apr 21, 2024 by Daniel Muehlbachler-Pietrzykowski

    Manages a virtual machine.

    This resource uses SSH access to the node. You might need to configure the ssh option in the provider section.

    Create VirtualMachine Resource

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

    Constructor syntax

    new VirtualMachine(name: string, args: VirtualMachineArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualMachine(resource_name: str,
                       args: VirtualMachineArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualMachine(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       node_name: Optional[str] = None,
                       acpi: Optional[bool] = None,
                       agent: Optional[_vm.VirtualMachineAgentArgs] = None,
                       audio_device: Optional[_vm.VirtualMachineAudioDeviceArgs] = None,
                       bios: Optional[str] = None,
                       boot_orders: Optional[Sequence[str]] = None,
                       cdrom: Optional[_vm.VirtualMachineCdromArgs] = None,
                       clone: Optional[_vm.VirtualMachineCloneArgs] = None,
                       cpu: Optional[_vm.VirtualMachineCpuArgs] = None,
                       description: Optional[str] = None,
                       disks: Optional[Sequence[_vm.VirtualMachineDiskArgs]] = None,
                       efi_disk: Optional[_vm.VirtualMachineEfiDiskArgs] = None,
                       hook_script_file_id: Optional[str] = None,
                       hostpcis: Optional[Sequence[_vm.VirtualMachineHostpciArgs]] = None,
                       initialization: Optional[_vm.VirtualMachineInitializationArgs] = None,
                       keyboard_layout: Optional[str] = None,
                       kvm_arguments: Optional[str] = None,
                       mac_addresses: Optional[Sequence[str]] = None,
                       machine: Optional[str] = None,
                       memory: Optional[_vm.VirtualMachineMemoryArgs] = None,
                       migrate: Optional[bool] = None,
                       name: Optional[str] = None,
                       network_devices: Optional[Sequence[_vm.VirtualMachineNetworkDeviceArgs]] = None,
                       numas: Optional[Sequence[_vm.VirtualMachineNumaArgs]] = None,
                       on_boot: Optional[bool] = None,
                       operating_system: Optional[_vm.VirtualMachineOperatingSystemArgs] = None,
                       pool_id: Optional[str] = None,
                       protection: Optional[bool] = None,
                       reboot: Optional[bool] = None,
                       scsi_hardware: Optional[str] = None,
                       serial_devices: Optional[Sequence[_vm.VirtualMachineSerialDeviceArgs]] = None,
                       smbios: Optional[_vm.VirtualMachineSmbiosArgs] = None,
                       started: Optional[bool] = None,
                       startup: Optional[_vm.VirtualMachineStartupArgs] = None,
                       stop_on_destroy: Optional[bool] = None,
                       tablet_device: Optional[bool] = None,
                       tags: Optional[Sequence[str]] = None,
                       template: Optional[bool] = None,
                       timeout_clone: Optional[int] = None,
                       timeout_create: Optional[int] = None,
                       timeout_migrate: Optional[int] = None,
                       timeout_move_disk: Optional[int] = None,
                       timeout_reboot: Optional[int] = None,
                       timeout_shutdown_vm: Optional[int] = None,
                       timeout_start_vm: Optional[int] = None,
                       timeout_stop_vm: Optional[int] = None,
                       tpm_state: Optional[_vm.VirtualMachineTpmStateArgs] = None,
                       usbs: Optional[Sequence[_vm.VirtualMachineUsbArgs]] = None,
                       vga: Optional[_vm.VirtualMachineVgaArgs] = None,
                       vm_id: Optional[int] = None)
    func NewVirtualMachine(ctx *Context, name string, args VirtualMachineArgs, opts ...ResourceOption) (*VirtualMachine, error)
    public VirtualMachine(string name, VirtualMachineArgs args, CustomResourceOptions? opts = null)
    public VirtualMachine(String name, VirtualMachineArgs args)
    public VirtualMachine(String name, VirtualMachineArgs args, CustomResourceOptions options)
    
    type: proxmoxve:VM:VirtualMachine
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VirtualMachineArgs
    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 VirtualMachineArgs
    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 VirtualMachineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualMachineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualMachineArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var virtualMachineResource = new ProxmoxVE.VM.VirtualMachine("virtualMachineResource", new()
    {
        NodeName = "string",
        Acpi = false,
        Agent = new ProxmoxVE.VM.Inputs.VirtualMachineAgentArgs
        {
            Enabled = false,
            Timeout = "string",
            Trim = false,
            Type = "string",
        },
        AudioDevice = new ProxmoxVE.VM.Inputs.VirtualMachineAudioDeviceArgs
        {
            Device = "string",
            Driver = "string",
            Enabled = false,
        },
        Bios = "string",
        BootOrders = new[]
        {
            "string",
        },
        Cdrom = new ProxmoxVE.VM.Inputs.VirtualMachineCdromArgs
        {
            Enabled = false,
            FileId = "string",
            Interface = "string",
        },
        Clone = new ProxmoxVE.VM.Inputs.VirtualMachineCloneArgs
        {
            VmId = 0,
            DatastoreId = "string",
            Full = false,
            NodeName = "string",
            Retries = 0,
        },
        Cpu = new ProxmoxVE.VM.Inputs.VirtualMachineCpuArgs
        {
            Affinity = "string",
            Architecture = "string",
            Cores = 0,
            Flags = new[]
            {
                "string",
            },
            Hotplugged = 0,
            Limit = 0,
            Numa = false,
            Sockets = 0,
            Type = "string",
            Units = 0,
        },
        Description = "string",
        Disks = new[]
        {
            new ProxmoxVE.VM.Inputs.VirtualMachineDiskArgs
            {
                Interface = "string",
                FileId = "string",
                Cache = "string",
                DatastoreId = "string",
                Discard = "string",
                FileFormat = "string",
                Aio = "string",
                Backup = false,
                Iothread = false,
                PathInDatastore = "string",
                Replicate = false,
                Size = 0,
                Speed = new ProxmoxVE.VM.Inputs.VirtualMachineDiskSpeedArgs
                {
                    IopsRead = 0,
                    IopsReadBurstable = 0,
                    IopsWrite = 0,
                    IopsWriteBurstable = 0,
                    Read = 0,
                    ReadBurstable = 0,
                    Write = 0,
                    WriteBurstable = 0,
                },
                Ssd = false,
            },
        },
        EfiDisk = new ProxmoxVE.VM.Inputs.VirtualMachineEfiDiskArgs
        {
            DatastoreId = "string",
            FileFormat = "string",
            PreEnrolledKeys = false,
            Type = "string",
        },
        HookScriptFileId = "string",
        Hostpcis = new[]
        {
            new ProxmoxVE.VM.Inputs.VirtualMachineHostpciArgs
            {
                Device = "string",
                Id = "string",
                Mapping = "string",
                Mdev = "string",
                Pcie = false,
                RomFile = "string",
                Rombar = false,
                Xvga = false,
            },
        },
        Initialization = new ProxmoxVE.VM.Inputs.VirtualMachineInitializationArgs
        {
            DatastoreId = "string",
            Dns = new ProxmoxVE.VM.Inputs.VirtualMachineInitializationDnsArgs
            {
                Domain = "string",
                Servers = new[]
                {
                    "string",
                },
            },
            Interface = "string",
            IpConfigs = new[]
            {
                new ProxmoxVE.VM.Inputs.VirtualMachineInitializationIpConfigArgs
                {
                    Ipv4 = new ProxmoxVE.VM.Inputs.VirtualMachineInitializationIpConfigIpv4Args
                    {
                        Address = "string",
                        Gateway = "string",
                    },
                    Ipv6 = new ProxmoxVE.VM.Inputs.VirtualMachineInitializationIpConfigIpv6Args
                    {
                        Address = "string",
                        Gateway = "string",
                    },
                },
            },
            MetaDataFileId = "string",
            NetworkDataFileId = "string",
            Type = "string",
            Upgrade = false,
            UserAccount = new ProxmoxVE.VM.Inputs.VirtualMachineInitializationUserAccountArgs
            {
                Keys = new[]
                {
                    "string",
                },
                Password = "string",
                Username = "string",
            },
            UserDataFileId = "string",
            VendorDataFileId = "string",
        },
        KeyboardLayout = "string",
        KvmArguments = "string",
        MacAddresses = new[]
        {
            "string",
        },
        Machine = "string",
        Memory = new ProxmoxVE.VM.Inputs.VirtualMachineMemoryArgs
        {
            Dedicated = 0,
            Floating = 0,
            Hugepages = "string",
            KeepHugepages = false,
            Shared = 0,
        },
        Migrate = false,
        Name = "string",
        NetworkDevices = new[]
        {
            new ProxmoxVE.VM.Inputs.VirtualMachineNetworkDeviceArgs
            {
                Bridge = "string",
                Disconnected = false,
                Enabled = false,
                Firewall = false,
                MacAddress = "string",
                Model = "string",
                Mtu = 0,
                Queues = 0,
                RateLimit = 0,
                Trunks = "string",
                VlanId = 0,
            },
        },
        Numas = new[]
        {
            new ProxmoxVE.VM.Inputs.VirtualMachineNumaArgs
            {
                Cpus = "string",
                Device = "string",
                Memory = 0,
                Hostnodes = "string",
                Policy = "string",
            },
        },
        OnBoot = false,
        OperatingSystem = new ProxmoxVE.VM.Inputs.VirtualMachineOperatingSystemArgs
        {
            Type = "string",
        },
        PoolId = "string",
        Protection = false,
        Reboot = false,
        ScsiHardware = "string",
        SerialDevices = new[]
        {
            new ProxmoxVE.VM.Inputs.VirtualMachineSerialDeviceArgs
            {
                Device = "string",
            },
        },
        Smbios = new ProxmoxVE.VM.Inputs.VirtualMachineSmbiosArgs
        {
            Family = "string",
            Manufacturer = "string",
            Product = "string",
            Serial = "string",
            Sku = "string",
            Uuid = "string",
            Version = "string",
        },
        Started = false,
        Startup = new ProxmoxVE.VM.Inputs.VirtualMachineStartupArgs
        {
            DownDelay = 0,
            Order = 0,
            UpDelay = 0,
        },
        StopOnDestroy = false,
        TabletDevice = false,
        Tags = new[]
        {
            "string",
        },
        Template = false,
        TimeoutClone = 0,
        TimeoutCreate = 0,
        TimeoutMigrate = 0,
        TimeoutReboot = 0,
        TimeoutShutdownVm = 0,
        TimeoutStartVm = 0,
        TimeoutStopVm = 0,
        TpmState = new ProxmoxVE.VM.Inputs.VirtualMachineTpmStateArgs
        {
            DatastoreId = "string",
            Version = "string",
        },
        Usbs = new[]
        {
            new ProxmoxVE.VM.Inputs.VirtualMachineUsbArgs
            {
                Host = "string",
                Mapping = "string",
                Usb3 = false,
            },
        },
        Vga = new ProxmoxVE.VM.Inputs.VirtualMachineVgaArgs
        {
            Enabled = false,
            Memory = 0,
            Type = "string",
        },
        VmId = 0,
    });
    
    example, err := VM.NewVirtualMachine(ctx, "virtualMachineResource", &VM.VirtualMachineArgs{
    	NodeName: pulumi.String("string"),
    	Acpi:     pulumi.Bool(false),
    	Agent: &vm.VirtualMachineAgentArgs{
    		Enabled: pulumi.Bool(false),
    		Timeout: pulumi.String("string"),
    		Trim:    pulumi.Bool(false),
    		Type:    pulumi.String("string"),
    	},
    	AudioDevice: &vm.VirtualMachineAudioDeviceArgs{
    		Device:  pulumi.String("string"),
    		Driver:  pulumi.String("string"),
    		Enabled: pulumi.Bool(false),
    	},
    	Bios: pulumi.String("string"),
    	BootOrders: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Cdrom: &vm.VirtualMachineCdromArgs{
    		Enabled:   pulumi.Bool(false),
    		FileId:    pulumi.String("string"),
    		Interface: pulumi.String("string"),
    	},
    	Clone: &vm.VirtualMachineCloneArgs{
    		VmId:        pulumi.Int(0),
    		DatastoreId: pulumi.String("string"),
    		Full:        pulumi.Bool(false),
    		NodeName:    pulumi.String("string"),
    		Retries:     pulumi.Int(0),
    	},
    	Cpu: &vm.VirtualMachineCpuArgs{
    		Affinity:     pulumi.String("string"),
    		Architecture: pulumi.String("string"),
    		Cores:        pulumi.Int(0),
    		Flags: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Hotplugged: pulumi.Int(0),
    		Limit:      pulumi.Int(0),
    		Numa:       pulumi.Bool(false),
    		Sockets:    pulumi.Int(0),
    		Type:       pulumi.String("string"),
    		Units:      pulumi.Int(0),
    	},
    	Description: pulumi.String("string"),
    	Disks: vm.VirtualMachineDiskArray{
    		&vm.VirtualMachineDiskArgs{
    			Interface:       pulumi.String("string"),
    			FileId:          pulumi.String("string"),
    			Cache:           pulumi.String("string"),
    			DatastoreId:     pulumi.String("string"),
    			Discard:         pulumi.String("string"),
    			FileFormat:      pulumi.String("string"),
    			Aio:             pulumi.String("string"),
    			Backup:          pulumi.Bool(false),
    			Iothread:        pulumi.Bool(false),
    			PathInDatastore: pulumi.String("string"),
    			Replicate:       pulumi.Bool(false),
    			Size:            pulumi.Int(0),
    			Speed: &vm.VirtualMachineDiskSpeedArgs{
    				IopsRead:           pulumi.Int(0),
    				IopsReadBurstable:  pulumi.Int(0),
    				IopsWrite:          pulumi.Int(0),
    				IopsWriteBurstable: pulumi.Int(0),
    				Read:               pulumi.Int(0),
    				ReadBurstable:      pulumi.Int(0),
    				Write:              pulumi.Int(0),
    				WriteBurstable:     pulumi.Int(0),
    			},
    			Ssd: pulumi.Bool(false),
    		},
    	},
    	EfiDisk: &vm.VirtualMachineEfiDiskArgs{
    		DatastoreId:     pulumi.String("string"),
    		FileFormat:      pulumi.String("string"),
    		PreEnrolledKeys: pulumi.Bool(false),
    		Type:            pulumi.String("string"),
    	},
    	HookScriptFileId: pulumi.String("string"),
    	Hostpcis: vm.VirtualMachineHostpciArray{
    		&vm.VirtualMachineHostpciArgs{
    			Device:  pulumi.String("string"),
    			Id:      pulumi.String("string"),
    			Mapping: pulumi.String("string"),
    			Mdev:    pulumi.String("string"),
    			Pcie:    pulumi.Bool(false),
    			RomFile: pulumi.String("string"),
    			Rombar:  pulumi.Bool(false),
    			Xvga:    pulumi.Bool(false),
    		},
    	},
    	Initialization: &vm.VirtualMachineInitializationArgs{
    		DatastoreId: pulumi.String("string"),
    		Dns: &vm.VirtualMachineInitializationDnsArgs{
    			Domain: pulumi.String("string"),
    			Servers: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Interface: pulumi.String("string"),
    		IpConfigs: vm.VirtualMachineInitializationIpConfigArray{
    			&vm.VirtualMachineInitializationIpConfigArgs{
    				Ipv4: &vm.VirtualMachineInitializationIpConfigIpv4Args{
    					Address: pulumi.String("string"),
    					Gateway: pulumi.String("string"),
    				},
    				Ipv6: &vm.VirtualMachineInitializationIpConfigIpv6Args{
    					Address: pulumi.String("string"),
    					Gateway: pulumi.String("string"),
    				},
    			},
    		},
    		MetaDataFileId:    pulumi.String("string"),
    		NetworkDataFileId: pulumi.String("string"),
    		Type:              pulumi.String("string"),
    		Upgrade:           pulumi.Bool(false),
    		UserAccount: &vm.VirtualMachineInitializationUserAccountArgs{
    			Keys: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Password: pulumi.String("string"),
    			Username: pulumi.String("string"),
    		},
    		UserDataFileId:   pulumi.String("string"),
    		VendorDataFileId: pulumi.String("string"),
    	},
    	KeyboardLayout: pulumi.String("string"),
    	KvmArguments:   pulumi.String("string"),
    	MacAddresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Machine: pulumi.String("string"),
    	Memory: &vm.VirtualMachineMemoryArgs{
    		Dedicated:     pulumi.Int(0),
    		Floating:      pulumi.Int(0),
    		Hugepages:     pulumi.String("string"),
    		KeepHugepages: pulumi.Bool(false),
    		Shared:        pulumi.Int(0),
    	},
    	Migrate: pulumi.Bool(false),
    	Name:    pulumi.String("string"),
    	NetworkDevices: vm.VirtualMachineNetworkDeviceArray{
    		&vm.VirtualMachineNetworkDeviceArgs{
    			Bridge:       pulumi.String("string"),
    			Disconnected: pulumi.Bool(false),
    			Enabled:      pulumi.Bool(false),
    			Firewall:     pulumi.Bool(false),
    			MacAddress:   pulumi.String("string"),
    			Model:        pulumi.String("string"),
    			Mtu:          pulumi.Int(0),
    			Queues:       pulumi.Int(0),
    			RateLimit:    pulumi.Float64(0),
    			Trunks:       pulumi.String("string"),
    			VlanId:       pulumi.Int(0),
    		},
    	},
    	Numas: vm.VirtualMachineNumaArray{
    		&vm.VirtualMachineNumaArgs{
    			Cpus:      pulumi.String("string"),
    			Device:    pulumi.String("string"),
    			Memory:    pulumi.Int(0),
    			Hostnodes: pulumi.String("string"),
    			Policy:    pulumi.String("string"),
    		},
    	},
    	OnBoot: pulumi.Bool(false),
    	OperatingSystem: &vm.VirtualMachineOperatingSystemArgs{
    		Type: pulumi.String("string"),
    	},
    	PoolId:       pulumi.String("string"),
    	Protection:   pulumi.Bool(false),
    	Reboot:       pulumi.Bool(false),
    	ScsiHardware: pulumi.String("string"),
    	SerialDevices: vm.VirtualMachineSerialDeviceArray{
    		&vm.VirtualMachineSerialDeviceArgs{
    			Device: pulumi.String("string"),
    		},
    	},
    	Smbios: &vm.VirtualMachineSmbiosArgs{
    		Family:       pulumi.String("string"),
    		Manufacturer: pulumi.String("string"),
    		Product:      pulumi.String("string"),
    		Serial:       pulumi.String("string"),
    		Sku:          pulumi.String("string"),
    		Uuid:         pulumi.String("string"),
    		Version:      pulumi.String("string"),
    	},
    	Started: pulumi.Bool(false),
    	Startup: &vm.VirtualMachineStartupArgs{
    		DownDelay: pulumi.Int(0),
    		Order:     pulumi.Int(0),
    		UpDelay:   pulumi.Int(0),
    	},
    	StopOnDestroy: pulumi.Bool(false),
    	TabletDevice:  pulumi.Bool(false),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Template:          pulumi.Bool(false),
    	TimeoutClone:      pulumi.Int(0),
    	TimeoutCreate:     pulumi.Int(0),
    	TimeoutMigrate:    pulumi.Int(0),
    	TimeoutReboot:     pulumi.Int(0),
    	TimeoutShutdownVm: pulumi.Int(0),
    	TimeoutStartVm:    pulumi.Int(0),
    	TimeoutStopVm:     pulumi.Int(0),
    	TpmState: &vm.VirtualMachineTpmStateArgs{
    		DatastoreId: pulumi.String("string"),
    		Version:     pulumi.String("string"),
    	},
    	Usbs: vm.VirtualMachineUsbArray{
    		&vm.VirtualMachineUsbArgs{
    			Host:    pulumi.String("string"),
    			Mapping: pulumi.String("string"),
    			Usb3:    pulumi.Bool(false),
    		},
    	},
    	Vga: &vm.VirtualMachineVgaArgs{
    		Enabled: pulumi.Bool(false),
    		Memory:  pulumi.Int(0),
    		Type:    pulumi.String("string"),
    	},
    	VmId: pulumi.Int(0),
    })
    
    var virtualMachineResource = new VirtualMachine("virtualMachineResource", VirtualMachineArgs.builder()        
        .nodeName("string")
        .acpi(false)
        .agent(VirtualMachineAgentArgs.builder()
            .enabled(false)
            .timeout("string")
            .trim(false)
            .type("string")
            .build())
        .audioDevice(VirtualMachineAudioDeviceArgs.builder()
            .device("string")
            .driver("string")
            .enabled(false)
            .build())
        .bios("string")
        .bootOrders("string")
        .cdrom(VirtualMachineCdromArgs.builder()
            .enabled(false)
            .fileId("string")
            .interface_("string")
            .build())
        .clone(VirtualMachineCloneArgs.builder()
            .vmId(0)
            .datastoreId("string")
            .full(false)
            .nodeName("string")
            .retries(0)
            .build())
        .cpu(VirtualMachineCpuArgs.builder()
            .affinity("string")
            .architecture("string")
            .cores(0)
            .flags("string")
            .hotplugged(0)
            .limit(0)
            .numa(false)
            .sockets(0)
            .type("string")
            .units(0)
            .build())
        .description("string")
        .disks(VirtualMachineDiskArgs.builder()
            .interface_("string")
            .fileId("string")
            .cache("string")
            .datastoreId("string")
            .discard("string")
            .fileFormat("string")
            .aio("string")
            .backup(false)
            .iothread(false)
            .pathInDatastore("string")
            .replicate(false)
            .size(0)
            .speed(VirtualMachineDiskSpeedArgs.builder()
                .iopsRead(0)
                .iopsReadBurstable(0)
                .iopsWrite(0)
                .iopsWriteBurstable(0)
                .read(0)
                .readBurstable(0)
                .write(0)
                .writeBurstable(0)
                .build())
            .ssd(false)
            .build())
        .efiDisk(VirtualMachineEfiDiskArgs.builder()
            .datastoreId("string")
            .fileFormat("string")
            .preEnrolledKeys(false)
            .type("string")
            .build())
        .hookScriptFileId("string")
        .hostpcis(VirtualMachineHostpciArgs.builder()
            .device("string")
            .id("string")
            .mapping("string")
            .mdev("string")
            .pcie(false)
            .romFile("string")
            .rombar(false)
            .xvga(false)
            .build())
        .initialization(VirtualMachineInitializationArgs.builder()
            .datastoreId("string")
            .dns(VirtualMachineInitializationDnsArgs.builder()
                .domain("string")
                .servers("string")
                .build())
            .interface_("string")
            .ipConfigs(VirtualMachineInitializationIpConfigArgs.builder()
                .ipv4(VirtualMachineInitializationIpConfigIpv4Args.builder()
                    .address("string")
                    .gateway("string")
                    .build())
                .ipv6(VirtualMachineInitializationIpConfigIpv6Args.builder()
                    .address("string")
                    .gateway("string")
                    .build())
                .build())
            .metaDataFileId("string")
            .networkDataFileId("string")
            .type("string")
            .upgrade(false)
            .userAccount(VirtualMachineInitializationUserAccountArgs.builder()
                .keys("string")
                .password("string")
                .username("string")
                .build())
            .userDataFileId("string")
            .vendorDataFileId("string")
            .build())
        .keyboardLayout("string")
        .kvmArguments("string")
        .macAddresses("string")
        .machine("string")
        .memory(VirtualMachineMemoryArgs.builder()
            .dedicated(0)
            .floating(0)
            .hugepages("string")
            .keepHugepages(false)
            .shared(0)
            .build())
        .migrate(false)
        .name("string")
        .networkDevices(VirtualMachineNetworkDeviceArgs.builder()
            .bridge("string")
            .disconnected(false)
            .enabled(false)
            .firewall(false)
            .macAddress("string")
            .model("string")
            .mtu(0)
            .queues(0)
            .rateLimit(0)
            .trunks("string")
            .vlanId(0)
            .build())
        .numas(VirtualMachineNumaArgs.builder()
            .cpus("string")
            .device("string")
            .memory(0)
            .hostnodes("string")
            .policy("string")
            .build())
        .onBoot(false)
        .operatingSystem(VirtualMachineOperatingSystemArgs.builder()
            .type("string")
            .build())
        .poolId("string")
        .protection(false)
        .reboot(false)
        .scsiHardware("string")
        .serialDevices(VirtualMachineSerialDeviceArgs.builder()
            .device("string")
            .build())
        .smbios(VirtualMachineSmbiosArgs.builder()
            .family("string")
            .manufacturer("string")
            .product("string")
            .serial("string")
            .sku("string")
            .uuid("string")
            .version("string")
            .build())
        .started(false)
        .startup(VirtualMachineStartupArgs.builder()
            .downDelay(0)
            .order(0)
            .upDelay(0)
            .build())
        .stopOnDestroy(false)
        .tabletDevice(false)
        .tags("string")
        .template(false)
        .timeoutClone(0)
        .timeoutCreate(0)
        .timeoutMigrate(0)
        .timeoutReboot(0)
        .timeoutShutdownVm(0)
        .timeoutStartVm(0)
        .timeoutStopVm(0)
        .tpmState(VirtualMachineTpmStateArgs.builder()
            .datastoreId("string")
            .version("string")
            .build())
        .usbs(VirtualMachineUsbArgs.builder()
            .host("string")
            .mapping("string")
            .usb3(false)
            .build())
        .vga(VirtualMachineVgaArgs.builder()
            .enabled(false)
            .memory(0)
            .type("string")
            .build())
        .vmId(0)
        .build());
    
    virtual_machine_resource = proxmoxve.vm.VirtualMachine("virtualMachineResource",
        node_name="string",
        acpi=False,
        agent=proxmoxve.vm.VirtualMachineAgentArgs(
            enabled=False,
            timeout="string",
            trim=False,
            type="string",
        ),
        audio_device=proxmoxve.vm.VirtualMachineAudioDeviceArgs(
            device="string",
            driver="string",
            enabled=False,
        ),
        bios="string",
        boot_orders=["string"],
        cdrom=proxmoxve.vm.VirtualMachineCdromArgs(
            enabled=False,
            file_id="string",
            interface="string",
        ),
        clone=proxmoxve.vm.VirtualMachineCloneArgs(
            vm_id=0,
            datastore_id="string",
            full=False,
            node_name="string",
            retries=0,
        ),
        cpu=proxmoxve.vm.VirtualMachineCpuArgs(
            affinity="string",
            architecture="string",
            cores=0,
            flags=["string"],
            hotplugged=0,
            limit=0,
            numa=False,
            sockets=0,
            type="string",
            units=0,
        ),
        description="string",
        disks=[proxmoxve.vm.VirtualMachineDiskArgs(
            interface="string",
            file_id="string",
            cache="string",
            datastore_id="string",
            discard="string",
            file_format="string",
            aio="string",
            backup=False,
            iothread=False,
            path_in_datastore="string",
            replicate=False,
            size=0,
            speed=proxmoxve.vm.VirtualMachineDiskSpeedArgs(
                iops_read=0,
                iops_read_burstable=0,
                iops_write=0,
                iops_write_burstable=0,
                read=0,
                read_burstable=0,
                write=0,
                write_burstable=0,
            ),
            ssd=False,
        )],
        efi_disk=proxmoxve.vm.VirtualMachineEfiDiskArgs(
            datastore_id="string",
            file_format="string",
            pre_enrolled_keys=False,
            type="string",
        ),
        hook_script_file_id="string",
        hostpcis=[proxmoxve.vm.VirtualMachineHostpciArgs(
            device="string",
            id="string",
            mapping="string",
            mdev="string",
            pcie=False,
            rom_file="string",
            rombar=False,
            xvga=False,
        )],
        initialization=proxmoxve.vm.VirtualMachineInitializationArgs(
            datastore_id="string",
            dns=proxmoxve.vm.VirtualMachineInitializationDnsArgs(
                domain="string",
                servers=["string"],
            ),
            interface="string",
            ip_configs=[proxmoxve.vm.VirtualMachineInitializationIpConfigArgs(
                ipv4=proxmoxve.vm.VirtualMachineInitializationIpConfigIpv4Args(
                    address="string",
                    gateway="string",
                ),
                ipv6=proxmoxve.vm.VirtualMachineInitializationIpConfigIpv6Args(
                    address="string",
                    gateway="string",
                ),
            )],
            meta_data_file_id="string",
            network_data_file_id="string",
            type="string",
            upgrade=False,
            user_account=proxmoxve.vm.VirtualMachineInitializationUserAccountArgs(
                keys=["string"],
                password="string",
                username="string",
            ),
            user_data_file_id="string",
            vendor_data_file_id="string",
        ),
        keyboard_layout="string",
        kvm_arguments="string",
        mac_addresses=["string"],
        machine="string",
        memory=proxmoxve.vm.VirtualMachineMemoryArgs(
            dedicated=0,
            floating=0,
            hugepages="string",
            keep_hugepages=False,
            shared=0,
        ),
        migrate=False,
        name="string",
        network_devices=[proxmoxve.vm.VirtualMachineNetworkDeviceArgs(
            bridge="string",
            disconnected=False,
            enabled=False,
            firewall=False,
            mac_address="string",
            model="string",
            mtu=0,
            queues=0,
            rate_limit=0,
            trunks="string",
            vlan_id=0,
        )],
        numas=[proxmoxve.vm.VirtualMachineNumaArgs(
            cpus="string",
            device="string",
            memory=0,
            hostnodes="string",
            policy="string",
        )],
        on_boot=False,
        operating_system=proxmoxve.vm.VirtualMachineOperatingSystemArgs(
            type="string",
        ),
        pool_id="string",
        protection=False,
        reboot=False,
        scsi_hardware="string",
        serial_devices=[proxmoxve.vm.VirtualMachineSerialDeviceArgs(
            device="string",
        )],
        smbios=proxmoxve.vm.VirtualMachineSmbiosArgs(
            family="string",
            manufacturer="string",
            product="string",
            serial="string",
            sku="string",
            uuid="string",
            version="string",
        ),
        started=False,
        startup=proxmoxve.vm.VirtualMachineStartupArgs(
            down_delay=0,
            order=0,
            up_delay=0,
        ),
        stop_on_destroy=False,
        tablet_device=False,
        tags=["string"],
        template=False,
        timeout_clone=0,
        timeout_create=0,
        timeout_migrate=0,
        timeout_reboot=0,
        timeout_shutdown_vm=0,
        timeout_start_vm=0,
        timeout_stop_vm=0,
        tpm_state=proxmoxve.vm.VirtualMachineTpmStateArgs(
            datastore_id="string",
            version="string",
        ),
        usbs=[proxmoxve.vm.VirtualMachineUsbArgs(
            host="string",
            mapping="string",
            usb3=False,
        )],
        vga=proxmoxve.vm.VirtualMachineVgaArgs(
            enabled=False,
            memory=0,
            type="string",
        ),
        vm_id=0)
    
    const virtualMachineResource = new proxmoxve.vm.VirtualMachine("virtualMachineResource", {
        nodeName: "string",
        acpi: false,
        agent: {
            enabled: false,
            timeout: "string",
            trim: false,
            type: "string",
        },
        audioDevice: {
            device: "string",
            driver: "string",
            enabled: false,
        },
        bios: "string",
        bootOrders: ["string"],
        cdrom: {
            enabled: false,
            fileId: "string",
            "interface": "string",
        },
        clone: {
            vmId: 0,
            datastoreId: "string",
            full: false,
            nodeName: "string",
            retries: 0,
        },
        cpu: {
            affinity: "string",
            architecture: "string",
            cores: 0,
            flags: ["string"],
            hotplugged: 0,
            limit: 0,
            numa: false,
            sockets: 0,
            type: "string",
            units: 0,
        },
        description: "string",
        disks: [{
            "interface": "string",
            fileId: "string",
            cache: "string",
            datastoreId: "string",
            discard: "string",
            fileFormat: "string",
            aio: "string",
            backup: false,
            iothread: false,
            pathInDatastore: "string",
            replicate: false,
            size: 0,
            speed: {
                iopsRead: 0,
                iopsReadBurstable: 0,
                iopsWrite: 0,
                iopsWriteBurstable: 0,
                read: 0,
                readBurstable: 0,
                write: 0,
                writeBurstable: 0,
            },
            ssd: false,
        }],
        efiDisk: {
            datastoreId: "string",
            fileFormat: "string",
            preEnrolledKeys: false,
            type: "string",
        },
        hookScriptFileId: "string",
        hostpcis: [{
            device: "string",
            id: "string",
            mapping: "string",
            mdev: "string",
            pcie: false,
            romFile: "string",
            rombar: false,
            xvga: false,
        }],
        initialization: {
            datastoreId: "string",
            dns: {
                domain: "string",
                servers: ["string"],
            },
            "interface": "string",
            ipConfigs: [{
                ipv4: {
                    address: "string",
                    gateway: "string",
                },
                ipv6: {
                    address: "string",
                    gateway: "string",
                },
            }],
            metaDataFileId: "string",
            networkDataFileId: "string",
            type: "string",
            upgrade: false,
            userAccount: {
                keys: ["string"],
                password: "string",
                username: "string",
            },
            userDataFileId: "string",
            vendorDataFileId: "string",
        },
        keyboardLayout: "string",
        kvmArguments: "string",
        macAddresses: ["string"],
        machine: "string",
        memory: {
            dedicated: 0,
            floating: 0,
            hugepages: "string",
            keepHugepages: false,
            shared: 0,
        },
        migrate: false,
        name: "string",
        networkDevices: [{
            bridge: "string",
            disconnected: false,
            enabled: false,
            firewall: false,
            macAddress: "string",
            model: "string",
            mtu: 0,
            queues: 0,
            rateLimit: 0,
            trunks: "string",
            vlanId: 0,
        }],
        numas: [{
            cpus: "string",
            device: "string",
            memory: 0,
            hostnodes: "string",
            policy: "string",
        }],
        onBoot: false,
        operatingSystem: {
            type: "string",
        },
        poolId: "string",
        protection: false,
        reboot: false,
        scsiHardware: "string",
        serialDevices: [{
            device: "string",
        }],
        smbios: {
            family: "string",
            manufacturer: "string",
            product: "string",
            serial: "string",
            sku: "string",
            uuid: "string",
            version: "string",
        },
        started: false,
        startup: {
            downDelay: 0,
            order: 0,
            upDelay: 0,
        },
        stopOnDestroy: false,
        tabletDevice: false,
        tags: ["string"],
        template: false,
        timeoutClone: 0,
        timeoutCreate: 0,
        timeoutMigrate: 0,
        timeoutReboot: 0,
        timeoutShutdownVm: 0,
        timeoutStartVm: 0,
        timeoutStopVm: 0,
        tpmState: {
            datastoreId: "string",
            version: "string",
        },
        usbs: [{
            host: "string",
            mapping: "string",
            usb3: false,
        }],
        vga: {
            enabled: false,
            memory: 0,
            type: "string",
        },
        vmId: 0,
    });
    
    type: proxmoxve:VM:VirtualMachine
    properties:
        acpi: false
        agent:
            enabled: false
            timeout: string
            trim: false
            type: string
        audioDevice:
            device: string
            driver: string
            enabled: false
        bios: string
        bootOrders:
            - string
        cdrom:
            enabled: false
            fileId: string
            interface: string
        clone:
            datastoreId: string
            full: false
            nodeName: string
            retries: 0
            vmId: 0
        cpu:
            affinity: string
            architecture: string
            cores: 0
            flags:
                - string
            hotplugged: 0
            limit: 0
            numa: false
            sockets: 0
            type: string
            units: 0
        description: string
        disks:
            - aio: string
              backup: false
              cache: string
              datastoreId: string
              discard: string
              fileFormat: string
              fileId: string
              interface: string
              iothread: false
              pathInDatastore: string
              replicate: false
              size: 0
              speed:
                iopsRead: 0
                iopsReadBurstable: 0
                iopsWrite: 0
                iopsWriteBurstable: 0
                read: 0
                readBurstable: 0
                write: 0
                writeBurstable: 0
              ssd: false
        efiDisk:
            datastoreId: string
            fileFormat: string
            preEnrolledKeys: false
            type: string
        hookScriptFileId: string
        hostpcis:
            - device: string
              id: string
              mapping: string
              mdev: string
              pcie: false
              romFile: string
              rombar: false
              xvga: false
        initialization:
            datastoreId: string
            dns:
                domain: string
                servers:
                    - string
            interface: string
            ipConfigs:
                - ipv4:
                    address: string
                    gateway: string
                  ipv6:
                    address: string
                    gateway: string
            metaDataFileId: string
            networkDataFileId: string
            type: string
            upgrade: false
            userAccount:
                keys:
                    - string
                password: string
                username: string
            userDataFileId: string
            vendorDataFileId: string
        keyboardLayout: string
        kvmArguments: string
        macAddresses:
            - string
        machine: string
        memory:
            dedicated: 0
            floating: 0
            hugepages: string
            keepHugepages: false
            shared: 0
        migrate: false
        name: string
        networkDevices:
            - bridge: string
              disconnected: false
              enabled: false
              firewall: false
              macAddress: string
              model: string
              mtu: 0
              queues: 0
              rateLimit: 0
              trunks: string
              vlanId: 0
        nodeName: string
        numas:
            - cpus: string
              device: string
              hostnodes: string
              memory: 0
              policy: string
        onBoot: false
        operatingSystem:
            type: string
        poolId: string
        protection: false
        reboot: false
        scsiHardware: string
        serialDevices:
            - device: string
        smbios:
            family: string
            manufacturer: string
            product: string
            serial: string
            sku: string
            uuid: string
            version: string
        started: false
        startup:
            downDelay: 0
            order: 0
            upDelay: 0
        stopOnDestroy: false
        tabletDevice: false
        tags:
            - string
        template: false
        timeoutClone: 0
        timeoutCreate: 0
        timeoutMigrate: 0
        timeoutReboot: 0
        timeoutShutdownVm: 0
        timeoutStartVm: 0
        timeoutStopVm: 0
        tpmState:
            datastoreId: string
            version: string
        usbs:
            - host: string
              mapping: string
              usb3: false
        vga:
            enabled: false
            memory: 0
            type: string
        vmId: 0
    

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

    NodeName string
    The name of the node to assign the virtual machine to.
    Acpi bool
    Whether to enable ACPI (defaults to true).
    Agent Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineAgent
    The QEMU agent configuration.
    AudioDevice Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineAudioDevice
    An audio device.
    Bios string
    The BIOS implementation (defaults to seabios).
    BootOrders List<string>
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    Cdrom Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineCdrom
    The CDROM configuration.
    Clone Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineClone
    The cloning configuration.
    Cpu Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineCpu
    The CPU configuration.
    Description string
    The description.
    Disks List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineDisk>
    A disk (multiple blocks supported).
    EfiDisk Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineEfiDisk
    The efi disk device (required if bios is set to ovmf)
    HookScriptFileId string
    The identifier for a file containing a hook script (needs to be executable).
    Hostpcis List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineHostpci>
    A host PCI device mapping (multiple blocks supported).
    Initialization Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineInitialization
    The cloud-init configuration.
    KeyboardLayout string
    The keyboard layout (defaults to en-us).
    KvmArguments string
    Arbitrary arguments passed to kvm.
    MacAddresses List<string>
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    Machine string
    The VM machine type (defaults to pc).
    Memory Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineMemory
    The VGA memory in megabytes (defaults to 16).
    Migrate bool
    Migrate the VM on node change instead of re-creating it (defaults to false).
    Name string
    The virtual machine name.
    NetworkDevices List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineNetworkDevice>
    A network device (multiple blocks supported).
    Numas List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineNuma>
    The NUMA configuration.
    OnBoot bool
    Specifies whether a VM will be started during system boot. (defaults to true)
    OperatingSystem Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineOperatingSystem
    The Operating System configuration.
    PoolId string
    The identifier for a pool to assign the virtual machine to.
    Protection bool
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    Reboot bool
    Reboot the VM after initial creation. (defaults to false)
    ScsiHardware string
    The SCSI hardware type (defaults to virtio-scsi-pci).
    SerialDevices List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineSerialDevice>
    A serial device (multiple blocks supported).
    Smbios Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineSmbios
    The SMBIOS (type1) settings for the VM.
    Started bool
    Whether to start the virtual machine (defaults to true).
    Startup Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineStartup
    Defines startup and shutdown behavior of the VM.
    StopOnDestroy bool
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    TabletDevice bool
    Whether to enable the USB tablet device (defaults to true).
    Tags List<string>
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    TimeoutClone int
    Timeout for cloning a VM in seconds (defaults to 1800).
    TimeoutCreate int
    Timeout for creating a VM in seconds (defaults to 1800).
    TimeoutMigrate int
    Timeout for migrating the VM (defaults to 1800).
    TimeoutMoveDisk int
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    TimeoutReboot int
    Timeout for rebooting a VM in seconds (defaults to 1800).
    TimeoutShutdownVm int
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    TimeoutStartVm int
    Timeout for starting a VM in seconds (defaults to 1800).
    TimeoutStopVm int
    Timeout for stopping a VM in seconds (defaults to 300).
    TpmState Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineTpmState
    The TPM state device.
    Usbs List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineUsb>
    A host USB device mapping (multiple blocks supported).
    Vga Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineVga
    The VGA configuration.
    VmId int
    The VM identifier.
    NodeName string
    The name of the node to assign the virtual machine to.
    Acpi bool
    Whether to enable ACPI (defaults to true).
    Agent VirtualMachineAgentArgs
    The QEMU agent configuration.
    AudioDevice VirtualMachineAudioDeviceArgs
    An audio device.
    Bios string
    The BIOS implementation (defaults to seabios).
    BootOrders []string
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    Cdrom VirtualMachineCdromArgs
    The CDROM configuration.
    Clone VirtualMachineCloneArgs
    The cloning configuration.
    Cpu VirtualMachineCpuArgs
    The CPU configuration.
    Description string
    The description.
    Disks []VirtualMachineDiskArgs
    A disk (multiple blocks supported).
    EfiDisk VirtualMachineEfiDiskArgs
    The efi disk device (required if bios is set to ovmf)
    HookScriptFileId string
    The identifier for a file containing a hook script (needs to be executable).
    Hostpcis []VirtualMachineHostpciArgs
    A host PCI device mapping (multiple blocks supported).
    Initialization VirtualMachineInitializationArgs
    The cloud-init configuration.
    KeyboardLayout string
    The keyboard layout (defaults to en-us).
    KvmArguments string
    Arbitrary arguments passed to kvm.
    MacAddresses []string
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    Machine string
    The VM machine type (defaults to pc).
    Memory VirtualMachineMemoryArgs
    The VGA memory in megabytes (defaults to 16).
    Migrate bool
    Migrate the VM on node change instead of re-creating it (defaults to false).
    Name string
    The virtual machine name.
    NetworkDevices []VirtualMachineNetworkDeviceArgs
    A network device (multiple blocks supported).
    Numas []VirtualMachineNumaArgs
    The NUMA configuration.
    OnBoot bool
    Specifies whether a VM will be started during system boot. (defaults to true)
    OperatingSystem VirtualMachineOperatingSystemArgs
    The Operating System configuration.
    PoolId string
    The identifier for a pool to assign the virtual machine to.
    Protection bool
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    Reboot bool
    Reboot the VM after initial creation. (defaults to false)
    ScsiHardware string
    The SCSI hardware type (defaults to virtio-scsi-pci).
    SerialDevices []VirtualMachineSerialDeviceArgs
    A serial device (multiple blocks supported).
    Smbios VirtualMachineSmbiosArgs
    The SMBIOS (type1) settings for the VM.
    Started bool
    Whether to start the virtual machine (defaults to true).
    Startup VirtualMachineStartupArgs
    Defines startup and shutdown behavior of the VM.
    StopOnDestroy bool
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    TabletDevice bool
    Whether to enable the USB tablet device (defaults to true).
    Tags []string
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    TimeoutClone int
    Timeout for cloning a VM in seconds (defaults to 1800).
    TimeoutCreate int
    Timeout for creating a VM in seconds (defaults to 1800).
    TimeoutMigrate int
    Timeout for migrating the VM (defaults to 1800).
    TimeoutMoveDisk int
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    TimeoutReboot int
    Timeout for rebooting a VM in seconds (defaults to 1800).
    TimeoutShutdownVm int
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    TimeoutStartVm int
    Timeout for starting a VM in seconds (defaults to 1800).
    TimeoutStopVm int
    Timeout for stopping a VM in seconds (defaults to 300).
    TpmState VirtualMachineTpmStateArgs
    The TPM state device.
    Usbs []VirtualMachineUsbArgs
    A host USB device mapping (multiple blocks supported).
    Vga VirtualMachineVgaArgs
    The VGA configuration.
    VmId int
    The VM identifier.
    nodeName String
    The name of the node to assign the virtual machine to.
    acpi Boolean
    Whether to enable ACPI (defaults to true).
    agent VirtualMachineAgent
    The QEMU agent configuration.
    audioDevice VirtualMachineAudioDevice
    An audio device.
    bios String
    The BIOS implementation (defaults to seabios).
    bootOrders List<String>
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    cdrom VirtualMachineCdrom
    The CDROM configuration.
    clone_ VirtualMachineClone
    The cloning configuration.
    cpu VirtualMachineCpu
    The CPU configuration.
    description String
    The description.
    disks List<VirtualMachineDisk>
    A disk (multiple blocks supported).
    efiDisk VirtualMachineEfiDisk
    The efi disk device (required if bios is set to ovmf)
    hookScriptFileId String
    The identifier for a file containing a hook script (needs to be executable).
    hostpcis List<VirtualMachineHostpci>
    A host PCI device mapping (multiple blocks supported).
    initialization VirtualMachineInitialization
    The cloud-init configuration.
    keyboardLayout String
    The keyboard layout (defaults to en-us).
    kvmArguments String
    Arbitrary arguments passed to kvm.
    macAddresses List<String>
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    machine String
    The VM machine type (defaults to pc).
    memory VirtualMachineMemory
    The VGA memory in megabytes (defaults to 16).
    migrate Boolean
    Migrate the VM on node change instead of re-creating it (defaults to false).
    name String
    The virtual machine name.
    networkDevices List<VirtualMachineNetworkDevice>
    A network device (multiple blocks supported).
    numas List<VirtualMachineNuma>
    The NUMA configuration.
    onBoot Boolean
    Specifies whether a VM will be started during system boot. (defaults to true)
    operatingSystem VirtualMachineOperatingSystem
    The Operating System configuration.
    poolId String
    The identifier for a pool to assign the virtual machine to.
    protection Boolean
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    reboot Boolean
    Reboot the VM after initial creation. (defaults to false)
    scsiHardware String
    The SCSI hardware type (defaults to virtio-scsi-pci).
    serialDevices List<VirtualMachineSerialDevice>
    A serial device (multiple blocks supported).
    smbios VirtualMachineSmbios
    The SMBIOS (type1) settings for the VM.
    started Boolean
    Whether to start the virtual machine (defaults to true).
    startup VirtualMachineStartup
    Defines startup and shutdown behavior of the VM.
    stopOnDestroy Boolean
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    tabletDevice Boolean
    Whether to enable the USB tablet device (defaults to true).
    tags List<String>
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    timeoutClone Integer
    Timeout for cloning a VM in seconds (defaults to 1800).
    timeoutCreate Integer
    Timeout for creating a VM in seconds (defaults to 1800).
    timeoutMigrate Integer
    Timeout for migrating the VM (defaults to 1800).
    timeoutMoveDisk Integer
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    timeoutReboot Integer
    Timeout for rebooting a VM in seconds (defaults to 1800).
    timeoutShutdownVm Integer
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    timeoutStartVm Integer
    Timeout for starting a VM in seconds (defaults to 1800).
    timeoutStopVm Integer
    Timeout for stopping a VM in seconds (defaults to 300).
    tpmState VirtualMachineTpmState
    The TPM state device.
    usbs List<VirtualMachineUsb>
    A host USB device mapping (multiple blocks supported).
    vga VirtualMachineVga
    The VGA configuration.
    vmId Integer
    The VM identifier.
    nodeName string
    The name of the node to assign the virtual machine to.
    acpi boolean
    Whether to enable ACPI (defaults to true).
    agent VirtualMachineAgent
    The QEMU agent configuration.
    audioDevice VirtualMachineAudioDevice
    An audio device.
    bios string
    The BIOS implementation (defaults to seabios).
    bootOrders string[]
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    cdrom VirtualMachineCdrom
    The CDROM configuration.
    clone VirtualMachineClone
    The cloning configuration.
    cpu VirtualMachineCpu
    The CPU configuration.
    description string
    The description.
    disks VirtualMachineDisk[]
    A disk (multiple blocks supported).
    efiDisk VirtualMachineEfiDisk
    The efi disk device (required if bios is set to ovmf)
    hookScriptFileId string
    The identifier for a file containing a hook script (needs to be executable).
    hostpcis VirtualMachineHostpci[]
    A host PCI device mapping (multiple blocks supported).
    initialization VirtualMachineInitialization
    The cloud-init configuration.
    keyboardLayout string
    The keyboard layout (defaults to en-us).
    kvmArguments string
    Arbitrary arguments passed to kvm.
    macAddresses string[]
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    machine string
    The VM machine type (defaults to pc).
    memory VirtualMachineMemory
    The VGA memory in megabytes (defaults to 16).
    migrate boolean
    Migrate the VM on node change instead of re-creating it (defaults to false).
    name string
    The virtual machine name.
    networkDevices VirtualMachineNetworkDevice[]
    A network device (multiple blocks supported).
    numas VirtualMachineNuma[]
    The NUMA configuration.
    onBoot boolean
    Specifies whether a VM will be started during system boot. (defaults to true)
    operatingSystem VirtualMachineOperatingSystem
    The Operating System configuration.
    poolId string
    The identifier for a pool to assign the virtual machine to.
    protection boolean
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    reboot boolean
    Reboot the VM after initial creation. (defaults to false)
    scsiHardware string
    The SCSI hardware type (defaults to virtio-scsi-pci).
    serialDevices VirtualMachineSerialDevice[]
    A serial device (multiple blocks supported).
    smbios VirtualMachineSmbios
    The SMBIOS (type1) settings for the VM.
    started boolean
    Whether to start the virtual machine (defaults to true).
    startup VirtualMachineStartup
    Defines startup and shutdown behavior of the VM.
    stopOnDestroy boolean
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    tabletDevice boolean
    Whether to enable the USB tablet device (defaults to true).
    tags string[]
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    timeoutClone number
    Timeout for cloning a VM in seconds (defaults to 1800).
    timeoutCreate number
    Timeout for creating a VM in seconds (defaults to 1800).
    timeoutMigrate number
    Timeout for migrating the VM (defaults to 1800).
    timeoutMoveDisk number
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    timeoutReboot number
    Timeout for rebooting a VM in seconds (defaults to 1800).
    timeoutShutdownVm number
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    timeoutStartVm number
    Timeout for starting a VM in seconds (defaults to 1800).
    timeoutStopVm number
    Timeout for stopping a VM in seconds (defaults to 300).
    tpmState VirtualMachineTpmState
    The TPM state device.
    usbs VirtualMachineUsb[]
    A host USB device mapping (multiple blocks supported).
    vga VirtualMachineVga
    The VGA configuration.
    vmId number
    The VM identifier.
    node_name str
    The name of the node to assign the virtual machine to.
    acpi bool
    Whether to enable ACPI (defaults to true).
    agent vm.VirtualMachineAgentArgs
    The QEMU agent configuration.
    audio_device vm.VirtualMachineAudioDeviceArgs
    An audio device.
    bios str
    The BIOS implementation (defaults to seabios).
    boot_orders Sequence[str]
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    cdrom vm.VirtualMachineCdromArgs
    The CDROM configuration.
    clone vm.VirtualMachineCloneArgs
    The cloning configuration.
    cpu vm.VirtualMachineCpuArgs
    The CPU configuration.
    description str
    The description.
    disks Sequence[vm.VirtualMachineDiskArgs]
    A disk (multiple blocks supported).
    efi_disk vm.VirtualMachineEfiDiskArgs
    The efi disk device (required if bios is set to ovmf)
    hook_script_file_id str
    The identifier for a file containing a hook script (needs to be executable).
    hostpcis Sequence[vm.VirtualMachineHostpciArgs]
    A host PCI device mapping (multiple blocks supported).
    initialization vm.VirtualMachineInitializationArgs
    The cloud-init configuration.
    keyboard_layout str
    The keyboard layout (defaults to en-us).
    kvm_arguments str
    Arbitrary arguments passed to kvm.
    mac_addresses Sequence[str]
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    machine str
    The VM machine type (defaults to pc).
    memory vm.VirtualMachineMemoryArgs
    The VGA memory in megabytes (defaults to 16).
    migrate bool
    Migrate the VM on node change instead of re-creating it (defaults to false).
    name str
    The virtual machine name.
    network_devices Sequence[vm.VirtualMachineNetworkDeviceArgs]
    A network device (multiple blocks supported).
    numas Sequence[vm.VirtualMachineNumaArgs]
    The NUMA configuration.
    on_boot bool
    Specifies whether a VM will be started during system boot. (defaults to true)
    operating_system vm.VirtualMachineOperatingSystemArgs
    The Operating System configuration.
    pool_id str
    The identifier for a pool to assign the virtual machine to.
    protection bool
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    reboot bool
    Reboot the VM after initial creation. (defaults to false)
    scsi_hardware str
    The SCSI hardware type (defaults to virtio-scsi-pci).
    serial_devices Sequence[vm.VirtualMachineSerialDeviceArgs]
    A serial device (multiple blocks supported).
    smbios vm.VirtualMachineSmbiosArgs
    The SMBIOS (type1) settings for the VM.
    started bool
    Whether to start the virtual machine (defaults to true).
    startup vm.VirtualMachineStartupArgs
    Defines startup and shutdown behavior of the VM.
    stop_on_destroy bool
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    tablet_device bool
    Whether to enable the USB tablet device (defaults to true).
    tags Sequence[str]
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    timeout_clone int
    Timeout for cloning a VM in seconds (defaults to 1800).
    timeout_create int
    Timeout for creating a VM in seconds (defaults to 1800).
    timeout_migrate int
    Timeout for migrating the VM (defaults to 1800).
    timeout_move_disk int
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    timeout_reboot int
    Timeout for rebooting a VM in seconds (defaults to 1800).
    timeout_shutdown_vm int
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    timeout_start_vm int
    Timeout for starting a VM in seconds (defaults to 1800).
    timeout_stop_vm int
    Timeout for stopping a VM in seconds (defaults to 300).
    tpm_state vm.VirtualMachineTpmStateArgs
    The TPM state device.
    usbs Sequence[vm.VirtualMachineUsbArgs]
    A host USB device mapping (multiple blocks supported).
    vga vm.VirtualMachineVgaArgs
    The VGA configuration.
    vm_id int
    The VM identifier.
    nodeName String
    The name of the node to assign the virtual machine to.
    acpi Boolean
    Whether to enable ACPI (defaults to true).
    agent Property Map
    The QEMU agent configuration.
    audioDevice Property Map
    An audio device.
    bios String
    The BIOS implementation (defaults to seabios).
    bootOrders List<String>
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    cdrom Property Map
    The CDROM configuration.
    clone Property Map
    The cloning configuration.
    cpu Property Map
    The CPU configuration.
    description String
    The description.
    disks List<Property Map>
    A disk (multiple blocks supported).
    efiDisk Property Map
    The efi disk device (required if bios is set to ovmf)
    hookScriptFileId String
    The identifier for a file containing a hook script (needs to be executable).
    hostpcis List<Property Map>
    A host PCI device mapping (multiple blocks supported).
    initialization Property Map
    The cloud-init configuration.
    keyboardLayout String
    The keyboard layout (defaults to en-us).
    kvmArguments String
    Arbitrary arguments passed to kvm.
    macAddresses List<String>
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    machine String
    The VM machine type (defaults to pc).
    memory Property Map
    The VGA memory in megabytes (defaults to 16).
    migrate Boolean
    Migrate the VM on node change instead of re-creating it (defaults to false).
    name String
    The virtual machine name.
    networkDevices List<Property Map>
    A network device (multiple blocks supported).
    numas List<Property Map>
    The NUMA configuration.
    onBoot Boolean
    Specifies whether a VM will be started during system boot. (defaults to true)
    operatingSystem Property Map
    The Operating System configuration.
    poolId String
    The identifier for a pool to assign the virtual machine to.
    protection Boolean
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    reboot Boolean
    Reboot the VM after initial creation. (defaults to false)
    scsiHardware String
    The SCSI hardware type (defaults to virtio-scsi-pci).
    serialDevices List<Property Map>
    A serial device (multiple blocks supported).
    smbios Property Map
    The SMBIOS (type1) settings for the VM.
    started Boolean
    Whether to start the virtual machine (defaults to true).
    startup Property Map
    Defines startup and shutdown behavior of the VM.
    stopOnDestroy Boolean
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    tabletDevice Boolean
    Whether to enable the USB tablet device (defaults to true).
    tags List<String>
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    timeoutClone Number
    Timeout for cloning a VM in seconds (defaults to 1800).
    timeoutCreate Number
    Timeout for creating a VM in seconds (defaults to 1800).
    timeoutMigrate Number
    Timeout for migrating the VM (defaults to 1800).
    timeoutMoveDisk Number
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    timeoutReboot Number
    Timeout for rebooting a VM in seconds (defaults to 1800).
    timeoutShutdownVm Number
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    timeoutStartVm Number
    Timeout for starting a VM in seconds (defaults to 1800).
    timeoutStopVm Number
    Timeout for stopping a VM in seconds (defaults to 300).
    tpmState Property Map
    The TPM state device.
    usbs List<Property Map>
    A host USB device mapping (multiple blocks supported).
    vga Property Map
    The VGA configuration.
    vmId Number
    The VM identifier.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv4Addresses List<ImmutableArray<string>>
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    Ipv6Addresses List<ImmutableArray<string>>
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    NetworkInterfaceNames List<string>
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv4Addresses [][]string
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    Ipv6Addresses [][]string
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    NetworkInterfaceNames []string
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    id String
    The provider-assigned unique ID for this managed resource.
    ipv4Addresses List<List<String>>
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    ipv6Addresses List<List<String>>
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    networkInterfaceNames List<String>
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    id string
    The provider-assigned unique ID for this managed resource.
    ipv4Addresses string[][]
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    ipv6Addresses string[][]
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    networkInterfaceNames string[]
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    id str
    The provider-assigned unique ID for this managed resource.
    ipv4_addresses Sequence[Sequence[str]]
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    ipv6_addresses Sequence[Sequence[str]]
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    network_interface_names Sequence[str]
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    id String
    The provider-assigned unique ID for this managed resource.
    ipv4Addresses List<List<String>>
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    ipv6Addresses List<List<String>>
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    networkInterfaceNames List<String>
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)

    Look up Existing VirtualMachine Resource

    Get an existing VirtualMachine 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?: VirtualMachineState, opts?: CustomResourceOptions): VirtualMachine
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acpi: Optional[bool] = None,
            agent: Optional[_vm.VirtualMachineAgentArgs] = None,
            audio_device: Optional[_vm.VirtualMachineAudioDeviceArgs] = None,
            bios: Optional[str] = None,
            boot_orders: Optional[Sequence[str]] = None,
            cdrom: Optional[_vm.VirtualMachineCdromArgs] = None,
            clone: Optional[_vm.VirtualMachineCloneArgs] = None,
            cpu: Optional[_vm.VirtualMachineCpuArgs] = None,
            description: Optional[str] = None,
            disks: Optional[Sequence[_vm.VirtualMachineDiskArgs]] = None,
            efi_disk: Optional[_vm.VirtualMachineEfiDiskArgs] = None,
            hook_script_file_id: Optional[str] = None,
            hostpcis: Optional[Sequence[_vm.VirtualMachineHostpciArgs]] = None,
            initialization: Optional[_vm.VirtualMachineInitializationArgs] = None,
            ipv4_addresses: Optional[Sequence[Sequence[str]]] = None,
            ipv6_addresses: Optional[Sequence[Sequence[str]]] = None,
            keyboard_layout: Optional[str] = None,
            kvm_arguments: Optional[str] = None,
            mac_addresses: Optional[Sequence[str]] = None,
            machine: Optional[str] = None,
            memory: Optional[_vm.VirtualMachineMemoryArgs] = None,
            migrate: Optional[bool] = None,
            name: Optional[str] = None,
            network_devices: Optional[Sequence[_vm.VirtualMachineNetworkDeviceArgs]] = None,
            network_interface_names: Optional[Sequence[str]] = None,
            node_name: Optional[str] = None,
            numas: Optional[Sequence[_vm.VirtualMachineNumaArgs]] = None,
            on_boot: Optional[bool] = None,
            operating_system: Optional[_vm.VirtualMachineOperatingSystemArgs] = None,
            pool_id: Optional[str] = None,
            protection: Optional[bool] = None,
            reboot: Optional[bool] = None,
            scsi_hardware: Optional[str] = None,
            serial_devices: Optional[Sequence[_vm.VirtualMachineSerialDeviceArgs]] = None,
            smbios: Optional[_vm.VirtualMachineSmbiosArgs] = None,
            started: Optional[bool] = None,
            startup: Optional[_vm.VirtualMachineStartupArgs] = None,
            stop_on_destroy: Optional[bool] = None,
            tablet_device: Optional[bool] = None,
            tags: Optional[Sequence[str]] = None,
            template: Optional[bool] = None,
            timeout_clone: Optional[int] = None,
            timeout_create: Optional[int] = None,
            timeout_migrate: Optional[int] = None,
            timeout_move_disk: Optional[int] = None,
            timeout_reboot: Optional[int] = None,
            timeout_shutdown_vm: Optional[int] = None,
            timeout_start_vm: Optional[int] = None,
            timeout_stop_vm: Optional[int] = None,
            tpm_state: Optional[_vm.VirtualMachineTpmStateArgs] = None,
            usbs: Optional[Sequence[_vm.VirtualMachineUsbArgs]] = None,
            vga: Optional[_vm.VirtualMachineVgaArgs] = None,
            vm_id: Optional[int] = None) -> VirtualMachine
    func GetVirtualMachine(ctx *Context, name string, id IDInput, state *VirtualMachineState, opts ...ResourceOption) (*VirtualMachine, error)
    public static VirtualMachine Get(string name, Input<string> id, VirtualMachineState? state, CustomResourceOptions? opts = null)
    public static VirtualMachine get(String name, Output<String> id, VirtualMachineState 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:
    Acpi bool
    Whether to enable ACPI (defaults to true).
    Agent Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineAgent
    The QEMU agent configuration.
    AudioDevice Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineAudioDevice
    An audio device.
    Bios string
    The BIOS implementation (defaults to seabios).
    BootOrders List<string>
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    Cdrom Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineCdrom
    The CDROM configuration.
    Clone Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineClone
    The cloning configuration.
    Cpu Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineCpu
    The CPU configuration.
    Description string
    The description.
    Disks List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineDisk>
    A disk (multiple blocks supported).
    EfiDisk Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineEfiDisk
    The efi disk device (required if bios is set to ovmf)
    HookScriptFileId string
    The identifier for a file containing a hook script (needs to be executable).
    Hostpcis List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineHostpci>
    A host PCI device mapping (multiple blocks supported).
    Initialization Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineInitialization
    The cloud-init configuration.
    Ipv4Addresses List<ImmutableArray<string>>
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    Ipv6Addresses List<ImmutableArray<string>>
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    KeyboardLayout string
    The keyboard layout (defaults to en-us).
    KvmArguments string
    Arbitrary arguments passed to kvm.
    MacAddresses List<string>
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    Machine string
    The VM machine type (defaults to pc).
    Memory Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineMemory
    The VGA memory in megabytes (defaults to 16).
    Migrate bool
    Migrate the VM on node change instead of re-creating it (defaults to false).
    Name string
    The virtual machine name.
    NetworkDevices List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineNetworkDevice>
    A network device (multiple blocks supported).
    NetworkInterfaceNames List<string>
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    NodeName string
    The name of the node to assign the virtual machine to.
    Numas List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineNuma>
    The NUMA configuration.
    OnBoot bool
    Specifies whether a VM will be started during system boot. (defaults to true)
    OperatingSystem Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineOperatingSystem
    The Operating System configuration.
    PoolId string
    The identifier for a pool to assign the virtual machine to.
    Protection bool
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    Reboot bool
    Reboot the VM after initial creation. (defaults to false)
    ScsiHardware string
    The SCSI hardware type (defaults to virtio-scsi-pci).
    SerialDevices List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineSerialDevice>
    A serial device (multiple blocks supported).
    Smbios Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineSmbios
    The SMBIOS (type1) settings for the VM.
    Started bool
    Whether to start the virtual machine (defaults to true).
    Startup Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineStartup
    Defines startup and shutdown behavior of the VM.
    StopOnDestroy bool
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    TabletDevice bool
    Whether to enable the USB tablet device (defaults to true).
    Tags List<string>
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    TimeoutClone int
    Timeout for cloning a VM in seconds (defaults to 1800).
    TimeoutCreate int
    Timeout for creating a VM in seconds (defaults to 1800).
    TimeoutMigrate int
    Timeout for migrating the VM (defaults to 1800).
    TimeoutMoveDisk int
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    TimeoutReboot int
    Timeout for rebooting a VM in seconds (defaults to 1800).
    TimeoutShutdownVm int
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    TimeoutStartVm int
    Timeout for starting a VM in seconds (defaults to 1800).
    TimeoutStopVm int
    Timeout for stopping a VM in seconds (defaults to 300).
    TpmState Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineTpmState
    The TPM state device.
    Usbs List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineUsb>
    A host USB device mapping (multiple blocks supported).
    Vga Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineVga
    The VGA configuration.
    VmId int
    The VM identifier.
    Acpi bool
    Whether to enable ACPI (defaults to true).
    Agent VirtualMachineAgentArgs
    The QEMU agent configuration.
    AudioDevice VirtualMachineAudioDeviceArgs
    An audio device.
    Bios string
    The BIOS implementation (defaults to seabios).
    BootOrders []string
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    Cdrom VirtualMachineCdromArgs
    The CDROM configuration.
    Clone VirtualMachineCloneArgs
    The cloning configuration.
    Cpu VirtualMachineCpuArgs
    The CPU configuration.
    Description string
    The description.
    Disks []VirtualMachineDiskArgs
    A disk (multiple blocks supported).
    EfiDisk VirtualMachineEfiDiskArgs
    The efi disk device (required if bios is set to ovmf)
    HookScriptFileId string
    The identifier for a file containing a hook script (needs to be executable).
    Hostpcis []VirtualMachineHostpciArgs
    A host PCI device mapping (multiple blocks supported).
    Initialization VirtualMachineInitializationArgs
    The cloud-init configuration.
    Ipv4Addresses [][]string
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    Ipv6Addresses [][]string
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    KeyboardLayout string
    The keyboard layout (defaults to en-us).
    KvmArguments string
    Arbitrary arguments passed to kvm.
    MacAddresses []string
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    Machine string
    The VM machine type (defaults to pc).
    Memory VirtualMachineMemoryArgs
    The VGA memory in megabytes (defaults to 16).
    Migrate bool
    Migrate the VM on node change instead of re-creating it (defaults to false).
    Name string
    The virtual machine name.
    NetworkDevices []VirtualMachineNetworkDeviceArgs
    A network device (multiple blocks supported).
    NetworkInterfaceNames []string
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    NodeName string
    The name of the node to assign the virtual machine to.
    Numas []VirtualMachineNumaArgs
    The NUMA configuration.
    OnBoot bool
    Specifies whether a VM will be started during system boot. (defaults to true)
    OperatingSystem VirtualMachineOperatingSystemArgs
    The Operating System configuration.
    PoolId string
    The identifier for a pool to assign the virtual machine to.
    Protection bool
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    Reboot bool
    Reboot the VM after initial creation. (defaults to false)
    ScsiHardware string
    The SCSI hardware type (defaults to virtio-scsi-pci).
    SerialDevices []VirtualMachineSerialDeviceArgs
    A serial device (multiple blocks supported).
    Smbios VirtualMachineSmbiosArgs
    The SMBIOS (type1) settings for the VM.
    Started bool
    Whether to start the virtual machine (defaults to true).
    Startup VirtualMachineStartupArgs
    Defines startup and shutdown behavior of the VM.
    StopOnDestroy bool
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    TabletDevice bool
    Whether to enable the USB tablet device (defaults to true).
    Tags []string
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    TimeoutClone int
    Timeout for cloning a VM in seconds (defaults to 1800).
    TimeoutCreate int
    Timeout for creating a VM in seconds (defaults to 1800).
    TimeoutMigrate int
    Timeout for migrating the VM (defaults to 1800).
    TimeoutMoveDisk int
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    TimeoutReboot int
    Timeout for rebooting a VM in seconds (defaults to 1800).
    TimeoutShutdownVm int
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    TimeoutStartVm int
    Timeout for starting a VM in seconds (defaults to 1800).
    TimeoutStopVm int
    Timeout for stopping a VM in seconds (defaults to 300).
    TpmState VirtualMachineTpmStateArgs
    The TPM state device.
    Usbs []VirtualMachineUsbArgs
    A host USB device mapping (multiple blocks supported).
    Vga VirtualMachineVgaArgs
    The VGA configuration.
    VmId int
    The VM identifier.
    acpi Boolean
    Whether to enable ACPI (defaults to true).
    agent VirtualMachineAgent
    The QEMU agent configuration.
    audioDevice VirtualMachineAudioDevice
    An audio device.
    bios String
    The BIOS implementation (defaults to seabios).
    bootOrders List<String>
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    cdrom VirtualMachineCdrom
    The CDROM configuration.
    clone_ VirtualMachineClone
    The cloning configuration.
    cpu VirtualMachineCpu
    The CPU configuration.
    description String
    The description.
    disks List<VirtualMachineDisk>
    A disk (multiple blocks supported).
    efiDisk VirtualMachineEfiDisk
    The efi disk device (required if bios is set to ovmf)
    hookScriptFileId String
    The identifier for a file containing a hook script (needs to be executable).
    hostpcis List<VirtualMachineHostpci>
    A host PCI device mapping (multiple blocks supported).
    initialization VirtualMachineInitialization
    The cloud-init configuration.
    ipv4Addresses List<List<String>>
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    ipv6Addresses List<List<String>>
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    keyboardLayout String
    The keyboard layout (defaults to en-us).
    kvmArguments String
    Arbitrary arguments passed to kvm.
    macAddresses List<String>
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    machine String
    The VM machine type (defaults to pc).
    memory VirtualMachineMemory
    The VGA memory in megabytes (defaults to 16).
    migrate Boolean
    Migrate the VM on node change instead of re-creating it (defaults to false).
    name String
    The virtual machine name.
    networkDevices List<VirtualMachineNetworkDevice>
    A network device (multiple blocks supported).
    networkInterfaceNames List<String>
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    nodeName String
    The name of the node to assign the virtual machine to.
    numas List<VirtualMachineNuma>
    The NUMA configuration.
    onBoot Boolean
    Specifies whether a VM will be started during system boot. (defaults to true)
    operatingSystem VirtualMachineOperatingSystem
    The Operating System configuration.
    poolId String
    The identifier for a pool to assign the virtual machine to.
    protection Boolean
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    reboot Boolean
    Reboot the VM after initial creation. (defaults to false)
    scsiHardware String
    The SCSI hardware type (defaults to virtio-scsi-pci).
    serialDevices List<VirtualMachineSerialDevice>
    A serial device (multiple blocks supported).
    smbios VirtualMachineSmbios
    The SMBIOS (type1) settings for the VM.
    started Boolean
    Whether to start the virtual machine (defaults to true).
    startup VirtualMachineStartup
    Defines startup and shutdown behavior of the VM.
    stopOnDestroy Boolean
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    tabletDevice Boolean
    Whether to enable the USB tablet device (defaults to true).
    tags List<String>
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    timeoutClone Integer
    Timeout for cloning a VM in seconds (defaults to 1800).
    timeoutCreate Integer
    Timeout for creating a VM in seconds (defaults to 1800).
    timeoutMigrate Integer
    Timeout for migrating the VM (defaults to 1800).
    timeoutMoveDisk Integer
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    timeoutReboot Integer
    Timeout for rebooting a VM in seconds (defaults to 1800).
    timeoutShutdownVm Integer
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    timeoutStartVm Integer
    Timeout for starting a VM in seconds (defaults to 1800).
    timeoutStopVm Integer
    Timeout for stopping a VM in seconds (defaults to 300).
    tpmState VirtualMachineTpmState
    The TPM state device.
    usbs List<VirtualMachineUsb>
    A host USB device mapping (multiple blocks supported).
    vga VirtualMachineVga
    The VGA configuration.
    vmId Integer
    The VM identifier.
    acpi boolean
    Whether to enable ACPI (defaults to true).
    agent VirtualMachineAgent
    The QEMU agent configuration.
    audioDevice VirtualMachineAudioDevice
    An audio device.
    bios string
    The BIOS implementation (defaults to seabios).
    bootOrders string[]
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    cdrom VirtualMachineCdrom
    The CDROM configuration.
    clone VirtualMachineClone
    The cloning configuration.
    cpu VirtualMachineCpu
    The CPU configuration.
    description string
    The description.
    disks VirtualMachineDisk[]
    A disk (multiple blocks supported).
    efiDisk VirtualMachineEfiDisk
    The efi disk device (required if bios is set to ovmf)
    hookScriptFileId string
    The identifier for a file containing a hook script (needs to be executable).
    hostpcis VirtualMachineHostpci[]
    A host PCI device mapping (multiple blocks supported).
    initialization VirtualMachineInitialization
    The cloud-init configuration.
    ipv4Addresses string[][]
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    ipv6Addresses string[][]
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    keyboardLayout string
    The keyboard layout (defaults to en-us).
    kvmArguments string
    Arbitrary arguments passed to kvm.
    macAddresses string[]
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    machine string
    The VM machine type (defaults to pc).
    memory VirtualMachineMemory
    The VGA memory in megabytes (defaults to 16).
    migrate boolean
    Migrate the VM on node change instead of re-creating it (defaults to false).
    name string
    The virtual machine name.
    networkDevices VirtualMachineNetworkDevice[]
    A network device (multiple blocks supported).
    networkInterfaceNames string[]
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    nodeName string
    The name of the node to assign the virtual machine to.
    numas VirtualMachineNuma[]
    The NUMA configuration.
    onBoot boolean
    Specifies whether a VM will be started during system boot. (defaults to true)
    operatingSystem VirtualMachineOperatingSystem
    The Operating System configuration.
    poolId string
    The identifier for a pool to assign the virtual machine to.
    protection boolean
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    reboot boolean
    Reboot the VM after initial creation. (defaults to false)
    scsiHardware string
    The SCSI hardware type (defaults to virtio-scsi-pci).
    serialDevices VirtualMachineSerialDevice[]
    A serial device (multiple blocks supported).
    smbios VirtualMachineSmbios
    The SMBIOS (type1) settings for the VM.
    started boolean
    Whether to start the virtual machine (defaults to true).
    startup VirtualMachineStartup
    Defines startup and shutdown behavior of the VM.
    stopOnDestroy boolean
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    tabletDevice boolean
    Whether to enable the USB tablet device (defaults to true).
    tags string[]
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    timeoutClone number
    Timeout for cloning a VM in seconds (defaults to 1800).
    timeoutCreate number
    Timeout for creating a VM in seconds (defaults to 1800).
    timeoutMigrate number
    Timeout for migrating the VM (defaults to 1800).
    timeoutMoveDisk number
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    timeoutReboot number
    Timeout for rebooting a VM in seconds (defaults to 1800).
    timeoutShutdownVm number
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    timeoutStartVm number
    Timeout for starting a VM in seconds (defaults to 1800).
    timeoutStopVm number
    Timeout for stopping a VM in seconds (defaults to 300).
    tpmState VirtualMachineTpmState
    The TPM state device.
    usbs VirtualMachineUsb[]
    A host USB device mapping (multiple blocks supported).
    vga VirtualMachineVga
    The VGA configuration.
    vmId number
    The VM identifier.
    acpi bool
    Whether to enable ACPI (defaults to true).
    agent vm.VirtualMachineAgentArgs
    The QEMU agent configuration.
    audio_device vm.VirtualMachineAudioDeviceArgs
    An audio device.
    bios str
    The BIOS implementation (defaults to seabios).
    boot_orders Sequence[str]
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    cdrom vm.VirtualMachineCdromArgs
    The CDROM configuration.
    clone vm.VirtualMachineCloneArgs
    The cloning configuration.
    cpu vm.VirtualMachineCpuArgs
    The CPU configuration.
    description str
    The description.
    disks Sequence[vm.VirtualMachineDiskArgs]
    A disk (multiple blocks supported).
    efi_disk vm.VirtualMachineEfiDiskArgs
    The efi disk device (required if bios is set to ovmf)
    hook_script_file_id str
    The identifier for a file containing a hook script (needs to be executable).
    hostpcis Sequence[vm.VirtualMachineHostpciArgs]
    A host PCI device mapping (multiple blocks supported).
    initialization vm.VirtualMachineInitializationArgs
    The cloud-init configuration.
    ipv4_addresses Sequence[Sequence[str]]
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    ipv6_addresses Sequence[Sequence[str]]
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    keyboard_layout str
    The keyboard layout (defaults to en-us).
    kvm_arguments str
    Arbitrary arguments passed to kvm.
    mac_addresses Sequence[str]
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    machine str
    The VM machine type (defaults to pc).
    memory vm.VirtualMachineMemoryArgs
    The VGA memory in megabytes (defaults to 16).
    migrate bool
    Migrate the VM on node change instead of re-creating it (defaults to false).
    name str
    The virtual machine name.
    network_devices Sequence[vm.VirtualMachineNetworkDeviceArgs]
    A network device (multiple blocks supported).
    network_interface_names Sequence[str]
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    node_name str
    The name of the node to assign the virtual machine to.
    numas Sequence[vm.VirtualMachineNumaArgs]
    The NUMA configuration.
    on_boot bool
    Specifies whether a VM will be started during system boot. (defaults to true)
    operating_system vm.VirtualMachineOperatingSystemArgs
    The Operating System configuration.
    pool_id str
    The identifier for a pool to assign the virtual machine to.
    protection bool
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    reboot bool
    Reboot the VM after initial creation. (defaults to false)
    scsi_hardware str
    The SCSI hardware type (defaults to virtio-scsi-pci).
    serial_devices Sequence[vm.VirtualMachineSerialDeviceArgs]
    A serial device (multiple blocks supported).
    smbios vm.VirtualMachineSmbiosArgs
    The SMBIOS (type1) settings for the VM.
    started bool
    Whether to start the virtual machine (defaults to true).
    startup vm.VirtualMachineStartupArgs
    Defines startup and shutdown behavior of the VM.
    stop_on_destroy bool
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    tablet_device bool
    Whether to enable the USB tablet device (defaults to true).
    tags Sequence[str]
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    timeout_clone int
    Timeout for cloning a VM in seconds (defaults to 1800).
    timeout_create int
    Timeout for creating a VM in seconds (defaults to 1800).
    timeout_migrate int
    Timeout for migrating the VM (defaults to 1800).
    timeout_move_disk int
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    timeout_reboot int
    Timeout for rebooting a VM in seconds (defaults to 1800).
    timeout_shutdown_vm int
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    timeout_start_vm int
    Timeout for starting a VM in seconds (defaults to 1800).
    timeout_stop_vm int
    Timeout for stopping a VM in seconds (defaults to 300).
    tpm_state vm.VirtualMachineTpmStateArgs
    The TPM state device.
    usbs Sequence[vm.VirtualMachineUsbArgs]
    A host USB device mapping (multiple blocks supported).
    vga vm.VirtualMachineVgaArgs
    The VGA configuration.
    vm_id int
    The VM identifier.
    acpi Boolean
    Whether to enable ACPI (defaults to true).
    agent Property Map
    The QEMU agent configuration.
    audioDevice Property Map
    An audio device.
    bios String
    The BIOS implementation (defaults to seabios).
    bootOrders List<String>
    Specify a list of devices to boot from in the order they appear in the list (defaults to []).
    cdrom Property Map
    The CDROM configuration.
    clone Property Map
    The cloning configuration.
    cpu Property Map
    The CPU configuration.
    description String
    The description.
    disks List<Property Map>
    A disk (multiple blocks supported).
    efiDisk Property Map
    The efi disk device (required if bios is set to ovmf)
    hookScriptFileId String
    The identifier for a file containing a hook script (needs to be executable).
    hostpcis List<Property Map>
    A host PCI device mapping (multiple blocks supported).
    initialization Property Map
    The cloud-init configuration.
    ipv4Addresses List<List<String>>
    The IPv4 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    ipv6Addresses List<List<String>>
    The IPv6 addresses per network interface published by the QEMU agent (empty list when agent.enabled is false)
    keyboardLayout String
    The keyboard layout (defaults to en-us).
    kvmArguments String
    Arbitrary arguments passed to kvm.
    macAddresses List<String>
    The MAC addresses published by the QEMU agent with fallback to the network device configuration, if the agent is disabled
    machine String
    The VM machine type (defaults to pc).
    memory Property Map
    The VGA memory in megabytes (defaults to 16).
    migrate Boolean
    Migrate the VM on node change instead of re-creating it (defaults to false).
    name String
    The virtual machine name.
    networkDevices List<Property Map>
    A network device (multiple blocks supported).
    networkInterfaceNames List<String>
    The network interface names published by the QEMU agent (empty list when agent.enabled is false)
    nodeName String
    The name of the node to assign the virtual machine to.
    numas List<Property Map>
    The NUMA configuration.
    onBoot Boolean
    Specifies whether a VM will be started during system boot. (defaults to true)
    operatingSystem Property Map
    The Operating System configuration.
    poolId String
    The identifier for a pool to assign the virtual machine to.
    protection Boolean
    Sets the protection flag of the VM. This will disable the remove VM and remove disk operations (defaults to false).
    reboot Boolean
    Reboot the VM after initial creation. (defaults to false)
    scsiHardware String
    The SCSI hardware type (defaults to virtio-scsi-pci).
    serialDevices List<Property Map>
    A serial device (multiple blocks supported).
    smbios Property Map
    The SMBIOS (type1) settings for the VM.
    started Boolean
    Whether to start the virtual machine (defaults to true).
    startup Property Map
    Defines startup and shutdown behavior of the VM.
    stopOnDestroy Boolean
    Whether to stop rather than shutdown on VM destroy (defaults to false)
    tabletDevice Boolean
    Whether to enable the USB tablet device (defaults to true).
    tags List<String>
    A list of tags of the VM. This is only meta information ( defaults to []). Note: Proxmox always sorts the VM 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).
    timeoutClone Number
    Timeout for cloning a VM in seconds (defaults to 1800).
    timeoutCreate Number
    Timeout for creating a VM in seconds (defaults to 1800).
    timeoutMigrate Number
    Timeout for migrating the VM (defaults to 1800).
    timeoutMoveDisk Number
    MoveDisk timeout

    Deprecated: This field is deprecated and will be removed in a future release. An overall operation timeout (timeout_create / timeout_clone / timeout_migrate) is used instead.

    timeoutReboot Number
    Timeout for rebooting a VM in seconds (defaults to 1800).
    timeoutShutdownVm Number
    Timeout for shutting down a VM in seconds ( defaults to 1800).
    timeoutStartVm Number
    Timeout for starting a VM in seconds (defaults to 1800).
    timeoutStopVm Number
    Timeout for stopping a VM in seconds (defaults to 300).
    tpmState Property Map
    The TPM state device.
    usbs List<Property Map>
    A host USB device mapping (multiple blocks supported).
    vga Property Map
    The VGA configuration.
    vmId Number
    The VM identifier.

    Supporting Types

    VirtualMachineAgent, VirtualMachineAgentArgs

    Enabled bool
    Whether to enable the VGA device (defaults to true).
    Timeout string
    The maximum amount of time to wait for data from the QEMU agent to become available ( defaults to 15m).
    Trim bool
    Whether to enable the FSTRIM feature in the QEMU agent (defaults to false).
    Type string
    The VGA type (defaults to std).
    Enabled bool
    Whether to enable the VGA device (defaults to true).
    Timeout string
    The maximum amount of time to wait for data from the QEMU agent to become available ( defaults to 15m).
    Trim bool
    Whether to enable the FSTRIM feature in the QEMU agent (defaults to false).
    Type string
    The VGA type (defaults to std).
    enabled Boolean
    Whether to enable the VGA device (defaults to true).
    timeout String
    The maximum amount of time to wait for data from the QEMU agent to become available ( defaults to 15m).
    trim Boolean
    Whether to enable the FSTRIM feature in the QEMU agent (defaults to false).
    type String
    The VGA type (defaults to std).
    enabled boolean
    Whether to enable the VGA device (defaults to true).
    timeout string
    The maximum amount of time to wait for data from the QEMU agent to become available ( defaults to 15m).
    trim boolean
    Whether to enable the FSTRIM feature in the QEMU agent (defaults to false).
    type string
    The VGA type (defaults to std).
    enabled bool
    Whether to enable the VGA device (defaults to true).
    timeout str
    The maximum amount of time to wait for data from the QEMU agent to become available ( defaults to 15m).
    trim bool
    Whether to enable the FSTRIM feature in the QEMU agent (defaults to false).
    type str
    The VGA type (defaults to std).
    enabled Boolean
    Whether to enable the VGA device (defaults to true).
    timeout String
    The maximum amount of time to wait for data from the QEMU agent to become available ( defaults to 15m).
    trim Boolean
    Whether to enable the FSTRIM feature in the QEMU agent (defaults to false).
    type String
    The VGA type (defaults to std).

    VirtualMachineAudioDevice, VirtualMachineAudioDeviceArgs

    Device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    Driver string
    The driver (defaults to spice).
    Enabled bool
    Whether to enable the VGA device (defaults to true).
    Device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    Driver string
    The driver (defaults to spice).
    Enabled bool
    Whether to enable the VGA device (defaults to true).
    device String
    The device (defaults to socket).

    • /dev/* - A host serial device.
    driver String
    The driver (defaults to spice).
    enabled Boolean
    Whether to enable the VGA device (defaults to true).
    device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    driver string
    The driver (defaults to spice).
    enabled boolean
    Whether to enable the VGA device (defaults to true).
    device str
    The device (defaults to socket).

    • /dev/* - A host serial device.
    driver str
    The driver (defaults to spice).
    enabled bool
    Whether to enable the VGA device (defaults to true).
    device String
    The device (defaults to socket).

    • /dev/* - A host serial device.
    driver String
    The driver (defaults to spice).
    enabled Boolean
    Whether to enable the VGA device (defaults to true).

    VirtualMachineCdrom, VirtualMachineCdromArgs

    Enabled bool
    Whether to enable the VGA device (defaults to true).
    FileId string
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    Interface string
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    Enabled bool
    Whether to enable the VGA device (defaults to true).
    FileId string
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    Interface string
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    enabled Boolean
    Whether to enable the VGA device (defaults to true).
    fileId String
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    interface_ String
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    enabled boolean
    Whether to enable the VGA device (defaults to true).
    fileId string
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    interface string
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    enabled bool
    Whether to enable the VGA device (defaults to true).
    file_id str
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    interface str
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    enabled Boolean
    Whether to enable the VGA device (defaults to true).
    fileId String
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    interface String
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.

    VirtualMachineClone, VirtualMachineCloneArgs

    VmId int
    The VM identifier.
    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    Full bool
    Full or linked clone (defaults to true).
    NodeName string
    The name of the node to assign the virtual machine to.
    Retries int
    Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.
    VmId int
    The VM identifier.
    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    Full bool
    Full or linked clone (defaults to true).
    NodeName string
    The name of the node to assign the virtual machine to.
    Retries int
    Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.
    vmId Integer
    The VM identifier.
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    full Boolean
    Full or linked clone (defaults to true).
    nodeName String
    The name of the node to assign the virtual machine to.
    retries Integer
    Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.
    vmId number
    The VM identifier.
    datastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    full boolean
    Full or linked clone (defaults to true).
    nodeName string
    The name of the node to assign the virtual machine to.
    retries number
    Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.
    vm_id int
    The VM identifier.
    datastore_id str
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    full bool
    Full or linked clone (defaults to true).
    node_name str
    The name of the node to assign the virtual machine to.
    retries int
    Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.
    vmId Number
    The VM identifier.
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    full Boolean
    Full or linked clone (defaults to true).
    nodeName String
    The name of the node to assign the virtual machine to.
    retries Number
    Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.

    VirtualMachineCpu, VirtualMachineCpuArgs

    Affinity string
    The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based. For example, 0,1,2,3 (which also can be shortened to 0-3) means that the VM’s vCPUs are run on the first four CPU cores. Setting affinity is only allowed for root@pam authenticated user.
    Architecture string
    The CPU architecture (defaults to x86_64).
    Cores int
    The number of CPU cores (defaults to 1).
    Flags List<string>
    The CPU flags.

    • +aes/-aes - Activate AES instruction set for HW acceleration.
    • +amd-no-ssb/-amd-no-ssb - Notifies guest OS that host is not vulnerable for Spectre on AMD CPUs.
    • +amd-ssbd/-amd-ssbd - Improves Spectre mitigation performance with AMD CPUs, best used with "virt-ssbd".
    • +hv-evmcs/-hv-evmcs - Improve performance for nested virtualization (only supported on Intel CPUs).
    • +hv-tlbflush/-hv-tlbflush - Improve performance in overcommitted Windows guests (may lead to guest BSOD on old CPUs).
    • +ibpb/-ibpb - Allows improved Spectre mitigation on AMD CPUs.
    • +md-clear/-md-clear - Required to let the guest OS know if MDS is mitigated correctly.
    • +pcid/-pcid - Meltdown fix cost reduction on Westmere, Sandy- and Ivy Bridge Intel CPUs.
    • +pdpe1gb/-pdpe1gb - Allows guest OS to use 1 GB size pages, if host HW supports it.
    • +spec-ctrl/-spec-ctrl - Allows improved Spectre mitigation with Intel CPUs.
    • +ssbd/-ssbd - Protection for "Speculative Store Bypass" for Intel models.
    • +virt-ssbd/-virt-ssbd - Basis for "Speculative Store Bypass" protection for AMD models.
    Hotplugged int
    The number of hotplugged vCPUs (defaults to 0).
    Limit int
    Limit of CPU usage, 0...128. (defaults to 0 -- no limit).
    Numa bool
    The NUMA configuration.
    Sockets int
    The number of CPU sockets (defaults to 1).
    Type string
    The VGA type (defaults to std).
    Units int
    The CPU units (defaults to 1024).
    Affinity string
    The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based. For example, 0,1,2,3 (which also can be shortened to 0-3) means that the VM’s vCPUs are run on the first four CPU cores. Setting affinity is only allowed for root@pam authenticated user.
    Architecture string
    The CPU architecture (defaults to x86_64).
    Cores int
    The number of CPU cores (defaults to 1).
    Flags []string
    The CPU flags.

    • +aes/-aes - Activate AES instruction set for HW acceleration.
    • +amd-no-ssb/-amd-no-ssb - Notifies guest OS that host is not vulnerable for Spectre on AMD CPUs.
    • +amd-ssbd/-amd-ssbd - Improves Spectre mitigation performance with AMD CPUs, best used with "virt-ssbd".
    • +hv-evmcs/-hv-evmcs - Improve performance for nested virtualization (only supported on Intel CPUs).
    • +hv-tlbflush/-hv-tlbflush - Improve performance in overcommitted Windows guests (may lead to guest BSOD on old CPUs).
    • +ibpb/-ibpb - Allows improved Spectre mitigation on AMD CPUs.
    • +md-clear/-md-clear - Required to let the guest OS know if MDS is mitigated correctly.
    • +pcid/-pcid - Meltdown fix cost reduction on Westmere, Sandy- and Ivy Bridge Intel CPUs.
    • +pdpe1gb/-pdpe1gb - Allows guest OS to use 1 GB size pages, if host HW supports it.
    • +spec-ctrl/-spec-ctrl - Allows improved Spectre mitigation with Intel CPUs.
    • +ssbd/-ssbd - Protection for "Speculative Store Bypass" for Intel models.
    • +virt-ssbd/-virt-ssbd - Basis for "Speculative Store Bypass" protection for AMD models.
    Hotplugged int
    The number of hotplugged vCPUs (defaults to 0).
    Limit int
    Limit of CPU usage, 0...128. (defaults to 0 -- no limit).
    Numa bool
    The NUMA configuration.
    Sockets int
    The number of CPU sockets (defaults to 1).
    Type string
    The VGA type (defaults to std).
    Units int
    The CPU units (defaults to 1024).
    affinity String
    The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based. For example, 0,1,2,3 (which also can be shortened to 0-3) means that the VM’s vCPUs are run on the first four CPU cores. Setting affinity is only allowed for root@pam authenticated user.
    architecture String
    The CPU architecture (defaults to x86_64).
    cores Integer
    The number of CPU cores (defaults to 1).
    flags List<String>
    The CPU flags.

    • +aes/-aes - Activate AES instruction set for HW acceleration.
    • +amd-no-ssb/-amd-no-ssb - Notifies guest OS that host is not vulnerable for Spectre on AMD CPUs.
    • +amd-ssbd/-amd-ssbd - Improves Spectre mitigation performance with AMD CPUs, best used with "virt-ssbd".
    • +hv-evmcs/-hv-evmcs - Improve performance for nested virtualization (only supported on Intel CPUs).
    • +hv-tlbflush/-hv-tlbflush - Improve performance in overcommitted Windows guests (may lead to guest BSOD on old CPUs).
    • +ibpb/-ibpb - Allows improved Spectre mitigation on AMD CPUs.
    • +md-clear/-md-clear - Required to let the guest OS know if MDS is mitigated correctly.
    • +pcid/-pcid - Meltdown fix cost reduction on Westmere, Sandy- and Ivy Bridge Intel CPUs.
    • +pdpe1gb/-pdpe1gb - Allows guest OS to use 1 GB size pages, if host HW supports it.
    • +spec-ctrl/-spec-ctrl - Allows improved Spectre mitigation with Intel CPUs.
    • +ssbd/-ssbd - Protection for "Speculative Store Bypass" for Intel models.
    • +virt-ssbd/-virt-ssbd - Basis for "Speculative Store Bypass" protection for AMD models.
    hotplugged Integer
    The number of hotplugged vCPUs (defaults to 0).
    limit Integer
    Limit of CPU usage, 0...128. (defaults to 0 -- no limit).
    numa Boolean
    The NUMA configuration.
    sockets Integer
    The number of CPU sockets (defaults to 1).
    type String
    The VGA type (defaults to std).
    units Integer
    The CPU units (defaults to 1024).
    affinity string
    The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based. For example, 0,1,2,3 (which also can be shortened to 0-3) means that the VM’s vCPUs are run on the first four CPU cores. Setting affinity is only allowed for root@pam authenticated user.
    architecture string
    The CPU architecture (defaults to x86_64).
    cores number
    The number of CPU cores (defaults to 1).
    flags string[]
    The CPU flags.

    • +aes/-aes - Activate AES instruction set for HW acceleration.
    • +amd-no-ssb/-amd-no-ssb - Notifies guest OS that host is not vulnerable for Spectre on AMD CPUs.
    • +amd-ssbd/-amd-ssbd - Improves Spectre mitigation performance with AMD CPUs, best used with "virt-ssbd".
    • +hv-evmcs/-hv-evmcs - Improve performance for nested virtualization (only supported on Intel CPUs).
    • +hv-tlbflush/-hv-tlbflush - Improve performance in overcommitted Windows guests (may lead to guest BSOD on old CPUs).
    • +ibpb/-ibpb - Allows improved Spectre mitigation on AMD CPUs.
    • +md-clear/-md-clear - Required to let the guest OS know if MDS is mitigated correctly.
    • +pcid/-pcid - Meltdown fix cost reduction on Westmere, Sandy- and Ivy Bridge Intel CPUs.
    • +pdpe1gb/-pdpe1gb - Allows guest OS to use 1 GB size pages, if host HW supports it.
    • +spec-ctrl/-spec-ctrl - Allows improved Spectre mitigation with Intel CPUs.
    • +ssbd/-ssbd - Protection for "Speculative Store Bypass" for Intel models.
    • +virt-ssbd/-virt-ssbd - Basis for "Speculative Store Bypass" protection for AMD models.
    hotplugged number
    The number of hotplugged vCPUs (defaults to 0).
    limit number
    Limit of CPU usage, 0...128. (defaults to 0 -- no limit).
    numa boolean
    The NUMA configuration.
    sockets number
    The number of CPU sockets (defaults to 1).
    type string
    The VGA type (defaults to std).
    units number
    The CPU units (defaults to 1024).
    affinity str
    The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based. For example, 0,1,2,3 (which also can be shortened to 0-3) means that the VM’s vCPUs are run on the first four CPU cores. Setting affinity is only allowed for root@pam authenticated user.
    architecture str
    The CPU architecture (defaults to x86_64).
    cores int
    The number of CPU cores (defaults to 1).
    flags Sequence[str]
    The CPU flags.

    • +aes/-aes - Activate AES instruction set for HW acceleration.
    • +amd-no-ssb/-amd-no-ssb - Notifies guest OS that host is not vulnerable for Spectre on AMD CPUs.
    • +amd-ssbd/-amd-ssbd - Improves Spectre mitigation performance with AMD CPUs, best used with "virt-ssbd".
    • +hv-evmcs/-hv-evmcs - Improve performance for nested virtualization (only supported on Intel CPUs).
    • +hv-tlbflush/-hv-tlbflush - Improve performance in overcommitted Windows guests (may lead to guest BSOD on old CPUs).
    • +ibpb/-ibpb - Allows improved Spectre mitigation on AMD CPUs.
    • +md-clear/-md-clear - Required to let the guest OS know if MDS is mitigated correctly.
    • +pcid/-pcid - Meltdown fix cost reduction on Westmere, Sandy- and Ivy Bridge Intel CPUs.
    • +pdpe1gb/-pdpe1gb - Allows guest OS to use 1 GB size pages, if host HW supports it.
    • +spec-ctrl/-spec-ctrl - Allows improved Spectre mitigation with Intel CPUs.
    • +ssbd/-ssbd - Protection for "Speculative Store Bypass" for Intel models.
    • +virt-ssbd/-virt-ssbd - Basis for "Speculative Store Bypass" protection for AMD models.
    hotplugged int
    The number of hotplugged vCPUs (defaults to 0).
    limit int
    Limit of CPU usage, 0...128. (defaults to 0 -- no limit).
    numa bool
    The NUMA configuration.
    sockets int
    The number of CPU sockets (defaults to 1).
    type str
    The VGA type (defaults to std).
    units int
    The CPU units (defaults to 1024).
    affinity String
    The CPU cores that are used to run the VM’s vCPU. The value is a list of CPU IDs, separated by commas. The CPU IDs are zero-based. For example, 0,1,2,3 (which also can be shortened to 0-3) means that the VM’s vCPUs are run on the first four CPU cores. Setting affinity is only allowed for root@pam authenticated user.
    architecture String
    The CPU architecture (defaults to x86_64).
    cores Number
    The number of CPU cores (defaults to 1).
    flags List<String>
    The CPU flags.

    • +aes/-aes - Activate AES instruction set for HW acceleration.
    • +amd-no-ssb/-amd-no-ssb - Notifies guest OS that host is not vulnerable for Spectre on AMD CPUs.
    • +amd-ssbd/-amd-ssbd - Improves Spectre mitigation performance with AMD CPUs, best used with "virt-ssbd".
    • +hv-evmcs/-hv-evmcs - Improve performance for nested virtualization (only supported on Intel CPUs).
    • +hv-tlbflush/-hv-tlbflush - Improve performance in overcommitted Windows guests (may lead to guest BSOD on old CPUs).
    • +ibpb/-ibpb - Allows improved Spectre mitigation on AMD CPUs.
    • +md-clear/-md-clear - Required to let the guest OS know if MDS is mitigated correctly.
    • +pcid/-pcid - Meltdown fix cost reduction on Westmere, Sandy- and Ivy Bridge Intel CPUs.
    • +pdpe1gb/-pdpe1gb - Allows guest OS to use 1 GB size pages, if host HW supports it.
    • +spec-ctrl/-spec-ctrl - Allows improved Spectre mitigation with Intel CPUs.
    • +ssbd/-ssbd - Protection for "Speculative Store Bypass" for Intel models.
    • +virt-ssbd/-virt-ssbd - Basis for "Speculative Store Bypass" protection for AMD models.
    hotplugged Number
    The number of hotplugged vCPUs (defaults to 0).
    limit Number
    Limit of CPU usage, 0...128. (defaults to 0 -- no limit).
    numa Boolean
    The NUMA configuration.
    sockets Number
    The number of CPU sockets (defaults to 1).
    type String
    The VGA type (defaults to std).
    units Number
    The CPU units (defaults to 1024).

    VirtualMachineDisk, VirtualMachineDiskArgs

    Interface string
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    Aio string
    The disk AIO mode (defaults to io_uring).
    Backup bool
    Whether the drive should be included when making backups (defaults to true).
    Cache string
    The cache type (defaults to none).
    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    Discard string
    Whether to pass discard/trim requests to the underlying storage. Supported values are on/ignore (defaults to ignore).
    FileFormat string
    The file format.
    FileId string
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    Iothread bool
    Whether to use iothreads for this disk (defaults to false).
    PathInDatastore string
    The in-datastore path to the disk image. ***Experimental.***Use to attach another VM's disks, or (as root only) host's filesystem paths (datastore_id empty string). See "Example: Attached disks".
    Replicate bool
    Whether the drive should be considered for replication jobs (defaults to true).
    Size int
    The disk size in gigabytes (defaults to 8).
    Speed Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineDiskSpeed
    The speed limits.
    Ssd bool
    Whether to use an SSD emulation option for this disk ( defaults to false). Note that SSD emulation is not supported on VirtIO Block drives.
    Interface string
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    Aio string
    The disk AIO mode (defaults to io_uring).
    Backup bool
    Whether the drive should be included when making backups (defaults to true).
    Cache string
    The cache type (defaults to none).
    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    Discard string
    Whether to pass discard/trim requests to the underlying storage. Supported values are on/ignore (defaults to ignore).
    FileFormat string
    The file format.
    FileId string
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    Iothread bool
    Whether to use iothreads for this disk (defaults to false).
    PathInDatastore string
    The in-datastore path to the disk image. ***Experimental.***Use to attach another VM's disks, or (as root only) host's filesystem paths (datastore_id empty string). See "Example: Attached disks".
    Replicate bool
    Whether the drive should be considered for replication jobs (defaults to true).
    Size int
    The disk size in gigabytes (defaults to 8).
    Speed VirtualMachineDiskSpeed
    The speed limits.
    Ssd bool
    Whether to use an SSD emulation option for this disk ( defaults to false). Note that SSD emulation is not supported on VirtIO Block drives.
    interface_ String
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    aio String
    The disk AIO mode (defaults to io_uring).
    backup Boolean
    Whether the drive should be included when making backups (defaults to true).
    cache String
    The cache type (defaults to none).
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    discard String
    Whether to pass discard/trim requests to the underlying storage. Supported values are on/ignore (defaults to ignore).
    fileFormat String
    The file format.
    fileId String
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    iothread Boolean
    Whether to use iothreads for this disk (defaults to false).
    pathInDatastore String
    The in-datastore path to the disk image. ***Experimental.***Use to attach another VM's disks, or (as root only) host's filesystem paths (datastore_id empty string). See "Example: Attached disks".
    replicate Boolean
    Whether the drive should be considered for replication jobs (defaults to true).
    size Integer
    The disk size in gigabytes (defaults to 8).
    speed VirtualMachineDiskSpeed
    The speed limits.
    ssd Boolean
    Whether to use an SSD emulation option for this disk ( defaults to false). Note that SSD emulation is not supported on VirtIO Block drives.
    interface string
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    aio string
    The disk AIO mode (defaults to io_uring).
    backup boolean
    Whether the drive should be included when making backups (defaults to true).
    cache string
    The cache type (defaults to none).
    datastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    discard string
    Whether to pass discard/trim requests to the underlying storage. Supported values are on/ignore (defaults to ignore).
    fileFormat string
    The file format.
    fileId string
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    iothread boolean
    Whether to use iothreads for this disk (defaults to false).
    pathInDatastore string
    The in-datastore path to the disk image. ***Experimental.***Use to attach another VM's disks, or (as root only) host's filesystem paths (datastore_id empty string). See "Example: Attached disks".
    replicate boolean
    Whether the drive should be considered for replication jobs (defaults to true).
    size number
    The disk size in gigabytes (defaults to 8).
    speed VirtualMachineDiskSpeed
    The speed limits.
    ssd boolean
    Whether to use an SSD emulation option for this disk ( defaults to false). Note that SSD emulation is not supported on VirtIO Block drives.
    interface str
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    aio str
    The disk AIO mode (defaults to io_uring).
    backup bool
    Whether the drive should be included when making backups (defaults to true).
    cache str
    The cache type (defaults to none).
    datastore_id str
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    discard str
    Whether to pass discard/trim requests to the underlying storage. Supported values are on/ignore (defaults to ignore).
    file_format str
    The file format.
    file_id str
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    iothread bool
    Whether to use iothreads for this disk (defaults to false).
    path_in_datastore str
    The in-datastore path to the disk image. ***Experimental.***Use to attach another VM's disks, or (as root only) host's filesystem paths (datastore_id empty string). See "Example: Attached disks".
    replicate bool
    Whether the drive should be considered for replication jobs (defaults to true).
    size int
    The disk size in gigabytes (defaults to 8).
    speed vm.VirtualMachineDiskSpeed
    The speed limits.
    ssd bool
    Whether to use an SSD emulation option for this disk ( defaults to false). Note that SSD emulation is not supported on VirtIO Block drives.
    interface String
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    aio String
    The disk AIO mode (defaults to io_uring).
    backup Boolean
    Whether the drive should be included when making backups (defaults to true).
    cache String
    The cache type (defaults to none).
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    discard String
    Whether to pass discard/trim requests to the underlying storage. Supported values are on/ignore (defaults to ignore).
    fileFormat String
    The file format.
    fileId String
    The file ID for a disk image (experimental - might cause high CPU utilization during import, especially with large disk images).
    iothread Boolean
    Whether to use iothreads for this disk (defaults to false).
    pathInDatastore String
    The in-datastore path to the disk image. ***Experimental.***Use to attach another VM's disks, or (as root only) host's filesystem paths (datastore_id empty string). See "Example: Attached disks".
    replicate Boolean
    Whether the drive should be considered for replication jobs (defaults to true).
    size Number
    The disk size in gigabytes (defaults to 8).
    speed Property Map
    The speed limits.
    ssd Boolean
    Whether to use an SSD emulation option for this disk ( defaults to false). Note that SSD emulation is not supported on VirtIO Block drives.

    VirtualMachineDiskSpeed, VirtualMachineDiskSpeedArgs

    IopsRead int
    The maximum read I/O in operations per second.
    IopsReadBurstable int
    The maximum unthrottled read I/O pool in operations per second.
    IopsWrite int
    The maximum write I/O in operations per second.
    IopsWriteBurstable int
    The maximum unthrottled write I/O pool in operations per second.
    Read int
    The maximum read speed in megabytes per second.
    ReadBurstable int
    The maximum burstable read speed in megabytes per second.
    Write int
    The maximum write speed in megabytes per second.
    WriteBurstable int
    The maximum burstable write speed in megabytes per second.
    IopsRead int
    The maximum read I/O in operations per second.
    IopsReadBurstable int
    The maximum unthrottled read I/O pool in operations per second.
    IopsWrite int
    The maximum write I/O in operations per second.
    IopsWriteBurstable int
    The maximum unthrottled write I/O pool in operations per second.
    Read int
    The maximum read speed in megabytes per second.
    ReadBurstable int
    The maximum burstable read speed in megabytes per second.
    Write int
    The maximum write speed in megabytes per second.
    WriteBurstable int
    The maximum burstable write speed in megabytes per second.
    iopsRead Integer
    The maximum read I/O in operations per second.
    iopsReadBurstable Integer
    The maximum unthrottled read I/O pool in operations per second.
    iopsWrite Integer
    The maximum write I/O in operations per second.
    iopsWriteBurstable Integer
    The maximum unthrottled write I/O pool in operations per second.
    read Integer
    The maximum read speed in megabytes per second.
    readBurstable Integer
    The maximum burstable read speed in megabytes per second.
    write Integer
    The maximum write speed in megabytes per second.
    writeBurstable Integer
    The maximum burstable write speed in megabytes per second.
    iopsRead number
    The maximum read I/O in operations per second.
    iopsReadBurstable number
    The maximum unthrottled read I/O pool in operations per second.
    iopsWrite number
    The maximum write I/O in operations per second.
    iopsWriteBurstable number
    The maximum unthrottled write I/O pool in operations per second.
    read number
    The maximum read speed in megabytes per second.
    readBurstable number
    The maximum burstable read speed in megabytes per second.
    write number
    The maximum write speed in megabytes per second.
    writeBurstable number
    The maximum burstable write speed in megabytes per second.
    iops_read int
    The maximum read I/O in operations per second.
    iops_read_burstable int
    The maximum unthrottled read I/O pool in operations per second.
    iops_write int
    The maximum write I/O in operations per second.
    iops_write_burstable int
    The maximum unthrottled write I/O pool in operations per second.
    read int
    The maximum read speed in megabytes per second.
    read_burstable int
    The maximum burstable read speed in megabytes per second.
    write int
    The maximum write speed in megabytes per second.
    write_burstable int
    The maximum burstable write speed in megabytes per second.
    iopsRead Number
    The maximum read I/O in operations per second.
    iopsReadBurstable Number
    The maximum unthrottled read I/O pool in operations per second.
    iopsWrite Number
    The maximum write I/O in operations per second.
    iopsWriteBurstable Number
    The maximum unthrottled write I/O pool in operations per second.
    read Number
    The maximum read speed in megabytes per second.
    readBurstable Number
    The maximum burstable read speed in megabytes per second.
    write Number
    The maximum write speed in megabytes per second.
    writeBurstable Number
    The maximum burstable write speed in megabytes per second.

    VirtualMachineEfiDisk, VirtualMachineEfiDiskArgs

    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    FileFormat string
    The file format.
    PreEnrolledKeys bool
    Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with EFI type=4m. Ignored for VMs with cpu.architecture=aarch64 (defaults to false).
    Type string
    The VGA type (defaults to std).
    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    FileFormat string
    The file format.
    PreEnrolledKeys bool
    Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with EFI type=4m. Ignored for VMs with cpu.architecture=aarch64 (defaults to false).
    Type string
    The VGA type (defaults to std).
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    fileFormat String
    The file format.
    preEnrolledKeys Boolean
    Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with EFI type=4m. Ignored for VMs with cpu.architecture=aarch64 (defaults to false).
    type String
    The VGA type (defaults to std).
    datastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    fileFormat string
    The file format.
    preEnrolledKeys boolean
    Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with EFI type=4m. Ignored for VMs with cpu.architecture=aarch64 (defaults to false).
    type string
    The VGA type (defaults to std).
    datastore_id str
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    file_format str
    The file format.
    pre_enrolled_keys bool
    Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with EFI type=4m. Ignored for VMs with cpu.architecture=aarch64 (defaults to false).
    type str
    The VGA type (defaults to std).
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    fileFormat String
    The file format.
    preEnrolledKeys Boolean
    Use am EFI vars template with distribution-specific and Microsoft Standard keys enrolled, if used with EFI type=4m. Ignored for VMs with cpu.architecture=aarch64 (defaults to false).
    type String
    The VGA type (defaults to std).

    VirtualMachineHostpci, VirtualMachineHostpciArgs

    Device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    Id string
    The PCI device ID. This parameter is not compatible with api_token and requires the root username and password configured in the proxmox provider. Use either this or mapping.
    Mapping string
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    Mdev string
    The mediated device ID to use.
    Pcie bool
    Tells Proxmox to use a PCIe or PCI port. Some guests/device combination require PCIe rather than PCI. PCIe is only available for q35 machine types.
    RomFile string
    A path to a ROM file for the device to use. This is a relative path under /usr/share/kvm/.
    Rombar bool
    Makes the firmware ROM visible for the VM (defaults to true).
    Xvga bool
    Marks the PCI(e) device as the primary GPU of the VM. With this enabled the vga configuration argument will be ignored.
    Device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    Id string
    The PCI device ID. This parameter is not compatible with api_token and requires the root username and password configured in the proxmox provider. Use either this or mapping.
    Mapping string
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    Mdev string
    The mediated device ID to use.
    Pcie bool
    Tells Proxmox to use a PCIe or PCI port. Some guests/device combination require PCIe rather than PCI. PCIe is only available for q35 machine types.
    RomFile string
    A path to a ROM file for the device to use. This is a relative path under /usr/share/kvm/.
    Rombar bool
    Makes the firmware ROM visible for the VM (defaults to true).
    Xvga bool
    Marks the PCI(e) device as the primary GPU of the VM. With this enabled the vga configuration argument will be ignored.
    device String
    The device (defaults to socket).

    • /dev/* - A host serial device.
    id String
    The PCI device ID. This parameter is not compatible with api_token and requires the root username and password configured in the proxmox provider. Use either this or mapping.
    mapping String
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    mdev String
    The mediated device ID to use.
    pcie Boolean
    Tells Proxmox to use a PCIe or PCI port. Some guests/device combination require PCIe rather than PCI. PCIe is only available for q35 machine types.
    romFile String
    A path to a ROM file for the device to use. This is a relative path under /usr/share/kvm/.
    rombar Boolean
    Makes the firmware ROM visible for the VM (defaults to true).
    xvga Boolean
    Marks the PCI(e) device as the primary GPU of the VM. With this enabled the vga configuration argument will be ignored.
    device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    id string
    The PCI device ID. This parameter is not compatible with api_token and requires the root username and password configured in the proxmox provider. Use either this or mapping.
    mapping string
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    mdev string
    The mediated device ID to use.
    pcie boolean
    Tells Proxmox to use a PCIe or PCI port. Some guests/device combination require PCIe rather than PCI. PCIe is only available for q35 machine types.
    romFile string
    A path to a ROM file for the device to use. This is a relative path under /usr/share/kvm/.
    rombar boolean
    Makes the firmware ROM visible for the VM (defaults to true).
    xvga boolean
    Marks the PCI(e) device as the primary GPU of the VM. With this enabled the vga configuration argument will be ignored.
    device str
    The device (defaults to socket).

    • /dev/* - A host serial device.
    id str
    The PCI device ID. This parameter is not compatible with api_token and requires the root username and password configured in the proxmox provider. Use either this or mapping.
    mapping str
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    mdev str
    The mediated device ID to use.
    pcie bool
    Tells Proxmox to use a PCIe or PCI port. Some guests/device combination require PCIe rather than PCI. PCIe is only available for q35 machine types.
    rom_file str
    A path to a ROM file for the device to use. This is a relative path under /usr/share/kvm/.
    rombar bool
    Makes the firmware ROM visible for the VM (defaults to true).
    xvga bool
    Marks the PCI(e) device as the primary GPU of the VM. With this enabled the vga configuration argument will be ignored.
    device String
    The device (defaults to socket).

    • /dev/* - A host serial device.
    id String
    The PCI device ID. This parameter is not compatible with api_token and requires the root username and password configured in the proxmox provider. Use either this or mapping.
    mapping String
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    mdev String
    The mediated device ID to use.
    pcie Boolean
    Tells Proxmox to use a PCIe or PCI port. Some guests/device combination require PCIe rather than PCI. PCIe is only available for q35 machine types.
    romFile String
    A path to a ROM file for the device to use. This is a relative path under /usr/share/kvm/.
    rombar Boolean
    Makes the firmware ROM visible for the VM (defaults to true).
    xvga Boolean
    Marks the PCI(e) device as the primary GPU of the VM. With this enabled the vga configuration argument will be ignored.

    VirtualMachineInitialization, VirtualMachineInitializationArgs

    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    Dns Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineInitializationDns
    The DNS configuration.
    Interface string
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    IpConfigs List<Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineInitializationIpConfig>
    The IP configuration (one block per network device).
    MetaDataFileId string
    The identifier for a file containing all meta data passed to the VM via cloud-init.
    NetworkDataFileId string
    The identifier for a file containing network configuration data passed to the VM via cloud-init (conflicts with ip_config).
    Type string
    The VGA type (defaults to std).
    Upgrade bool
    Whether to do an automatic package upgrade after the first boot (defaults to true).
    UserAccount Pulumi.ProxmoxVE.VM.Inputs.VirtualMachineInitializationUserAccount
    The user account configuration (conflicts with user_data_file_id).
    UserDataFileId string
    The identifier for a file containing custom user data (conflicts with user_account).
    VendorDataFileId string
    The identifier for a file containing all vendor data passed to the VM via cloud-init.
    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    Dns VirtualMachineInitializationDns
    The DNS configuration.
    Interface string
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    IpConfigs []VirtualMachineInitializationIpConfig
    The IP configuration (one block per network device).
    MetaDataFileId string
    The identifier for a file containing all meta data passed to the VM via cloud-init.
    NetworkDataFileId string
    The identifier for a file containing network configuration data passed to the VM via cloud-init (conflicts with ip_config).
    Type string
    The VGA type (defaults to std).
    Upgrade bool
    Whether to do an automatic package upgrade after the first boot (defaults to true).
    UserAccount VirtualMachineInitializationUserAccount
    The user account configuration (conflicts with user_data_file_id).
    UserDataFileId string
    The identifier for a file containing custom user data (conflicts with user_account).
    VendorDataFileId string
    The identifier for a file containing all vendor data passed to the VM via cloud-init.
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    dns VirtualMachineInitializationDns
    The DNS configuration.
    interface_ String
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    ipConfigs List<VirtualMachineInitializationIpConfig>
    The IP configuration (one block per network device).
    metaDataFileId String
    The identifier for a file containing all meta data passed to the VM via cloud-init.
    networkDataFileId String
    The identifier for a file containing network configuration data passed to the VM via cloud-init (conflicts with ip_config).
    type String
    The VGA type (defaults to std).
    upgrade Boolean
    Whether to do an automatic package upgrade after the first boot (defaults to true).
    userAccount VirtualMachineInitializationUserAccount
    The user account configuration (conflicts with user_data_file_id).
    userDataFileId String
    The identifier for a file containing custom user data (conflicts with user_account).
    vendorDataFileId String
    The identifier for a file containing all vendor data passed to the VM via cloud-init.
    datastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    dns VirtualMachineInitializationDns
    The DNS configuration.
    interface string
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    ipConfigs VirtualMachineInitializationIpConfig[]
    The IP configuration (one block per network device).
    metaDataFileId string
    The identifier for a file containing all meta data passed to the VM via cloud-init.
    networkDataFileId string
    The identifier for a file containing network configuration data passed to the VM via cloud-init (conflicts with ip_config).
    type string
    The VGA type (defaults to std).
    upgrade boolean
    Whether to do an automatic package upgrade after the first boot (defaults to true).
    userAccount VirtualMachineInitializationUserAccount
    The user account configuration (conflicts with user_data_file_id).
    userDataFileId string
    The identifier for a file containing custom user data (conflicts with user_account).
    vendorDataFileId string
    The identifier for a file containing all vendor data passed to the VM via cloud-init.
    datastore_id str
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    dns vm.VirtualMachineInitializationDns
    The DNS configuration.
    interface str
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    ip_configs Sequence[vm.VirtualMachineInitializationIpConfig]
    The IP configuration (one block per network device).
    meta_data_file_id str
    The identifier for a file containing all meta data passed to the VM via cloud-init.
    network_data_file_id str
    The identifier for a file containing network configuration data passed to the VM via cloud-init (conflicts with ip_config).
    type str
    The VGA type (defaults to std).
    upgrade bool
    Whether to do an automatic package upgrade after the first boot (defaults to true).
    user_account vm.VirtualMachineInitializationUserAccount
    The user account configuration (conflicts with user_data_file_id).
    user_data_file_id str
    The identifier for a file containing custom user data (conflicts with user_account).
    vendor_data_file_id str
    The identifier for a file containing all vendor data passed to the VM via cloud-init.
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    dns Property Map
    The DNS configuration.
    interface String
    The hardware interface to connect the cloud-init image to. Must be one of ide0..3, sata0..5, scsi0..30. Will be detected if the setting is missing but a cloud-init image is present, otherwise defaults to ide2.
    ipConfigs List<Property Map>
    The IP configuration (one block per network device).
    metaDataFileId String
    The identifier for a file containing all meta data passed to the VM via cloud-init.
    networkDataFileId String
    The identifier for a file containing network configuration data passed to the VM via cloud-init (conflicts with ip_config).
    type String
    The VGA type (defaults to std).
    upgrade Boolean
    Whether to do an automatic package upgrade after the first boot (defaults to true).
    userAccount Property Map
    The user account configuration (conflicts with user_data_file_id).
    userDataFileId String
    The identifier for a file containing custom user data (conflicts with user_account).
    vendorDataFileId String
    The identifier for a file containing all vendor data passed to the VM via cloud-init.

    VirtualMachineInitializationDns, VirtualMachineInitializationDnsArgs

    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.

    VirtualMachineInitializationIpConfig, VirtualMachineInitializationIpConfigArgs

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

    VirtualMachineInitializationIpConfigIpv4, VirtualMachineInitializationIpConfigIpv4Args

    Address string
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    Gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    Address string
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    Gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address String
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    gateway String
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address string
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address str
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    gateway str
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address String
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    gateway String
    The IPv6 gateway (must be omitted when dhcp is used as the address).

    VirtualMachineInitializationIpConfigIpv6, VirtualMachineInitializationIpConfigIpv6Args

    Address string
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    Gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    Address string
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    Gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address String
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    gateway String
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address string
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    gateway string
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address str
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    gateway str
    The IPv6 gateway (must be omitted when dhcp is used as the address).
    address String
    The IPv6 address in CIDR notation (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this to dhcp for autodiscovery.
    gateway String
    The IPv6 gateway (must be omitted when dhcp is used as the address).

    VirtualMachineInitializationUserAccount, VirtualMachineInitializationUserAccountArgs

    Keys List<string>
    The SSH keys.
    Password string
    The SSH password.
    Username string
    The SSH username.
    Keys []string
    The SSH keys.
    Password string
    The SSH password.
    Username string
    The SSH username.
    keys List<String>
    The SSH keys.
    password String
    The SSH password.
    username String
    The SSH username.
    keys string[]
    The SSH keys.
    password string
    The SSH password.
    username string
    The SSH username.
    keys Sequence[str]
    The SSH keys.
    password str
    The SSH password.
    username str
    The SSH username.
    keys List<String>
    The SSH keys.
    password String
    The SSH password.
    username String
    The SSH username.

    VirtualMachineMemory, VirtualMachineMemoryArgs

    Dedicated int
    The dedicated memory in megabytes (defaults to 512).
    Floating int
    The floating memory in megabytes (defaults to 0).
    Hugepages string
    Enable/disable hugepages memory (defaults to disable).
    KeepHugepages bool

    Keep hugepages memory after the VM is stopped (defaults to false).

    Settings hugepages and keep_hugepages are only allowed for root@pam authenticated user. And required cpu.numa to be enabled.

    Shared int
    The shared memory in megabytes (defaults to 0).
    Dedicated int
    The dedicated memory in megabytes (defaults to 512).
    Floating int
    The floating memory in megabytes (defaults to 0).
    Hugepages string
    Enable/disable hugepages memory (defaults to disable).
    KeepHugepages bool

    Keep hugepages memory after the VM is stopped (defaults to false).

    Settings hugepages and keep_hugepages are only allowed for root@pam authenticated user. And required cpu.numa to be enabled.

    Shared int
    The shared memory in megabytes (defaults to 0).
    dedicated Integer
    The dedicated memory in megabytes (defaults to 512).
    floating Integer
    The floating memory in megabytes (defaults to 0).
    hugepages String
    Enable/disable hugepages memory (defaults to disable).
    keepHugepages Boolean

    Keep hugepages memory after the VM is stopped (defaults to false).

    Settings hugepages and keep_hugepages are only allowed for root@pam authenticated user. And required cpu.numa to be enabled.

    shared Integer
    The shared memory in megabytes (defaults to 0).
    dedicated number
    The dedicated memory in megabytes (defaults to 512).
    floating number
    The floating memory in megabytes (defaults to 0).
    hugepages string
    Enable/disable hugepages memory (defaults to disable).
    keepHugepages boolean

    Keep hugepages memory after the VM is stopped (defaults to false).

    Settings hugepages and keep_hugepages are only allowed for root@pam authenticated user. And required cpu.numa to be enabled.

    shared number
    The shared memory in megabytes (defaults to 0).
    dedicated int
    The dedicated memory in megabytes (defaults to 512).
    floating int
    The floating memory in megabytes (defaults to 0).
    hugepages str
    Enable/disable hugepages memory (defaults to disable).
    keep_hugepages bool

    Keep hugepages memory after the VM is stopped (defaults to false).

    Settings hugepages and keep_hugepages are only allowed for root@pam authenticated user. And required cpu.numa to be enabled.

    shared int
    The shared memory in megabytes (defaults to 0).
    dedicated Number
    The dedicated memory in megabytes (defaults to 512).
    floating Number
    The floating memory in megabytes (defaults to 0).
    hugepages String
    Enable/disable hugepages memory (defaults to disable).
    keepHugepages Boolean

    Keep hugepages memory after the VM is stopped (defaults to false).

    Settings hugepages and keep_hugepages are only allowed for root@pam authenticated user. And required cpu.numa to be enabled.

    shared Number
    The shared memory in megabytes (defaults to 0).

    VirtualMachineNetworkDevice, VirtualMachineNetworkDeviceArgs

    Bridge string
    The name of the network bridge (defaults to vmbr0).
    Disconnected bool
    Whether to disconnect the network device from the network (defaults to false).
    Enabled bool
    Whether to enable the VGA device (defaults to true).
    Firewall bool
    Whether this interface's firewall rules should be used (defaults to false).
    MacAddress string
    The MAC address.
    Model string
    The network device model (defaults to virtio).
    Mtu int
    Force MTU, for VirtIO only. Set to 1 to use the bridge MTU. Cannot be larger than the bridge MTU.
    Queues int
    The number of queues for VirtIO (1..64).
    RateLimit double
    The rate limit in megabytes per second.
    Trunks string
    String containing a ; separated list of VLAN trunks ("10;20;30"). Note that the VLAN-aware feature need to be enabled on the PVE Linux Bridge to use trunks.
    VlanId int
    The VLAN identifier.
    Bridge string
    The name of the network bridge (defaults to vmbr0).
    Disconnected bool
    Whether to disconnect the network device from the network (defaults to false).
    Enabled bool
    Whether to enable the VGA device (defaults to true).
    Firewall bool
    Whether this interface's firewall rules should be used (defaults to false).
    MacAddress string
    The MAC address.
    Model string
    The network device model (defaults to virtio).
    Mtu int
    Force MTU, for VirtIO only. Set to 1 to use the bridge MTU. Cannot be larger than the bridge MTU.
    Queues int
    The number of queues for VirtIO (1..64).
    RateLimit float64
    The rate limit in megabytes per second.
    Trunks string
    String containing a ; separated list of VLAN trunks ("10;20;30"). Note that the VLAN-aware feature need to be enabled on the PVE Linux Bridge to use trunks.
    VlanId int
    The VLAN identifier.
    bridge String
    The name of the network bridge (defaults to vmbr0).
    disconnected Boolean
    Whether to disconnect the network device from the network (defaults to false).
    enabled Boolean
    Whether to enable the VGA device (defaults to true).
    firewall Boolean
    Whether this interface's firewall rules should be used (defaults to false).
    macAddress String
    The MAC address.
    model String
    The network device model (defaults to virtio).
    mtu Integer
    Force MTU, for VirtIO only. Set to 1 to use the bridge MTU. Cannot be larger than the bridge MTU.
    queues Integer
    The number of queues for VirtIO (1..64).
    rateLimit Double
    The rate limit in megabytes per second.
    trunks String
    String containing a ; separated list of VLAN trunks ("10;20;30"). Note that the VLAN-aware feature need to be enabled on the PVE Linux Bridge to use trunks.
    vlanId Integer
    The VLAN identifier.
    bridge string
    The name of the network bridge (defaults to vmbr0).
    disconnected boolean
    Whether to disconnect the network device from the network (defaults to false).
    enabled boolean
    Whether to enable the VGA device (defaults to true).
    firewall boolean
    Whether this interface's firewall rules should be used (defaults to false).
    macAddress string
    The MAC address.
    model string
    The network device model (defaults to virtio).
    mtu number
    Force MTU, for VirtIO only. Set to 1 to use the bridge MTU. Cannot be larger than the bridge MTU.
    queues number
    The number of queues for VirtIO (1..64).
    rateLimit number
    The rate limit in megabytes per second.
    trunks string
    String containing a ; separated list of VLAN trunks ("10;20;30"). Note that the VLAN-aware feature need to be enabled on the PVE Linux Bridge to use trunks.
    vlanId number
    The VLAN identifier.
    bridge str
    The name of the network bridge (defaults to vmbr0).
    disconnected bool
    Whether to disconnect the network device from the network (defaults to false).
    enabled bool
    Whether to enable the VGA device (defaults to true).
    firewall bool
    Whether this interface's firewall rules should be used (defaults to false).
    mac_address str
    The MAC address.
    model str
    The network device model (defaults to virtio).
    mtu int
    Force MTU, for VirtIO only. Set to 1 to use the bridge MTU. Cannot be larger than the bridge MTU.
    queues int
    The number of queues for VirtIO (1..64).
    rate_limit float
    The rate limit in megabytes per second.
    trunks str
    String containing a ; separated list of VLAN trunks ("10;20;30"). Note that the VLAN-aware feature need to be enabled on the PVE Linux Bridge to use trunks.
    vlan_id int
    The VLAN identifier.
    bridge String
    The name of the network bridge (defaults to vmbr0).
    disconnected Boolean
    Whether to disconnect the network device from the network (defaults to false).
    enabled Boolean
    Whether to enable the VGA device (defaults to true).
    firewall Boolean
    Whether this interface's firewall rules should be used (defaults to false).
    macAddress String
    The MAC address.
    model String
    The network device model (defaults to virtio).
    mtu Number
    Force MTU, for VirtIO only. Set to 1 to use the bridge MTU. Cannot be larger than the bridge MTU.
    queues Number
    The number of queues for VirtIO (1..64).
    rateLimit Number
    The rate limit in megabytes per second.
    trunks String
    String containing a ; separated list of VLAN trunks ("10;20;30"). Note that the VLAN-aware feature need to be enabled on the PVE Linux Bridge to use trunks.
    vlanId Number
    The VLAN identifier.

    VirtualMachineNuma, VirtualMachineNumaArgs

    Cpus string
    The CPU cores to assign to the NUMA node (format is 0-7;16-31).
    Device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    Memory int
    The VGA memory in megabytes (defaults to 16).
    Hostnodes string
    The NUMA host nodes.
    Policy string
    The NUMA policy (defaults to preferred).
    Cpus string
    The CPU cores to assign to the NUMA node (format is 0-7;16-31).
    Device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    Memory int
    The VGA memory in megabytes (defaults to 16).
    Hostnodes string
    The NUMA host nodes.
    Policy string
    The NUMA policy (defaults to preferred).
    cpus String
    The CPU cores to assign to the NUMA node (format is 0-7;16-31).
    device String
    The device (defaults to socket).

    • /dev/* - A host serial device.
    memory Integer
    The VGA memory in megabytes (defaults to 16).
    hostnodes String
    The NUMA host nodes.
    policy String
    The NUMA policy (defaults to preferred).
    cpus string
    The CPU cores to assign to the NUMA node (format is 0-7;16-31).
    device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    memory number
    The VGA memory in megabytes (defaults to 16).
    hostnodes string
    The NUMA host nodes.
    policy string
    The NUMA policy (defaults to preferred).
    cpus str
    The CPU cores to assign to the NUMA node (format is 0-7;16-31).
    device str
    The device (defaults to socket).

    • /dev/* - A host serial device.
    memory int
    The VGA memory in megabytes (defaults to 16).
    hostnodes str
    The NUMA host nodes.
    policy str
    The NUMA policy (defaults to preferred).
    cpus String
    The CPU cores to assign to the NUMA node (format is 0-7;16-31).
    device String
    The device (defaults to socket).

    • /dev/* - A host serial device.
    memory Number
    The VGA memory in megabytes (defaults to 16).
    hostnodes String
    The NUMA host nodes.
    policy String
    The NUMA policy (defaults to preferred).

    VirtualMachineOperatingSystem, VirtualMachineOperatingSystemArgs

    Type string
    The VGA type (defaults to std).
    Type string
    The VGA type (defaults to std).
    type String
    The VGA type (defaults to std).
    type string
    The VGA type (defaults to std).
    type str
    The VGA type (defaults to std).
    type String
    The VGA type (defaults to std).

    VirtualMachineSerialDevice, VirtualMachineSerialDeviceArgs

    Device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    Device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    device String
    The device (defaults to socket).

    • /dev/* - A host serial device.
    device string
    The device (defaults to socket).

    • /dev/* - A host serial device.
    device str
    The device (defaults to socket).

    • /dev/* - A host serial device.
    device String
    The device (defaults to socket).

    • /dev/* - A host serial device.

    VirtualMachineSmbios, VirtualMachineSmbiosArgs

    Family string
    The family string.
    Manufacturer string
    The manufacturer.
    Product string
    The product ID.
    Serial string
    The serial number.
    Sku string
    The SKU number.
    Uuid string
    The UUID (defaults to randomly generated UUID).
    Version string
    The version.
    Family string
    The family string.
    Manufacturer string
    The manufacturer.
    Product string
    The product ID.
    Serial string
    The serial number.
    Sku string
    The SKU number.
    Uuid string
    The UUID (defaults to randomly generated UUID).
    Version string
    The version.
    family String
    The family string.
    manufacturer String
    The manufacturer.
    product String
    The product ID.
    serial String
    The serial number.
    sku String
    The SKU number.
    uuid String
    The UUID (defaults to randomly generated UUID).
    version String
    The version.
    family string
    The family string.
    manufacturer string
    The manufacturer.
    product string
    The product ID.
    serial string
    The serial number.
    sku string
    The SKU number.
    uuid string
    The UUID (defaults to randomly generated UUID).
    version string
    The version.
    family str
    The family string.
    manufacturer str
    The manufacturer.
    product str
    The product ID.
    serial str
    The serial number.
    sku str
    The SKU number.
    uuid str
    The UUID (defaults to randomly generated UUID).
    version str
    The version.
    family String
    The family string.
    manufacturer String
    The manufacturer.
    product String
    The product ID.
    serial String
    The serial number.
    sku String
    The SKU number.
    uuid String
    The UUID (defaults to randomly generated UUID).
    version String
    The version.

    VirtualMachineStartup, VirtualMachineStartupArgs

    DownDelay int
    A non-negative number defining the delay in seconds before the next VM 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 VM is started.
    DownDelay int
    A non-negative number defining the delay in seconds before the next VM 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 VM is started.
    downDelay Integer
    A non-negative number defining the delay in seconds before the next VM 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 VM is started.
    downDelay number
    A non-negative number defining the delay in seconds before the next VM 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 VM is started.
    down_delay int
    A non-negative number defining the delay in seconds before the next VM 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 VM is started.
    downDelay Number
    A non-negative number defining the delay in seconds before the next VM 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 VM is started.

    VirtualMachineTpmState, VirtualMachineTpmStateArgs

    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    Version string
    The version.
    DatastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    Version string
    The version.
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    version String
    The version.
    datastoreId string
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    version string
    The version.
    datastore_id str
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    version str
    The version.
    datastoreId String
    The identifier for the datastore to create the cloud-init disk in (defaults to local-lvm).
    version String
    The version.

    VirtualMachineUsb, VirtualMachineUsbArgs

    Host string
    The USB device ID. Use either this or mapping.
    Mapping string
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    Usb3 bool
    Makes the USB device a USB3 device for the VM (defaults to false).
    Host string
    The USB device ID. Use either this or mapping.
    Mapping string
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    Usb3 bool
    Makes the USB device a USB3 device for the VM (defaults to false).
    host String
    The USB device ID. Use either this or mapping.
    mapping String
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    usb3 Boolean
    Makes the USB device a USB3 device for the VM (defaults to false).
    host string
    The USB device ID. Use either this or mapping.
    mapping string
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    usb3 boolean
    Makes the USB device a USB3 device for the VM (defaults to false).
    host str
    The USB device ID. Use either this or mapping.
    mapping str
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    usb3 bool
    Makes the USB device a USB3 device for the VM (defaults to false).
    host String
    The USB device ID. Use either this or mapping.
    mapping String
    The resource mapping name of the device, for example usbdevice. Use either this or id.
    usb3 Boolean
    Makes the USB device a USB3 device for the VM (defaults to false).

    VirtualMachineVga, VirtualMachineVgaArgs

    Enabled bool
    Whether to enable the VGA device (defaults to true).
    Memory int
    The VGA memory in megabytes (defaults to 16).
    Type string
    The VGA type (defaults to std).
    Enabled bool
    Whether to enable the VGA device (defaults to true).
    Memory int
    The VGA memory in megabytes (defaults to 16).
    Type string
    The VGA type (defaults to std).
    enabled Boolean
    Whether to enable the VGA device (defaults to true).
    memory Integer
    The VGA memory in megabytes (defaults to 16).
    type String
    The VGA type (defaults to std).
    enabled boolean
    Whether to enable the VGA device (defaults to true).
    memory number
    The VGA memory in megabytes (defaults to 16).
    type string
    The VGA type (defaults to std).
    enabled bool
    Whether to enable the VGA device (defaults to true).
    memory int
    The VGA memory in megabytes (defaults to 16).
    type str
    The VGA type (defaults to std).
    enabled Boolean
    Whether to enable the VGA device (defaults to true).
    memory Number
    The VGA memory in megabytes (defaults to 16).
    type String
    The VGA type (defaults to std).

    Import

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

    bash

    $ pulumi import proxmoxve:VM/virtualMachine:VirtualMachine ubuntu_vm first-node/4321
    

    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 proxmox Terraform Provider.
    proxmoxve logo
    Proxmox Virtual Environment (Proxmox VE) v6.4.1 published on Sunday, Apr 21, 2024 by Daniel Muehlbachler-Pietrzykowski