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

nutanix.getTemplatesV2

Explore with Pulumi AI

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

    List Templates with details like name, description, VM configuration, etc. This operation supports filtering, sorting & pagination.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const list_templates = nutanix.getTemplatesV2({});
    const filtered_templates = nutanix.getTemplatesV2({
        filter: "startswith(templateName,'template_name')",
        limit: 10,
        page: 1,
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    list_templates = nutanix.get_templates_v2()
    filtered_templates = nutanix.get_templates_v2(filter="startswith(templateName,'template_name')",
        limit=10,
        page=1)
    
    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.GetTemplatesV2(ctx, &nutanix.GetTemplatesV2Args{}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = nutanix.GetTemplatesV2(ctx, &nutanix.GetTemplatesV2Args{
    			Filter: pulumi.StringRef("startswith(templateName,'template_name')"),
    			Limit:  pulumi.IntRef(10),
    			Page:   pulumi.IntRef(1),
    		}, 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_templates = Nutanix.GetTemplatesV2.Invoke();
    
        var filtered_templates = Nutanix.GetTemplatesV2.Invoke(new()
        {
            Filter = "startswith(templateName,'template_name')",
            Limit = 10,
            Page = 1,
        });
    
    });
    
    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.GetTemplatesV2Args;
    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-templates = NutanixFunctions.getTemplatesV2(GetTemplatesV2Args.builder()
                .build());
    
            final var filtered-templates = NutanixFunctions.getTemplatesV2(GetTemplatesV2Args.builder()
                .filter("startswith(templateName,'template_name')")
                .limit(10)
                .page(1)
                .build());
    
        }
    }
    
    variables:
      list-templates:
        fn::invoke:
          function: nutanix:getTemplatesV2
          arguments: {}
      filtered-templates:
        fn::invoke:
          function: nutanix:getTemplatesV2
          arguments:
            filter: startswith(templateName,'template_name')
            limit: 10
            page: 1
    

    Templates

    The templates object is a list of all templates. Each template 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.
    • template_name: The user defined name of a Template.
    • template_description: The user defined description of a Template.
    • template_version_spec: A model that represents an object instance that is accessible through an API endpoint. Instances of this type get an extId field that contains the globally unique identifier for that instance
    • guest_update_status: Status of a Guest Update.
    • create_time: Time when the Template was created.
    • update_time: Time when the Template was last updated.
    • created_by: Information of the User.
    • updated_by: Information of the User.

    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.

    Template Version Spec

    The template_version_spec attribute supports the following:

    • ext_id: A globally unique identifier of an instance that is suitable for external consumption.
    • version_name: The user defined name of a Template Version.
    • version_description: The user defined description of a Template Version.
    • vm_spec: VM configuration.
    • create_time: Time when the Template was created.
    • created_by: Information of the User.
    • is_active_version: Specify whether to mark the Template Version as active or not. The newly created Version during Template Creation, Updating or Guest OS Updating is set to Active by default unless specified otherwise.
    • is_gc_override_enabled: Allow or disallow override of the Guest Customization during Template deployment.

    guest_update_status

    Status of a Guest Update.

    • deployed_vm_reference: The identifier of the temporary VM created on initiating Guest OS Update.

    vm_spec

    • 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.
    • 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.

    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.

    created_by, last_updated_by

    • ext_id: A globally unique identifier of an instance that is suitable for external consumption.
    • username: Identifier for the User in the form an email address.
    • user_type: Type of the User.
    • idp_id: Identifier of the IDP for the User.
    • display_name: Display name for the User.
    • first_name: First name for the User.
    • middle_initial: Middle name for the User.
    • last_name: Last name for the User.
    • email_id: Email Id for the User.
    • locale: Default locale for the User.
    • region: Default Region for the User.
    • is_force_reset_password_enabled: Flag to force the User to reset password.
    • additional_attributes: Any additional attribute for the User.
    • status: Status of the User.
    • buckets_access_keys: Bucket Access Keys for the User.
    • last_login_time: Last successful logged in time for the User.
    • created_time: Creation time of the User.
    • last_updated_time: Last updated time of the User.
    • created_by: User or Service who created the User.
    • last_updated_by: Last updated by this User ID.

    See detailed information in Nutanix List Templates V4.

    Using getTemplatesV2

    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 getTemplatesV2(args: GetTemplatesV2Args, opts?: InvokeOptions): Promise<GetTemplatesV2Result>
    function getTemplatesV2Output(args: GetTemplatesV2OutputArgs, opts?: InvokeOptions): Output<GetTemplatesV2Result>
    def get_templates_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) -> GetTemplatesV2Result
    def get_templates_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[GetTemplatesV2Result]
    func GetTemplatesV2(ctx *Context, args *GetTemplatesV2Args, opts ...InvokeOption) (*GetTemplatesV2Result, error)
    func GetTemplatesV2Output(ctx *Context, args *GetTemplatesV2OutputArgs, opts ...InvokeOption) GetTemplatesV2ResultOutput

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

    public static class GetTemplatesV2 
    {
        public static Task<GetTemplatesV2Result> InvokeAsync(GetTemplatesV2Args args, InvokeOptions? opts = null)
        public static Output<GetTemplatesV2Result> Invoke(GetTemplatesV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTemplatesV2Result> getTemplatesV2(GetTemplatesV2Args args, InvokeOptions options)
    public static Output<GetTemplatesV2Result> getTemplatesV2(GetTemplatesV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: nutanix:index/getTemplatesV2:getTemplatesV2
      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:

    • templateName
    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:

    • templateName
    • updateTime
    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. Default is 0.
    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:

    • createTime
    • createdBy
    • guestUpdateStatus
    • templateDescription
    • templateName
    • templateVersionSpec
    • updateTime
    • updatedBy
    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:

    • templateName
    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:

    • templateName
    • updateTime
    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. Default is 0.
    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:

    • createTime
    • createdBy
    • guestUpdateStatus
    • templateDescription
    • templateName
    • templateVersionSpec
    • updateTime
    • updatedBy
    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:

    • templateName
    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:

    • templateName
    • updateTime
    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. Default is 0.
    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:

    • createTime
    • createdBy
    • guestUpdateStatus
    • templateDescription
    • templateName
    • templateVersionSpec
    • updateTime
    • updatedBy
    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:

    • templateName
    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:

    • templateName
    • updateTime
    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. Default is 0.
    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:

    • createTime
    • createdBy
    • guestUpdateStatus
    • templateDescription
    • templateName
    • templateVersionSpec
    • updateTime
    • updatedBy
    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:

    • templateName
    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:

    • templateName
    • updateTime
    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. Default is 0.
    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:

    • createTime
    • createdBy
    • guestUpdateStatus
    • templateDescription
    • templateName
    • templateVersionSpec
    • updateTime
    • updatedBy
    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:

    • templateName
    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:

    • templateName
    • updateTime
    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. Default is 0.
    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:

    • createTime
    • createdBy
    • guestUpdateStatus
    • templateDescription
    • templateName
    • templateVersionSpec
    • updateTime
    • updatedBy

    getTemplatesV2 Result

    The following output properties are available:

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

    Supporting Types

    GetTemplatesV2Template

    GetTemplatesV2TemplateCreatedBy

    GetTemplatesV2TemplateCreatedByAdditionalAttribute

    GetTemplatesV2TemplateCreatedByAdditionalAttributeValue

    boolean Boolean
    integer Number
    integerLists List<Number>
    mapOfStrings List<Property Map>
    object Map<String>
    string String
    stringLists List<String>

    GetTemplatesV2TemplateCreatedByAdditionalAttributeValueMapOfString

    Map Dictionary<string, string>
    Map map[string]string
    map Map<String,String>
    map {[key: string]: string}
    map Mapping[str, str]
    map Map<String>

    GetTemplatesV2TemplateGuestUpdateStatus

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

    GetTemplatesV2TemplateTemplateVersionSpec

    GetTemplatesV2TemplateTemplateVersionSpecCreatedBy

    GetTemplatesV2TemplateTemplateVersionSpecCreatedByAdditionalAttribute

    GetTemplatesV2TemplateTemplateVersionSpecCreatedByAdditionalAttributeValue

    boolean Boolean
    integer Number
    integerLists List<Number>
    mapOfStrings List<Property Map>
    object Map<String>
    string String
    stringLists List<String>

    GetTemplatesV2TemplateTemplateVersionSpecCreatedByAdditionalAttributeValueMapOfString

    Map Dictionary<string, string>
    Map map[string]string
    map Map<String,String>
    map {[key: string]: string}
    map Mapping[str, str]
    map Map<String>
    Href string
    Rel string
    Href string
    Rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpec

    ApcConfigs List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecApcConfig>
    AvailabilityZones List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecAvailabilityZone>
    BiosUuid string
    BootConfigs List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfig>
    Categories List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecCategory>
    CdRoms List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRom>
    Clusters List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecCluster>
    CreateTime string
    Description string
    Disks List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecDisk>
    EnabledCpuFeatures List<string>
    ExtId string
    GenerationUuid string
    Gpuses List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecGpus>
    GuestCustomizations List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomization>
    GuestTools List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestTool>
    HardwareClockTimezone string
    Hosts List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecHost>
    IsAgentVm bool
    IsBrandingEnabled bool
    IsCpuHotplugEnabled bool
    IsCpuPassthroughEnabled bool
    IsCrossClusterMigrationInProgress bool
    IsGpuConsoleEnabled bool
    IsLiveMigrateCapable bool
    IsMemoryOvercommitEnabled bool
    IsScsiControllerEnabled bool
    IsVcpuHardPinningEnabled bool
    IsVgaConsoleEnabled bool
    Links List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecLink>
    MachineType string
    MemorySizeBytes int
    Name string
    Nics List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecNic>
    NumCoresPerSocket int
    NumNumaNodes int
    NumSockets int
    NumThreadsPerCore int
    OwnershipInfos List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecOwnershipInfo>
    PciDevices List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDevice>
    PowerState string
    ProtectionPolicyStates List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecProtectionPolicyState>
    ProtectionType string
    SerialPorts List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecSerialPort>
    Sources List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecSource>
    StorageConfigs List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecStorageConfig>
    TenantId string
    UpdateTime string
    VtpmConfigs List<PiersKarsenbarg.Nutanix.Inputs.GetTemplatesV2TemplateTemplateVersionSpecVmSpecVtpmConfig>
    ApcConfigs []GetTemplatesV2TemplateTemplateVersionSpecVmSpecApcConfig
    AvailabilityZones []GetTemplatesV2TemplateTemplateVersionSpecVmSpecAvailabilityZone
    BiosUuid string
    BootConfigs []GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfig
    Categories []GetTemplatesV2TemplateTemplateVersionSpecVmSpecCategory
    CdRoms []GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRom
    Clusters []GetTemplatesV2TemplateTemplateVersionSpecVmSpecCluster
    CreateTime string
    Description string
    Disks []GetTemplatesV2TemplateTemplateVersionSpecVmSpecDisk
    EnabledCpuFeatures []string
    ExtId string
    GenerationUuid string
    Gpuses []GetTemplatesV2TemplateTemplateVersionSpecVmSpecGpus
    GuestCustomizations []GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomization
    GuestTools []GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestTool
    HardwareClockTimezone string
    Hosts []GetTemplatesV2TemplateTemplateVersionSpecVmSpecHost
    IsAgentVm bool
    IsBrandingEnabled bool
    IsCpuHotplugEnabled bool
    IsCpuPassthroughEnabled bool
    IsCrossClusterMigrationInProgress bool
    IsGpuConsoleEnabled bool
    IsLiveMigrateCapable bool
    IsMemoryOvercommitEnabled bool
    IsScsiControllerEnabled bool
    IsVcpuHardPinningEnabled bool
    IsVgaConsoleEnabled bool
    Links []GetTemplatesV2TemplateTemplateVersionSpecVmSpecLink
    MachineType string
    MemorySizeBytes int
    Name string
    Nics []GetTemplatesV2TemplateTemplateVersionSpecVmSpecNic
    NumCoresPerSocket int
    NumNumaNodes int
    NumSockets int
    NumThreadsPerCore int
    OwnershipInfos []GetTemplatesV2TemplateTemplateVersionSpecVmSpecOwnershipInfo
    PciDevices []GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDevice
    PowerState string
    ProtectionPolicyStates []GetTemplatesV2TemplateTemplateVersionSpecVmSpecProtectionPolicyState
    ProtectionType string
    SerialPorts []GetTemplatesV2TemplateTemplateVersionSpecVmSpecSerialPort
    Sources []GetTemplatesV2TemplateTemplateVersionSpecVmSpecSource
    StorageConfigs []GetTemplatesV2TemplateTemplateVersionSpecVmSpecStorageConfig
    TenantId string
    UpdateTime string
    VtpmConfigs []GetTemplatesV2TemplateTemplateVersionSpecVmSpecVtpmConfig
    apcConfigs List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecApcConfig>
    availabilityZones List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecAvailabilityZone>
    biosUuid String
    bootConfigs List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfig>
    categories List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecCategory>
    cdRoms List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRom>
    clusters List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecCluster>
    createTime String
    description String
    disks List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecDisk>
    enabledCpuFeatures List<String>
    extId String
    generationUuid String
    gpuses List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecGpus>
    guestCustomizations List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomization>
    guestTools List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestTool>
    hardwareClockTimezone String
    hosts List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecHost>
    isAgentVm Boolean
    isBrandingEnabled Boolean
    isCpuHotplugEnabled Boolean
    isCpuPassthroughEnabled Boolean
    isCrossClusterMigrationInProgress Boolean
    isGpuConsoleEnabled Boolean
    isLiveMigrateCapable Boolean
    isMemoryOvercommitEnabled Boolean
    isScsiControllerEnabled Boolean
    isVcpuHardPinningEnabled Boolean
    isVgaConsoleEnabled Boolean
    links List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecLink>
    machineType String
    memorySizeBytes Integer
    name String
    nics List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecNic>
    numCoresPerSocket Integer
    numNumaNodes Integer
    numSockets Integer
    numThreadsPerCore Integer
    ownershipInfos List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecOwnershipInfo>
    pciDevices List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDevice>
    powerState String
    protectionPolicyStates List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecProtectionPolicyState>
    protectionType String
    serialPorts List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecSerialPort>
    sources List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecSource>
    storageConfigs List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecStorageConfig>
    tenantId String
    updateTime String
    vtpmConfigs List<GetTemplatesV2TemplateTemplateVersionSpecVmSpecVtpmConfig>
    apcConfigs GetTemplatesV2TemplateTemplateVersionSpecVmSpecApcConfig[]
    availabilityZones GetTemplatesV2TemplateTemplateVersionSpecVmSpecAvailabilityZone[]
    biosUuid string
    bootConfigs GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfig[]
    categories GetTemplatesV2TemplateTemplateVersionSpecVmSpecCategory[]
    cdRoms GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRom[]
    clusters GetTemplatesV2TemplateTemplateVersionSpecVmSpecCluster[]
    createTime string
    description string
    disks GetTemplatesV2TemplateTemplateVersionSpecVmSpecDisk[]
    enabledCpuFeatures string[]
    extId string
    generationUuid string
    gpuses GetTemplatesV2TemplateTemplateVersionSpecVmSpecGpus[]
    guestCustomizations GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomization[]
    guestTools GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestTool[]
    hardwareClockTimezone string
    hosts GetTemplatesV2TemplateTemplateVersionSpecVmSpecHost[]
    isAgentVm boolean
    isBrandingEnabled boolean
    isCpuHotplugEnabled boolean
    isCpuPassthroughEnabled boolean
    isCrossClusterMigrationInProgress boolean
    isGpuConsoleEnabled boolean
    isLiveMigrateCapable boolean
    isMemoryOvercommitEnabled boolean
    isScsiControllerEnabled boolean
    isVcpuHardPinningEnabled boolean
    isVgaConsoleEnabled boolean
    links GetTemplatesV2TemplateTemplateVersionSpecVmSpecLink[]
    machineType string
    memorySizeBytes number
    name string
    nics GetTemplatesV2TemplateTemplateVersionSpecVmSpecNic[]
    numCoresPerSocket number
    numNumaNodes number
    numSockets number
    numThreadsPerCore number
    ownershipInfos GetTemplatesV2TemplateTemplateVersionSpecVmSpecOwnershipInfo[]
    pciDevices GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDevice[]
    powerState string
    protectionPolicyStates GetTemplatesV2TemplateTemplateVersionSpecVmSpecProtectionPolicyState[]
    protectionType string
    serialPorts GetTemplatesV2TemplateTemplateVersionSpecVmSpecSerialPort[]
    sources GetTemplatesV2TemplateTemplateVersionSpecVmSpecSource[]
    storageConfigs GetTemplatesV2TemplateTemplateVersionSpecVmSpecStorageConfig[]
    tenantId string
    updateTime string
    vtpmConfigs GetTemplatesV2TemplateTemplateVersionSpecVmSpecVtpmConfig[]
    apc_configs Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecApcConfig]
    availability_zones Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecAvailabilityZone]
    bios_uuid str
    boot_configs Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfig]
    categories Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecCategory]
    cd_roms Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRom]
    clusters Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecCluster]
    create_time str
    description str
    disks Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecDisk]
    enabled_cpu_features Sequence[str]
    ext_id str
    generation_uuid str
    gpuses Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecGpus]
    guest_customizations Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomization]
    guest_tools Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestTool]
    hardware_clock_timezone str
    hosts Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecHost]
    is_agent_vm bool
    is_branding_enabled bool
    is_cpu_hotplug_enabled bool
    is_cpu_passthrough_enabled bool
    is_cross_cluster_migration_in_progress bool
    is_gpu_console_enabled bool
    is_live_migrate_capable bool
    is_memory_overcommit_enabled bool
    is_scsi_controller_enabled bool
    is_vcpu_hard_pinning_enabled bool
    is_vga_console_enabled bool
    links Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecLink]
    machine_type str
    memory_size_bytes int
    name str
    nics Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecNic]
    num_cores_per_socket int
    num_numa_nodes int
    num_sockets int
    num_threads_per_core int
    ownership_infos Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecOwnershipInfo]
    pci_devices Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDevice]
    power_state str
    protection_policy_states Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecProtectionPolicyState]
    protection_type str
    serial_ports Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecSerialPort]
    sources Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecSource]
    storage_configs Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecStorageConfig]
    tenant_id str
    update_time str
    vtpm_configs Sequence[GetTemplatesV2TemplateTemplateVersionSpecVmSpecVtpmConfig]
    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
    isCrossClusterMigrationInProgress Boolean
    isGpuConsoleEnabled Boolean
    isLiveMigrateCapable Boolean
    isMemoryOvercommitEnabled Boolean
    isScsiControllerEnabled Boolean
    isVcpuHardPinningEnabled Boolean
    isVgaConsoleEnabled Boolean
    links List<Property Map>
    machineType String
    memorySizeBytes Number
    name String
    nics List<Property Map>
    numCoresPerSocket Number
    numNumaNodes Number
    numSockets Number
    numThreadsPerCore Number
    ownershipInfos List<Property Map>
    pciDevices List<Property Map>
    powerState String
    protectionPolicyStates List<Property Map>
    protectionType String
    serialPorts List<Property Map>
    sources List<Property Map>
    storageConfigs List<Property Map>
    tenantId String
    updateTime String
    vtpmConfigs List<Property Map>

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecApcConfig

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecApcConfigCpuModel

    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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecAvailabilityZone

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfig

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigLegacyBoot

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigLegacyBootBootDevice

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigLegacyBootBootDeviceBootDeviceDisk

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigLegacyBootBootDeviceBootDeviceDiskDiskAddress

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigLegacyBootBootDeviceBootDeviceNic

    MacAddress string
    MacAddress string
    macAddress String
    macAddress string
    macAddress String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBoot

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootBootDevice

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootBootDeviceBootDeviceDisk

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootBootDeviceBootDeviceDiskDiskAddress

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootBootDeviceBootDeviceNic

    MacAddress string
    MacAddress string
    macAddress String
    macAddress string
    macAddress String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDevice

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDeviceBackingStorageInfo

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDeviceBackingStorageInfoDataSource

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReference

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReferenceImageReference

    ImageExtId string
    ImageExtId string
    imageExtId String
    imageExtId string
    imageExtId String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReferenceVmDiskReference

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReferenceVmDiskReferenceDiskAddress

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDeviceBackingStorageInfoDataSourceReferenceVmDiskReferenceVmReference

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDeviceBackingStorageInfoStorageConfig

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecBootConfigUefiBootNvramDeviceBackingStorageInfoStorageContainer

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCategory

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRom

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomBackingInfo

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomBackingInfoDataSource

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomBackingInfoDataSourceReference

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomBackingInfoDataSourceReferenceImageReference

    ImageExtId string
    ImageExtId string
    imageExtId String
    imageExtId string
    imageExtId String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomBackingInfoDataSourceReferenceVmDiskReference

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomBackingInfoDataSourceReferenceVmDiskReferenceDiskAddress

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomBackingInfoDataSourceReferenceVmDiskReferenceVmReference

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomBackingInfoStorageConfig

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomBackingInfoStorageContainer

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCdRomDiskAddress

    BusType string
    Index int
    BusType string
    Index int
    busType String
    index Integer
    busType string
    index number
    busType String
    index Number
    Href string
    Rel string
    Href string
    Rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecCluster

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDisk

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfo

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoAdfsVolumeGroupReference

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoVmDisk

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoVmDiskDataSource

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoVmDiskDataSourceReference

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoVmDiskDataSourceReferenceImageReference

    ImageExtId string
    ImageExtId string
    imageExtId String
    imageExtId string
    imageExtId String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoVmDiskDataSourceReferenceVmDiskReference

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoVmDiskDataSourceReferenceVmDiskReferenceDiskAddress

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoVmDiskDataSourceReferenceVmDiskReferenceVmReference

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoVmDiskStorageConfig

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskBackingInfoVmDiskStorageContainer

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecDiskDiskAddress

    BusType string
    Index int
    BusType string
    Index int
    busType String
    index Integer
    busType string
    index number
    busType String
    index Number
    Href string
    Rel string
    Href string
    Rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGpus

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGpusPciAddress

    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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomization

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfig

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigCloudInit

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigCloudInitCloudInitScript

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValue

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePair

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValue

    boolean Boolean
    integer Number
    integerLists List<Number>
    mapOfStrings List<Property Map>
    object Map<String>
    string String
    stringLists List<String>

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigCloudInitCloudInitScriptCustomKeyValueKeyValuePairValueMapOfString

    Map Dictionary<string, string>
    Map map[string]string
    map Map<String,String>
    map {[key: string]: string}
    map Mapping[str, str]
    map Map<String>

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigCloudInitCloudInitScriptUserData

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigSysprep

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigSysprepSysprepScript

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigSysprepSysprepScriptCustomKeyValue

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePair

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValue

    boolean Boolean
    integer Number
    integerLists List<Number>
    mapOfStrings List<Property Map>
    object Map<String>
    string String
    stringLists List<String>

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigSysprepSysprepScriptCustomKeyValueKeyValuePairValueMapOfString

    Map Dictionary<string, string>
    Map map[string]string
    map Map<String,String>
    map {[key: string]: string}
    map Mapping[str, str]
    map Map<String>

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestCustomizationConfigSysprepSysprepScriptUnattendXml

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecGuestTool

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecHost

    ExtId string
    ExtId string
    extId String
    extId string
    ext_id str
    extId String
    Href string
    Rel string
    Href string
    Rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNic

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNicBackingInfo

    macAddress String
    model String
    isConnected Boolean
    numQueues Integer
    macAddress string
    model string
    isConnected boolean
    numQueues number
    macAddress String
    model String
    isConnected Boolean
    numQueues Number
    Href string
    Rel string
    Href string
    Rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNicNetworkInfo

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNicNetworkInfoIpv4Config

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNicNetworkInfoIpv4ConfigIpAddress

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNicNetworkInfoIpv4ConfigSecondaryIpAddressList

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNicNetworkInfoIpv4Info

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNicNetworkInfoIpv4InfoLearnedIpAddress

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNicNetworkInfoNetworkFunctionChain

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecNicNetworkInfoSubnet

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecOwnershipInfo

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecOwnershipInfoOwner

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDevice

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDeviceAssignedDeviceInfo

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDeviceAssignedDeviceInfoDevice

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDeviceBackingInfo

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecPciDeviceBackingInfoPcieDeviceReference

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecProtectionPolicyState

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecProtectionPolicyStatePolicy

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecSerialPort

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecSource

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

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecStorageConfig

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecStorageConfigQosConfig

    GetTemplatesV2TemplateTemplateVersionSpecVmSpecVtpmConfig

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

    GetTemplatesV2TemplateUpdatedBy

    GetTemplatesV2TemplateUpdatedByAdditionalAttribute

    GetTemplatesV2TemplateUpdatedByAdditionalAttributeValue

    boolean Boolean
    integer Number
    integerLists List<Number>
    mapOfStrings List<Property Map>
    object Map<String>
    string String
    stringLists List<String>

    GetTemplatesV2TemplateUpdatedByAdditionalAttributeValueMapOfString

    Map Dictionary<string, string>
    Map map[string]string
    map Map<String,String>
    map {[key: string]: string}
    map Mapping[str, str]
    map Map<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