published on Tuesday, May 26, 2026 by Piers Karsenbarg
published on Tuesday, May 26, 2026 by Piers Karsenbarg
Inserts the defined ISO into a CD-ROM device attached to a Virtual Machine. Ejects the ISO currently inserted into a CD-ROM device on a Virtual Machine.
Example
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
//#############################################
// ------------------------------------------------
// This resource allows inserting a custom ISO into
// a VM’s CD-ROM device.
//
// You can manage both:
// 1. **Insertion** — via `apply`
// 2. **Ejection** — automatically on `delete`
// You can also eject the ISO by setting `action = "eject"` → triggers eject operation explicitly.
//#############################################
const insert_cdrom = new nutanix.VmCdromInsertEjectV2("insert-cdrom", {
vmExtId: "8a938cc5-282b-48c4-81be-de22de145d07",
extId: "c2c249b0-98a0-43fa-9ff6-dcde578d3936",
backingInfos: [{
dataSources: [{
references: [{
imageReferences: [{
imageExtId: "ba250e3e-1db1-4950-917f-a9e2ea35b8e3",
}],
}],
}],
}],
});
import pulumi
import pulumi_nutanix as nutanix
##############################################
# ------------------------------------------------
# This resource allows inserting a custom ISO into
# a VM’s CD-ROM device.
#
# You can manage both:
# 1. **Insertion** — via `apply`
# 2. **Ejection** — automatically on `delete`
# You can also eject the ISO by setting `action = "eject"` → triggers eject operation explicitly.
##############################################
insert_cdrom = nutanix.VmCdromInsertEjectV2("insert-cdrom",
vm_ext_id="8a938cc5-282b-48c4-81be-de22de145d07",
ext_id="c2c249b0-98a0-43fa-9ff6-dcde578d3936",
backing_infos=[{
"data_sources": [{
"references": [{
"image_references": [{
"image_ext_id": "ba250e3e-1db1-4950-917f-a9e2ea35b8e3",
}],
}],
}],
}])
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 {
// #############################################
// ------------------------------------------------
// This resource allows inserting a custom ISO into
// a VM’s CD-ROM device.
//
// You can manage both:
// 1. **Insertion** — via `apply`
// 2. **Ejection** — automatically on `delete`
// You can also eject the ISO by setting `action = "eject"` → triggers eject operation explicitly.
//
// #############################################
_, err := nutanix.NewVmCdromInsertEjectV2(ctx, "insert-cdrom", &nutanix.VmCdromInsertEjectV2Args{
VmExtId: pulumi.String("8a938cc5-282b-48c4-81be-de22de145d07"),
ExtId: pulumi.String("c2c249b0-98a0-43fa-9ff6-dcde578d3936"),
BackingInfos: nutanix.VmCdromInsertEjectV2BackingInfoArray{
&nutanix.VmCdromInsertEjectV2BackingInfoArgs{
DataSources: nutanix.VmCdromInsertEjectV2BackingInfoDataSourceArray{
&nutanix.VmCdromInsertEjectV2BackingInfoDataSourceArgs{
References: nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceArray{
&nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceArgs{
ImageReferences: nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReferenceArray{
&nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReferenceArgs{
ImageExtId: pulumi.String("ba250e3e-1db1-4950-917f-a9e2ea35b8e3"),
},
},
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
//#############################################
// ------------------------------------------------
// This resource allows inserting a custom ISO into
// a VM’s CD-ROM device.
//
// You can manage both:
// 1. **Insertion** — via `apply`
// 2. **Ejection** — automatically on `delete`
// You can also eject the ISO by setting `action = "eject"` → triggers eject operation explicitly.
//#############################################
var insert_cdrom = new Nutanix.VmCdromInsertEjectV2("insert-cdrom", new()
{
VmExtId = "8a938cc5-282b-48c4-81be-de22de145d07",
ExtId = "c2c249b0-98a0-43fa-9ff6-dcde578d3936",
BackingInfos = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoArgs
{
DataSources = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoDataSourceArgs
{
References = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoDataSourceReferenceArgs
{
ImageReferences = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReferenceArgs
{
ImageExtId = "ba250e3e-1db1-4950-917f-a9e2ea35b8e3",
},
},
},
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.VmCdromInsertEjectV2;
import com.pulumi.nutanix.VmCdromInsertEjectV2Args;
import com.pulumi.nutanix.inputs.VmCdromInsertEjectV2BackingInfoArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
//#############################################
// ------------------------------------------------
// This resource allows inserting a custom ISO into
// a VM’s CD-ROM device.
//
// You can manage both:
// 1. **Insertion** — via `apply`
// 2. **Ejection** — automatically on `delete`
// You can also eject the ISO by setting `action = "eject"` → triggers eject operation explicitly.
//#############################################
var insert_cdrom = new VmCdromInsertEjectV2("insert-cdrom", VmCdromInsertEjectV2Args.builder()
.vmExtId("8a938cc5-282b-48c4-81be-de22de145d07")
.extId("c2c249b0-98a0-43fa-9ff6-dcde578d3936")
.backingInfos(VmCdromInsertEjectV2BackingInfoArgs.builder()
.dataSources(VmCdromInsertEjectV2BackingInfoDataSourceArgs.builder()
.references(VmCdromInsertEjectV2BackingInfoDataSourceReferenceArgs.builder()
.imageReferences(VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReferenceArgs.builder()
.imageExtId("ba250e3e-1db1-4950-917f-a9e2ea35b8e3")
.build())
.build())
.build())
.build())
.build());
}
}
resources:
##############################################
# ------------------------------------------------
# This resource allows inserting a custom ISO into
# a VM’s CD-ROM device.
#
# You can manage both:
# 1. **Insertion** — via `apply`
# 2. **Ejection** — automatically on `delete`
# You can also eject the ISO by setting `action = "eject"` → triggers eject operation explicitly.
##############################################
insert-cdrom:
type: nutanix:VmCdromInsertEjectV2
properties:
vmExtId: 8a938cc5-282b-48c4-81be-de22de145d07
extId: c2c249b0-98a0-43fa-9ff6-dcde578d3936
backingInfos:
- dataSources:
- references:
- imageReferences:
- imageExtId: ba250e3e-1db1-4950-917f-a9e2ea35b8e3
pulumi {
required_providers {
nutanix = {
source = "pulumi/nutanix"
}
}
}
##############################################
# ------------------------------------------------
# This resource allows inserting a custom ISO into
# a VM’s CD-ROM device.
#
# You can manage both:
# 1. **Insertion** — via `apply`
# 2. **Ejection** — automatically on `delete`
# You can also eject the ISO by setting `action = "eject"` → triggers eject operation explicitly.
##############################################
resource "nutanix_vmcdrominsertejectv2" "insert-cdrom" {
vm_ext_id = "8a938cc5-282b-48c4-81be-de22de145d07"
ext_id = "c2c249b0-98a0-43fa-9ff6-dcde578d3936"
backing_infos {
data_sources {
references {
image_references {
image_ext_id = "ba250e3e-1db1-4950-917f-a9e2ea35b8e3"
}
}
}
}
}
Create VmCdromInsertEjectV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VmCdromInsertEjectV2(name: string, args: VmCdromInsertEjectV2Args, opts?: CustomResourceOptions);@overload
def VmCdromInsertEjectV2(resource_name: str,
args: VmCdromInsertEjectV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def VmCdromInsertEjectV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
ext_id: Optional[str] = None,
vm_ext_id: Optional[str] = None,
action: Optional[str] = None,
backing_infos: Optional[Sequence[VmCdromInsertEjectV2BackingInfoArgs]] = None)func NewVmCdromInsertEjectV2(ctx *Context, name string, args VmCdromInsertEjectV2Args, opts ...ResourceOption) (*VmCdromInsertEjectV2, error)public VmCdromInsertEjectV2(string name, VmCdromInsertEjectV2Args args, CustomResourceOptions? opts = null)
public VmCdromInsertEjectV2(String name, VmCdromInsertEjectV2Args args)
public VmCdromInsertEjectV2(String name, VmCdromInsertEjectV2Args args, CustomResourceOptions options)
type: nutanix:VmCdromInsertEjectV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "nutanix_vmcdrominsertejectv2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VmCdromInsertEjectV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VmCdromInsertEjectV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VmCdromInsertEjectV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VmCdromInsertEjectV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VmCdromInsertEjectV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vmCdromInsertEjectV2Resource = new Nutanix.VmCdromInsertEjectV2("vmCdromInsertEjectV2Resource", new()
{
ExtId = "string",
VmExtId = "string",
Action = "string",
BackingInfos = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoArgs
{
DataSources = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoDataSourceArgs
{
References = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoDataSourceReferenceArgs
{
ImageReferences = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReferenceArgs
{
ImageExtId = "string",
},
},
VmDiskReferences = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceArgs
{
DiskAddresses = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceDiskAddressArgs
{
BusType = "string",
Index = 0,
},
},
DiskExtId = "string",
VmReferences = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceVmReferenceArgs
{
ExtId = "string",
},
},
},
},
},
},
},
},
DiskExtId = "string",
DiskSizeBytes = 0,
IsMigrationInProgress = false,
StorageConfigs = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoStorageConfigArgs
{
IsFlashModeEnabled = false,
},
},
StorageContainers = new[]
{
new Nutanix.Inputs.VmCdromInsertEjectV2BackingInfoStorageContainerArgs
{
ExtId = "string",
},
},
},
},
});
example, err := nutanix.NewVmCdromInsertEjectV2(ctx, "vmCdromInsertEjectV2Resource", &nutanix.VmCdromInsertEjectV2Args{
ExtId: pulumi.String("string"),
VmExtId: pulumi.String("string"),
Action: pulumi.String("string"),
BackingInfos: nutanix.VmCdromInsertEjectV2BackingInfoArray{
&nutanix.VmCdromInsertEjectV2BackingInfoArgs{
DataSources: nutanix.VmCdromInsertEjectV2BackingInfoDataSourceArray{
&nutanix.VmCdromInsertEjectV2BackingInfoDataSourceArgs{
References: nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceArray{
&nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceArgs{
ImageReferences: nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReferenceArray{
&nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReferenceArgs{
ImageExtId: pulumi.String("string"),
},
},
VmDiskReferences: nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceArray{
&nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceArgs{
DiskAddresses: nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceDiskAddressArray{
&nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceDiskAddressArgs{
BusType: pulumi.String("string"),
Index: pulumi.Int(0),
},
},
DiskExtId: pulumi.String("string"),
VmReferences: nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceVmReferenceArray{
&nutanix.VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceVmReferenceArgs{
ExtId: pulumi.String("string"),
},
},
},
},
},
},
},
},
DiskExtId: pulumi.String("string"),
DiskSizeBytes: pulumi.Int(0),
IsMigrationInProgress: pulumi.Bool(false),
StorageConfigs: nutanix.VmCdromInsertEjectV2BackingInfoStorageConfigArray{
&nutanix.VmCdromInsertEjectV2BackingInfoStorageConfigArgs{
IsFlashModeEnabled: pulumi.Bool(false),
},
},
StorageContainers: nutanix.VmCdromInsertEjectV2BackingInfoStorageContainerArray{
&nutanix.VmCdromInsertEjectV2BackingInfoStorageContainerArgs{
ExtId: pulumi.String("string"),
},
},
},
},
})
resource "nutanix_vmcdrominsertejectv2" "vmCdromInsertEjectV2Resource" {
ext_id = "string"
vm_ext_id = "string"
action = "string"
backing_infos {
data_sources {
references {
image_references {
image_ext_id = "string"
}
vm_disk_references {
disk_addresses {
bus_type = "string"
index = 0
}
disk_ext_id = "string"
vm_references {
ext_id = "string"
}
}
}
}
disk_ext_id = "string"
disk_size_bytes = 0
is_migration_in_progress = false
storage_configs {
is_flash_mode_enabled = false
}
storage_containers {
ext_id = "string"
}
}
}
var vmCdromInsertEjectV2Resource = new VmCdromInsertEjectV2("vmCdromInsertEjectV2Resource", VmCdromInsertEjectV2Args.builder()
.extId("string")
.vmExtId("string")
.action("string")
.backingInfos(VmCdromInsertEjectV2BackingInfoArgs.builder()
.dataSources(VmCdromInsertEjectV2BackingInfoDataSourceArgs.builder()
.references(VmCdromInsertEjectV2BackingInfoDataSourceReferenceArgs.builder()
.imageReferences(VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReferenceArgs.builder()
.imageExtId("string")
.build())
.vmDiskReferences(VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceArgs.builder()
.diskAddresses(VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceDiskAddressArgs.builder()
.busType("string")
.index(0)
.build())
.diskExtId("string")
.vmReferences(VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceVmReferenceArgs.builder()
.extId("string")
.build())
.build())
.build())
.build())
.diskExtId("string")
.diskSizeBytes(0)
.isMigrationInProgress(false)
.storageConfigs(VmCdromInsertEjectV2BackingInfoStorageConfigArgs.builder()
.isFlashModeEnabled(false)
.build())
.storageContainers(VmCdromInsertEjectV2BackingInfoStorageContainerArgs.builder()
.extId("string")
.build())
.build())
.build());
vm_cdrom_insert_eject_v2_resource = nutanix.VmCdromInsertEjectV2("vmCdromInsertEjectV2Resource",
ext_id="string",
vm_ext_id="string",
action="string",
backing_infos=[{
"data_sources": [{
"references": [{
"image_references": [{
"image_ext_id": "string",
}],
"vm_disk_references": [{
"disk_addresses": [{
"bus_type": "string",
"index": 0,
}],
"disk_ext_id": "string",
"vm_references": [{
"ext_id": "string",
}],
}],
}],
}],
"disk_ext_id": "string",
"disk_size_bytes": 0,
"is_migration_in_progress": False,
"storage_configs": [{
"is_flash_mode_enabled": False,
}],
"storage_containers": [{
"ext_id": "string",
}],
}])
const vmCdromInsertEjectV2Resource = new nutanix.VmCdromInsertEjectV2("vmCdromInsertEjectV2Resource", {
extId: "string",
vmExtId: "string",
action: "string",
backingInfos: [{
dataSources: [{
references: [{
imageReferences: [{
imageExtId: "string",
}],
vmDiskReferences: [{
diskAddresses: [{
busType: "string",
index: 0,
}],
diskExtId: "string",
vmReferences: [{
extId: "string",
}],
}],
}],
}],
diskExtId: "string",
diskSizeBytes: 0,
isMigrationInProgress: false,
storageConfigs: [{
isFlashModeEnabled: false,
}],
storageContainers: [{
extId: "string",
}],
}],
});
type: nutanix:VmCdromInsertEjectV2
properties:
action: string
backingInfos:
- dataSources:
- references:
- imageReferences:
- imageExtId: string
vmDiskReferences:
- diskAddresses:
- busType: string
index: 0
diskExtId: string
vmReferences:
- extId: string
diskExtId: string
diskSizeBytes: 0
isMigrationInProgress: false
storageConfigs:
- isFlashModeEnabled: false
storageContainers:
- extId: string
extId: string
vmExtId: string
VmCdromInsertEjectV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VmCdromInsertEjectV2 resource accepts the following input properties:
- Ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- Vm
Ext stringId - The globally unique identifier of a VM. It should be of type UUID
- Action string
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- Backing
Infos List<PiersKarsenbarg. Nutanix. Inputs. Vm Cdrom Insert Eject V2Backing Info> - Storage provided by Nutanix ADSF
- Ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- Vm
Ext stringId - The globally unique identifier of a VM. It should be of type UUID
- Action string
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- Backing
Infos []VmCdrom Insert Eject V2Backing Info Args - Storage provided by Nutanix ADSF
- ext_
id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- vm_
ext_ stringid - The globally unique identifier of a VM. It should be of type UUID
- action string
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing_
infos list(object) - Storage provided by Nutanix ADSF
- ext
Id String - The globally unique identifier of a CD-ROM. It should be of type UUID.
- vm
Ext StringId - The globally unique identifier of a VM. It should be of type UUID
- action String
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing
Infos List<VmCdrom Insert Eject V2Backing Info> - Storage provided by Nutanix ADSF
- ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- vm
Ext stringId - The globally unique identifier of a VM. It should be of type UUID
- action string
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing
Infos VmCdrom Insert Eject V2Backing Info[] - Storage provided by Nutanix ADSF
- ext_
id str - The globally unique identifier of a CD-ROM. It should be of type UUID.
- vm_
ext_ strid - The globally unique identifier of a VM. It should be of type UUID
- action str
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing_
infos Sequence[VmCdrom Insert Eject V2Backing Info Args] - Storage provided by Nutanix ADSF
- ext
Id String - The globally unique identifier of a CD-ROM. It should be of type UUID.
- vm
Ext StringId - The globally unique identifier of a VM. It should be of type UUID
- action String
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing
Infos List<Property Map> - Storage provided by Nutanix ADSF
Outputs
All input properties are implicitly available as output properties. Additionally, the VmCdromInsertEjectV2 resource produces the following output properties:
- Cdrom
Ext stringId - Disk
Addresses List<PiersKarsenbarg. Nutanix. Outputs. Vm Cdrom Insert Eject V2Disk Address> - Id string
- The provider-assigned unique ID for this managed resource.
- Iso
Type string
- Cdrom
Ext stringId - Disk
Addresses []VmCdrom Insert Eject V2Disk Address - Id string
- The provider-assigned unique ID for this managed resource.
- Iso
Type string
- cdrom_
ext_ stringid - disk_
addresses list(object) - id string
- The provider-assigned unique ID for this managed resource.
- iso_
type string
- cdrom
Ext StringId - disk
Addresses List<VmCdrom Insert Eject V2Disk Address> - id String
- The provider-assigned unique ID for this managed resource.
- iso
Type String
- cdrom
Ext stringId - disk
Addresses VmCdrom Insert Eject V2Disk Address[] - id string
- The provider-assigned unique ID for this managed resource.
- iso
Type string
- cdrom_
ext_ strid - disk_
addresses Sequence[VmCdrom Insert Eject V2Disk Address] - id str
- The provider-assigned unique ID for this managed resource.
- iso_
type str
- cdrom
Ext StringId - disk
Addresses List<Property Map> - id String
- The provider-assigned unique ID for this managed resource.
- iso
Type String
Look up Existing VmCdromInsertEjectV2 Resource
Get an existing VmCdromInsertEjectV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VmCdromInsertEjectV2State, opts?: CustomResourceOptions): VmCdromInsertEjectV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
backing_infos: Optional[Sequence[VmCdromInsertEjectV2BackingInfoArgs]] = None,
cdrom_ext_id: Optional[str] = None,
disk_addresses: Optional[Sequence[VmCdromInsertEjectV2DiskAddressArgs]] = None,
ext_id: Optional[str] = None,
iso_type: Optional[str] = None,
vm_ext_id: Optional[str] = None) -> VmCdromInsertEjectV2func GetVmCdromInsertEjectV2(ctx *Context, name string, id IDInput, state *VmCdromInsertEjectV2State, opts ...ResourceOption) (*VmCdromInsertEjectV2, error)public static VmCdromInsertEjectV2 Get(string name, Input<string> id, VmCdromInsertEjectV2State? state, CustomResourceOptions? opts = null)public static VmCdromInsertEjectV2 get(String name, Output<String> id, VmCdromInsertEjectV2State state, CustomResourceOptions options)resources: _: type: nutanix:VmCdromInsertEjectV2 get: id: ${id}import {
to = nutanix_vmcdrominsertejectv2.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Action string
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- Backing
Infos List<PiersKarsenbarg. Nutanix. Inputs. Vm Cdrom Insert Eject V2Backing Info> - Storage provided by Nutanix ADSF
- Cdrom
Ext stringId - Disk
Addresses List<PiersKarsenbarg. Nutanix. Inputs. Vm Cdrom Insert Eject V2Disk Address> - Ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- Iso
Type string - Vm
Ext stringId - The globally unique identifier of a VM. It should be of type UUID
- Action string
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- Backing
Infos []VmCdrom Insert Eject V2Backing Info Args - Storage provided by Nutanix ADSF
- Cdrom
Ext stringId - Disk
Addresses []VmCdrom Insert Eject V2Disk Address Args - Ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- Iso
Type string - Vm
Ext stringId - The globally unique identifier of a VM. It should be of type UUID
- action string
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing_
infos list(object) - Storage provided by Nutanix ADSF
- cdrom_
ext_ stringid - disk_
addresses list(object) - ext_
id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- iso_
type string - vm_
ext_ stringid - The globally unique identifier of a VM. It should be of type UUID
- action String
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing
Infos List<VmCdrom Insert Eject V2Backing Info> - Storage provided by Nutanix ADSF
- cdrom
Ext StringId - disk
Addresses List<VmCdrom Insert Eject V2Disk Address> - ext
Id String - The globally unique identifier of a CD-ROM. It should be of type UUID.
- iso
Type String - vm
Ext StringId - The globally unique identifier of a VM. It should be of type UUID
- action string
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing
Infos VmCdrom Insert Eject V2Backing Info[] - Storage provided by Nutanix ADSF
- cdrom
Ext stringId - disk
Addresses VmCdrom Insert Eject V2Disk Address[] - ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- iso
Type string - vm
Ext stringId - The globally unique identifier of a VM. It should be of type UUID
- action str
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing_
infos Sequence[VmCdrom Insert Eject V2Backing Info Args] - Storage provided by Nutanix ADSF
- cdrom_
ext_ strid - disk_
addresses Sequence[VmCdrom Insert Eject V2Disk Address Args] - ext_
id str - The globally unique identifier of a CD-ROM. It should be of type UUID.
- iso_
type str - vm_
ext_ strid - The globally unique identifier of a VM. It should be of type UUID
- action String
- Default value: "insert". Accepted values: "insert" → Mounts the specified ISO image to the VM’s CD-ROM, "eject" → Unmounts (ejects) the ISO image from the VM’s CD-ROM.
- backing
Infos List<Property Map> - Storage provided by Nutanix ADSF
- cdrom
Ext StringId - disk
Addresses List<Property Map> - ext
Id String - The globally unique identifier of a CD-ROM. It should be of type UUID.
- iso
Type String - vm
Ext StringId - The globally unique identifier of a VM. It should be of type UUID
Supporting Types
VmCdromInsertEjectV2BackingInfo, VmCdromInsertEjectV2BackingInfoArgs
- Data
Sources List<PiersKarsenbarg. Nutanix. Inputs. Vm Cdrom Insert Eject V2Backing Info Data Source> - A reference to a disk or image that contains the contents of a disk.
- Disk
Ext stringId - Disk
Size intBytes - Size of the disk in Bytes
- Is
Migration boolIn Progress - Storage
Configs List<PiersKarsenbarg. Nutanix. Inputs. Vm Cdrom Insert Eject V2Backing Info Storage Config> - Storage configuration for VM disks
storage_config.is_flash_mode_enabled: (Required) Indicates whether the virtual disk is pinned to the hot tier or not.
- Storage
Containers List<PiersKarsenbarg. Nutanix. Inputs. Vm Cdrom Insert Eject V2Backing Info Storage Container> - This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
- Data
Sources []VmCdrom Insert Eject V2Backing Info Data Source - A reference to a disk or image that contains the contents of a disk.
- Disk
Ext stringId - Disk
Size intBytes - Size of the disk in Bytes
- Is
Migration boolIn Progress - Storage
Configs []VmCdrom Insert Eject V2Backing Info Storage Config - Storage configuration for VM disks
storage_config.is_flash_mode_enabled: (Required) Indicates whether the virtual disk is pinned to the hot tier or not.
- Storage
Containers []VmCdrom Insert Eject V2Backing Info Storage Container - This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
- data_
sources list(object) - A reference to a disk or image that contains the contents of a disk.
- disk_
ext_ stringid - disk_
size_ numberbytes - Size of the disk in Bytes
- is_
migration_ boolin_ progress - storage_
configs list(object) - Storage configuration for VM disks
storage_config.is_flash_mode_enabled: (Required) Indicates whether the virtual disk is pinned to the hot tier or not.
- storage_
containers list(object) - This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
- data
Sources List<VmCdrom Insert Eject V2Backing Info Data Source> - A reference to a disk or image that contains the contents of a disk.
- disk
Ext StringId - disk
Size IntegerBytes - Size of the disk in Bytes
- is
Migration BooleanIn Progress - storage
Configs List<VmCdrom Insert Eject V2Backing Info Storage Config> - Storage configuration for VM disks
storage_config.is_flash_mode_enabled: (Required) Indicates whether the virtual disk is pinned to the hot tier or not.
- storage
Containers List<VmCdrom Insert Eject V2Backing Info Storage Container> - This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
- data
Sources VmCdrom Insert Eject V2Backing Info Data Source[] - A reference to a disk or image that contains the contents of a disk.
- disk
Ext stringId - disk
Size numberBytes - Size of the disk in Bytes
- is
Migration booleanIn Progress - storage
Configs VmCdrom Insert Eject V2Backing Info Storage Config[] - Storage configuration for VM disks
storage_config.is_flash_mode_enabled: (Required) Indicates whether the virtual disk is pinned to the hot tier or not.
- storage
Containers VmCdrom Insert Eject V2Backing Info Storage Container[] - This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
- data_
sources Sequence[VmCdrom Insert Eject V2Backing Info Data Source] - A reference to a disk or image that contains the contents of a disk.
- disk_
ext_ strid - disk_
size_ intbytes - Size of the disk in Bytes
- is_
migration_ boolin_ progress - storage_
configs Sequence[VmCdrom Insert Eject V2Backing Info Storage Config] - Storage configuration for VM disks
storage_config.is_flash_mode_enabled: (Required) Indicates whether the virtual disk is pinned to the hot tier or not.
- storage_
containers Sequence[VmCdrom Insert Eject V2Backing Info Storage Container] - This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
- data
Sources List<Property Map> - A reference to a disk or image that contains the contents of a disk.
- disk
Ext StringId - disk
Size NumberBytes - Size of the disk in Bytes
- is
Migration BooleanIn Progress - storage
Configs List<Property Map> - Storage configuration for VM disks
storage_config.is_flash_mode_enabled: (Required) Indicates whether the virtual disk is pinned to the hot tier or not.
- storage
Containers List<Property Map> - This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
VmCdromInsertEjectV2BackingInfoDataSource, VmCdromInsertEjectV2BackingInfoDataSourceArgs
- References
List<Piers
Karsenbarg. Nutanix. Inputs. Vm Cdrom Insert Eject V2Backing Info Data Source Reference> - Reference to image or vm disk. Either
imageReferenceorvmDiskReference.
- References
[]Vm
Cdrom Insert Eject V2Backing Info Data Source Reference - Reference to image or vm disk. Either
imageReferenceorvmDiskReference.
- references list(object)
- Reference to image or vm disk. Either
imageReferenceorvmDiskReference.
- references
List<Vm
Cdrom Insert Eject V2Backing Info Data Source Reference> - Reference to image or vm disk. Either
imageReferenceorvmDiskReference.
- references
Vm
Cdrom Insert Eject V2Backing Info Data Source Reference[] - Reference to image or vm disk. Either
imageReferenceorvmDiskReference.
- references
Sequence[Vm
Cdrom Insert Eject V2Backing Info Data Source Reference] - Reference to image or vm disk. Either
imageReferenceorvmDiskReference.
- references List<Property Map>
- Reference to image or vm disk. Either
imageReferenceorvmDiskReference.
VmCdromInsertEjectV2BackingInfoDataSourceReference, VmCdromInsertEjectV2BackingInfoDataSourceReferenceArgs
- Image
References List<PiersKarsenbarg. Nutanix. Inputs. Vm Cdrom Insert Eject V2Backing Info Data Source Reference Image Reference> - Image Reference
image_reference.image_ext_id: (Required) The globally unique identifier of an image. It should be of type UUID.
- Vm
Disk List<PiersReferences Karsenbarg. Nutanix. Inputs. Vm Cdrom Insert Eject V2Backing Info Data Source Reference Vm Disk Reference> - Vm Disk Reference
vm_disk_reference.disk_address: (Required) Disk address.vm_disk_reference.vm_reference: (Required) This is a reference to a VM.
- Image
References []VmCdrom Insert Eject V2Backing Info Data Source Reference Image Reference - Image Reference
image_reference.image_ext_id: (Required) The globally unique identifier of an image. It should be of type UUID.
- Vm
Disk []VmReferences Cdrom Insert Eject V2Backing Info Data Source Reference Vm Disk Reference - Vm Disk Reference
vm_disk_reference.disk_address: (Required) Disk address.vm_disk_reference.vm_reference: (Required) This is a reference to a VM.
- image_
references list(object) - Image Reference
image_reference.image_ext_id: (Required) The globally unique identifier of an image. It should be of type UUID.
- vm_
disk_ list(object)references - Vm Disk Reference
vm_disk_reference.disk_address: (Required) Disk address.vm_disk_reference.vm_reference: (Required) This is a reference to a VM.
- image
References List<VmCdrom Insert Eject V2Backing Info Data Source Reference Image Reference> - Image Reference
image_reference.image_ext_id: (Required) The globally unique identifier of an image. It should be of type UUID.
- vm
Disk List<VmReferences Cdrom Insert Eject V2Backing Info Data Source Reference Vm Disk Reference> - Vm Disk Reference
vm_disk_reference.disk_address: (Required) Disk address.vm_disk_reference.vm_reference: (Required) This is a reference to a VM.
- image
References VmCdrom Insert Eject V2Backing Info Data Source Reference Image Reference[] - Image Reference
image_reference.image_ext_id: (Required) The globally unique identifier of an image. It should be of type UUID.
- vm
Disk VmReferences Cdrom Insert Eject V2Backing Info Data Source Reference Vm Disk Reference[] - Vm Disk Reference
vm_disk_reference.disk_address: (Required) Disk address.vm_disk_reference.vm_reference: (Required) This is a reference to a VM.
- image_
references Sequence[VmCdrom Insert Eject V2Backing Info Data Source Reference Image Reference] - Image Reference
image_reference.image_ext_id: (Required) The globally unique identifier of an image. It should be of type UUID.
- vm_
disk_ Sequence[Vmreferences Cdrom Insert Eject V2Backing Info Data Source Reference Vm Disk Reference] - Vm Disk Reference
vm_disk_reference.disk_address: (Required) Disk address.vm_disk_reference.vm_reference: (Required) This is a reference to a VM.
- image
References List<Property Map> - Image Reference
image_reference.image_ext_id: (Required) The globally unique identifier of an image. It should be of type UUID.
- vm
Disk List<Property Map>References - Vm Disk Reference
vm_disk_reference.disk_address: (Required) Disk address.vm_disk_reference.vm_reference: (Required) This is a reference to a VM.
VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReference, VmCdromInsertEjectV2BackingInfoDataSourceReferenceImageReferenceArgs
- Image
Ext stringId
- Image
Ext stringId
- image_
ext_ stringid
- image
Ext StringId
- image
Ext stringId
- image_
ext_ strid
- image
Ext StringId
VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReference, VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceArgs
VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceDiskAddress, VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceDiskAddressArgs
VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceVmReference, VmCdromInsertEjectV2BackingInfoDataSourceReferenceVmDiskReferenceVmReferenceArgs
- Ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- Ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext_
id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext
Id String - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext_
id str - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext
Id String - The globally unique identifier of a CD-ROM. It should be of type UUID.
VmCdromInsertEjectV2BackingInfoStorageConfig, VmCdromInsertEjectV2BackingInfoStorageConfigArgs
- Is
Flash boolMode Enabled
- Is
Flash boolMode Enabled
- is
Flash BooleanMode Enabled
- is
Flash booleanMode Enabled
- is
Flash BooleanMode Enabled
VmCdromInsertEjectV2BackingInfoStorageContainer, VmCdromInsertEjectV2BackingInfoStorageContainerArgs
- Ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- Ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext_
id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext
Id String - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext
Id string - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext_
id str - The globally unique identifier of a CD-ROM. It should be of type UUID.
- ext
Id String - The globally unique identifier of a CD-ROM. It should be of type UUID.
VmCdromInsertEjectV2DiskAddress, VmCdromInsertEjectV2DiskAddressArgs
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
published on Tuesday, May 26, 2026 by Piers Karsenbarg