Proxmox Virtual Environment (Proxmox VE) v6.15.3 published on Monday, Nov 11, 2024 by Daniel Muehlbachler-Pietrzykowski
proxmoxve.getVm2
Explore with Pulumi AI
Proxmox Virtual Environment (Proxmox VE) v6.15.3 published on Monday, Nov 11, 2024 by Daniel Muehlbachler-Pietrzykowski
!> DO NOT USE This is an experimental implementation of a Proxmox VM datasource using Plugin Framework.
Using getVm2
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 getVm2(args: GetVm2Args, opts?: InvokeOptions): Promise<GetVm2Result>
function getVm2Output(args: GetVm2OutputArgs, opts?: InvokeOptions): Output<GetVm2Result>
def get_vm2(clone: Optional[GetVm2Clone] = None,
cpu: Optional[GetVm2Cpu] = None,
description: Optional[str] = None,
id: Optional[int] = None,
name: Optional[str] = None,
node_name: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
template: Optional[bool] = None,
timeouts: Optional[GetVm2Timeouts] = None,
vga: Optional[GetVm2Vga] = None,
opts: Optional[InvokeOptions] = None) -> GetVm2Result
def get_vm2_output(clone: Optional[pulumi.Input[GetVm2CloneArgs]] = None,
cpu: Optional[pulumi.Input[GetVm2CpuArgs]] = None,
description: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
node_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
template: Optional[pulumi.Input[bool]] = None,
timeouts: Optional[pulumi.Input[GetVm2TimeoutsArgs]] = None,
vga: Optional[pulumi.Input[GetVm2VgaArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVm2Result]
func LookupVm2(ctx *Context, args *LookupVm2Args, opts ...InvokeOption) (*LookupVm2Result, error)
func LookupVm2Output(ctx *Context, args *LookupVm2OutputArgs, opts ...InvokeOption) LookupVm2ResultOutput
> Note: This function is named LookupVm2
in the Go SDK.
public static class GetVm2
{
public static Task<GetVm2Result> InvokeAsync(GetVm2Args args, InvokeOptions? opts = null)
public static Output<GetVm2Result> Invoke(GetVm2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVm2Result> getVm2(GetVm2Args args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: proxmoxve:index/getVm2:getVm2
arguments:
# arguments dictionary
The 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.
- Clone
Pulumi.
Proxmox VE. Inputs. Get Vm2Clone - The cloning configuration.
- Cpu
Pulumi.
Proxmox VE. Inputs. Get Vm2Cpu - The CPU configuration.
- Description string
- The description of the VM.
- Name string
- The name of the VM.
- List<string>
- The tags assigned to the VM.
- Template bool
- Whether the VM is a template.
- Timeouts
Pulumi.
Proxmox VE. Inputs. Get Vm2Timeouts - Vga
Pulumi.
Proxmox VE. Inputs. Get Vm2Vga - The VGA configuration.
- 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.
- Clone
Get
Vm2Clone - The cloning configuration.
- Cpu
Get
Vm2Cpu - The CPU configuration.
- Description string
- The description of the VM.
- Name string
- The name of the VM.
- []string
- The tags assigned to the VM.
- Template bool
- Whether the VM is a template.
- Timeouts
Get
Vm2Timeouts - Vga
Get
Vm2Vga - The VGA configuration.
- 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.
- clone_
Get
Vm2Clone - The cloning configuration.
- cpu
Get
Vm2Cpu - The CPU configuration.
- description String
- The description of the VM.
- name String
- The name of the VM.
- List<String>
- The tags assigned to the VM.
- template Boolean
- Whether the VM is a template.
- timeouts
Get
Vm2Timeouts - vga
Get
Vm2Vga - The VGA configuration.
- 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.
- clone
Get
Vm2Clone - The cloning configuration.
- cpu
Get
Vm2Cpu - The CPU configuration.
- description string
- The description of the VM.
- name string
- The name of the VM.
- string[]
- The tags assigned to the VM.
- template boolean
- Whether the VM is a template.
- timeouts
Get
Vm2Timeouts - vga
Get
Vm2Vga - The VGA configuration.
- 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.
- clone
Get
Vm2Clone - The cloning configuration.
- cpu
Get
Vm2Cpu - The CPU configuration.
- description str
- The description of the VM.
- name str
- The name of the VM.
- Sequence[str]
- The tags assigned to the VM.
- template bool
- Whether the VM is a template.
- timeouts
Get
Vm2Timeouts - vga
Get
Vm2Vga - The VGA configuration.
- 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.
- clone Property Map
- The cloning configuration.
- cpu Property Map
- The CPU configuration.
- description String
- The description of the VM.
- name String
- The name of the VM.
- List<String>
- The tags assigned to the VM.
- template Boolean
- Whether the VM is a template.
- timeouts Property Map
- vga Property Map
- The VGA configuration.
getVm2 Result
The following output properties are available:
- Cpu
Pulumi.
Proxmox VE. Outputs. Get Vm2Cpu - The CPU configuration.
- 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.
- List<string>
- The tags assigned to the VM.
- Vga
Pulumi.
Proxmox VE. Outputs. Get Vm2Vga - The VGA configuration.
- Clone
Pulumi.
Proxmox VE. Outputs. Get Vm2Clone - The cloning configuration.
- Description string
- The description of the VM.
- Name string
- The name of the VM.
- Template bool
- Whether the VM is a template.
- Timeouts
Pulumi.
Proxmox VE. Outputs. Get Vm2Timeouts
- Cpu
Get
Vm2Cpu - The CPU configuration.
- 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.
- []string
- The tags assigned to the VM.
- Vga
Get
Vm2Vga - The VGA configuration.
- Clone
Get
Vm2Clone - The cloning configuration.
- Description string
- The description of the VM.
- Name string
- The name of the VM.
- Template bool
- Whether the VM is a template.
- Timeouts
Get
Vm2Timeouts
- cpu
Get
Vm2Cpu - The CPU configuration.
- 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.
- List<String>
- The tags assigned to the VM.
- vga
Get
Vm2Vga - The VGA configuration.
- clone_
Get
Vm2Clone - The cloning configuration.
- description String
- The description of the VM.
- name String
- The name of the VM.
- template Boolean
- Whether the VM is a template.
- timeouts
Get
Vm2Timeouts
- cpu
Get
Vm2Cpu - The CPU configuration.
- 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.
- string[]
- The tags assigned to the VM.
- vga
Get
Vm2Vga - The VGA configuration.
- clone
Get
Vm2Clone - The cloning configuration.
- description string
- The description of the VM.
- name string
- The name of the VM.
- template boolean
- Whether the VM is a template.
- timeouts
Get
Vm2Timeouts
- cpu
Get
Vm2Cpu - The CPU configuration.
- 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.
- Sequence[str]
- The tags assigned to the VM.
- vga
Get
Vm2Vga - The VGA configuration.
- clone
Get
Vm2Clone - The cloning configuration.
- description str
- The description of the VM.
- name str
- The name of the VM.
- template bool
- Whether the VM is a template.
- timeouts
Get
Vm2Timeouts
- cpu Property Map
- The CPU configuration.
- 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.
- List<String>
- The tags assigned to the VM.
- vga Property Map
- The VGA configuration.
- clone Property Map
- The cloning configuration.
- description String
- The description of the VM.
- name String
- The name of the VM.
- template Boolean
- Whether the VM is a template.
- timeouts Property Map
Supporting Types
GetVm2Clone
GetVm2Cpu
- 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.
- Hotplugged int
- The number of hotplugged vCPUs.
- Limit int
- Limit of CPU usage.
- Numa bool
- Enable NUMA.
- Sockets int
- The number of CPU sockets.
- Type string
- Emulated CPU type.
- Units int
- CPU weight for a VM
- 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.
- Hotplugged int
- The number of hotplugged vCPUs.
- Limit int
- Limit of CPU usage.
- Numa bool
- Enable NUMA.
- Sockets int
- The number of CPU sockets.
- Type string
- Emulated CPU type.
- Units int
- CPU weight for a VM
- 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.
- hotplugged Integer
- The number of hotplugged vCPUs.
- limit Integer
- Limit of CPU usage.
- numa Boolean
- Enable NUMA.
- sockets Integer
- The number of CPU sockets.
- type String
- Emulated CPU type.
- units Integer
- CPU weight for a VM
- 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.
- hotplugged number
- The number of hotplugged vCPUs.
- limit number
- Limit of CPU usage.
- numa boolean
- Enable NUMA.
- sockets number
- The number of CPU sockets.
- type string
- Emulated CPU type.
- units number
- CPU weight for a VM
- 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.
- hotplugged int
- The number of hotplugged vCPUs.
- limit int
- Limit of CPU usage.
- numa bool
- Enable NUMA.
- sockets int
- The number of CPU sockets.
- type str
- Emulated CPU type.
- units int
- CPU weight for a VM
- 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.
- hotplugged Number
- The number of hotplugged vCPUs.
- limit Number
- Limit of CPU usage.
- numa Boolean
- Enable NUMA.
- sockets Number
- The number of CPU sockets.
- type String
- Emulated CPU type.
- units Number
- CPU weight for a VM
GetVm2Timeouts
- 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.
GetVm2Vga
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmox
Terraform Provider.
Proxmox Virtual Environment (Proxmox VE) v6.15.3 published on Monday, Nov 11, 2024 by Daniel Muehlbachler-Pietrzykowski