1. Packages
  2. Nutanix
  3. API Docs
  4. getVirtualMachinesV2
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

nutanix.getVirtualMachinesV2

Explore with Pulumi AI

nutanix logo
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

    Lists the Virtual Machines defined on the system. List of Virtual Machines can be further filtered out using various filtering options.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const list_vms = nutanix.getVirtualMachinesV2({});
    const paged_vms = nutanix.getVirtualMachinesV2({
        limit: 2,
        page: 0,
    });
    const filtered_vms = nutanix.getVirtualMachinesV2({
        filter: "name eq 'example-vm-filter'",
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    list_vms = nutanix.get_virtual_machines_v2()
    paged_vms = nutanix.get_virtual_machines_v2(limit=2,
        page=0)
    filtered_vms = nutanix.get_virtual_machines_v2(filter="name eq 'example-vm-filter'")
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.GetVirtualMachinesV2(ctx, &nutanix.GetVirtualMachinesV2Args{}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = nutanix.GetVirtualMachinesV2(ctx, &nutanix.GetVirtualMachinesV2Args{
    			Limit: pulumi.IntRef(2),
    			Page:  pulumi.IntRef(0),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = nutanix.GetVirtualMachinesV2(ctx, &nutanix.GetVirtualMachinesV2Args{
    			Filter: pulumi.StringRef("name eq 'example-vm-filter'"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = Pulumi.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var list_vms = Nutanix.GetVirtualMachinesV2.Invoke();
    
        var paged_vms = Nutanix.GetVirtualMachinesV2.Invoke(new()
        {
            Limit = 2,
            Page = 0,
        });
    
        var filtered_vms = Nutanix.GetVirtualMachinesV2.Invoke(new()
        {
            Filter = "name eq 'example-vm-filter'",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NutanixFunctions;
    import com.pulumi.nutanix.inputs.GetVirtualMachinesV2Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var list-vms = NutanixFunctions.getVirtualMachinesV2(GetVirtualMachinesV2Args.builder()
                .build());
    
            final var paged-vms = NutanixFunctions.getVirtualMachinesV2(GetVirtualMachinesV2Args.builder()
                .limit(2)
                .page(0)
                .build());
    
            final var filtered-vms = NutanixFunctions.getVirtualMachinesV2(GetVirtualMachinesV2Args.builder()
                .filter("name eq 'example-vm-filter'")
                .build());
    
        }
    }
    
    variables:
      list-vms:
        fn::invoke:
          function: nutanix:getVirtualMachinesV2
          arguments: {}
      paged-vms:
        fn::invoke:
          function: nutanix:getVirtualMachinesV2
          arguments:
            limit: 2
            page: 0
      filtered-vms:
        fn::invoke:
          function: nutanix:getVirtualMachinesV2
          arguments:
            filter: name eq 'example-vm-filter'
    

    VMs

    The vms is a list of all virtual machines. Each virtual machine has the following attributes:

    • tenant_id - A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    • links: A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    • ext_id: A globally unique identifier of an instance that is suitable for external consumption.
    • name: VM name.
    • description: VM description
    • create_time: VM creation time
    • update_time: VM last updated time.
    • source: Reference to an entity that the VM should be cloned or created from
    • num_sockets: Number of vCPU sockets.
    • num_cores_per_socket: Number of cores per socket.
    • num_threads_per_core: Number of threads per core
    • num_numa_nodes: Number of NUMA nodes. 0 means NUMA is disabled.
    • memory_size_bytes: Memory size in bytes.
    • is_vcpu_hard_pinning_enabled: Indicates whether the vCPUs should be hard pinned to specific pCPUs or not.
    • is_cpu_passthrough_enabled: Indicates whether to passthrough the host CPU features to the guest or not. Enabling this will make VM incapable of live migration.
    • enabled_cpu_features: The list of additional CPU features to be enabled. HardwareVirtualization: Indicates whether hardware assisted virtualization should be enabled for the Guest OS or not. Once enabled, the Guest OS can deploy a nested hypervisor
    • is_memory_overcommit_enabled: Indicates whether the memory overcommit feature should be enabled for the VM or not. If enabled, parts of the VM memory may reside outside of the hypervisor physical memory. Once enabled, it should be expected that the VM may suffer performance degradation.
    • is_gpu_console_enabled: Indicates whether the vGPU console is enabled or not.
    • is_cpu_hotplug_enabled: Indicates whether the VM CPU hotplug is enabled.
    • is_scsi_controller_enabled: Indicates whether the VM SCSI controller is enabled.
    • generation_uuid: Generation UUID of the VM. It should be of type UUID.
    • bios_uuid: BIOS UUID of the VM. It should be of type UUID.
    • categories: Categories for the VM.
    • ownership_info: Ownership information for the VM.
    • host: Reference to the host, the VM is running on.
    • cluster: Reference to a cluster.
    • guest_customization: Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call.
    • guest_tools: The details about Nutanix Guest Tools for a VM.
    • hardware_clock_timezone: VM hardware clock timezone in IANA TZDB format (America/Los_Angeles).
    • is_branding_enabled: Indicates whether to remove AHV branding from VM firmware tables or not.
    • boot_config: Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order.
    • is_vga_console_enabled: Indicates whether the VGA console should be disabled or not.
    • machine_type: Machine type for the VM. Machine type Q35 is required for secure boot and does not support IDE disks.
    • vtpm_config: Indicates how the vTPM for the VM should be configured.
    • is_agent_vm: Indicates whether the VM is an agent VM or not. When their host enters maintenance mode, once the normal VMs are evacuated, the agent VMs are powered off. When the host is restored, agent VMs are powered on before the normal VMs are restored. In other words, agent VMs cannot be HA-protected or live migrated.
    • apc_config: Advanced Processor Compatibility configuration for the VM. Enabling this retains the CPU model for the VM across power cycles and migrations.
    • storage_config: Storage configuration for VM.
    • disks: Disks attached to the VM.
    • cd_roms: CD-ROMs attached to the VM.
    • nics: NICs attached to the VM.
    • gpus: GPUs attached to the VM.
    • serial_ports: Serial ports configured on the VM.
    • protection_type: The type of protection applied on a VM. PD_PROTECTED indicates a VM is protected using the Prism Element. RULE_PROTECTED indicates a VM protection using the Prism Central.
    • protection_policy_state: Status of protection policy applied to this VM.

    The links attribute supports the following:

    • href: - The URL at which the entity described by the link can be accessed.
    • rel: - A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of “self” identifies the URL for the object.

    Source

    The source attribute supports the following:

    • entity_type: Reference to an entity from which the VM should be cloned or created. Values are:
      • VM_RECOVERY_POINT: Reference to the recovery point entity from which the VM should be cloned or created.
      • VM: Reference to an entity from which the VM should be cloned or created.
    • ext_id: A globally unique identifier of a VM of type UUID.

    Categories

    The categories attribute supports the following:

    • ext_id: A globally unique identifier of a VM category of type UUID.

    Ownership Info

    The ownership_info attribute supports the following:

    • owner: Reference to the owner.
    • owner.ext_id: A globally unique identifier of a VM owner type UUID.

    Host

    The host attribute supports the following:

    • ext_id: A globally unique identifier of a host of type UUID.

    Cluster

    The cluster attribute supports the following:

    • ext_id: The globally unique identifier of a cluster type UUID.

    Availability Zone

    The availability_zone attribute supports the following:

    • ext_id: The globally unique identifier of an availability zone type UUID.

    Guest Customization

    The guest_customization attribute supports the following:

    • config: The Nutanix Guest Tools customization settings.

    • config.sysprep: Sysprep config

    • config.cloud_init: CloudInit Config

    config.sysprep

    • install_type: Indicates whether the guest will be freshly installed using this unattend configuration, or this unattend configuration will be applied to a pre-prepared image. Default is ‘PREPARED’.
    • sysprep_script: Object either UnattendXml or CustomKeyValues
    • sysprep_script.unattend_xml: xml object
    • sysprep_script.custom_key_values: The list of the individual KeyValuePair elements.

    config.cloud_init

    • datasource_type: Type of datasource. Default: CONFIG_DRIVE_V2
    • metadata: The contents of the meta_data configuration for cloud-init. This can be formatted as YAML or JSON. The value must be base64 encoded.
    • cloud_init_script: The script to use for cloud-init.
    • cloud_init_script.user_data: user data object
    • cloud_init_script.custom_keys: The list of the individual KeyValuePair elements.

    Guest Tools

    The guest_tools attribute supports the following:

    • version: Version of Nutanix Guest Tools installed on the VM.
    • is_installed: Indicates whether Nutanix Guest Tools is installed on the VM or not.
    • is_iso_inserted: Indicates whether Nutanix Guest Tools ISO is inserted or not.
    • available_version: Version of Nutanix Guest Tools available on the cluster.
    • guest_os_version: Version of the operating system on the VM
    • is_reachable: Indicates whether the communication from VM to CVM is active or not.
    • is_vss_snapshot_capable: Indicates whether the VM is configured to take VSS snapshots through NGT or not.
    • is_vm_mobility_drivers_installed: Indicates whether the VM mobility drivers are installed on the VM or not.
    • is_enabled: Indicates whether Nutanix Guest Tools is enabled or not.
    • capabilities: The list of the application names that are enabled on the guest VM.

    Boot Config

    The boot_config attribute supports the following:

    • legacy_boot: LegacyBoot config Object
    • uefi_boot: UefiBoot config Object

    boot_config.legacy_boot

    • boot_device: Boot Device object

    • boot_device.boot_device_disk: Disk address.

    • boot_device.boot_device_disk.disk_address.bus_type: Bus type for the device

    • boot_device.boot_device_disk.disk_address.index: Device index on the bus. This field is ignored unless the bus details are specified.

    • boot_device.boot_device_nic: Disk Nic address.

    • boot_device.boot_device_nic.mac_address: mac address

    • boot_order: Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order.

    boot_config.uefi_boot

    • is_secure_boot_enabled: Indicate whether to enable secure boot or not
    • nvram_device: Configuration for NVRAM to be presented to the VM.
    • nvram_device.backing_storage_info: Storage provided by Nutanix ADSF
    nvram_device.backing_storage_info
    • disk_ext_id: The globally unique identifier of a VM disk. It should be of type UUID.
    • disk_size_bytes: Size of the disk in Bytes
    • storage_container: This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
    • storage_config: Storage configuration for VM disks
    • storage_config.is_flash_mode_enabled: Indicates whether the virtual disk is pinned to the hot tier or not.
    • data_source: A reference to a disk or image that contains the contents of a disk.
    • is_migration_in_progress: Indicates if the disk is undergoing migration to another container.

    VTPM Config

    The vtpm_config attribute supports the following:

    • is_vtpm_enabled: Indicates whether the virtual trusted platform module is enabled for the Guest OS or not.
    • version: Virtual trusted platform module version.

    APC Config

    The apc_config attribute supports the following:

    • is_apc_enabled: If enabled, the selected CPU model will be retained across live and cold migrations of the VM.
    • cpu_model: CPU model associated with the VM if Advanced Processor Compatibility(APC) is enabled. If APC is enabled and no CPU model is explicitly set, a default baseline CPU model is picked by the system. See the APC documentation for more information
    • cpu_model.ext_id: The globally unique identifier of the CPU model associated with the VM.
    • cpu_model.name: Name of the CPU model associated with the VM.

    Storage Config

    The storage_config attribute supports the following:

    • is_flash_mode_enabled: Indicates whether the virtual disk is pinned to the hot tier or not.
    • qos_config: QoS parameters to be enforced.
    • qos_config.throttled_iops: Throttled IOPS for the governed entities. The block size for the I/O is 32 kB.

    Disks

    The disks attribute supports the following:

    • ext_id: A globally unique identifier of an instance that is suitable for external consumption.
    • disk_address: Disk address.
    • disk_address.bus_type: Bus type for the device. The acceptable values are: SCSI, IDE, PCI, SATA, SPAPR (only PPC).
    • disk_address.index: Device index on the bus. This field is ignored unless the bus details are specified.
    • backing_info: Supporting storage to create virtual disk on.
    • backing_info.vm_disk: backing Info for vmDisk
    • backing_info.adfs_volume_group_reference: Volume Group Reference
    • backing_info.adfs_volume_group_reference.volume_group_ext_id: The globally unique identifier of an ADSF volume group. It should be of type UUID.

    backing_info.vm_disk

    • disk_ext_id: The globally unique identifier of a VM disk. It should be of type UUID.
    • disk_size_bytes: Size of the disk in Bytes
    • storage_container: This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
    • storage_container.ext_id: A globally unique identifier of a VM disk container. It should be of type UUID.
    • storage_config: Storage configuration for VM disks
    • storage_config.is_flash_mode_enabled: Indicates whether the virtual disk is pinned to the hot tier or not.
    • data_source: A reference to a disk or image that contains the contents of a disk.
    • is_migration_in_progress: Indicates if the disk is undergoing migration to another container.

    backing_info.vm_disk.data_source

    • reference: Reference to image or vm disk
    • reference.image_reference: Image Reference
    • reference.image_reference.image_ext_id: The globally unique identifier of an image. It should be of type UUID.
    • reference.vm_disk_reference: Vm Disk Reference
    • reference.vm_disk_reference.disk_ext_id: The globally unique identifier of a VM disk. It should be of type UUID.
    • reference.vm_disk_reference.disk_address: Disk address.
    • reference.vm_disk_reference.disk_address.bus_type: Bus type for the device. The acceptable values are: SCSI, IDE, PCI, SATA, SPAPR (only PPC).
    • reference.vm_disk_reference.disk_address.index: Device index on the bus. This field is ignored unless the bus details are specified.
    • reference.vm_disk_reference.vm_reference: This is a reference to a VM.
    • reference.vm_disk_reference.vm_reference.ext_id: A globally unique identifier of a VM of type UUID.

    CD-ROMs

    The cd_roms attribute supports the following:

    • ext_id: A globally unique identifier of an instance that is suitable for external consumption.
    • disk_address: Virtual Machine disk (VM disk).
    • backing_info: Storage provided by Nutanix ADSF
    • iso_type: Type of ISO image inserted in CD-ROM

    NICs

    The nics attribute supports the following:

    • ext_id: A globally unique identifier of an instance that is suitable for external consumption
    • backing_info: Defines a NIC emulated by the hypervisor
    • network_info: Network information for a NIC.

    nics.backing_info

    • model: Options for the NIC emulation.
    • mac_address: MAC address of the emulated NIC.
    • is_connected: Indicates whether the NIC is connected or not. Default is True.
    • num_queues: The number of Tx/Rx queue pairs for this NIC

    nics.network_info

    • nic_type: NIC type. Defaults to NORMAL_NIC. The acceptable values are: SPAN_DESTINATION_NIC, NORMAL_NIC, DIRECT_NIC, NETWORK_FUNCTION_NIC.
    • network_function_chain: The network function chain associates with the NIC. Only valid if nic_type is NORMAL_NIC.
    • network_function_chain.ext_id: The globally unique identifier of a network function chain. It should be of type UUID.
    • network_function_nic_type: The type of this Network function NIC. Defaults to INGRESS. values are: TAP, EGRESS, INGRESS.
    • subnet: Network identifier for this adapter. Only valid if nic_type is NORMAL_NIC or DIRECT_NIC.
    • subnet.ext_id: The globally unique identifier of a subnet of type UUID.
    • vlan_mode: all the virtual NICs are created in ACCESS mode, which permits only one VLAN per virtual network. TRUNKED mode allows multiple VLANs on a single VM NIC for network-aware user VMs. values are: ACCESS, TRUNKED.
    • trunked_vlans: List of networks to trunk if VLAN mode is marked as TRUNKED. If empty and VLAN mode is set to TRUNKED, all the VLANs are trunked.
    • should_allow_unknown_macs: Indicates whether an unknown unicast traffic is forwarded to this NIC or not. This is applicable only for the NICs on the overlay subnets.
    • ipv4_config: The IP address configurations.
    • ipv4_info: The runtime IP address information of the NIC.

    nics.ipv4_config

    • should_assign_ip: If set to true (default value), an IP address must be assigned to the VM NIC - either the one explicitly specified by the user or allocated automatically by the IPAM service by not specifying the IP address. If false, then no IP assignment is required for this VM NIC.
    • ip_address: The IP address of the NIC.
    • secondary_ip_address_list: Secondary IP addresses for the NIC.
    ip_address, secondary_ip_address_list
    • value: The IPv4 address of the host.
    • prefix_length: The prefix length of the IP address.

    nics.ipv4_info

    • learned_ip_addresses: The list of IP addresses learned by the NIC.
    learned_ip_addresses
    • value: The IPv4 address of the host.
    • prefix_length: The prefix length of the IP address.

    gpus

    • ext_id: A globally unique identifier of an instance that is suitable for external consumption.
    • mode: The mode of this GPU.
    • device_id: The device Id of the GPU.
    • vendor: The vendor of the GPU.
    • pci_address: The (S)egment:(B)us:(D)evice.(F)unction hardware address. See
    • guest_driver_version: Last determined guest driver version.
    • name: Name of the GPU resource.
    • frame_buffer_size_bytes: GPU frame buffer size in bytes.
    • num_virtual_display_heads: Number of supported virtual display heads.
    • fraction: Fraction of the physical GPU assigned.

    gpus.pci_address

    • segment
    • bus
    • device
    • func

    serial_ports

    • ext_id: A globally unique identifier of an instance that is suitable for external consumption.
    • is_connected: Indicates whether the serial port is connected or not.
    • index: Index of the serial port.

    protection_policy_state

    • policy: Reference to the policy object in use.

    See detailed information in Nutanix List Virtual Machines V4.

    Using getVirtualMachinesV2

    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 getVirtualMachinesV2(args: GetVirtualMachinesV2Args, opts?: InvokeOptions): Promise<GetVirtualMachinesV2Result>
    function getVirtualMachinesV2Output(args: GetVirtualMachinesV2OutputArgs, opts?: InvokeOptions): Output<GetVirtualMachinesV2Result>
    def get_virtual_machines_v2(filter: Optional[str] = None,
                                limit: Optional[int] = None,
                                order_by: Optional[str] = None,
                                page: Optional[int] = None,
                                select: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetVirtualMachinesV2Result
    def get_virtual_machines_v2_output(filter: Optional[pulumi.Input[str]] = None,
                                limit: Optional[pulumi.Input[int]] = None,
                                order_by: Optional[pulumi.Input[str]] = None,
                                page: Optional[pulumi.Input[int]] = None,
                                select: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMachinesV2Result]
    func GetVirtualMachinesV2(ctx *Context, args *GetVirtualMachinesV2Args, opts ...InvokeOption) (*GetVirtualMachinesV2Result, error)
    func GetVirtualMachinesV2Output(ctx *Context, args *GetVirtualMachinesV2OutputArgs, opts ...InvokeOption) GetVirtualMachinesV2ResultOutput

    > Note: This function is named GetVirtualMachinesV2 in the Go SDK.

    public static class GetVirtualMachinesV2 
    {
        public static Task<GetVirtualMachinesV2Result> InvokeAsync(GetVirtualMachinesV2Args args, InvokeOptions? opts = null)
        public static Output<GetVirtualMachinesV2Result> Invoke(GetVirtualMachinesV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVirtualMachinesV2Result> getVirtualMachinesV2(GetVirtualMachinesV2Args args, InvokeOptions options)
    public static Output<GetVirtualMachinesV2Result> getVirtualMachinesV2(GetVirtualMachinesV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: nutanix:index/getVirtualMachinesV2:getVirtualMachinesV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filter string
    A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • cluster/extId
    • extId
    • gpus
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • powerState
    Limit int
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    OrderBy string
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields:

    • memorySizeBytes
    • name
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    Page int
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    Select string
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. The select can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • availabilityZone
    • biosUuid
    • bootConfig
    • categories
    • cdRoms
    • cluster/extId
    • createTime
    • description
    • disks
    • enabledCpuFeatures
    • extId
    • generationUuid
    • gpus
    • guestCustomization
    • guestTools
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isBrandingEnabled
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isCrossClusterMigrationInProgress
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • links
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • ownershipInfo
    • pcieDevices
    • powerState
    • protectionPolicyState
    • protectionType
    • serialPorts
    • source
    • storageConfig
    • tenantId
    • updateTime
    • vtpmConfig
    Filter string
    A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • cluster/extId
    • extId
    • gpus
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • powerState
    Limit int
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    OrderBy string
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields:

    • memorySizeBytes
    • name
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    Page int
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    Select string
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. The select can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • availabilityZone
    • biosUuid
    • bootConfig
    • categories
    • cdRoms
    • cluster/extId
    • createTime
    • description
    • disks
    • enabledCpuFeatures
    • extId
    • generationUuid
    • gpus
    • guestCustomization
    • guestTools
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isBrandingEnabled
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isCrossClusterMigrationInProgress
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • links
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • ownershipInfo
    • pcieDevices
    • powerState
    • protectionPolicyState
    • protectionType
    • serialPorts
    • source
    • storageConfig
    • tenantId
    • updateTime
    • vtpmConfig
    filter String
    A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • cluster/extId
    • extId
    • gpus
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • powerState
    limit Integer
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    orderBy String
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields:

    • memorySizeBytes
    • name
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    page Integer
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    select String
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. The select can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • availabilityZone
    • biosUuid
    • bootConfig
    • categories
    • cdRoms
    • cluster/extId
    • createTime
    • description
    • disks
    • enabledCpuFeatures
    • extId
    • generationUuid
    • gpus
    • guestCustomization
    • guestTools
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isBrandingEnabled
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isCrossClusterMigrationInProgress
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • links
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • ownershipInfo
    • pcieDevices
    • powerState
    • protectionPolicyState
    • protectionType
    • serialPorts
    • source
    • storageConfig
    • tenantId
    • updateTime
    • vtpmConfig
    filter string
    A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • cluster/extId
    • extId
    • gpus
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • powerState
    limit number
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    orderBy string
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields:

    • memorySizeBytes
    • name
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    page number
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    select string
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. The select can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • availabilityZone
    • biosUuid
    • bootConfig
    • categories
    • cdRoms
    • cluster/extId
    • createTime
    • description
    • disks
    • enabledCpuFeatures
    • extId
    • generationUuid
    • gpus
    • guestCustomization
    • guestTools
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isBrandingEnabled
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isCrossClusterMigrationInProgress
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • links
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • ownershipInfo
    • pcieDevices
    • powerState
    • protectionPolicyState
    • protectionType
    • serialPorts
    • source
    • storageConfig
    • tenantId
    • updateTime
    • vtpmConfig
    filter str
    A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • cluster/extId
    • extId
    • gpus
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • powerState
    limit int
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    order_by str
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields:

    • memorySizeBytes
    • name
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    page int
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    select str
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. The select can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • availabilityZone
    • biosUuid
    • bootConfig
    • categories
    • cdRoms
    • cluster/extId
    • createTime
    • description
    • disks
    • enabledCpuFeatures
    • extId
    • generationUuid
    • gpus
    • guestCustomization
    • guestTools
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isBrandingEnabled
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isCrossClusterMigrationInProgress
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • links
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • ownershipInfo
    • pcieDevices
    • powerState
    • protectionPolicyState
    • protectionType
    • serialPorts
    • source
    • storageConfig
    • tenantId
    • updateTime
    • vtpmConfig
    filter String
    A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • cluster/extId
    • extId
    • gpus
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • powerState
    limit Number
    A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
    orderBy String
    A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields:

    • memorySizeBytes
    • name
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    page Number
    A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
    select String
    A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. The select can be applied to the following fields:

    • apcConfig/cpuModel/extId
    • apcConfig/cpuModel/name
    • apcConfig/isApcEnabled
    • availabilityZone
    • biosUuid
    • bootConfig
    • categories
    • cdRoms
    • cluster/extId
    • createTime
    • description
    • disks
    • enabledCpuFeatures
    • extId
    • generationUuid
    • gpus
    • guestCustomization
    • guestTools
    • hardwareClockTimezone
    • host/extId
    • isAgentVm
    • isBrandingEnabled
    • isCpuHotplugEnabled
    • isCpuPassthroughEnabled
    • isCrossClusterMigrationInProgress
    • isGpuConsoleEnabled
    • isLiveMigrateCapable
    • isMemoryOvercommitEnabled
    • isScsiControllerEnabled
    • isVcpuHardPinningEnabled
    • isVgaConsoleEnabled
    • links
    • machineType
    • memorySizeBytes
    • name
    • nics
    • numCoresPerSocket
    • numNumaNodes
    • numSockets
    • numThreadsPerCore
    • ownershipInfo
    • pcieDevices
    • powerState
    • protectionPolicyState
    • protectionType
    • serialPorts
    • source
    • storageConfig
    • tenantId
    • updateTime
    • vtpmConfig

    getVirtualMachinesV2 Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Vms List<PiersKarsenbarg.Nutanix.Outputs.GetVirtualMachinesV2Vm>
    List of all vms
    Filter string
    Limit int
    OrderBy string
    Page int
    Select string
    Id string
    The provider-assigned unique ID for this managed resource.
    Vms []GetVirtualMachinesV2Vm
    List of all vms
    Filter string
    Limit int
    OrderBy string
    Page int
    Select string
    id String
    The provider-assigned unique ID for this managed resource.
    vms List<GetVirtualMachinesV2Vm>
    List of all vms
    filter String
    limit Integer
    orderBy String
    page Integer
    select String
    id string
    The provider-assigned unique ID for this managed resource.
    vms GetVirtualMachinesV2Vm[]
    List of all vms
    filter string
    limit number
    orderBy string
    page number
    select string
    id str
    The provider-assigned unique ID for this managed resource.
    vms Sequence[GetVirtualMachinesV2Vm]
    List of all vms
    filter str
    limit int
    order_by str
    page int
    select str
    id String
    The provider-assigned unique ID for this managed resource.
    vms List<Property Map>
    List of all vms
    filter String
    limit Number
    orderBy String
    page Number
    select String

    Supporting Types

    GetVirtualMachinesV2Vm

    ApcConfigs List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmApcConfig>
    AvailabilityZones List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmAvailabilityZone>
    BiosUuid string
    BootConfigs List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmBootConfig>
    Categories List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmCategory>
    CdRoms List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmCdRom>
    Clusters List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmCluster>
    CreateTime string
    Description string
    Disks List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmDisk>
    EnabledCpuFeatures List<string>
    ExtId string
    GenerationUuid string
    Gpuses List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmGpus>
    GuestCustomizations List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmGuestCustomization>
    GuestTools List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmGuestTool>
    HardwareClockTimezone string
    Hosts List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmHost>
    IsAgentVm bool
    IsBrandingEnabled bool
    IsCpuHotplugEnabled bool
    IsCpuPassthroughEnabled bool
    IsGpuConsoleEnabled bool
    IsMemoryOvercommitEnabled bool
    IsScsiControllerEnabled bool
    IsVcpuHardPinningEnabled bool
    IsVgaConsoleEnabled bool
    MachineType string
    MemorySizeBytes int
    Name string
    Nics List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmNic>
    NumCoresPerSocket int
    NumNumaNodes int
    NumSockets int
    NumThreadsPerCore int
    OwnershipInfos List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmOwnershipInfo>
    PowerState string
    ProtectionPolicyStates List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmProtectionPolicyState>
    ProtectionType string
    SerialPorts List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmSerialPort>
    Sources List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmSource>
    StorageConfigs List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmStorageConfig>
    UpdateTime string
    VtpmConfigs List<PiersKarsenbarg.Nutanix.Inputs.GetVirtualMachinesV2VmVtpmConfig>
    ApcConfigs []GetVirtualMachinesV2VmApcConfig
    AvailabilityZones []GetVirtualMachinesV2VmAvailabilityZone
    BiosUuid string
    BootConfigs []GetVirtualMachinesV2VmBootConfig
    Categories []GetVirtualMachinesV2VmCategory
    CdRoms []GetVirtualMachinesV2VmCdRom
    Clusters []GetVirtualMachinesV2VmCluster
    CreateTime string
    Description string
    Disks []GetVirtualMachinesV2VmDisk
    EnabledCpuFeatures []string
    ExtId string
    GenerationUuid string
    Gpuses []GetVirtualMachinesV2VmGpus
    GuestCustomizations []GetVirtualMachinesV2VmGuestCustomization
    GuestTools []GetVirtualMachinesV2VmGuestTool
    HardwareClockTimezone string
    Hosts []GetVirtualMachinesV2VmHost
    IsAgentVm bool
    IsBrandingEnabled bool
    IsCpuHotplugEnabled bool
    IsCpuPassthroughEnabled bool
    IsGpuConsoleEnabled bool
    IsMemoryOvercommitEnabled bool
    IsScsiControllerEnabled bool
    IsVcpuHardPinningEnabled bool
    IsVgaConsoleEnabled bool
    MachineType string
    MemorySizeBytes int
    Name string
    Nics []GetVirtualMachinesV2VmNic
    NumCoresPerSocket int
    NumNumaNodes int
    NumSockets int
    NumThreadsPerCore int
    OwnershipInfos []GetVirtualMachinesV2VmOwnershipInfo
    PowerState string
    ProtectionPolicyStates []GetVirtualMachinesV2VmProtectionPolicyState
    ProtectionType string
    SerialPorts []GetVirtualMachinesV2VmSerialPort
    Sources []GetVirtualMachinesV2VmSource
    StorageConfigs []GetVirtualMachinesV2VmStorageConfig
    UpdateTime string
    VtpmConfigs []GetVirtualMachinesV2VmVtpmConfig
    apcConfigs List<GetVirtualMachinesV2VmApcConfig>
    availabilityZones List<GetVirtualMachinesV2VmAvailabilityZone>
    biosUuid String
    bootConfigs List<GetVirtualMachinesV2VmBootConfig>
    categories List<GetVirtualMachinesV2VmCategory>
    cdRoms List<GetVirtualMachinesV2VmCdRom>
    clusters List<GetVirtualMachinesV2VmCluster>
    createTime String
    description String
    disks List<GetVirtualMachinesV2VmDisk>
    enabledCpuFeatures List<String>
    extId String
    generationUuid String
    gpuses List<GetVirtualMachinesV2VmGpus>
    guestCustomizations List<GetVirtualMachinesV2VmGuestCustomization>
    guestTools List<GetVirtualMachinesV2VmGuestTool>
    hardwareClockTimezone String
    hosts List<GetVirtualMachinesV2VmHost>
    isAgentVm Boolean
    isBrandingEnabled Boolean
    isCpuHotplugEnabled Boolean
    isCpuPassthroughEnabled Boolean
    isGpuConsoleEnabled Boolean
    isMemoryOvercommitEnabled Boolean
    isScsiControllerEnabled Boolean
    isVcpuHardPinningEnabled Boolean
    isVgaConsoleEnabled Boolean
    machineType String
    memorySizeBytes Integer
    name String
    nics List<GetVirtualMachinesV2VmNic>
    numCoresPerSocket Integer
    numNumaNodes Integer
    numSockets Integer
    numThreadsPerCore Integer
    ownershipInfos List<GetVirtualMachinesV2VmOwnershipInfo>
    powerState String
    protectionPolicyStates List<GetVirtualMachinesV2VmProtectionPolicyState>
    protectionType String
    serialPorts List<GetVirtualMachinesV2VmSerialPort>
    sources List<GetVirtualMachinesV2VmSource>
    storageConfigs List<GetVirtualMachinesV2VmStorageConfig>
    updateTime String
    vtpmConfigs List<GetVirtualMachinesV2VmVtpmConfig>
    apcConfigs GetVirtualMachinesV2VmApcConfig[]
    availabilityZones GetVirtualMachinesV2VmAvailabilityZone[]
    biosUuid string
    bootConfigs GetVirtualMachinesV2VmBootConfig[]
    categories GetVirtualMachinesV2VmCategory[]
    cdRoms GetVirtualMachinesV2VmCdRom[]
    clusters GetVirtualMachinesV2VmCluster[]
    createTime string
    description string
    disks GetVirtualMachinesV2VmDisk[]
    enabledCpuFeatures string[]
    extId string
    generationUuid string
    gpuses GetVirtualMachinesV2VmGpus[]
    guestCustomizations GetVirtualMachinesV2VmGuestCustomization[]
    guestTools GetVirtualMachinesV2VmGuestTool[]
    hardwareClockTimezone string
    hosts GetVirtualMachinesV2VmHost[]
    isAgentVm boolean
    isBrandingEnabled boolean
    isCpuHotplugEnabled boolean
    isCpuPassthroughEnabled boolean
    isGpuConsoleEnabled boolean
    isMemoryOvercommitEnabled boolean
    isScsiControllerEnabled boolean
    isVcpuHardPinningEnabled boolean
    isVgaConsoleEnabled boolean
    machineType string
    memorySizeBytes number
    name string
    nics GetVirtualMachinesV2VmNic[]
    numCoresPerSocket number
    numNumaNodes number
    numSockets number
    numThreadsPerCore number
    ownershipInfos GetVirtualMachinesV2VmOwnershipInfo[]
    powerState string
    protectionPolicyStates GetVirtualMachinesV2VmProtectionPolicyState[]
    protectionType string
    serialPorts GetVirtualMachinesV2VmSerialPort[]
    sources GetVirtualMachinesV2VmSource[]
    storageConfigs GetVirtualMachinesV2VmStorageConfig[]
    updateTime string
    vtpmConfigs GetVirtualMachinesV2VmVtpmConfig[]
    apc_configs Sequence[GetVirtualMachinesV2VmApcConfig]
    availability_zones Sequence[GetVirtualMachinesV2VmAvailabilityZone]
    bios_uuid str
    boot_configs Sequence[GetVirtualMachinesV2VmBootConfig]
    categories Sequence[GetVirtualMachinesV2VmCategory]
    cd_roms Sequence[GetVirtualMachinesV2VmCdRom]
    clusters Sequence[GetVirtualMachinesV2VmCluster]
    create_time str
    description str
    disks Sequence[GetVirtualMachinesV2VmDisk]
    enabled_cpu_features Sequence[str]
    ext_id str
    generation_uuid str
    gpuses Sequence[GetVirtualMachinesV2VmGpus]
    guest_customizations Sequence[GetVirtualMachinesV2VmGuestCustomization]
    guest_tools Sequence[GetVirtualMachinesV2VmGuestTool]
    hardware_clock_timezone str
    hosts Sequence[GetVirtualMachinesV2VmHost]
    is_agent_vm bool
    is_branding_enabled bool
    is_cpu_hotplug_enabled bool
    is_cpu_passthrough_enabled bool
    is_gpu_console_enabled bool
    is_memory_overcommit_enabled bool
    is_scsi_controller_enabled bool
    is_vcpu_hard_pinning_enabled bool
    is_vga_console_enabled bool
    machine_type str
    memory_size_bytes int
    name str
    nics Sequence[GetVirtualMachinesV2VmNic]
    num_cores_per_socket int
    num_numa_nodes int
    num_sockets int
    num_threads_per_core int
    ownership_infos Sequence[GetVirtualMachinesV2VmOwnershipInfo]
    power_state str
    protection_policy_states Sequence[GetVirtualMachinesV2VmProtectionPolicyState]
    protection_type str
    serial_ports Sequence[GetVirtualMachinesV2VmSerialPort]
    sources Sequence[GetVirtualMachinesV2VmSource]
    storage_configs Sequence[GetVirtualMachinesV2VmStorageConfig]
    update_time str
    vtpm_configs Sequence[GetVirtualMachinesV2VmVtpmConfig]
    apcConfigs List<Property Map>
    availabilityZones List<Property Map>
    biosUuid String
    bootConfigs List<Property Map>
    categories List<Property Map>
    cdRoms List<Property Map>
    clusters List<Property Map>
    createTime String
    description String
    disks List<Property Map>
    enabledCpuFeatures List<String>
    extId String
    generationUuid String
    gpuses List<Property Map>
    guestCustomizations List<Property Map>
    guestTools List<Property Map>
    hardwareClockTimezone String
    hosts List<Property Map>
    isAgentVm Boolean
    isBrandingEnabled Boolean
    isCpuHotplugEnabled Boolean
    isCpuPassthroughEnabled Boolean
    isGpuConsoleEnabled Boolean
    isMemoryOvercommitEnabled Boolean
    isScsiControllerEnabled Boolean
    isVcpuHardPinningEnabled Boolean
    isVgaConsoleEnabled Boolean
    machineType String
    memorySizeBytes Number
    name String
    nics List<Property Map>
    numCoresPerSocket Number
    numNumaNodes Number
    numSockets Number
    numThreadsPerCore Number
    ownershipInfos List<Property Map>
    powerState String
    protectionPolicyStates List<Property Map>
    protectionType String
    serialPorts List<Property Map>
    sources List<Property Map>
    storageConfigs List<Property Map>
    updateTime String
    vtpmConfigs List<Property Map>

    GetVirtualMachinesV2VmApcConfig

    GetVirtualMachinesV2VmApcConfigCpuModel

    ExtId string
    Name string
    ExtId string
    Name string
    extId String
    name String
    extId string
    name string
    ext_id str
    name str
    extId String
    name String

    GetVirtualMachinesV2VmAvailabilityZone

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmBootConfig

    GetVirtualMachinesV2VmBootConfigLegacyBoot

    GetVirtualMachinesV2VmBootConfigLegacyBootBootDevice

    GetVirtualMachinesV2VmBootConfigLegacyBootBootDeviceBootDeviceDisk

    GetVirtualMachinesV2VmBootConfigLegacyBootBootDeviceBootDeviceDiskDiskAddress

    BusType string
    Index int
    BusType string
    Index int
    busType String
    index Integer
    busType string
    index number
    busType String
    index Number

    GetVirtualMachinesV2VmBootConfigLegacyBootBootDeviceBootDeviceNic

    MacAddress string
    MacAddress string
    macAddress String
    macAddress string
    macAddress String

    GetVirtualMachinesV2VmBootConfigUefiBoot

    GetVirtualMachinesV2VmBootConfigUefiBootBootDevice

    GetVirtualMachinesV2VmBootConfigUefiBootBootDeviceBootDeviceDisk

    GetVirtualMachinesV2VmBootConfigUefiBootBootDeviceBootDeviceDiskDiskAddress

    BusType string
    Index int
    BusType string
    Index int
    busType String
    index Integer
    busType string
    index number
    busType String
    index Number

    GetVirtualMachinesV2VmBootConfigUefiBootBootDeviceBootDeviceNic

    MacAddress string
    MacAddress string
    macAddress String
    macAddress string
    macAddress String

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDevice

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDeviceBackingStorageInfo

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDeviceBackingStorageInfoDataSource

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReference

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReferenceImageReference

    ImageExtId string
    ImageExtId string
    imageExtId String
    imageExtId string
    imageExtId String

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReferenceVmDiskReference

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReferenceVmDiskReferenceDiskAddress

    BusType string
    Index int
    BusType string
    Index int
    busType String
    index Integer
    busType string
    index number
    busType String
    index Number

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReferenceVmDiskReferenceVmReference

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDeviceBackingStorageInfoStorageConfig

    GetVirtualMachinesV2VmBootConfigUefiBootNvramDeviceBackingStorageInfoStorageContainer

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmCategory

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmCdRom

    GetVirtualMachinesV2VmCdRomBackingInfo

    GetVirtualMachinesV2VmCdRomBackingInfoDataSource

    GetVirtualMachinesV2VmCdRomBackingInfoDataSourceReference

    GetVirtualMachinesV2VmCdRomBackingInfoDataSourceReferenceImageReference

    ImageExtId string
    ImageExtId string
    imageExtId String
    imageExtId string
    imageExtId String

    GetVirtualMachinesV2VmCdRomBackingInfoDataSourceReferenceVmDiskReference

    GetVirtualMachinesV2VmCdRomBackingInfoDataSourceReferenceVmDiskReferenceDiskAddress

    BusType string
    Index int
    BusType string
    Index int
    busType String
    index Integer
    busType string
    index number
    busType String
    index Number

    GetVirtualMachinesV2VmCdRomBackingInfoDataSourceReferenceVmDiskReferenceVmReference

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmCdRomBackingInfoStorageConfig

    GetVirtualMachinesV2VmCdRomBackingInfoStorageContainer

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmCdRomDiskAddress

    BusType string
    Index int
    BusType string
    Index int
    busType String
    index Integer
    busType string
    index number
    busType String
    index Number

    GetVirtualMachinesV2VmCluster

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmDisk

    GetVirtualMachinesV2VmDiskBackingInfo

    GetVirtualMachinesV2VmDiskBackingInfoAdfsVolumeGroupReference

    GetVirtualMachinesV2VmDiskBackingInfoVmDisk

    GetVirtualMachinesV2VmDiskBackingInfoVmDiskDataSource

    GetVirtualMachinesV2VmDiskBackingInfoVmDiskDataSourceReference

    GetVirtualMachinesV2VmDiskBackingInfoVmDiskDataSourceReferenceImageReference

    ImageExtId string
    ImageExtId string
    imageExtId String
    imageExtId string
    imageExtId String

    GetVirtualMachinesV2VmDiskBackingInfoVmDiskDataSourceReferenceVmDiskReference

    GetVirtualMachinesV2VmDiskBackingInfoVmDiskDataSourceReferenceVmDiskReferenceDiskAddress

    BusType string
    Index int
    BusType string
    Index int
    busType String
    index Integer
    busType string
    index number
    busType String
    index Number

    GetVirtualMachinesV2VmDiskBackingInfoVmDiskDataSourceReferenceVmDiskReferenceVmReference

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmDiskBackingInfoVmDiskStorageConfig

    GetVirtualMachinesV2VmDiskBackingInfoVmDiskStorageContainer

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmDiskDiskAddress

    BusType string
    Index int
    BusType string
    Index int
    busType String
    index Integer
    busType string
    index number
    busType String
    index Number

    GetVirtualMachinesV2VmGpus

    Href string
    Rel string
    Href string
    Rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    GetVirtualMachinesV2VmGpusPciAddress

    Bus int
    Device int
    Func int
    Segment int
    Bus int
    Device int
    Func int
    Segment int
    bus Integer
    device Integer
    func Integer
    segment Integer
    bus number
    device number
    func number
    segment number
    bus int
    device int
    func int
    segment int
    bus Number
    device Number
    func Number
    segment Number

    GetVirtualMachinesV2VmGuestCustomization

    GetVirtualMachinesV2VmGuestCustomizationConfig

    GetVirtualMachinesV2VmGuestCustomizationConfigCloudInit

    GetVirtualMachinesV2VmGuestCustomizationConfigCloudInitCloudInitScript

    GetVirtualMachinesV2VmGuestCustomizationConfigCloudInitCloudInitScriptCustomKey

    GetVirtualMachinesV2VmGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyKeyValuePair

    Name string
    Value string
    Name string
    Value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    GetVirtualMachinesV2VmGuestCustomizationConfigCloudInitCloudInitScriptUserData

    Value string
    Value string
    value String
    value string
    value str
    value String

    GetVirtualMachinesV2VmGuestCustomizationConfigSysprep

    GetVirtualMachinesV2VmGuestCustomizationConfigSysprepSysprepScript

    GetVirtualMachinesV2VmGuestCustomizationConfigSysprepSysprepScriptCustomKeyValue

    GetVirtualMachinesV2VmGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePair

    Name string
    Value string
    Name string
    Value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    GetVirtualMachinesV2VmGuestCustomizationConfigSysprepSysprepScriptUnattendXml

    Value string
    Value string
    value String
    value string
    value str
    value String

    GetVirtualMachinesV2VmGuestTool

    GetVirtualMachinesV2VmHost

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmNic

    GetVirtualMachinesV2VmNicBackingInfo

    isConnected Boolean
    macAddress String
    model String
    numQueues Integer
    isConnected boolean
    macAddress string
    model string
    numQueues number
    isConnected Boolean
    macAddress String
    model String
    numQueues Number

    GetVirtualMachinesV2VmNicNetworkInfo

    GetVirtualMachinesV2VmNicNetworkInfoIpv4Config

    GetVirtualMachinesV2VmNicNetworkInfoIpv4ConfigIpAddress

    prefixLength Integer
    value String
    prefixLength number
    value string
    prefixLength Number
    value String

    GetVirtualMachinesV2VmNicNetworkInfoIpv4ConfigSecondaryIpAddressList

    prefixLength Integer
    value String
    prefixLength number
    value string
    prefixLength Number
    value String

    GetVirtualMachinesV2VmNicNetworkInfoIpv4Info

    GetVirtualMachinesV2VmNicNetworkInfoIpv4InfoLearnedIpAddress

    prefixLength Integer
    value String
    prefixLength number
    value string
    prefixLength Number
    value String

    GetVirtualMachinesV2VmNicNetworkInfoNetworkFunctionChain

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmNicNetworkInfoSubnet

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmOwnershipInfo

    GetVirtualMachinesV2VmOwnershipInfoOwner

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmProtectionPolicyState

    GetVirtualMachinesV2VmProtectionPolicyStatePolicy

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String

    GetVirtualMachinesV2VmSerialPort

    ExtId string
    Index int
    IsConnected bool
    ExtId string
    Index int
    IsConnected bool
    extId String
    index Integer
    isConnected Boolean
    extId string
    index number
    isConnected boolean
    extId String
    index Number
    isConnected Boolean

    GetVirtualMachinesV2VmSource

    EntityType string
    ExtId string
    EntityType string
    ExtId string
    entityType String
    extId String
    entityType string
    extId string
    entityType String
    extId String

    GetVirtualMachinesV2VmStorageConfig

    GetVirtualMachinesV2VmStorageConfigQosConfig

    GetVirtualMachinesV2VmVtpmConfig

    isVtpmEnabled Boolean
    version String
    isVtpmEnabled boolean
    version string
    isVtpmEnabled Boolean
    version String

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg