proxmoxve.VM.VirtualMachine
Explore with Pulumi AI
 
Manages a virtual machine.
This resource uses SSH access to the node. You might need to configure the
sshoption in theprovidersection.
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,
                   watchdog: Optional[_vm.VirtualMachineWatchdogArgs] = 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.
Constructor 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",
            Iothread = false,
            DatastoreId = "string",
            Discard = "string",
            FileFormat = "string",
            Aio = "string",
            Backup = false,
            Cache = "string",
            PathInDatastore = "string",
            Replicate = false,
            Serial = "string",
            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",
        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
    {
        Clipboard = "string",
        Memory = 0,
        Type = "string",
    },
    VmId = 0,
    Watchdog = new ProxmoxVE.VM.Inputs.VirtualMachineWatchdogArgs
    {
        Action = "string",
        Enabled = false,
        Model = "string",
    },
});
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"),
			Iothread:        pulumi.Bool(false),
			DatastoreId:     pulumi.String("string"),
			Discard:         pulumi.String("string"),
			FileFormat:      pulumi.String("string"),
			Aio:             pulumi.String("string"),
			Backup:          pulumi.Bool(false),
			Cache:           pulumi.String("string"),
			PathInDatastore: pulumi.String("string"),
			Replicate:       pulumi.Bool(false),
			Serial:          pulumi.String("string"),
			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"),
		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{
		Clipboard: pulumi.String("string"),
		Memory:    pulumi.Int(0),
		Type:      pulumi.String("string"),
	},
	VmId: pulumi.Int(0),
	Watchdog: &vm.VirtualMachineWatchdogArgs{
		Action:  pulumi.String("string"),
		Enabled: pulumi.Bool(false),
		Model:   pulumi.String("string"),
	},
})
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")
        .iothread(false)
        .datastoreId("string")
        .discard("string")
        .fileFormat("string")
        .aio("string")
        .backup(false)
        .cache("string")
        .pathInDatastore("string")
        .replicate(false)
        .serial("string")
        .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")
        .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()
        .clipboard("string")
        .memory(0)
        .type("string")
        .build())
    .vmId(0)
    .watchdog(VirtualMachineWatchdogArgs.builder()
        .action("string")
        .enabled(false)
        .model("string")
        .build())
    .build());
virtual_machine_resource = proxmoxve.vm.VirtualMachine("virtualMachineResource",
    node_name="string",
    acpi=False,
    agent={
        "enabled": False,
        "timeout": "string",
        "trim": False,
        "type": "string",
    },
    audio_device={
        "device": "string",
        "driver": "string",
        "enabled": False,
    },
    bios="string",
    boot_orders=["string"],
    cdrom={
        "enabled": False,
        "file_id": "string",
        "interface": "string",
    },
    clone={
        "vm_id": 0,
        "datastore_id": "string",
        "full": False,
        "node_name": "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",
        "file_id": "string",
        "iothread": False,
        "datastore_id": "string",
        "discard": "string",
        "file_format": "string",
        "aio": "string",
        "backup": False,
        "cache": "string",
        "path_in_datastore": "string",
        "replicate": False,
        "serial": "string",
        "size": 0,
        "speed": {
            "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={
        "datastore_id": "string",
        "file_format": "string",
        "pre_enrolled_keys": False,
        "type": "string",
    },
    hook_script_file_id="string",
    hostpcis=[{
        "device": "string",
        "id": "string",
        "mapping": "string",
        "mdev": "string",
        "pcie": False,
        "rom_file": "string",
        "rombar": False,
        "xvga": False,
    }],
    initialization={
        "datastore_id": "string",
        "dns": {
            "domain": "string",
            "servers": ["string"],
        },
        "interface": "string",
        "ip_configs": [{
            "ipv4": {
                "address": "string",
                "gateway": "string",
            },
            "ipv6": {
                "address": "string",
                "gateway": "string",
            },
        }],
        "meta_data_file_id": "string",
        "network_data_file_id": "string",
        "type": "string",
        "user_account": {
            "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={
        "dedicated": 0,
        "floating": 0,
        "hugepages": "string",
        "keep_hugepages": False,
        "shared": 0,
    },
    migrate=False,
    name="string",
    network_devices=[{
        "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=[{
        "cpus": "string",
        "device": "string",
        "memory": 0,
        "hostnodes": "string",
        "policy": "string",
    }],
    on_boot=False,
    operating_system={
        "type": "string",
    },
    pool_id="string",
    protection=False,
    reboot=False,
    scsi_hardware="string",
    serial_devices=[{
        "device": "string",
    }],
    smbios={
        "family": "string",
        "manufacturer": "string",
        "product": "string",
        "serial": "string",
        "sku": "string",
        "uuid": "string",
        "version": "string",
    },
    started=False,
    startup={
        "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={
        "datastore_id": "string",
        "version": "string",
    },
    usbs=[{
        "host": "string",
        "mapping": "string",
        "usb3": False,
    }],
    vga={
        "clipboard": "string",
        "memory": 0,
        "type": "string",
    },
    vm_id=0,
    watchdog={
        "action": "string",
        "enabled": False,
        "model": "string",
    })
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",
        iothread: false,
        datastoreId: "string",
        discard: "string",
        fileFormat: "string",
        aio: "string",
        backup: false,
        cache: "string",
        pathInDatastore: "string",
        replicate: false,
        serial: "string",
        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",
        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: {
        clipboard: "string",
        memory: 0,
        type: "string",
    },
    vmId: 0,
    watchdog: {
        action: "string",
        enabled: false,
        model: "string",
    },
});
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
          serial: string
          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
        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:
        clipboard: string
        memory: 0
        type: string
    vmId: 0
    watchdog:
        action: string
        enabled: false
        model: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.Proxmox VE. VM. Inputs. Virtual Machine Agent 
