Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Deprecated: Use
proxmoxve.Vminstead. This data source will be removed in v1.0.
Retrieves information about a specific VM.
Using getVm2Legacy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVm2Legacy(args: GetVm2LegacyArgs, opts?: InvokeOptions): Promise<GetVm2LegacyResult>
function getVm2LegacyOutput(args: GetVm2LegacyOutputArgs, opts?: InvokeOptions): Output<GetVm2LegacyResult>def get_vm2_legacy(id: Optional[int] = None,
node_name: Optional[str] = None,
timeouts: Optional[GetVm2LegacyTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetVm2LegacyResult
def get_vm2_legacy_output(id: Optional[pulumi.Input[int]] = None,
node_name: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetVm2LegacyTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVm2LegacyResult]func LookupVm2Legacy(ctx *Context, args *LookupVm2LegacyArgs, opts ...InvokeOption) (*LookupVm2LegacyResult, error)
func LookupVm2LegacyOutput(ctx *Context, args *LookupVm2LegacyOutputArgs, opts ...InvokeOption) LookupVm2LegacyResultOutput> Note: This function is named LookupVm2Legacy in the Go SDK.
public static class GetVm2Legacy
{
public static Task<GetVm2LegacyResult> InvokeAsync(GetVm2LegacyArgs args, InvokeOptions? opts = null)
public static Output<GetVm2LegacyResult> Invoke(GetVm2LegacyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVm2LegacyResult> getVm2Legacy(GetVm2LegacyArgs args, InvokeOptions options)
public static Output<GetVm2LegacyResult> getVm2Legacy(GetVm2LegacyArgs args, InvokeOptions options)
fn::invoke:
function: proxmoxve:index/getVm2Legacy:getVm2Legacy
arguments:
# arguments dictionaryThe following arguments are supported:
- Id int
- The unique identifier of the VM in the Proxmox cluster.
- Node
Name string - The name of the node where the VM is provisioned.
- Timeouts
Pulumi.
Proxmox VE. Inputs. Get Vm2Legacy Timeouts
- Id int
- The unique identifier of the VM in the Proxmox cluster.
- Node
Name string - The name of the node where the VM is provisioned.
- Timeouts
Get
Vm2Legacy Timeouts
- id Integer
- The unique identifier of the VM in the Proxmox cluster.
- node
Name String - The name of the node where the VM is provisioned.
- timeouts
Get
Vm2Legacy Timeouts
- id number
- The unique identifier of the VM in the Proxmox cluster.
- node
Name string - The name of the node where the VM is provisioned.
- timeouts
Get
Vm2Legacy Timeouts
- id int
- The unique identifier of the VM in the Proxmox cluster.
- node_
name str - The name of the node where the VM is provisioned.
- timeouts
Get
Vm2Legacy Timeouts
- id Number
- The unique identifier of the VM in the Proxmox cluster.
- node
Name String - The name of the node where the VM is provisioned.
- timeouts Property Map
getVm2Legacy Result
The following output properties are available:
- Cdrom
Dictionary<string, Pulumi.
Proxmox VE. Outputs. Get Vm2Legacy Cdrom> - The CD-ROM configuration.
- Cpu
Pulumi.
Proxmox VE. Outputs. Get Vm2Legacy Cpu - The CPU configuration.
- Description string
- The description of the VM.
- Id int
- The unique identifier of the VM in the Proxmox cluster.
- Name string
- The name of the VM.
- Node
Name string - The name of the node where the VM is provisioned.
- Rng
Pulumi.
Proxmox VE. Outputs. Get Vm2Legacy Rng - The RNG (Random Number Generator) configuration.
- Status string
- The status of the VM (e.g.,
running,stopped). - List<string>
- The tags assigned to the VM.
- Template bool
- Whether the VM is a template.
- Vga
Pulumi.
Proxmox VE. Outputs. Get Vm2Legacy Vga - The VGA configuration.
- Timeouts
Pulumi.
Proxmox VE. Outputs. Get Vm2Legacy Timeouts
- Cdrom
map[string]Get
Vm2Legacy Cdrom - The CD-ROM configuration.
- Cpu
Get
Vm2Legacy Cpu - The CPU configuration.
- Description string
- The description of the VM.
- Id int
- The unique identifier of the VM in the Proxmox cluster.
- Name string
- The name of the VM.
- Node
Name string - The name of the node where the VM is provisioned.
- Rng
Get
Vm2Legacy Rng - The RNG (Random Number Generator) configuration.
- Status string
- The status of the VM (e.g.,
running,stopped). - []string
- The tags assigned to the VM.
- Template bool
- Whether the VM is a template.
- Vga
Get
Vm2Legacy Vga - The VGA configuration.
- Timeouts
Get
Vm2Legacy Timeouts
- cdrom
Map<String,Get
Vm2Legacy Cdrom> - The CD-ROM configuration.
- cpu
Get
Vm2Legacy Cpu - The CPU configuration.
- description String
- The description of the VM.
- id Integer
- The unique identifier of the VM in the Proxmox cluster.
- name String
- The name of the VM.
- node
Name String - The name of the node where the VM is provisioned.
- rng
Get
Vm2Legacy Rng - The RNG (Random Number Generator) configuration.
- status String
- The status of the VM (e.g.,
running,stopped). - List<String>
- The tags assigned to the VM.
- template Boolean
- Whether the VM is a template.
- vga
Get
Vm2Legacy Vga - The VGA configuration.
- timeouts
Get
Vm2Legacy Timeouts
- cdrom
{[key: string]: Get
Vm2Legacy Cdrom} - The CD-ROM configuration.
- cpu
Get
Vm2Legacy Cpu - The CPU configuration.
- description string
- The description of the VM.
- id number
- The unique identifier of the VM in the Proxmox cluster.
- name string
- The name of the VM.
- node
Name string - The name of the node where the VM is provisioned.
- rng
Get
Vm2Legacy Rng - The RNG (Random Number Generator) configuration.
- status string
- The status of the VM (e.g.,
running,stopped). - string[]
- The tags assigned to the VM.
- template boolean
- Whether the VM is a template.
- vga
Get
Vm2Legacy Vga - The VGA configuration.
- timeouts
Get
Vm2Legacy Timeouts
- cdrom
Mapping[str, Get
Vm2Legacy Cdrom] - The CD-ROM configuration.
- cpu
Get
Vm2Legacy Cpu - The CPU configuration.
- description str
- The description of the VM.
- id int
- The unique identifier of the VM in the Proxmox cluster.
- name str
- The name of the VM.
- node_
name str - The name of the node where the VM is provisioned.
- rng
Get
Vm2Legacy Rng - The RNG (Random Number Generator) configuration.
- status str
- The status of the VM (e.g.,
running,stopped). - Sequence[str]
- The tags assigned to the VM.
- template bool
- Whether the VM is a template.
- vga
Get
Vm2Legacy Vga - The VGA configuration.
- timeouts
Get
Vm2Legacy Timeouts
- cdrom Map<Property Map>
- The CD-ROM configuration.
- cpu Property Map
- The CPU configuration.
- description String
- The description of the VM.
- id Number
- The unique identifier of the VM in the Proxmox cluster.
- name String
- The name of the VM.
- node
Name String - The name of the node where the VM is provisioned.
- rng Property Map
- The RNG (Random Number Generator) configuration.
- status String
- The status of the VM (e.g.,
running,stopped). - List<String>
- The tags assigned to the VM.
- template Boolean
- Whether the VM is a template.
- vga Property Map
- The VGA configuration.
- timeouts Property Map
Supporting Types
GetVm2LegacyCdrom
- File
Id string - The file ID of the CD-ROM.
- File
Id string - The file ID of the CD-ROM.
- file
Id String - The file ID of the CD-ROM.
- file
Id string - The file ID of the CD-ROM.
- file_
id str - The file ID of the CD-ROM.
- file
Id String - The file ID of the CD-ROM.
GetVm2LegacyCpu
- Affinity string
- List of host cores used to execute guest processes, for example: '0,5,8-11'
- Architecture string
- The CPU architecture.
- Cores int
- The number of CPU cores per socket.
- Flags List<string>
- Set of additional CPU flags.
- Limit double
- Limit of CPU usage.
- Numa bool
- Whether NUMA emulation is enabled.
- Sockets int
- The number of CPU sockets.
- Type string
- Emulated CPU type.
- Units int
- CPU weight for a VM
- Vcpus int
- Number of active vCPUs.
- Affinity string
- List of host cores used to execute guest processes, for example: '0,5,8-11'
- Architecture string
- The CPU architecture.
- Cores int
- The number of CPU cores per socket.
- Flags []string
- Set of additional CPU flags.
- Limit float64
- Limit of CPU usage.
- Numa bool
- Whether NUMA emulation is enabled.
- Sockets int
- The number of CPU sockets.
- Type string
- Emulated CPU type.
- Units int
- CPU weight for a VM
- Vcpus int
- Number of active vCPUs.
- affinity String
- List of host cores used to execute guest processes, for example: '0,5,8-11'
- architecture String
- The CPU architecture.
- cores Integer
- The number of CPU cores per socket.
- flags List<String>
- Set of additional CPU flags.
- limit Double
- Limit of CPU usage.
- numa Boolean
- Whether NUMA emulation is enabled.
- sockets Integer
- The number of CPU sockets.
- type String
- Emulated CPU type.
- units Integer
- CPU weight for a VM
- vcpus Integer
- Number of active vCPUs.
- affinity string
- List of host cores used to execute guest processes, for example: '0,5,8-11'
- architecture string
- The CPU architecture.
- cores number
- The number of CPU cores per socket.
- flags string[]
- Set of additional CPU flags.
- limit number
- Limit of CPU usage.
- numa boolean
- Whether NUMA emulation is enabled.
- sockets number
- The number of CPU sockets.
- type string
- Emulated CPU type.
- units number
- CPU weight for a VM
- vcpus number
- Number of active vCPUs.
- affinity str
- List of host cores used to execute guest processes, for example: '0,5,8-11'
- architecture str
- The CPU architecture.
- cores int
- The number of CPU cores per socket.
- flags Sequence[str]
- Set of additional CPU flags.
- limit float
- Limit of CPU usage.
- numa bool
- Whether NUMA emulation is enabled.
- sockets int
- The number of CPU sockets.
- type str
- Emulated CPU type.
- units int
- CPU weight for a VM
- vcpus int
- Number of active vCPUs.
- affinity String
- List of host cores used to execute guest processes, for example: '0,5,8-11'
- architecture String
- The CPU architecture.
- cores Number
- The number of CPU cores per socket.
- flags List<String>
- Set of additional CPU flags.
- limit Number
- Limit of CPU usage.
- numa Boolean
- Whether NUMA emulation is enabled.
- sockets Number
- The number of CPU sockets.
- type String
- Emulated CPU type.
- units Number
- CPU weight for a VM
- vcpus Number
- Number of active vCPUs.
GetVm2LegacyRng
GetVm2LegacyTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
GetVm2LegacyVga
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmoxTerraform Provider.
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