- The QEMU agent configuration.
- AudioDevice Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Audio Device 
- 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.Proxmox VE. VM. Inputs. Virtual Machine Cdrom 
- The CDROM configuration.
- Clone
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Clone 
- The cloning configuration.
- Cpu
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Cpu 
- The CPU configuration.
- Description string
- The description.
- Disks
List<Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Disk> 
- A disk (multiple blocks supported).
- EfiDisk Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Efi Disk 
- The efi disk device (required if biosis set toovmf)
- HookScript stringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- Hostpcis
List<Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Hostpci> 
- A host PCI device mapping (multiple blocks supported).
- Initialization
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Initialization 
- 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.Proxmox VE. VM. Inputs. Virtual Machine Memory 
- The memory configuration.
- 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.Proxmox VE. VM. Inputs. Virtual Machine Network Device> 
- A network device (multiple blocks supported).
- Numas
List<Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Numa> 
- The NUMA configuration.
- OnBoot bool
- Specifies whether a VM will be started during system
boot. (defaults to true)
- OperatingSystem Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Operating System 
- 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.Proxmox VE. VM. Inputs. Virtual Machine Serial Device> 
- A serial device (multiple blocks supported).
- Smbios
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Smbios 
- The SMBIOS (type1) settings for the VM.
- Started bool
- Whether to start the virtual machine (defaults
to true).
- Startup
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Startup 
- Defines startup and shutdown behavior of the VM.
- StopOn boolDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- TabletDevice bool
- Whether to enable the USB tablet device (defaults
to true).
- 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 theignore_changeslifecycle 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).
- TimeoutMove intDisk 
- MoveDisk timeout
- TimeoutReboot int
- Timeout for rebooting a VM in seconds (defaults to 1800).
- TimeoutShutdown intVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- TimeoutStart intVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- TimeoutStop intVm 
- Timeout for stopping a VM in seconds (defaults to 300).
- TpmState Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Tpm State 
- The TPM state device.
- Usbs
List<Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Usb> 
- A host USB device mapping (multiple blocks supported).
- Vga
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Vga 
- The VGA configuration.
- VmId int
- The VM identifier.
- Watchdog
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Watchdog 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- NodeName string
- The name of the node to assign the virtual machine to.
- Acpi bool
- Whether to enable ACPI (defaults to true).
- Agent
VirtualMachine Agent Args 
- The QEMU agent configuration.
- AudioDevice VirtualMachine Audio Device Args 
- 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
VirtualMachine Cdrom Args 
- The CDROM configuration.
- Clone
VirtualMachine Clone Args 
- The cloning configuration.
- Cpu
VirtualMachine Cpu Args 
- The CPU configuration.
- Description string
- The description.
- Disks
[]VirtualMachine Disk Args 
- A disk (multiple blocks supported).
- EfiDisk VirtualMachine Efi Disk Args 
- The efi disk device (required if biosis set toovmf)
- HookScript stringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- Hostpcis
[]VirtualMachine Hostpci Args 
- A host PCI device mapping (multiple blocks supported).
- Initialization
VirtualMachine Initialization Args 
- 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
VirtualMachine Memory Args 
- The memory configuration.
- Migrate bool
- Migrate the VM on node change instead of re-creating
it (defaults to false).
- Name string
- The virtual machine name.
- NetworkDevices []VirtualMachine Network Device Args 
- A network device (multiple blocks supported).
- Numas
[]VirtualMachine Numa Args 
- The NUMA configuration.
- OnBoot bool
- Specifies whether a VM will be started during system
boot. (defaults to true)
- OperatingSystem VirtualMachine Operating System Args 
- 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 []VirtualMachine Serial Device Args 
- A serial device (multiple blocks supported).
- Smbios
VirtualMachine Smbios Args 
- The SMBIOS (type1) settings for the VM.
- Started bool
- Whether to start the virtual machine (defaults
to true).
- Startup
VirtualMachine Startup Args 
- Defines startup and shutdown behavior of the VM.
- StopOn boolDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- TabletDevice bool
- Whether to enable the USB tablet device (defaults
to true).
- []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 theignore_changeslifecycle 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).
- TimeoutMove intDisk 
- MoveDisk timeout
- TimeoutReboot int
- Timeout for rebooting a VM in seconds (defaults to 1800).
- TimeoutShutdown intVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- TimeoutStart intVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- TimeoutStop intVm 
- Timeout for stopping a VM in seconds (defaults to 300).
- TpmState VirtualMachine Tpm State Args 
- The TPM state device.
- Usbs
[]VirtualMachine Usb Args 
- A host USB device mapping (multiple blocks supported).
- Vga
VirtualMachine Vga Args 
- The VGA configuration.
- VmId int
- The VM identifier.
- Watchdog
VirtualMachine Watchdog Args 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- nodeName String
- The name of the node to assign the virtual machine to.
- acpi Boolean
- Whether to enable ACPI (defaults to true).
- agent
VirtualMachine Agent 
- The QEMU agent configuration.
- audioDevice VirtualMachine Audio Device 
- 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
VirtualMachine Cdrom 
- The CDROM configuration.
- clone_
VirtualMachine Clone 
- The cloning configuration.
- cpu
VirtualMachine Cpu 
- The CPU configuration.
- description String
- The description.
- disks
List<VirtualMachine Disk> 
- A disk (multiple blocks supported).
- efiDisk VirtualMachine Efi Disk 
- The efi disk device (required if biosis set toovmf)
- hookScript StringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- hostpcis
List<VirtualMachine Hostpci> 
- A host PCI device mapping (multiple blocks supported).
- initialization
VirtualMachine Initialization 
- 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
VirtualMachine Memory 
- The memory configuration.
- migrate Boolean
- Migrate the VM on node change instead of re-creating
it (defaults to false).
- name String
- The virtual machine name.
- networkDevices List<VirtualMachine Network Device> 
- A network device (multiple blocks supported).
- numas
List<VirtualMachine Numa> 
- The NUMA configuration.
- onBoot Boolean
- Specifies whether a VM will be started during system
boot. (defaults to true)
- operatingSystem VirtualMachine Operating System 
- 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<VirtualMachine Serial Device> 
- A serial device (multiple blocks supported).
- smbios
VirtualMachine Smbios 
- The SMBIOS (type1) settings for the VM.
- started Boolean
- Whether to start the virtual machine (defaults
to true).
- startup
VirtualMachine Startup 
- Defines startup and shutdown behavior of the VM.
- stopOn BooleanDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- tabletDevice Boolean
- Whether to enable the USB tablet device (defaults
to true).
- 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 theignore_changeslifecycle 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).
- timeoutMove IntegerDisk 
- MoveDisk timeout
- timeoutReboot Integer
- Timeout for rebooting a VM in seconds (defaults to 1800).
- timeoutShutdown IntegerVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- timeoutStart IntegerVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- timeoutStop IntegerVm 
- Timeout for stopping a VM in seconds (defaults to 300).
- tpmState VirtualMachine Tpm State 
- The TPM state device.
- usbs
List<VirtualMachine Usb> 
- A host USB device mapping (multiple blocks supported).
- vga
VirtualMachine Vga 
- The VGA configuration.
- vmId Integer
- The VM identifier.
- watchdog
VirtualMachine Watchdog 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- nodeName string
- The name of the node to assign the virtual machine to.
- acpi boolean
- Whether to enable ACPI (defaults to true).
- agent
VirtualMachine Agent 
- The QEMU agent configuration.
- audioDevice VirtualMachine Audio Device 
- 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
VirtualMachine Cdrom 
- The CDROM configuration.
- clone
VirtualMachine Clone 
- The cloning configuration.
- cpu
VirtualMachine Cpu 
- The CPU configuration.
- description string
- The description.
- disks
VirtualMachine Disk[] 
- A disk (multiple blocks supported).
- efiDisk VirtualMachine Efi Disk 
- The efi disk device (required if biosis set toovmf)
- hookScript stringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- hostpcis
VirtualMachine Hostpci[] 
- A host PCI device mapping (multiple blocks supported).
- initialization
VirtualMachine Initialization 
- 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
VirtualMachine Memory 
- The memory configuration.
- migrate boolean
- Migrate the VM on node change instead of re-creating
it (defaults to false).
- name string
- The virtual machine name.
- networkDevices VirtualMachine Network Device[] 
- A network device (multiple blocks supported).
- numas
VirtualMachine Numa[] 
- The NUMA configuration.
- onBoot boolean
- Specifies whether a VM will be started during system
boot. (defaults to true)
- operatingSystem VirtualMachine Operating System 
- 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 VirtualMachine Serial Device[] 
- A serial device (multiple blocks supported).
- smbios
VirtualMachine Smbios 
- The SMBIOS (type1) settings for the VM.
- started boolean
- Whether to start the virtual machine (defaults
to true).
- startup
VirtualMachine Startup 
- Defines startup and shutdown behavior of the VM.
- stopOn booleanDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- tabletDevice boolean
- Whether to enable the USB tablet device (defaults
to true).
- 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 theignore_changeslifecycle 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).
- timeoutMove numberDisk 
- MoveDisk timeout
- timeoutReboot number
- Timeout for rebooting a VM in seconds (defaults to 1800).
- timeoutShutdown numberVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- timeoutStart numberVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- timeoutStop numberVm 
- Timeout for stopping a VM in seconds (defaults to 300).
- tpmState VirtualMachine Tpm State 
- The TPM state device.
- usbs
VirtualMachine Usb[] 
- A host USB device mapping (multiple blocks supported).
- vga
VirtualMachine Vga 
- The VGA configuration.
- vmId number
- The VM identifier.
- watchdog
VirtualMachine Watchdog 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- 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.Virtual Machine Agent Args 
- The QEMU agent configuration.
- audio_device vm.Virtual Machine Audio Device Args 
- 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.Virtual Machine Cdrom Args 
- The CDROM configuration.
- clone
vm.Virtual Machine Clone Args 
- The cloning configuration.
- cpu
vm.Virtual Machine Cpu Args 
- The CPU configuration.
- description str
- The description.
- disks
Sequence[vm.Virtual Machine Disk Args] 
- A disk (multiple blocks supported).
- efi_disk vm.Virtual Machine Efi Disk Args 
- The efi disk device (required if biosis set toovmf)
- hook_script_ strfile_ id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- hostpcis
Sequence[vm.Virtual Machine Hostpci Args] 
- A host PCI device mapping (multiple blocks supported).
- initialization
vm.Virtual Machine Initialization Args 
- 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.Virtual Machine Memory Args 
- The memory configuration.
- 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.Virtual Machine Network Device Args] 
- A network device (multiple blocks supported).
- numas
Sequence[vm.Virtual Machine Numa Args] 
- The NUMA configuration.
- on_boot bool
- Specifies whether a VM will be started during system
boot. (defaults to true)
- operating_system vm.Virtual Machine Operating System Args 
- 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.Virtual Machine Serial Device Args] 
- A serial device (multiple blocks supported).
- smbios
vm.Virtual Machine Smbios Args 
- The SMBIOS (type1) settings for the VM.
- started bool
- Whether to start the virtual machine (defaults
to true).
- startup
vm.Virtual Machine Startup Args 
- Defines startup and shutdown behavior of the VM.
- stop_on_ booldestroy 
- 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).
- 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 theignore_changeslifecycle 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_ intdisk 
- MoveDisk timeout
- timeout_reboot int
- Timeout for rebooting a VM in seconds (defaults to 1800).
- timeout_shutdown_ intvm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- timeout_start_ intvm 
- Timeout for starting a VM in seconds (defaults to 1800).
- timeout_stop_ intvm 
- Timeout for stopping a VM in seconds (defaults to 300).
- tpm_state vm.Virtual Machine Tpm State Args 
- The TPM state device.
- usbs
Sequence[vm.Virtual Machine Usb Args] 
- A host USB device mapping (multiple blocks supported).
- vga
vm.Virtual Machine Vga Args 
- The VGA configuration.
- vm_id int
- The VM identifier.
- watchdog
vm.Virtual Machine Watchdog Args 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- 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 biosis set toovmf)
- hookScript StringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- 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 memory configuration.
- 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.
- stopOn BooleanDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- tabletDevice Boolean
- Whether to enable the USB tablet device (defaults
to true).
- 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 theignore_changeslifecycle 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).
- timeoutMove NumberDisk 
- MoveDisk timeout
- timeoutReboot Number
- Timeout for rebooting a VM in seconds (defaults to 1800).
- timeoutShutdown NumberVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- timeoutStart NumberVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- timeoutStop NumberVm 
- 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.
- watchdog Property Map
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
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.enabledisfalse)
- Ipv6Addresses
List<ImmutableArray<string>> 
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- NetworkInterface List<string>Names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- 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.enabledisfalse)
- Ipv6Addresses [][]string
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- NetworkInterface []stringNames 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- 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.enabledisfalse)
- ipv6Addresses List<List<String>>
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- networkInterface List<String>Names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- 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.enabledisfalse)
- ipv6Addresses string[][]
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- networkInterface string[]Names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- 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.enabledisfalse)
- ipv6_addresses Sequence[Sequence[str]]
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- network_interface_ Sequence[str]names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- 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.enabledisfalse)
- ipv6Addresses List<List<String>>
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- networkInterface List<String>Names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
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,
        watchdog: Optional[_vm.VirtualMachineWatchdogArgs] = None) -> VirtualMachinefunc 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)resources:  _:    type: proxmoxve:VM:VirtualMachine    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Acpi bool
- Whether to enable ACPI (defaults to true).
- Agent
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Agent 
- The QEMU agent configuration.
- AudioDevice Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Audio Device 
- 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.Proxmox VE. VM. Inputs. Virtual Machine Cdrom 
- The CDROM configuration.
- Clone
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Clone 
- The cloning configuration.
- Cpu
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Cpu 
- The CPU configuration.
- Description string
- The description.
- Disks
List<Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Disk> 
- A disk (multiple blocks supported).
- EfiDisk Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Efi Disk 
- The efi disk device (required if biosis set toovmf)
- HookScript stringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- Hostpcis
List<Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Hostpci> 
- A host PCI device mapping (multiple blocks supported).
- Initialization
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Initialization 
- The cloud-init configuration.
- Ipv4Addresses
List<ImmutableArray<string>> 
- The IPv4 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- Ipv6Addresses
List<ImmutableArray<string>> 
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- 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.Proxmox VE. VM. Inputs. Virtual Machine Memory 
- The memory configuration.
- 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.Proxmox VE. VM. Inputs. Virtual Machine Network Device> 
- A network device (multiple blocks supported).
- NetworkInterface List<string>Names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- NodeName string
- The name of the node to assign the virtual machine to.
- Numas
List<Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Numa> 
- The NUMA configuration.
- OnBoot bool
- Specifies whether a VM will be started during system
boot. (defaults to true)
- OperatingSystem Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Operating System 
- 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.Proxmox VE. VM. Inputs. Virtual Machine Serial Device> 
- A serial device (multiple blocks supported).
- Smbios
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Smbios 
- The SMBIOS (type1) settings for the VM.
- Started bool
- Whether to start the virtual machine (defaults
to true).
- Startup
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Startup 
- Defines startup and shutdown behavior of the VM.
- StopOn boolDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- TabletDevice bool
- Whether to enable the USB tablet device (defaults
to true).
- 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 theignore_changeslifecycle 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).
- TimeoutMove intDisk 
- MoveDisk timeout
- TimeoutReboot int
- Timeout for rebooting a VM in seconds (defaults to 1800).
- TimeoutShutdown intVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- TimeoutStart intVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- TimeoutStop intVm 
- Timeout for stopping a VM in seconds (defaults to 300).
- TpmState Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Tpm State 
- The TPM state device.
- Usbs
List<Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Usb> 
- A host USB device mapping (multiple blocks supported).
- Vga
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Vga 
- The VGA configuration.
- VmId int
- The VM identifier.
- Watchdog
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Watchdog 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- Acpi bool
- Whether to enable ACPI (defaults to true).
- Agent
VirtualMachine Agent Args 
- The QEMU agent configuration.
- AudioDevice VirtualMachine Audio Device Args 
- 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
VirtualMachine Cdrom Args 
- The CDROM configuration.
- Clone
VirtualMachine Clone Args 
- The cloning configuration.
- Cpu
VirtualMachine Cpu Args 
- The CPU configuration.
- Description string
- The description.
- Disks
[]VirtualMachine Disk Args 
- A disk (multiple blocks supported).
- EfiDisk VirtualMachine Efi Disk Args 
- The efi disk device (required if biosis set toovmf)
- HookScript stringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- Hostpcis
[]VirtualMachine Hostpci Args 
- A host PCI device mapping (multiple blocks supported).
- Initialization
VirtualMachine Initialization Args 
- The cloud-init configuration.
- Ipv4Addresses [][]string
- The IPv4 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- Ipv6Addresses [][]string
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- 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
VirtualMachine Memory Args 
- The memory configuration.
- Migrate bool
- Migrate the VM on node change instead of re-creating
it (defaults to false).
- Name string
- The virtual machine name.
- NetworkDevices []VirtualMachine Network Device Args 
- A network device (multiple blocks supported).
- NetworkInterface []stringNames 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- NodeName string
- The name of the node to assign the virtual machine to.
- Numas
[]VirtualMachine Numa Args 
- The NUMA configuration.
- OnBoot bool
- Specifies whether a VM will be started during system
boot. (defaults to true)
- OperatingSystem VirtualMachine Operating System Args 
- 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 []VirtualMachine Serial Device Args 
- A serial device (multiple blocks supported).
- Smbios
VirtualMachine Smbios Args 
- The SMBIOS (type1) settings for the VM.
- Started bool
- Whether to start the virtual machine (defaults
to true).
- Startup
VirtualMachine Startup Args 
- Defines startup and shutdown behavior of the VM.
- StopOn boolDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- TabletDevice bool
- Whether to enable the USB tablet device (defaults
to true).
- []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 theignore_changeslifecycle 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).
- TimeoutMove intDisk 
- MoveDisk timeout
- TimeoutReboot int
- Timeout for rebooting a VM in seconds (defaults to 1800).
- TimeoutShutdown intVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- TimeoutStart intVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- TimeoutStop intVm 
- Timeout for stopping a VM in seconds (defaults to 300).
- TpmState VirtualMachine Tpm State Args 
- The TPM state device.
- Usbs
[]VirtualMachine Usb Args 
- A host USB device mapping (multiple blocks supported).
- Vga
VirtualMachine Vga Args 
- The VGA configuration.
- VmId int
- The VM identifier.
- Watchdog
VirtualMachine Watchdog Args 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- acpi Boolean
- Whether to enable ACPI (defaults to true).
- agent
VirtualMachine Agent 
- The QEMU agent configuration.
- audioDevice VirtualMachine Audio Device 
- 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
VirtualMachine Cdrom 
- The CDROM configuration.
- clone_
VirtualMachine Clone 
- The cloning configuration.
- cpu
VirtualMachine Cpu 
- The CPU configuration.
- description String
- The description.
- disks
List<VirtualMachine Disk> 
- A disk (multiple blocks supported).
- efiDisk VirtualMachine Efi Disk 
- The efi disk device (required if biosis set toovmf)
- hookScript StringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- hostpcis
List<VirtualMachine Hostpci> 
- A host PCI device mapping (multiple blocks supported).
- initialization
VirtualMachine Initialization 
- The cloud-init configuration.
- ipv4Addresses List<List<String>>
- The IPv4 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- ipv6Addresses List<List<String>>
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- 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
VirtualMachine Memory 
- The memory configuration.
- migrate Boolean
- Migrate the VM on node change instead of re-creating
it (defaults to false).
- name String
- The virtual machine name.
- networkDevices List<VirtualMachine Network Device> 
- A network device (multiple blocks supported).
- networkInterface List<String>Names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- nodeName String
- The name of the node to assign the virtual machine to.
- numas
List<VirtualMachine Numa> 
- The NUMA configuration.
- onBoot Boolean
- Specifies whether a VM will be started during system
boot. (defaults to true)
- operatingSystem VirtualMachine Operating System 
- 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<VirtualMachine Serial Device> 
- A serial device (multiple blocks supported).
- smbios
VirtualMachine Smbios 
- The SMBIOS (type1) settings for the VM.
- started Boolean
- Whether to start the virtual machine (defaults
to true).
- startup
VirtualMachine Startup 
- Defines startup and shutdown behavior of the VM.
- stopOn BooleanDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- tabletDevice Boolean
- Whether to enable the USB tablet device (defaults
to true).
- 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 theignore_changeslifecycle 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).
- timeoutMove IntegerDisk 
- MoveDisk timeout
- timeoutReboot Integer
- Timeout for rebooting a VM in seconds (defaults to 1800).
- timeoutShutdown IntegerVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- timeoutStart IntegerVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- timeoutStop IntegerVm 
- Timeout for stopping a VM in seconds (defaults to 300).
- tpmState VirtualMachine Tpm State 
- The TPM state device.
- usbs
List<VirtualMachine Usb> 
- A host USB device mapping (multiple blocks supported).
- vga
VirtualMachine Vga 
- The VGA configuration.
- vmId Integer
- The VM identifier.
- watchdog
VirtualMachine Watchdog 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- acpi boolean
- Whether to enable ACPI (defaults to true).
- agent
VirtualMachine Agent 
- The QEMU agent configuration.
- audioDevice VirtualMachine Audio Device 
- 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
VirtualMachine Cdrom 
- The CDROM configuration.
- clone
VirtualMachine Clone 
- The cloning configuration.
- cpu
VirtualMachine Cpu 
- The CPU configuration.
- description string
- The description.
- disks
VirtualMachine Disk[] 
- A disk (multiple blocks supported).
- efiDisk VirtualMachine Efi Disk 
- The efi disk device (required if biosis set toovmf)
- hookScript stringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- hostpcis
VirtualMachine Hostpci[] 
- A host PCI device mapping (multiple blocks supported).
- initialization
VirtualMachine Initialization 
- The cloud-init configuration.
- ipv4Addresses string[][]
- The IPv4 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- ipv6Addresses string[][]
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- 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
VirtualMachine Memory 
- The memory configuration.
- migrate boolean
- Migrate the VM on node change instead of re-creating
it (defaults to false).
- name string
- The virtual machine name.
- networkDevices VirtualMachine Network Device[] 
- A network device (multiple blocks supported).
- networkInterface string[]Names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- nodeName string
- The name of the node to assign the virtual machine to.
- numas
VirtualMachine Numa[] 
- The NUMA configuration.
- onBoot boolean
- Specifies whether a VM will be started during system
boot. (defaults to true)
- operatingSystem VirtualMachine Operating System 
- 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 VirtualMachine Serial Device[] 
- A serial device (multiple blocks supported).
- smbios
VirtualMachine Smbios 
- The SMBIOS (type1) settings for the VM.
- started boolean
- Whether to start the virtual machine (defaults
to true).
- startup
VirtualMachine Startup 
- Defines startup and shutdown behavior of the VM.
- stopOn booleanDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- tabletDevice boolean
- Whether to enable the USB tablet device (defaults
to true).
- 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 theignore_changeslifecycle 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).
- timeoutMove numberDisk 
- MoveDisk timeout
- timeoutReboot number
- Timeout for rebooting a VM in seconds (defaults to 1800).
- timeoutShutdown numberVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- timeoutStart numberVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- timeoutStop numberVm 
- Timeout for stopping a VM in seconds (defaults to 300).
- tpmState VirtualMachine Tpm State 
- The TPM state device.
- usbs
VirtualMachine Usb[] 
- A host USB device mapping (multiple blocks supported).
- vga
VirtualMachine Vga 
- The VGA configuration.
- vmId number
- The VM identifier.
- watchdog
VirtualMachine Watchdog 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- acpi bool
- Whether to enable ACPI (defaults to true).
- agent
vm.Virtual Machine Agent Args 
- The QEMU agent configuration.
- audio_device vm.Virtual Machine Audio Device Args 
- 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.Virtual Machine Cdrom Args 
- The CDROM configuration.
- clone
vm.Virtual Machine Clone Args 
- The cloning configuration.
- cpu
vm.Virtual Machine Cpu Args 
- The CPU configuration.
- description str
- The description.
- disks
Sequence[vm.Virtual Machine Disk Args] 
- A disk (multiple blocks supported).
- efi_disk vm.Virtual Machine Efi Disk Args 
- The efi disk device (required if biosis set toovmf)
- hook_script_ strfile_ id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- hostpcis
Sequence[vm.Virtual Machine Hostpci Args] 
- A host PCI device mapping (multiple blocks supported).
- initialization
vm.Virtual Machine Initialization Args 
- The cloud-init configuration.
- ipv4_addresses Sequence[Sequence[str]]
- The IPv4 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- ipv6_addresses Sequence[Sequence[str]]
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- 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.Virtual Machine Memory Args 
- The memory configuration.
- 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.Virtual Machine Network Device Args] 
- A network device (multiple blocks supported).
- network_interface_ Sequence[str]names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- node_name str
- The name of the node to assign the virtual machine to.
- numas
Sequence[vm.Virtual Machine Numa Args] 
- The NUMA configuration.
- on_boot bool
- Specifies whether a VM will be started during system
boot. (defaults to true)
- operating_system vm.Virtual Machine Operating System Args 
- 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.Virtual Machine Serial Device Args] 
- A serial device (multiple blocks supported).
- smbios
vm.Virtual Machine Smbios Args 
- The SMBIOS (type1) settings for the VM.
- started bool
- Whether to start the virtual machine (defaults
to true).
- startup
vm.Virtual Machine Startup Args 
- Defines startup and shutdown behavior of the VM.
- stop_on_ booldestroy 
- 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).
- 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 theignore_changeslifecycle 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_ intdisk 
- MoveDisk timeout
- timeout_reboot int
- Timeout for rebooting a VM in seconds (defaults to 1800).
- timeout_shutdown_ intvm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- timeout_start_ intvm 
- Timeout for starting a VM in seconds (defaults to 1800).
- timeout_stop_ intvm 
- Timeout for stopping a VM in seconds (defaults to 300).
- tpm_state vm.Virtual Machine Tpm State Args 
- The TPM state device.
- usbs
Sequence[vm.Virtual Machine Usb Args] 
- A host USB device mapping (multiple blocks supported).
- vga
vm.Virtual Machine Vga Args 
- The VGA configuration.
- vm_id int
- The VM identifier.
- watchdog
vm.Virtual Machine Watchdog Args 
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
- 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 biosis set toovmf)
- hookScript StringFile Id 
- The identifier for a file containing a hook script (needs to be executable, e.g. by using the proxmox_virtual_environment_file.file_modeattribute).
- 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.enabledisfalse)
- ipv6Addresses List<List<String>>
- The IPv6 addresses per network interface published by the
QEMU agent (empty list when agent.enabledisfalse)
- 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 memory configuration.
- 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).
- networkInterface List<String>Names 
- The network interface names published by the QEMU
agent (empty list when agent.enabledisfalse)
- 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.
- stopOn BooleanDestroy 
- Whether to stop rather than shutdown on VM destroy (defaults to false)
- tabletDevice Boolean
- Whether to enable the USB tablet device (defaults
to true).
- 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 theignore_changeslifecycle 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).
- timeoutMove NumberDisk 
- MoveDisk timeout
- timeoutReboot Number
- Timeout for rebooting a VM in seconds (defaults to 1800).
- timeoutShutdown NumberVm 
- Timeout for shutting down a VM in seconds ( defaults to 1800).
- timeoutStart NumberVm 
- Timeout for starting a VM in seconds (defaults to 1800).
- timeoutStop NumberVm 
- 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.
- watchdog Property Map
- The watchdog configuration. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified).
Supporting Types
VirtualMachineAgent, VirtualMachineAgentArgs      
- Enabled bool
- Whether to enable the QEMU agent (defaults
to false).
- 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 QEMU agent interface type (defaults to virtio).
- Enabled bool
- Whether to enable the QEMU agent (defaults
to false).
- 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 QEMU agent interface type (defaults to virtio).
- enabled Boolean
- Whether to enable the QEMU agent (defaults
to false).
- 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 QEMU agent interface type (defaults to virtio).
- enabled boolean
- Whether to enable the QEMU agent (defaults
to false).
- 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 QEMU agent interface type (defaults to virtio).
- enabled bool
- Whether to enable the QEMU agent (defaults
to false).
- 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 QEMU agent interface type (defaults to virtio).
- enabled Boolean
- Whether to enable the QEMU agent (defaults
to false).
- 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 QEMU agent interface type (defaults to virtio).
VirtualMachineAudioDevice, VirtualMachineAudioDeviceArgs        
VirtualMachineCdrom, VirtualMachineCdromArgs      
- Enabled bool
- Whether to enable the CDROM drive (defaults
to false).
- FileId string
- A file ID for an ISO file (defaults to cdromas in the physical drive). Usenoneto leave the CDROM drive empty.
- Interface string
- A hardware interface to connect CDROM drive to,
must be ideN(defaults toide3). Note thatq35machine type only supportside0andide2.
- Enabled bool
- Whether to enable the CDROM drive (defaults
to false).
- FileId string
- A file ID for an ISO file (defaults to cdromas in the physical drive). Usenoneto leave the CDROM drive empty.
- Interface string
- A hardware interface to connect CDROM drive to,
must be ideN(defaults toide3). Note thatq35machine type only supportside0andide2.
- enabled Boolean
- Whether to enable the CDROM drive (defaults
to false).
- fileId String
- A file ID for an ISO file (defaults to cdromas in the physical drive). Usenoneto leave the CDROM drive empty.
- interface_ String
- A hardware interface to connect CDROM drive to,
must be ideN(defaults toide3). Note thatq35machine type only supportside0andide2.
- enabled boolean
- Whether to enable the CDROM drive (defaults
to false).
- fileId string
- A file ID for an ISO file (defaults to cdromas in the physical drive). Usenoneto leave the CDROM drive empty.
- interface string
- A hardware interface to connect CDROM drive to,
must be ideN(defaults toide3). Note thatq35machine type only supportside0andide2.
- enabled bool
- Whether to enable the CDROM drive (defaults
to false).
- file_id str
- A file ID for an ISO file (defaults to cdromas in the physical drive). Usenoneto leave the CDROM drive empty.
- interface str
- A hardware interface to connect CDROM drive to,
must be ideN(defaults toide3). Note thatq35machine type only supportside0andide2.
- enabled Boolean
- Whether to enable the CDROM drive (defaults
to false).
- fileId String
- A file ID for an ISO file (defaults to cdromas in the physical drive). Usenoneto leave the CDROM drive empty.
- interface String
- A hardware interface to connect CDROM drive to,
must be ideN(defaults toide3). Note thatq35machine type only supportside0andide2.
VirtualMachineClone, VirtualMachineCloneArgs      
- VmId int
- The identifier for the source VM.
- DatastoreId string
- The identifier for the target datastore.
- Full bool
- Full or linked clone (defaults to true).
- NodeName string
- The name of the source node (leave blank, if
equal to the node_nameargument).
- Retries int
- Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.
- VmId int
- The identifier for the source VM.
- DatastoreId string
- The identifier for the target datastore.
- Full bool
- Full or linked clone (defaults to true).
- NodeName string
- The name of the source node (leave blank, if
equal to the node_nameargument).
- Retries int
- Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.
- vmId Integer
- The identifier for the source VM.
- datastoreId String
- The identifier for the target datastore.
- full Boolean
- Full or linked clone (defaults to true).
- nodeName String
- The name of the source node (leave blank, if
equal to the node_nameargument).
- retries Integer
- Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.
- vmId number
- The identifier for the source VM.
- datastoreId string
- The identifier for the target datastore.
- full boolean
- Full or linked clone (defaults to true).
- nodeName string
- The name of the source node (leave blank, if
equal to the node_nameargument).
- 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 identifier for the source VM.
- datastore_id str
- The identifier for the target datastore.
- full bool
- Full or linked clone (defaults to true).
- node_name str
- The name of the source node (leave blank, if
equal to the node_nameargument).
- retries int
- Number of retries in Proxmox for clone vm. Sometimes Proxmox errors with timeout when creating multiple clones at once.
- vmId Number
- The identifier for the source VM.
- datastoreId String
- The identifier for the target datastore.
- full Boolean
- Full or linked clone (defaults to true).
- nodeName String
- The name of the source node (leave blank, if
equal to the node_nameargument).
- 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 to0-3) means that the VM’s vCPUs are run on the first four CPU cores. Settingaffinityis only allowed forroot@pamauthenticated 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 to0-- no limit).
- Numa bool
- Enable/disable NUMA. (default to false)
- Sockets int
- The number of CPU sockets (defaults to 1).
- Type string
- The emulated CPU type, it's recommended to
use x86-64-v2-AES(defaults toqemu64).
- 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 to0-3) means that the VM’s vCPUs are run on the first four CPU cores. Settingaffinityis only allowed forroot@pamauthenticated 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 to0-- no limit).
- Numa bool
- Enable/disable NUMA. (default to false)
- Sockets int
- The number of CPU sockets (defaults to 1).
- Type string
- The emulated CPU type, it's recommended to
use x86-64-v2-AES(defaults toqemu64).
- 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 to0-3) means that the VM’s vCPUs are run on the first four CPU cores. Settingaffinityis only allowed forroot@pamauthenticated 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 to0-- no limit).
- numa Boolean
- Enable/disable NUMA. (default to false)
- sockets Integer
- The number of CPU sockets (defaults to 1).
- type String
- The emulated CPU type, it's recommended to
use x86-64-v2-AES(defaults toqemu64).
- 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 to0-3) means that the VM’s vCPUs are run on the first four CPU cores. Settingaffinityis only allowed forroot@pamauthenticated 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 to0-- no limit).
- numa boolean
- Enable/disable NUMA. (default to false)
- sockets number
- The number of CPU sockets (defaults to 1).
- type string
- The emulated CPU type, it's recommended to
use x86-64-v2-AES(defaults toqemu64).
- 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 to0-3) means that the VM’s vCPUs are run on the first four CPU cores. Settingaffinityis only allowed forroot@pamauthenticated 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 to0-- no limit).
- numa bool
- Enable/disable NUMA. (default to false)
- sockets int
- The number of CPU sockets (defaults to 1).
- type str
- The emulated CPU type, it's recommended to
use x86-64-v2-AES(defaults toqemu64).
- 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 to0-3) means that the VM’s vCPUs are run on the first four CPU cores. Settingaffinityis only allowed forroot@pamauthenticated 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 to0-- no limit).
- numa Boolean
- Enable/disable NUMA. (default to false)
- sockets Number
- The number of CPU sockets (defaults to 1).
- type String
- The emulated CPU type, it's recommended to
use x86-64-v2-AES(defaults toqemu64).
- units Number
- The CPU units (defaults to 1024).
VirtualMachineDisk, VirtualMachineDiskArgs      
- Interface string
- The disk interface for Proxmox, currently scsi,sataandvirtiointerfaces are supported. Append the disk index at the end, for example,virtio0for the first virtio disk,virtio1for the second, etc.
- 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 disk in (defaults to local-lvm).
- Discard string
- Whether to pass discard/trim requests to the
underlying storage. Supported values are on/ignore(defaults toignore).
- FileFormat string
- The file format (defaults to qcow2).
- FileId string
- The file ID for a disk image. The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/centos8.img. Can be also taken fromproxmoxve.Download.Fileresource.
- Iothread bool
- Whether to use iothreads for this disk (defaults
to false).
- PathIn stringDatastore 
- 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_idempty string). See "Example: Attached disks".
- Replicate bool
- Whether the drive should be considered for replication jobs (defaults to true).
- Serial string
- The serial number of the disk, up to 20 bytes long.
- Size int
- The disk size in gigabytes (defaults to 8).
- Speed
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Disk Speed 
- 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 disk interface for Proxmox, currently scsi,sataandvirtiointerfaces are supported. Append the disk index at the end, for example,virtio0for the first virtio disk,virtio1for the second, etc.
- 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 disk in (defaults to local-lvm).
- Discard string
- Whether to pass discard/trim requests to the
underlying storage. Supported values are on/ignore(defaults toignore).
- FileFormat string
- The file format (defaults to qcow2).
- FileId string
- The file ID for a disk image. The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/centos8.img. Can be also taken fromproxmoxve.Download.Fileresource.
- Iothread bool
- Whether to use iothreads for this disk (defaults
to false).
- PathIn stringDatastore 
- 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_idempty string). See "Example: Attached disks".
- Replicate bool
- Whether the drive should be considered for replication jobs (defaults to true).
- Serial string
- The serial number of the disk, up to 20 bytes long.
- Size int
- The disk size in gigabytes (defaults to 8).
- Speed
VirtualMachine Disk Speed 
- 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 disk interface for Proxmox, currently scsi,sataandvirtiointerfaces are supported. Append the disk index at the end, for example,virtio0for the first virtio disk,virtio1for the second, etc.
- 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 disk in (defaults to local-lvm).
- discard String
- Whether to pass discard/trim requests to the
underlying storage. Supported values are on/ignore(defaults toignore).
- fileFormat String
- The file format (defaults to qcow2).
- fileId String
- The file ID for a disk image. The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/centos8.img. Can be also taken fromproxmoxve.Download.Fileresource.
- iothread Boolean
- Whether to use iothreads for this disk (defaults
to false).
- pathIn StringDatastore 
- 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_idempty string). See "Example: Attached disks".
- replicate Boolean
- Whether the drive should be considered for replication jobs (defaults to true).
- serial String
- The serial number of the disk, up to 20 bytes long.
- size Integer
- The disk size in gigabytes (defaults to 8).
- speed
VirtualMachine Disk Speed 
- 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 disk interface for Proxmox, currently scsi,sataandvirtiointerfaces are supported. Append the disk index at the end, for example,virtio0for the first virtio disk,virtio1for the second, etc.
- 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 disk in (defaults to local-lvm).
- discard string
- Whether to pass discard/trim requests to the
underlying storage. Supported values are on/ignore(defaults toignore).
- fileFormat string
- The file format (defaults to qcow2).
- fileId string
- The file ID for a disk image. The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/centos8.img. Can be also taken fromproxmoxve.Download.Fileresource.
- iothread boolean
- Whether to use iothreads for this disk (defaults
to false).
- pathIn stringDatastore 
- 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_idempty string). See "Example: Attached disks".
- replicate boolean
- Whether the drive should be considered for replication jobs (defaults to true).
- serial string
- The serial number of the disk, up to 20 bytes long.
- size number
- The disk size in gigabytes (defaults to 8).
- speed
VirtualMachine Disk Speed 
- 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 disk interface for Proxmox, currently scsi,sataandvirtiointerfaces are supported. Append the disk index at the end, for example,virtio0for the first virtio disk,virtio1for the second, etc.
- 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 disk in (defaults to local-lvm).
- discard str
- Whether to pass discard/trim requests to the
underlying storage. Supported values are on/ignore(defaults toignore).
- file_format str
- The file format (defaults to qcow2).
- file_id str
- The file ID for a disk image. The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/centos8.img. Can be also taken fromproxmoxve.Download.Fileresource.
- iothread bool
- Whether to use iothreads for this disk (defaults
to false).
- path_in_ strdatastore 
- 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_idempty string). See "Example: Attached disks".
- replicate bool
- Whether the drive should be considered for replication jobs (defaults to true).
- serial str
- The serial number of the disk, up to 20 bytes long.
- size int
- The disk size in gigabytes (defaults to 8).
- speed
vm.Virtual Machine Disk Speed 
- 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 disk interface for Proxmox, currently scsi,sataandvirtiointerfaces are supported. Append the disk index at the end, for example,virtio0for the first virtio disk,virtio1for the second, etc.
- 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 disk in (defaults to local-lvm).
- discard String
- Whether to pass discard/trim requests to the
underlying storage. Supported values are on/ignore(defaults toignore).
- fileFormat String
- The file format (defaults to qcow2).
- fileId String
- The file ID for a disk image. The ID format is
<datastore_id>:<content_type>/<file_name>, for examplelocal:iso/centos8.img. Can be also taken fromproxmoxve.Download.Fileresource.
- iothread Boolean
- Whether to use iothreads for this disk (defaults
to false).
- pathIn StringDatastore 
- 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_idempty string). See "Example: Attached disks".
- replicate Boolean
- Whether the drive should be considered for replication jobs (defaults to true).
- serial String
- The serial number of the disk, up to 20 bytes long.
- 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.
- IopsRead intBurstable 
- The maximum unthrottled read I/O pool in operations per second.
- IopsWrite int
- The maximum write I/O in operations per second.
- IopsWrite intBurstable 
- 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.
- IopsRead intBurstable 
- The maximum unthrottled read I/O pool in operations per second.
- IopsWrite int
- The maximum write I/O in operations per second.
- IopsWrite intBurstable 
- 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.
- iopsRead IntegerBurstable 
- The maximum unthrottled read I/O pool in operations per second.
- iopsWrite Integer
- The maximum write I/O in operations per second.
- iopsWrite IntegerBurstable 
- 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.
- iopsRead numberBurstable 
- The maximum unthrottled read I/O pool in operations per second.
- iopsWrite number
- The maximum write I/O in operations per second.
- iopsWrite numberBurstable 
- 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_ intburstable 
- 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_ intburstable 
- 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.
- iopsRead NumberBurstable 
- The maximum unthrottled read I/O pool in operations per second.
- iopsWrite Number
- The maximum write I/O in operations per second.
- iopsWrite NumberBurstable 
- 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 disk in (defaults to local-lvm).
- FileFormat string
- The file format (defaults to raw).
- PreEnrolled boolKeys 
- 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 tofalse).
- Type string
- Size and type of the OVMF EFI disk. 4mis newer and recommended, and required for Secure Boot. For backwards compatibility use2m. Ignored for VMs with cpu.architecture=aarch64(defaults to2m).
- DatastoreId string
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- FileFormat string
- The file format (defaults to raw).
- PreEnrolled boolKeys 
- 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 tofalse).
- Type string
- Size and type of the OVMF EFI disk. 4mis newer and recommended, and required for Secure Boot. For backwards compatibility use2m. Ignored for VMs with cpu.architecture=aarch64(defaults to2m).
- datastoreId String
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- fileFormat String
- The file format (defaults to raw).
- preEnrolled BooleanKeys 
- 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 tofalse).
- type String
- Size and type of the OVMF EFI disk. 4mis newer and recommended, and required for Secure Boot. For backwards compatibility use2m. Ignored for VMs with cpu.architecture=aarch64(defaults to2m).
- datastoreId string
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- fileFormat string
- The file format (defaults to raw).
- preEnrolled booleanKeys 
- 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 tofalse).
- type string
- Size and type of the OVMF EFI disk. 4mis newer and recommended, and required for Secure Boot. For backwards compatibility use2m. Ignored for VMs with cpu.architecture=aarch64(defaults to2m).
- datastore_id str
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- file_format str
- The file format (defaults to raw).
- pre_enrolled_ boolkeys 
- 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 tofalse).
- type str
- Size and type of the OVMF EFI disk. 4mis newer and recommended, and required for Secure Boot. For backwards compatibility use2m. Ignored for VMs with cpu.architecture=aarch64(defaults to2m).
- datastoreId String
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- fileFormat String
- The file format (defaults to raw).
- preEnrolled BooleanKeys 
- 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 tofalse).
- type String
- Size and type of the OVMF EFI disk. 4mis newer and recommended, and required for Secure Boot. For backwards compatibility use2m. Ignored for VMs with cpu.architecture=aarch64(defaults to2m).
VirtualMachineHostpci, VirtualMachineHostpciArgs      
- Device string
- The PCI device name for Proxmox, in form
of hostpciXwhereXis a sequential number from 0 to 15.
- Id string
- The PCI device ID. This parameter is not compatible
with api_tokenand requires the rootusernameandpasswordconfigured in the proxmox provider. Use either this ormapping.
- Mapping string
- The resource mapping name of the device, for
example gpu. 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 vgaconfiguration argument will be ignored.
- Device string
- The PCI device name for Proxmox, in form
of hostpciXwhereXis a sequential number from 0 to 15.
- Id string
- The PCI device ID. This parameter is not compatible
with api_tokenand requires the rootusernameandpasswordconfigured in the proxmox provider. Use either this ormapping.
- Mapping string
- The resource mapping name of the device, for
example gpu. 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 vgaconfiguration argument will be ignored.
- device String
- The PCI device name for Proxmox, in form
of hostpciXwhereXis a sequential number from 0 to 15.
- id String
- The PCI device ID. This parameter is not compatible
with api_tokenand requires the rootusernameandpasswordconfigured in the proxmox provider. Use either this ormapping.
- mapping String
- The resource mapping name of the device, for
example gpu. 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 vgaconfiguration argument will be ignored.
- device string
- The PCI device name for Proxmox, in form
of hostpciXwhereXis a sequential number from 0 to 15.
- id string
- The PCI device ID. This parameter is not compatible
with api_tokenand requires the rootusernameandpasswordconfigured in the proxmox provider. Use either this ormapping.
- mapping string
- The resource mapping name of the device, for
example gpu. 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 vgaconfiguration argument will be ignored.
- device str
- The PCI device name for Proxmox, in form
of hostpciXwhereXis a sequential number from 0 to 15.
- id str
- The PCI device ID. This parameter is not compatible
with api_tokenand requires the rootusernameandpasswordconfigured in the proxmox provider. Use either this ormapping.
- mapping str
- The resource mapping name of the device, for
example gpu. 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 vgaconfiguration argument will be ignored.
- device String
- The PCI device name for Proxmox, in form
of hostpciXwhereXis a sequential number from 0 to 15.
- id String
- The PCI device ID. This parameter is not compatible
with api_tokenand requires the rootusernameandpasswordconfigured in the proxmox provider. Use either this ormapping.
- mapping String
- The resource mapping name of the device, for
example gpu. 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 vgaconfiguration 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.Proxmox VE. VM. Inputs. Virtual Machine Initialization Dns 
- 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 toide2.
- IpConfigs List<Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Initialization Ip Config> 
- The IP configuration (one block per network device).
- MetaData stringFile Id 
- The identifier for a file containing all meta data passed to the VM via cloud-init.
- NetworkData stringFile Id 
- The identifier for a file containing
network configuration data passed to the VM via cloud-init (conflicts
with ip_config).
- Type string
- The cloud-init configuration format
- Upgrade bool
- Whether to do an automatic package upgrade after the first boot
- UserAccount Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Initialization User Account 
- The user account configuration (conflicts
with user_data_file_id).
- UserData stringFile Id 
- The identifier for a file containing
custom user data (conflicts with user_account).
- VendorData stringFile Id 
- 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
VirtualMachine Initialization Dns 
- 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 toide2.
- IpConfigs []VirtualMachine Initialization Ip Config 
- The IP configuration (one block per network device).
- MetaData stringFile Id 
- The identifier for a file containing all meta data passed to the VM via cloud-init.
- NetworkData stringFile Id 
- The identifier for a file containing
network configuration data passed to the VM via cloud-init (conflicts
with ip_config).
- Type string
- The cloud-init configuration format
- Upgrade bool
- Whether to do an automatic package upgrade after the first boot
- UserAccount VirtualMachine Initialization User Account 
- The user account configuration (conflicts
with user_data_file_id).
- UserData stringFile Id 
- The identifier for a file containing
custom user data (conflicts with user_account).
- VendorData stringFile Id 
- 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
VirtualMachine Initialization Dns 
- 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 toide2.
- ipConfigs List<VirtualMachine Initialization Ip Config> 
- The IP configuration (one block per network device).
- metaData StringFile Id 
- The identifier for a file containing all meta data passed to the VM via cloud-init.
- networkData StringFile Id 
- The identifier for a file containing
network configuration data passed to the VM via cloud-init (conflicts
with ip_config).
- type String
- The cloud-init configuration format
- upgrade Boolean
- Whether to do an automatic package upgrade after the first boot
- userAccount VirtualMachine Initialization User Account 
- The user account configuration (conflicts
with user_data_file_id).
- userData StringFile Id 
- The identifier for a file containing
custom user data (conflicts with user_account).
- vendorData StringFile Id 
- 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
VirtualMachine Initialization Dns 
- 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 toide2.
- ipConfigs VirtualMachine Initialization Ip Config[] 
- The IP configuration (one block per network device).
- metaData stringFile Id 
- The identifier for a file containing all meta data passed to the VM via cloud-init.
- networkData stringFile Id 
- The identifier for a file containing
network configuration data passed to the VM via cloud-init (conflicts
with ip_config).
- type string
- The cloud-init configuration format
- upgrade boolean
- Whether to do an automatic package upgrade after the first boot
- userAccount VirtualMachine Initialization User Account 
- The user account configuration (conflicts
with user_data_file_id).
- userData stringFile Id 
- The identifier for a file containing
custom user data (conflicts with user_account).
- vendorData stringFile Id 
- 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.Virtual Machine Initialization Dns 
- 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 toide2.
- ip_configs Sequence[vm.Virtual Machine Initialization Ip Config] 
- The IP configuration (one block per network device).
- meta_data_ strfile_ id 
- The identifier for a file containing all meta data passed to the VM via cloud-init.
- network_data_ strfile_ id 
- The identifier for a file containing
network configuration data passed to the VM via cloud-init (conflicts
with ip_config).
- type str
- The cloud-init configuration format
- upgrade bool
- Whether to do an automatic package upgrade after the first boot
- user_account vm.Virtual Machine Initialization User Account 
- The user account configuration (conflicts
with user_data_file_id).
- user_data_ strfile_ id 
- The identifier for a file containing
custom user data (conflicts with user_account).
- vendor_data_ strfile_ id 
- 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 toide2.
- ipConfigs List<Property Map>
- The IP configuration (one block per network device).
- metaData StringFile Id 
- The identifier for a file containing all meta data passed to the VM via cloud-init.
- networkData StringFile Id 
- The identifier for a file containing
network configuration data passed to the VM via cloud-init (conflicts
with ip_config).
- type String
- The cloud-init configuration format
- upgrade Boolean
- Whether to do an automatic package upgrade after the first boot
- userAccount Property Map
- The user account configuration (conflicts
with user_data_file_id).
- userData StringFile Id 
- The identifier for a file containing
custom user data (conflicts with user_account).
- vendorData StringFile Id 
- The identifier for a file containing all vendor data passed to the VM via cloud-init.
VirtualMachineInitializationDns, VirtualMachineInitializationDnsArgs        
VirtualMachineInitializationIpConfig, VirtualMachineInitializationIpConfigArgs          
- Ipv4
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Initialization Ip Config Ipv4 
- The IPv4 configuration.
- Ipv6
Pulumi.Proxmox VE. VM. Inputs. Virtual Machine Initialization Ip Config Ipv6 
- The IPv6 configuration.
- Ipv4
VirtualMachine Initialization Ip Config Ipv4 
- The IPv4 configuration.
- Ipv6
VirtualMachine Initialization Ip Config Ipv6 
- The IPv6 configuration.
- ipv4
VirtualMachine Initialization Ip Config Ipv4 
- The IPv4 configuration.
- ipv6
VirtualMachine Initialization Ip Config Ipv6 
- The IPv6 configuration.
- ipv4
VirtualMachine Initialization Ip Config Ipv4 
- The IPv4 configuration.
- ipv6
VirtualMachine Initialization Ip Config Ipv6 
- The IPv6 configuration.
- ipv4
vm.Virtual Machine Initialization Ip Config Ipv4 
- The IPv4 configuration.
- ipv6
vm.Virtual Machine Initialization Ip Config Ipv6 
- The IPv6 configuration.
- ipv4 Property Map
- The IPv4 configuration.
- ipv6 Property Map
- The IPv6 configuration.
VirtualMachineInitializationIpConfigIpv4, VirtualMachineInitializationIpConfigIpv4Args            
VirtualMachineInitializationIpConfigIpv6, VirtualMachineInitializationIpConfigIpv6Args            
VirtualMachineInitializationUserAccount, VirtualMachineInitializationUserAccountArgs          
VirtualMachineMemory, VirtualMachineMemoryArgs      
- Dedicated int
- The dedicated memory in megabytes (defaults to 512).
- Floating int
- The floating memory in megabytes. The default is 0, which disables "ballooning device" for the VM. Please note that Proxmox has ballooning enabled by default. To enable it, setfloatingto the same value asdedicated. See Proxmox documentation section 10.2.6 for more information.
- Hugepages string
- Enable/disable hugepages memory (defaults to disable).
- KeepHugepages bool
- Keep hugepages memory after the VM is stopped (defaults to - false).- Settings - hugepagesand- keep_hugepagesare only allowed for- root@pamauthenticated user. And required- cpu.numato be enabled.
- 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. The default is 0, which disables "ballooning device" for the VM. Please note that Proxmox has ballooning enabled by default. To enable it, setfloatingto the same value asdedicated. See Proxmox documentation section 10.2.6 for more information.
- Hugepages string
- Enable/disable hugepages memory (defaults to disable).
- KeepHugepages bool
- Keep hugepages memory after the VM is stopped (defaults to - false).- Settings - hugepagesand- keep_hugepagesare only allowed for- root@pamauthenticated user. And required- cpu.numato be enabled.
- 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. The default is 0, which disables "ballooning device" for the VM. Please note that Proxmox has ballooning enabled by default. To enable it, setfloatingto the same value asdedicated. See Proxmox documentation section 10.2.6 for more information.
- hugepages String
- Enable/disable hugepages memory (defaults to disable).
- keepHugepages Boolean
- Keep hugepages memory after the VM is stopped (defaults to - false).- Settings - hugepagesand- keep_hugepagesare only allowed for- root@pamauthenticated user. And required- cpu.numato be enabled.
- 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. The default is 0, which disables "ballooning device" for the VM. Please note that Proxmox has ballooning enabled by default. To enable it, setfloatingto the same value asdedicated. See Proxmox documentation section 10.2.6 for more information.
- hugepages string
- Enable/disable hugepages memory (defaults to disable).
- keepHugepages boolean
- Keep hugepages memory after the VM is stopped (defaults to - false).- Settings - hugepagesand- keep_hugepagesare only allowed for- root@pamauthenticated user. And required- cpu.numato be enabled.
- 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. The default is 0, which disables "ballooning device" for the VM. Please note that Proxmox has ballooning enabled by default. To enable it, setfloatingto the same value asdedicated. See Proxmox documentation section 10.2.6 for more information.
- hugepages str
- Enable/disable hugepages memory (defaults to disable).
- keep_hugepages bool
- Keep hugepages memory after the VM is stopped (defaults to - false).- Settings - hugepagesand- keep_hugepagesare only allowed for- root@pamauthenticated user. And required- cpu.numato be enabled.
- 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. The default is 0, which disables "ballooning device" for the VM. Please note that Proxmox has ballooning enabled by default. To enable it, setfloatingto the same value asdedicated. See Proxmox documentation section 10.2.6 for more information.
- hugepages String
- Enable/disable hugepages memory (defaults to disable).
- keepHugepages Boolean
- Keep hugepages memory after the VM is stopped (defaults to - false).- Settings - hugepagesand- keep_hugepagesare only allowed for- root@pamauthenticated user. And required- cpu.numato be enabled.
- 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 network 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 network 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 network 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 network 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 network device (defaults to true).
- firewall bool
- Whether this interface's firewall rules should be used (defaults to false).
- mac_address str
- The MAC address.
- 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 network 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 NUMA device name for Proxmox, in form
of numaXwhereXis a sequential number from 0 to 7.
- Memory int
- The memory in megabytes to assign to the NUMA node.
- 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 NUMA device name for Proxmox, in form
of numaXwhereXis a sequential number from 0 to 7.
- Memory int
- The memory in megabytes to assign to the NUMA node.
- 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 NUMA device name for Proxmox, in form
of numaXwhereXis a sequential number from 0 to 7.
- memory Integer
- The memory in megabytes to assign to the NUMA node.
- 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 NUMA device name for Proxmox, in form
of numaXwhereXis a sequential number from 0 to 7.
- memory number
- The memory in megabytes to assign to the NUMA node.
- 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 NUMA device name for Proxmox, in form
of numaXwhereXis a sequential number from 0 to 7.
- memory int
- The memory in megabytes to assign to the NUMA node.
- 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 NUMA device name for Proxmox, in form
of numaXwhereXis a sequential number from 0 to 7.
- memory Number
- The memory in megabytes to assign to the NUMA node.
- hostnodes String
- The NUMA host nodes.
- policy String
- The NUMA policy (defaults to preferred).
VirtualMachineOperatingSystem, VirtualMachineOperatingSystemArgs        
- Type string
- The type (defaults to other).
- Type string
- The type (defaults to other).
- type String
- The type (defaults to other).
- type string
- The type (defaults to other).
- type str
- The type (defaults to other).
- type String
- The type (defaults to other).
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      
VirtualMachineStartup, VirtualMachineStartupArgs      
- 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.
VirtualMachineTpmState, VirtualMachineTpmStateArgs        
- DatastoreId string
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- Version string
- TPM state device version. Can be v1.2orv2.0. (defaults tov2.0).
- DatastoreId string
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- Version string
- TPM state device version. Can be v1.2orv2.0. (defaults tov2.0).
- datastoreId String
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- version String
- TPM state device version. Can be v1.2orv2.0. (defaults tov2.0).
- datastoreId string
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- version string
- TPM state device version. Can be v1.2orv2.0. (defaults tov2.0).
- datastore_id str
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- version str
- TPM state device version. Can be v1.2orv2.0. (defaults tov2.0).
- datastoreId String
- The identifier for the datastore to create
the disk in (defaults to local-lvm).
- version String
- TPM state device version. Can be v1.2orv2.0. (defaults tov2.0).
VirtualMachineUsb, VirtualMachineUsbArgs      
VirtualMachineVga, VirtualMachineVgaArgs      
- Clipboard string
- Enable VNC clipboard by setting to vnc. See the Proxmox documentation section 10.2.8 for more information.
- Memory int
- The VGA memory in megabytes (defaults to 16).
- Type string
- The VGA type (defaults to std).
- Clipboard string
- Enable VNC clipboard by setting to vnc. See the Proxmox documentation section 10.2.8 for more information.
- Memory int
- The VGA memory in megabytes (defaults to 16).
- Type string
- The VGA type (defaults to std).
- clipboard String
- Enable VNC clipboard by setting to vnc. See the Proxmox documentation section 10.2.8 for more information.
- memory Integer
- The VGA memory in megabytes (defaults to 16).
- type String
- The VGA type (defaults to std).
- clipboard string
- Enable VNC clipboard by setting to vnc. See the Proxmox documentation section 10.2.8 for more information.
- memory number
- The VGA memory in megabytes (defaults to 16).
- type string
- The VGA type (defaults to std).
- clipboard str
- Enable VNC clipboard by setting to vnc. See the Proxmox documentation section 10.2.8 for more information.
- memory int
- The VGA memory in megabytes (defaults to 16).
- type str
- The VGA type (defaults to std).
- clipboard String
- Enable VNC clipboard by setting to vnc. See the Proxmox documentation section 10.2.8 for more information.
- memory Number
- The VGA memory in megabytes (defaults to 16).
- type String
- The VGA type (defaults to std).
VirtualMachineWatchdog, VirtualMachineWatchdogArgs      
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 proxmoxTerraform Provider.
