1. Packages
  2. Vcd Provider
  3. API Docs
  4. VappVm
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.VappVm

Explore with Pulumi AI

Create VappVm Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new VappVm(name: string, args: VappVmArgs, opts?: CustomResourceOptions);
@overload
def VappVm(resource_name: str,
           args: VappVmArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def VappVm(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           vapp_name: Optional[str] = None,
           accept_all_eulas: Optional[bool] = None,
           boot_image: Optional[str] = None,
           boot_image_id: Optional[str] = None,
           boot_options: Optional[VappVmBootOptionsArgs] = None,
           catalog_name: Optional[str] = None,
           computer_name: Optional[str] = None,
           consolidate_disks_on_create: Optional[bool] = None,
           copy_from_vm_id: Optional[str] = None,
           cpu_cores: Optional[float] = None,
           cpu_hot_add_enabled: Optional[bool] = None,
           cpu_limit: Optional[float] = None,
           cpu_priority: Optional[str] = None,
           cpu_reservation: Optional[float] = None,
           cpu_shares: Optional[float] = None,
           cpus: Optional[float] = None,
           customization: Optional[VappVmCustomizationArgs] = None,
           description: Optional[str] = None,
           disks: Optional[Sequence[VappVmDiskArgs]] = None,
           expose_hardware_virtualization: Optional[bool] = None,
           firmware: Optional[str] = None,
           guest_properties: Optional[Mapping[str, str]] = None,
           hardware_version: Optional[str] = None,
           href: Optional[str] = None,
           memory: Optional[float] = None,
           memory_hot_add_enabled: Optional[bool] = None,
           memory_limit: Optional[float] = None,
           memory_priority: Optional[str] = None,
           memory_reservation: Optional[float] = None,
           memory_shares: Optional[float] = None,
           metadata: Optional[Mapping[str, str]] = None,
           metadata_entries: Optional[Sequence[VappVmMetadataEntryArgs]] = None,
           name: Optional[str] = None,
           network_dhcp_wait_seconds: Optional[float] = None,
           networks: Optional[Sequence[VappVmNetworkArgs]] = None,
           org: Optional[str] = None,
           os_type: Optional[str] = None,
           override_template_disks: Optional[Sequence[VappVmOverrideTemplateDiskArgs]] = None,
           placement_policy_id: Optional[str] = None,
           power_on: Optional[bool] = None,
           prevent_update_power_off: Optional[bool] = None,
           security_tags: Optional[Sequence[str]] = None,
           set_extra_configs: Optional[Sequence[VappVmSetExtraConfigArgs]] = None,
           sizing_policy_id: Optional[str] = None,
           storage_profile: Optional[str] = None,
           template_name: Optional[str] = None,
           vapp_template_id: Optional[str] = None,
           vapp_vm_id: Optional[str] = None,
           vdc: Optional[str] = None,
           vm_name_in_template: Optional[str] = None)
func NewVappVm(ctx *Context, name string, args VappVmArgs, opts ...ResourceOption) (*VappVm, error)
public VappVm(string name, VappVmArgs args, CustomResourceOptions? opts = null)
public VappVm(String name, VappVmArgs args)
public VappVm(String name, VappVmArgs args, CustomResourceOptions options)
type: vcd:VappVm
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VappVmArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VappVmArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VappVmArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VappVmArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VappVmArgs
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 vappVmResource = new Vcd.VappVm("vappVmResource", new()
{
    VappName = "string",
    AcceptAllEulas = false,
    BootImageId = "string",
    BootOptions = new Vcd.Inputs.VappVmBootOptionsArgs
    {
        BootDelay = 0,
        BootRetryDelay = 0,
        BootRetryEnabled = false,
        EfiSecureBoot = false,
        EnterBiosSetupOnNextBoot = false,
    },
    ComputerName = "string",
    ConsolidateDisksOnCreate = false,
    CopyFromVmId = "string",
    CpuCores = 0,
    CpuHotAddEnabled = false,
    CpuLimit = 0,
    CpuPriority = "string",
    CpuReservation = 0,
    CpuShares = 0,
    Cpus = 0,
    Customization = new Vcd.Inputs.VappVmCustomizationArgs
    {
        AdminPassword = "string",
        AllowLocalAdminPassword = false,
        AutoGeneratePassword = false,
        ChangeSid = false,
        Enabled = false,
        Force = false,
        Initscript = "string",
        JoinDomain = false,
        JoinDomainAccountOu = "string",
        JoinDomainName = "string",
        JoinDomainPassword = "string",
        JoinDomainUser = "string",
        JoinOrgDomain = false,
        MustChangePasswordOnFirstLogin = false,
        NumberOfAutoLogons = 0,
    },
    Description = "string",
    Disks = new[]
    {
        new Vcd.Inputs.VappVmDiskArgs
        {
            BusNumber = "string",
            Name = "string",
            UnitNumber = "string",
            SizeInMb = 0,
        },
    },
    ExposeHardwareVirtualization = false,
    Firmware = "string",
    GuestProperties = 
    {
        { "string", "string" },
    },
    HardwareVersion = "string",
    Href = "string",
    Memory = 0,
    MemoryHotAddEnabled = false,
    MemoryLimit = 0,
    MemoryPriority = "string",
    MemoryReservation = 0,
    MemoryShares = 0,
    MetadataEntries = new[]
    {
        new Vcd.Inputs.VappVmMetadataEntryArgs
        {
            IsSystem = false,
            Key = "string",
            Type = "string",
            UserAccess = "string",
            Value = "string",
        },
    },
    Name = "string",
    NetworkDhcpWaitSeconds = 0,
    Networks = new[]
    {
        new Vcd.Inputs.VappVmNetworkArgs
        {
            IpAllocationMode = "string",
            Type = "string",
            AdapterType = "string",
            Connected = false,
            Ip = "string",
            IsPrimary = false,
            Mac = "string",
            Name = "string",
            SecondaryIp = "string",
            SecondaryIpAllocationMode = "string",
        },
    },
    Org = "string",
    OsType = "string",
    OverrideTemplateDisks = new[]
    {
        new Vcd.Inputs.VappVmOverrideTemplateDiskArgs
        {
            BusNumber = 0,
            BusType = "string",
            SizeInMb = 0,
            UnitNumber = 0,
            Iops = 0,
            StorageProfile = "string",
        },
    },
    PlacementPolicyId = "string",
    PowerOn = false,
    PreventUpdatePowerOff = false,
    SecurityTags = new[]
    {
        "string",
    },
    SetExtraConfigs = new[]
    {
        new Vcd.Inputs.VappVmSetExtraConfigArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    SizingPolicyId = "string",
    StorageProfile = "string",
    VappTemplateId = "string",
    VappVmId = "string",
    Vdc = "string",
    VmNameInTemplate = "string",
});
Copy
example, err := vcd.NewVappVm(ctx, "vappVmResource", &vcd.VappVmArgs{
VappName: pulumi.String("string"),
AcceptAllEulas: pulumi.Bool(false),
BootImageId: pulumi.String("string"),
BootOptions: &.VappVmBootOptionsArgs{
BootDelay: pulumi.Float64(0),
BootRetryDelay: pulumi.Float64(0),
BootRetryEnabled: pulumi.Bool(false),
EfiSecureBoot: pulumi.Bool(false),
EnterBiosSetupOnNextBoot: pulumi.Bool(false),
},
ComputerName: pulumi.String("string"),
ConsolidateDisksOnCreate: pulumi.Bool(false),
CopyFromVmId: pulumi.String("string"),
CpuCores: pulumi.Float64(0),
CpuHotAddEnabled: pulumi.Bool(false),
CpuLimit: pulumi.Float64(0),
CpuPriority: pulumi.String("string"),
CpuReservation: pulumi.Float64(0),
CpuShares: pulumi.Float64(0),
Cpus: pulumi.Float64(0),
Customization: &.VappVmCustomizationArgs{
AdminPassword: pulumi.String("string"),
AllowLocalAdminPassword: pulumi.Bool(false),
AutoGeneratePassword: pulumi.Bool(false),
ChangeSid: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
Force: pulumi.Bool(false),
Initscript: pulumi.String("string"),
JoinDomain: pulumi.Bool(false),
JoinDomainAccountOu: pulumi.String("string"),
JoinDomainName: pulumi.String("string"),
JoinDomainPassword: pulumi.String("string"),
JoinDomainUser: pulumi.String("string"),
JoinOrgDomain: pulumi.Bool(false),
MustChangePasswordOnFirstLogin: pulumi.Bool(false),
NumberOfAutoLogons: pulumi.Float64(0),
},
Description: pulumi.String("string"),
Disks: .VappVmDiskArray{
&.VappVmDiskArgs{
BusNumber: pulumi.String("string"),
Name: pulumi.String("string"),
UnitNumber: pulumi.String("string"),
SizeInMb: pulumi.Float64(0),
},
},
ExposeHardwareVirtualization: pulumi.Bool(false),
Firmware: pulumi.String("string"),
GuestProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
HardwareVersion: pulumi.String("string"),
Href: pulumi.String("string"),
Memory: pulumi.Float64(0),
MemoryHotAddEnabled: pulumi.Bool(false),
MemoryLimit: pulumi.Float64(0),
MemoryPriority: pulumi.String("string"),
MemoryReservation: pulumi.Float64(0),
MemoryShares: pulumi.Float64(0),
MetadataEntries: .VappVmMetadataEntryArray{
&.VappVmMetadataEntryArgs{
IsSystem: pulumi.Bool(false),
Key: pulumi.String("string"),
Type: pulumi.String("string"),
UserAccess: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
NetworkDhcpWaitSeconds: pulumi.Float64(0),
Networks: .VappVmNetworkArray{
&.VappVmNetworkArgs{
IpAllocationMode: pulumi.String("string"),
Type: pulumi.String("string"),
AdapterType: pulumi.String("string"),
Connected: pulumi.Bool(false),
Ip: pulumi.String("string"),
IsPrimary: pulumi.Bool(false),
Mac: pulumi.String("string"),
Name: pulumi.String("string"),
SecondaryIp: pulumi.String("string"),
SecondaryIpAllocationMode: pulumi.String("string"),
},
},
Org: pulumi.String("string"),
OsType: pulumi.String("string"),
OverrideTemplateDisks: .VappVmOverrideTemplateDiskArray{
&.VappVmOverrideTemplateDiskArgs{
BusNumber: pulumi.Float64(0),
BusType: pulumi.String("string"),
SizeInMb: pulumi.Float64(0),
UnitNumber: pulumi.Float64(0),
Iops: pulumi.Float64(0),
StorageProfile: pulumi.String("string"),
},
},
PlacementPolicyId: pulumi.String("string"),
PowerOn: pulumi.Bool(false),
PreventUpdatePowerOff: pulumi.Bool(false),
SecurityTags: pulumi.StringArray{
pulumi.String("string"),
},
SetExtraConfigs: .VappVmSetExtraConfigArray{
&.VappVmSetExtraConfigArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
SizingPolicyId: pulumi.String("string"),
StorageProfile: pulumi.String("string"),
VappTemplateId: pulumi.String("string"),
VappVmId: pulumi.String("string"),
Vdc: pulumi.String("string"),
VmNameInTemplate: pulumi.String("string"),
})
Copy
var vappVmResource = new VappVm("vappVmResource", VappVmArgs.builder()
    .vappName("string")
    .acceptAllEulas(false)
    .bootImageId("string")
    .bootOptions(VappVmBootOptionsArgs.builder()
        .bootDelay(0)
        .bootRetryDelay(0)
        .bootRetryEnabled(false)
        .efiSecureBoot(false)
        .enterBiosSetupOnNextBoot(false)
        .build())
    .computerName("string")
    .consolidateDisksOnCreate(false)
    .copyFromVmId("string")
    .cpuCores(0)
    .cpuHotAddEnabled(false)
    .cpuLimit(0)
    .cpuPriority("string")
    .cpuReservation(0)
    .cpuShares(0)
    .cpus(0)
    .customization(VappVmCustomizationArgs.builder()
        .adminPassword("string")
        .allowLocalAdminPassword(false)
        .autoGeneratePassword(false)
        .changeSid(false)
        .enabled(false)
        .force(false)
        .initscript("string")
        .joinDomain(false)
        .joinDomainAccountOu("string")
        .joinDomainName("string")
        .joinDomainPassword("string")
        .joinDomainUser("string")
        .joinOrgDomain(false)
        .mustChangePasswordOnFirstLogin(false)
        .numberOfAutoLogons(0)
        .build())
    .description("string")
    .disks(VappVmDiskArgs.builder()
        .busNumber("string")
        .name("string")
        .unitNumber("string")
        .sizeInMb(0)
        .build())
    .exposeHardwareVirtualization(false)
    .firmware("string")
    .guestProperties(Map.of("string", "string"))
    .hardwareVersion("string")
    .href("string")
    .memory(0)
    .memoryHotAddEnabled(false)
    .memoryLimit(0)
    .memoryPriority("string")
    .memoryReservation(0)
    .memoryShares(0)
    .metadataEntries(VappVmMetadataEntryArgs.builder()
        .isSystem(false)
        .key("string")
        .type("string")
        .userAccess("string")
        .value("string")
        .build())
    .name("string")
    .networkDhcpWaitSeconds(0)
    .networks(VappVmNetworkArgs.builder()
        .ipAllocationMode("string")
        .type("string")
        .adapterType("string")
        .connected(false)
        .ip("string")
        .isPrimary(false)
        .mac("string")
        .name("string")
        .secondaryIp("string")
        .secondaryIpAllocationMode("string")
        .build())
    .org("string")
    .osType("string")
    .overrideTemplateDisks(VappVmOverrideTemplateDiskArgs.builder()
        .busNumber(0)
        .busType("string")
        .sizeInMb(0)
        .unitNumber(0)
        .iops(0)
        .storageProfile("string")
        .build())
    .placementPolicyId("string")
    .powerOn(false)
    .preventUpdatePowerOff(false)
    .securityTags("string")
    .setExtraConfigs(VappVmSetExtraConfigArgs.builder()
        .key("string")
        .value("string")
        .build())
    .sizingPolicyId("string")
    .storageProfile("string")
    .vappTemplateId("string")
    .vappVmId("string")
    .vdc("string")
    .vmNameInTemplate("string")
    .build());
Copy
vapp_vm_resource = vcd.VappVm("vappVmResource",
    vapp_name="string",
    accept_all_eulas=False,
    boot_image_id="string",
    boot_options={
        "boot_delay": 0,
        "boot_retry_delay": 0,
        "boot_retry_enabled": False,
        "efi_secure_boot": False,
        "enter_bios_setup_on_next_boot": False,
    },
    computer_name="string",
    consolidate_disks_on_create=False,
    copy_from_vm_id="string",
    cpu_cores=0,
    cpu_hot_add_enabled=False,
    cpu_limit=0,
    cpu_priority="string",
    cpu_reservation=0,
    cpu_shares=0,
    cpus=0,
    customization={
        "admin_password": "string",
        "allow_local_admin_password": False,
        "auto_generate_password": False,
        "change_sid": False,
        "enabled": False,
        "force": False,
        "initscript": "string",
        "join_domain": False,
        "join_domain_account_ou": "string",
        "join_domain_name": "string",
        "join_domain_password": "string",
        "join_domain_user": "string",
        "join_org_domain": False,
        "must_change_password_on_first_login": False,
        "number_of_auto_logons": 0,
    },
    description="string",
    disks=[{
        "bus_number": "string",
        "name": "string",
        "unit_number": "string",
        "size_in_mb": 0,
    }],
    expose_hardware_virtualization=False,
    firmware="string",
    guest_properties={
        "string": "string",
    },
    hardware_version="string",
    href="string",
    memory=0,
    memory_hot_add_enabled=False,
    memory_limit=0,
    memory_priority="string",
    memory_reservation=0,
    memory_shares=0,
    metadata_entries=[{
        "is_system": False,
        "key": "string",
        "type": "string",
        "user_access": "string",
        "value": "string",
    }],
    name="string",
    network_dhcp_wait_seconds=0,
    networks=[{
        "ip_allocation_mode": "string",
        "type": "string",
        "adapter_type": "string",
        "connected": False,
        "ip": "string",
        "is_primary": False,
        "mac": "string",
        "name": "string",
        "secondary_ip": "string",
        "secondary_ip_allocation_mode": "string",
    }],
    org="string",
    os_type="string",
    override_template_disks=[{
        "bus_number": 0,
        "bus_type": "string",
        "size_in_mb": 0,
        "unit_number": 0,
        "iops": 0,
        "storage_profile": "string",
    }],
    placement_policy_id="string",
    power_on=False,
    prevent_update_power_off=False,
    security_tags=["string"],
    set_extra_configs=[{
        "key": "string",
        "value": "string",
    }],
    sizing_policy_id="string",
    storage_profile="string",
    vapp_template_id="string",
    vapp_vm_id="string",
    vdc="string",
    vm_name_in_template="string")
Copy
const vappVmResource = new vcd.VappVm("vappVmResource", {
    vappName: "string",
    acceptAllEulas: false,
    bootImageId: "string",
    bootOptions: {
        bootDelay: 0,
        bootRetryDelay: 0,
        bootRetryEnabled: false,
        efiSecureBoot: false,
        enterBiosSetupOnNextBoot: false,
    },
    computerName: "string",
    consolidateDisksOnCreate: false,
    copyFromVmId: "string",
    cpuCores: 0,
    cpuHotAddEnabled: false,
    cpuLimit: 0,
    cpuPriority: "string",
    cpuReservation: 0,
    cpuShares: 0,
    cpus: 0,
    customization: {
        adminPassword: "string",
        allowLocalAdminPassword: false,
        autoGeneratePassword: false,
        changeSid: false,
        enabled: false,
        force: false,
        initscript: "string",
        joinDomain: false,
        joinDomainAccountOu: "string",
        joinDomainName: "string",
        joinDomainPassword: "string",
        joinDomainUser: "string",
        joinOrgDomain: false,
        mustChangePasswordOnFirstLogin: false,
        numberOfAutoLogons: 0,
    },
    description: "string",
    disks: [{
        busNumber: "string",
        name: "string",
        unitNumber: "string",
        sizeInMb: 0,
    }],
    exposeHardwareVirtualization: false,
    firmware: "string",
    guestProperties: {
        string: "string",
    },
    hardwareVersion: "string",
    href: "string",
    memory: 0,
    memoryHotAddEnabled: false,
    memoryLimit: 0,
    memoryPriority: "string",
    memoryReservation: 0,
    memoryShares: 0,
    metadataEntries: [{
        isSystem: false,
        key: "string",
        type: "string",
        userAccess: "string",
        value: "string",
    }],
    name: "string",
    networkDhcpWaitSeconds: 0,
    networks: [{
        ipAllocationMode: "string",
        type: "string",
        adapterType: "string",
        connected: false,
        ip: "string",
        isPrimary: false,
        mac: "string",
        name: "string",
        secondaryIp: "string",
        secondaryIpAllocationMode: "string",
    }],
    org: "string",
    osType: "string",
    overrideTemplateDisks: [{
        busNumber: 0,
        busType: "string",
        sizeInMb: 0,
        unitNumber: 0,
        iops: 0,
        storageProfile: "string",
    }],
    placementPolicyId: "string",
    powerOn: false,
    preventUpdatePowerOff: false,
    securityTags: ["string"],
    setExtraConfigs: [{
        key: "string",
        value: "string",
    }],
    sizingPolicyId: "string",
    storageProfile: "string",
    vappTemplateId: "string",
    vappVmId: "string",
    vdc: "string",
    vmNameInTemplate: "string",
});
Copy
type: vcd:VappVm
properties:
    acceptAllEulas: false
    bootImageId: string
    bootOptions:
        bootDelay: 0
        bootRetryDelay: 0
        bootRetryEnabled: false
        efiSecureBoot: false
        enterBiosSetupOnNextBoot: false
    computerName: string
    consolidateDisksOnCreate: false
    copyFromVmId: string
    cpuCores: 0
    cpuHotAddEnabled: false
    cpuLimit: 0
    cpuPriority: string
    cpuReservation: 0
    cpuShares: 0
    cpus: 0
    customization:
        adminPassword: string
        allowLocalAdminPassword: false
        autoGeneratePassword: false
        changeSid: false
        enabled: false
        force: false
        initscript: string
        joinDomain: false
        joinDomainAccountOu: string
        joinDomainName: string
        joinDomainPassword: string
        joinDomainUser: string
        joinOrgDomain: false
        mustChangePasswordOnFirstLogin: false
        numberOfAutoLogons: 0
    description: string
    disks:
        - busNumber: string
          name: string
          sizeInMb: 0
          unitNumber: string
    exposeHardwareVirtualization: false
    firmware: string
    guestProperties:
        string: string
    hardwareVersion: string
    href: string
    memory: 0
    memoryHotAddEnabled: false
    memoryLimit: 0
    memoryPriority: string
    memoryReservation: 0
    memoryShares: 0
    metadataEntries:
        - isSystem: false
          key: string
          type: string
          userAccess: string
          value: string
    name: string
    networkDhcpWaitSeconds: 0
    networks:
        - adapterType: string
          connected: false
          ip: string
          ipAllocationMode: string
          isPrimary: false
          mac: string
          name: string
          secondaryIp: string
          secondaryIpAllocationMode: string
          type: string
    org: string
    osType: string
    overrideTemplateDisks:
        - busNumber: 0
          busType: string
          iops: 0
          sizeInMb: 0
          storageProfile: string
          unitNumber: 0
    placementPolicyId: string
    powerOn: false
    preventUpdatePowerOff: false
    securityTags:
        - string
    setExtraConfigs:
        - key: string
          value: string
    sizingPolicyId: string
    storageProfile: string
    vappName: string
    vappTemplateId: string
    vappVmId: string
    vdc: string
    vmNameInTemplate: string
Copy

VappVm 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 VappVm resource accepts the following input properties:

VappName This property is required. string
The vApp this VM belongs to.
AcceptAllEulas bool
Automatically accept EULA if OVA has it. Default is true
BootImage string
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

BootImageId string
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
BootOptions VappVmBootOptions
A block to define boot options of the VM. See Boot Options
CatalogName string
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

ComputerName string
Computer name to assign to this virtual machine.
ConsolidateDisksOnCreate bool
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
CopyFromVmId string
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
CpuCores double
The number of cores per socket.
CpuHotAddEnabled bool
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
CpuLimit double
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
CpuPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
CpuReservation double
The amount of MHz reservation on the underlying virtualization infrastructure.
CpuShares double
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
Cpus double
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
Customization VappVmCustomization
A block to define for guest customization options. See Customization
Description string
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
Disks List<VappVmDisk>
Independent disk attachment configuration. See Disk below for details.
ExposeHardwareVirtualization bool
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
Firmware string
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
GuestProperties Dictionary<string, string>
Key value map of guest properties
HardwareVersion string
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
Href string
VM Hyper Reference
Memory double
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
MemoryHotAddEnabled bool
True if the virtual machine supports addition of memory while powered on. Default is false.
MemoryLimit double
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
MemoryPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
MemoryReservation double
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
MemoryShares double
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
Metadata Dictionary<string, string>
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

MetadataEntries List<VappVmMetadataEntry>
A set of metadata entries to assign. See Metadata section for details.
Name string
A name for the VM, unique within the vApp
NetworkDhcpWaitSeconds double
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
Networks List<VappVmNetwork>
A block to define network interface. Multiple can be used. See Network and example for usage details.
Org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
OsType string
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
OverrideTemplateDisks List<VappVmOverrideTemplateDisk>
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
PlacementPolicyId string
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
PowerOn bool
A boolean value stating if this VM should be powered on. Default is true
PreventUpdatePowerOff bool
True if the update of resource should fail when virtual machine power off needed. Default is false.
SecurityTags List<string>
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
SetExtraConfigs List<VappVmSetExtraConfig>

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

SizingPolicyId string
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
StorageProfile string
Storage profile to override the default one
TemplateName string
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

VappTemplateId string
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
VappVmId string
Vdc string
The name of VDC to use, optional if defined at provider level
VmNameInTemplate string
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
VappName This property is required. string
The vApp this VM belongs to.
AcceptAllEulas bool
Automatically accept EULA if OVA has it. Default is true
BootImage string
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

BootImageId string
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
BootOptions VappVmBootOptionsArgs
A block to define boot options of the VM. See Boot Options
CatalogName string
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

ComputerName string
Computer name to assign to this virtual machine.
ConsolidateDisksOnCreate bool
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
CopyFromVmId string
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
CpuCores float64
The number of cores per socket.
CpuHotAddEnabled bool
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
CpuLimit float64
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
CpuPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
CpuReservation float64
The amount of MHz reservation on the underlying virtualization infrastructure.
CpuShares float64
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
Cpus float64
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
Customization VappVmCustomizationArgs
A block to define for guest customization options. See Customization
Description string
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
Disks []VappVmDiskArgs
Independent disk attachment configuration. See Disk below for details.
ExposeHardwareVirtualization bool
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
Firmware string
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
GuestProperties map[string]string
Key value map of guest properties
HardwareVersion string
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
Href string
VM Hyper Reference
Memory float64
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
MemoryHotAddEnabled bool
True if the virtual machine supports addition of memory while powered on. Default is false.
MemoryLimit float64
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
MemoryPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
MemoryReservation float64
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
MemoryShares float64
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
Metadata map[string]string
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

MetadataEntries []VappVmMetadataEntryArgs
A set of metadata entries to assign. See Metadata section for details.
Name string
A name for the VM, unique within the vApp
NetworkDhcpWaitSeconds float64
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
Networks []VappVmNetworkArgs
A block to define network interface. Multiple can be used. See Network and example for usage details.
Org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
OsType string
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
OverrideTemplateDisks []VappVmOverrideTemplateDiskArgs
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
PlacementPolicyId string
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
PowerOn bool
A boolean value stating if this VM should be powered on. Default is true
PreventUpdatePowerOff bool
True if the update of resource should fail when virtual machine power off needed. Default is false.
SecurityTags []string
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
SetExtraConfigs []VappVmSetExtraConfigArgs

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

SizingPolicyId string
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
StorageProfile string
Storage profile to override the default one
TemplateName string
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

VappTemplateId string
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
VappVmId string
Vdc string
The name of VDC to use, optional if defined at provider level
VmNameInTemplate string
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
vappName This property is required. String
The vApp this VM belongs to.
acceptAllEulas Boolean
Automatically accept EULA if OVA has it. Default is true
bootImage String
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

bootImageId String
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
bootOptions VappVmBootOptions
A block to define boot options of the VM. See Boot Options
catalogName String
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

computerName String
Computer name to assign to this virtual machine.
consolidateDisksOnCreate Boolean
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
copyFromVmId String
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
cpuCores Double
The number of cores per socket.
cpuHotAddEnabled Boolean
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
cpuLimit Double
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
cpuPriority String
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
cpuReservation Double
The amount of MHz reservation on the underlying virtualization infrastructure.
cpuShares Double
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
cpus Double
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
customization VappVmCustomization
A block to define for guest customization options. See Customization
description String
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
disks List<VappVmDisk>
Independent disk attachment configuration. See Disk below for details.
exposeHardwareVirtualization Boolean
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
firmware String
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
guestProperties Map<String,String>
Key value map of guest properties
hardwareVersion String
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
href String
VM Hyper Reference
memory Double
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
memoryHotAddEnabled Boolean
True if the virtual machine supports addition of memory while powered on. Default is false.
memoryLimit Double
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
memoryPriority String
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
memoryReservation Double
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
memoryShares Double
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
metadata Map<String,String>
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

metadataEntries List<VappVmMetadataEntry>
A set of metadata entries to assign. See Metadata section for details.
name String
A name for the VM, unique within the vApp
networkDhcpWaitSeconds Double
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
networks List<VappVmNetwork>
A block to define network interface. Multiple can be used. See Network and example for usage details.
org String
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
osType String
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
overrideTemplateDisks List<VappVmOverrideTemplateDisk>
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
placementPolicyId String
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
powerOn Boolean
A boolean value stating if this VM should be powered on. Default is true
preventUpdatePowerOff Boolean
True if the update of resource should fail when virtual machine power off needed. Default is false.
securityTags List<String>
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
setExtraConfigs List<VappVmSetExtraConfig>

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

sizingPolicyId String
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
storageProfile String
Storage profile to override the default one
templateName String
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

vappTemplateId String
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
vappVmId String
vdc String
The name of VDC to use, optional if defined at provider level
vmNameInTemplate String
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
vappName This property is required. string
The vApp this VM belongs to.
acceptAllEulas boolean
Automatically accept EULA if OVA has it. Default is true
bootImage string
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

bootImageId string
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
bootOptions VappVmBootOptions
A block to define boot options of the VM. See Boot Options
catalogName string
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

computerName string
Computer name to assign to this virtual machine.
consolidateDisksOnCreate boolean
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
copyFromVmId string
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
cpuCores number
The number of cores per socket.
cpuHotAddEnabled boolean
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
cpuLimit number
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
cpuPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
cpuReservation number
The amount of MHz reservation on the underlying virtualization infrastructure.
cpuShares number
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
cpus number
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
customization VappVmCustomization
A block to define for guest customization options. See Customization
description string
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
disks VappVmDisk[]
Independent disk attachment configuration. See Disk below for details.
exposeHardwareVirtualization boolean
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
firmware string
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
guestProperties {[key: string]: string}
Key value map of guest properties
hardwareVersion string
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
href string
VM Hyper Reference
memory number
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
memoryHotAddEnabled boolean
True if the virtual machine supports addition of memory while powered on. Default is false.
memoryLimit number
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
memoryPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
memoryReservation number
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
memoryShares number
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
metadata {[key: string]: string}
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

metadataEntries VappVmMetadataEntry[]
A set of metadata entries to assign. See Metadata section for details.
name string
A name for the VM, unique within the vApp
networkDhcpWaitSeconds number
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
networks VappVmNetwork[]
A block to define network interface. Multiple can be used. See Network and example for usage details.
org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
osType string
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
overrideTemplateDisks VappVmOverrideTemplateDisk[]
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
placementPolicyId string
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
powerOn boolean
A boolean value stating if this VM should be powered on. Default is true
preventUpdatePowerOff boolean
True if the update of resource should fail when virtual machine power off needed. Default is false.
securityTags string[]
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
setExtraConfigs VappVmSetExtraConfig[]

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

sizingPolicyId string
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
storageProfile string
Storage profile to override the default one
templateName string
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

vappTemplateId string
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
vappVmId string
vdc string
The name of VDC to use, optional if defined at provider level
vmNameInTemplate string
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
vapp_name This property is required. str
The vApp this VM belongs to.
accept_all_eulas bool
Automatically accept EULA if OVA has it. Default is true
boot_image str
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

boot_image_id str
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
boot_options VappVmBootOptionsArgs
A block to define boot options of the VM. See Boot Options
catalog_name str
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

computer_name str
Computer name to assign to this virtual machine.
consolidate_disks_on_create bool
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
copy_from_vm_id str
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
cpu_cores float
The number of cores per socket.
cpu_hot_add_enabled bool
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
cpu_limit float
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
cpu_priority str
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
cpu_reservation float
The amount of MHz reservation on the underlying virtualization infrastructure.
cpu_shares float
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
cpus float
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
customization VappVmCustomizationArgs
A block to define for guest customization options. See Customization
description str
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
disks Sequence[VappVmDiskArgs]
Independent disk attachment configuration. See Disk below for details.
expose_hardware_virtualization bool
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
firmware str
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
guest_properties Mapping[str, str]
Key value map of guest properties
hardware_version str
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
href str
VM Hyper Reference
memory float
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
memory_hot_add_enabled bool
True if the virtual machine supports addition of memory while powered on. Default is false.
memory_limit float
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
memory_priority str
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
memory_reservation float
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
memory_shares float
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
metadata Mapping[str, str]
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

metadata_entries Sequence[VappVmMetadataEntryArgs]
A set of metadata entries to assign. See Metadata section for details.
name str
A name for the VM, unique within the vApp
network_dhcp_wait_seconds float
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
networks Sequence[VappVmNetworkArgs]
A block to define network interface. Multiple can be used. See Network and example for usage details.
org str
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
os_type str
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
override_template_disks Sequence[VappVmOverrideTemplateDiskArgs]
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
placement_policy_id str
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
power_on bool
A boolean value stating if this VM should be powered on. Default is true
prevent_update_power_off bool
True if the update of resource should fail when virtual machine power off needed. Default is false.
security_tags Sequence[str]
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
set_extra_configs Sequence[VappVmSetExtraConfigArgs]

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

sizing_policy_id str
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
storage_profile str
Storage profile to override the default one
template_name str
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

vapp_template_id str
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
vapp_vm_id str
vdc str
The name of VDC to use, optional if defined at provider level
vm_name_in_template str
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
vappName This property is required. String
The vApp this VM belongs to.
acceptAllEulas Boolean
Automatically accept EULA if OVA has it. Default is true
bootImage String
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

bootImageId String
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
bootOptions Property Map
A block to define boot options of the VM. See Boot Options
catalogName String
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

computerName String
Computer name to assign to this virtual machine.
consolidateDisksOnCreate Boolean
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
copyFromVmId String
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
cpuCores Number
The number of cores per socket.
cpuHotAddEnabled Boolean
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
cpuLimit Number
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
cpuPriority String
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
cpuReservation Number
The amount of MHz reservation on the underlying virtualization infrastructure.
cpuShares Number
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
cpus Number
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
customization Property Map
A block to define for guest customization options. See Customization
description String
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
disks List<Property Map>
Independent disk attachment configuration. See Disk below for details.
exposeHardwareVirtualization Boolean
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
firmware String
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
guestProperties Map<String>
Key value map of guest properties
hardwareVersion String
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
href String
VM Hyper Reference
memory Number
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
memoryHotAddEnabled Boolean
True if the virtual machine supports addition of memory while powered on. Default is false.
memoryLimit Number
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
memoryPriority String
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
memoryReservation Number
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
memoryShares Number
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
metadata Map<String>
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

metadataEntries List<Property Map>
A set of metadata entries to assign. See Metadata section for details.
name String
A name for the VM, unique within the vApp
networkDhcpWaitSeconds Number
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
networks List<Property Map>
A block to define network interface. Multiple can be used. See Network and example for usage details.
org String
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
osType String
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
overrideTemplateDisks List<Property Map>
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
placementPolicyId String
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
powerOn Boolean
A boolean value stating if this VM should be powered on. Default is true
preventUpdatePowerOff Boolean
True if the update of resource should fail when virtual machine power off needed. Default is false.
securityTags List<String>
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
setExtraConfigs List<Property Map>

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

sizingPolicyId String
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
storageProfile String
Storage profile to override the default one
templateName String
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

vappTemplateId String
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
vappVmId String
vdc String
The name of VDC to use, optional if defined at provider level
vmNameInTemplate String
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.

Outputs

All input properties are implicitly available as output properties. Additionally, the VappVm resource produces the following output properties:

ExtraConfigs List<VappVmExtraConfig>
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
Id string
The provider-assigned unique ID for this managed resource.
Imported bool
(v3.13.+) A true/false value telling whether the resource was imported.
InheritedMetadata Dictionary<string, string>
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
InternalDisks List<VappVmInternalDisk>
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
Status double
(v3.8+) The vApp status as a numeric code.
StatusText string
(v3.8+) The vApp status as text.
VappId string
ID of parent vApp
VmType string
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
ExtraConfigs []VappVmExtraConfig
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
Id string
The provider-assigned unique ID for this managed resource.
Imported bool
(v3.13.+) A true/false value telling whether the resource was imported.
InheritedMetadata map[string]string
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
InternalDisks []VappVmInternalDisk
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
Status float64
(v3.8+) The vApp status as a numeric code.
StatusText string
(v3.8+) The vApp status as text.
VappId string
ID of parent vApp
VmType string
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
extraConfigs List<VappVmExtraConfig>
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
id String
The provider-assigned unique ID for this managed resource.
imported Boolean
(v3.13.+) A true/false value telling whether the resource was imported.
inheritedMetadata Map<String,String>
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
internalDisks List<VappVmInternalDisk>
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
status Double
(v3.8+) The vApp status as a numeric code.
statusText String
(v3.8+) The vApp status as text.
vappId String
ID of parent vApp
vmType String
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
extraConfigs VappVmExtraConfig[]
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
id string
The provider-assigned unique ID for this managed resource.
imported boolean
(v3.13.+) A true/false value telling whether the resource was imported.
inheritedMetadata {[key: string]: string}
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
internalDisks VappVmInternalDisk[]
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
status number
(v3.8+) The vApp status as a numeric code.
statusText string
(v3.8+) The vApp status as text.
vappId string
ID of parent vApp
vmType string
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
extra_configs Sequence[VappVmExtraConfig]
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
id str
The provider-assigned unique ID for this managed resource.
imported bool
(v3.13.+) A true/false value telling whether the resource was imported.
inherited_metadata Mapping[str, str]
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
internal_disks Sequence[VappVmInternalDisk]
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
status float
(v3.8+) The vApp status as a numeric code.
status_text str
(v3.8+) The vApp status as text.
vapp_id str
ID of parent vApp
vm_type str
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
extraConfigs List<Property Map>
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
id String
The provider-assigned unique ID for this managed resource.
imported Boolean
(v3.13.+) A true/false value telling whether the resource was imported.
inheritedMetadata Map<String>
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
internalDisks List<Property Map>
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
status Number
(v3.8+) The vApp status as a numeric code.
statusText String
(v3.8+) The vApp status as text.
vappId String
ID of parent vApp
vmType String
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).

Look up Existing VappVm Resource

Get an existing VappVm 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?: VappVmState, opts?: CustomResourceOptions): VappVm
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        accept_all_eulas: Optional[bool] = None,
        boot_image: Optional[str] = None,
        boot_image_id: Optional[str] = None,
        boot_options: Optional[VappVmBootOptionsArgs] = None,
        catalog_name: Optional[str] = None,
        computer_name: Optional[str] = None,
        consolidate_disks_on_create: Optional[bool] = None,
        copy_from_vm_id: Optional[str] = None,
        cpu_cores: Optional[float] = None,
        cpu_hot_add_enabled: Optional[bool] = None,
        cpu_limit: Optional[float] = None,
        cpu_priority: Optional[str] = None,
        cpu_reservation: Optional[float] = None,
        cpu_shares: Optional[float] = None,
        cpus: Optional[float] = None,
        customization: Optional[VappVmCustomizationArgs] = None,
        description: Optional[str] = None,
        disks: Optional[Sequence[VappVmDiskArgs]] = None,
        expose_hardware_virtualization: Optional[bool] = None,
        extra_configs: Optional[Sequence[VappVmExtraConfigArgs]] = None,
        firmware: Optional[str] = None,
        guest_properties: Optional[Mapping[str, str]] = None,
        hardware_version: Optional[str] = None,
        href: Optional[str] = None,
        imported: Optional[bool] = None,
        inherited_metadata: Optional[Mapping[str, str]] = None,
        internal_disks: Optional[Sequence[VappVmInternalDiskArgs]] = None,
        memory: Optional[float] = None,
        memory_hot_add_enabled: Optional[bool] = None,
        memory_limit: Optional[float] = None,
        memory_priority: Optional[str] = None,
        memory_reservation: Optional[float] = None,
        memory_shares: Optional[float] = None,
        metadata: Optional[Mapping[str, str]] = None,
        metadata_entries: Optional[Sequence[VappVmMetadataEntryArgs]] = None,
        name: Optional[str] = None,
        network_dhcp_wait_seconds: Optional[float] = None,
        networks: Optional[Sequence[VappVmNetworkArgs]] = None,
        org: Optional[str] = None,
        os_type: Optional[str] = None,
        override_template_disks: Optional[Sequence[VappVmOverrideTemplateDiskArgs]] = None,
        placement_policy_id: Optional[str] = None,
        power_on: Optional[bool] = None,
        prevent_update_power_off: Optional[bool] = None,
        security_tags: Optional[Sequence[str]] = None,
        set_extra_configs: Optional[Sequence[VappVmSetExtraConfigArgs]] = None,
        sizing_policy_id: Optional[str] = None,
        status: Optional[float] = None,
        status_text: Optional[str] = None,
        storage_profile: Optional[str] = None,
        template_name: Optional[str] = None,
        vapp_id: Optional[str] = None,
        vapp_name: Optional[str] = None,
        vapp_template_id: Optional[str] = None,
        vapp_vm_id: Optional[str] = None,
        vdc: Optional[str] = None,
        vm_name_in_template: Optional[str] = None,
        vm_type: Optional[str] = None) -> VappVm
func GetVappVm(ctx *Context, name string, id IDInput, state *VappVmState, opts ...ResourceOption) (*VappVm, error)
public static VappVm Get(string name, Input<string> id, VappVmState? state, CustomResourceOptions? opts = null)
public static VappVm get(String name, Output<String> id, VappVmState state, CustomResourceOptions options)
resources:  _:    type: vcd:VappVm    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
AcceptAllEulas bool
Automatically accept EULA if OVA has it. Default is true
BootImage string
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

BootImageId string
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
BootOptions VappVmBootOptions
A block to define boot options of the VM. See Boot Options
CatalogName string
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

ComputerName string
Computer name to assign to this virtual machine.
ConsolidateDisksOnCreate bool
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
CopyFromVmId string
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
CpuCores double
The number of cores per socket.
CpuHotAddEnabled bool
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
CpuLimit double
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
CpuPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
CpuReservation double
The amount of MHz reservation on the underlying virtualization infrastructure.
CpuShares double
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
Cpus double
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
Customization VappVmCustomization
A block to define for guest customization options. See Customization
Description string
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
Disks List<VappVmDisk>
Independent disk attachment configuration. See Disk below for details.
ExposeHardwareVirtualization bool
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
ExtraConfigs List<VappVmExtraConfig>
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
Firmware string
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
GuestProperties Dictionary<string, string>
Key value map of guest properties
HardwareVersion string
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
Href string
VM Hyper Reference
Imported bool
(v3.13.+) A true/false value telling whether the resource was imported.
InheritedMetadata Dictionary<string, string>
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
InternalDisks List<VappVmInternalDisk>
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
Memory double
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
MemoryHotAddEnabled bool
True if the virtual machine supports addition of memory while powered on. Default is false.
MemoryLimit double
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
MemoryPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
MemoryReservation double
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
MemoryShares double
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
Metadata Dictionary<string, string>
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

MetadataEntries List<VappVmMetadataEntry>
A set of metadata entries to assign. See Metadata section for details.
Name string
A name for the VM, unique within the vApp
NetworkDhcpWaitSeconds double
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
Networks List<VappVmNetwork>
A block to define network interface. Multiple can be used. See Network and example for usage details.
Org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
OsType string
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
OverrideTemplateDisks List<VappVmOverrideTemplateDisk>
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
PlacementPolicyId string
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
PowerOn bool
A boolean value stating if this VM should be powered on. Default is true
PreventUpdatePowerOff bool
True if the update of resource should fail when virtual machine power off needed. Default is false.
SecurityTags List<string>
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
SetExtraConfigs List<VappVmSetExtraConfig>

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

SizingPolicyId string
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
Status double
(v3.8+) The vApp status as a numeric code.
StatusText string
(v3.8+) The vApp status as text.
StorageProfile string
Storage profile to override the default one
TemplateName string
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

VappId string
ID of parent vApp
VappName string
The vApp this VM belongs to.
VappTemplateId string
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
VappVmId string
Vdc string
The name of VDC to use, optional if defined at provider level
VmNameInTemplate string
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
VmType string
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
AcceptAllEulas bool
Automatically accept EULA if OVA has it. Default is true
BootImage string
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

BootImageId string
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
BootOptions VappVmBootOptionsArgs
A block to define boot options of the VM. See Boot Options
CatalogName string
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

ComputerName string
Computer name to assign to this virtual machine.
ConsolidateDisksOnCreate bool
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
CopyFromVmId string
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
CpuCores float64
The number of cores per socket.
CpuHotAddEnabled bool
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
CpuLimit float64
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
CpuPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
CpuReservation float64
The amount of MHz reservation on the underlying virtualization infrastructure.
CpuShares float64
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
Cpus float64
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
Customization VappVmCustomizationArgs
A block to define for guest customization options. See Customization
Description string
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
Disks []VappVmDiskArgs
Independent disk attachment configuration. See Disk below for details.
ExposeHardwareVirtualization bool
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
ExtraConfigs []VappVmExtraConfigArgs
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
Firmware string
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
GuestProperties map[string]string
Key value map of guest properties
HardwareVersion string
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
Href string
VM Hyper Reference
Imported bool
(v3.13.+) A true/false value telling whether the resource was imported.
InheritedMetadata map[string]string
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
InternalDisks []VappVmInternalDiskArgs
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
Memory float64
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
MemoryHotAddEnabled bool
True if the virtual machine supports addition of memory while powered on. Default is false.
MemoryLimit float64
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
MemoryPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
MemoryReservation float64
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
MemoryShares float64
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
Metadata map[string]string
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

MetadataEntries []VappVmMetadataEntryArgs
A set of metadata entries to assign. See Metadata section for details.
Name string
A name for the VM, unique within the vApp
NetworkDhcpWaitSeconds float64
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
Networks []VappVmNetworkArgs
A block to define network interface. Multiple can be used. See Network and example for usage details.
Org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
OsType string
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
OverrideTemplateDisks []VappVmOverrideTemplateDiskArgs
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
PlacementPolicyId string
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
PowerOn bool
A boolean value stating if this VM should be powered on. Default is true
PreventUpdatePowerOff bool
True if the update of resource should fail when virtual machine power off needed. Default is false.
SecurityTags []string
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
SetExtraConfigs []VappVmSetExtraConfigArgs

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

SizingPolicyId string
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
Status float64
(v3.8+) The vApp status as a numeric code.
StatusText string
(v3.8+) The vApp status as text.
StorageProfile string
Storage profile to override the default one
TemplateName string
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

VappId string
ID of parent vApp
VappName string
The vApp this VM belongs to.
VappTemplateId string
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
VappVmId string
Vdc string
The name of VDC to use, optional if defined at provider level
VmNameInTemplate string
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
VmType string
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
acceptAllEulas Boolean
Automatically accept EULA if OVA has it. Default is true
bootImage String
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

bootImageId String
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
bootOptions VappVmBootOptions
A block to define boot options of the VM. See Boot Options
catalogName String
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

computerName String
Computer name to assign to this virtual machine.
consolidateDisksOnCreate Boolean
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
copyFromVmId String
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
cpuCores Double
The number of cores per socket.
cpuHotAddEnabled Boolean
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
cpuLimit Double
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
cpuPriority String
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
cpuReservation Double
The amount of MHz reservation on the underlying virtualization infrastructure.
cpuShares Double
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
cpus Double
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
customization VappVmCustomization
A block to define for guest customization options. See Customization
description String
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
disks List<VappVmDisk>
Independent disk attachment configuration. See Disk below for details.
exposeHardwareVirtualization Boolean
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
extraConfigs List<VappVmExtraConfig>
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
firmware String
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
guestProperties Map<String,String>
Key value map of guest properties
hardwareVersion String
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
href String
VM Hyper Reference
imported Boolean
(v3.13.+) A true/false value telling whether the resource was imported.
inheritedMetadata Map<String,String>
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
internalDisks List<VappVmInternalDisk>
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
memory Double
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
memoryHotAddEnabled Boolean
True if the virtual machine supports addition of memory while powered on. Default is false.
memoryLimit Double
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
memoryPriority String
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
memoryReservation Double
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
memoryShares Double
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
metadata Map<String,String>
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

metadataEntries List<VappVmMetadataEntry>
A set of metadata entries to assign. See Metadata section for details.
name String
A name for the VM, unique within the vApp
networkDhcpWaitSeconds Double
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
networks List<VappVmNetwork>
A block to define network interface. Multiple can be used. See Network and example for usage details.
org String
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
osType String
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
overrideTemplateDisks List<VappVmOverrideTemplateDisk>
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
placementPolicyId String
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
powerOn Boolean
A boolean value stating if this VM should be powered on. Default is true
preventUpdatePowerOff Boolean
True if the update of resource should fail when virtual machine power off needed. Default is false.
securityTags List<String>
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
setExtraConfigs List<VappVmSetExtraConfig>

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

sizingPolicyId String
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
status Double
(v3.8+) The vApp status as a numeric code.
statusText String
(v3.8+) The vApp status as text.
storageProfile String
Storage profile to override the default one
templateName String
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

vappId String
ID of parent vApp
vappName String
The vApp this VM belongs to.
vappTemplateId String
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
vappVmId String
vdc String
The name of VDC to use, optional if defined at provider level
vmNameInTemplate String
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
vmType String
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
acceptAllEulas boolean
Automatically accept EULA if OVA has it. Default is true
bootImage string
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

bootImageId string
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
bootOptions VappVmBootOptions
A block to define boot options of the VM. See Boot Options
catalogName string
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

computerName string
Computer name to assign to this virtual machine.
consolidateDisksOnCreate boolean
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
copyFromVmId string
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
cpuCores number
The number of cores per socket.
cpuHotAddEnabled boolean
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
cpuLimit number
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
cpuPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
cpuReservation number
The amount of MHz reservation on the underlying virtualization infrastructure.
cpuShares number
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
cpus number
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
customization VappVmCustomization
A block to define for guest customization options. See Customization
description string
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
disks VappVmDisk[]
Independent disk attachment configuration. See Disk below for details.
exposeHardwareVirtualization boolean
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
extraConfigs VappVmExtraConfig[]
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
firmware string
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
guestProperties {[key: string]: string}
Key value map of guest properties
hardwareVersion string
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
href string
VM Hyper Reference
imported boolean
(v3.13.+) A true/false value telling whether the resource was imported.
inheritedMetadata {[key: string]: string}
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
internalDisks VappVmInternalDisk[]
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
memory number
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
memoryHotAddEnabled boolean
True if the virtual machine supports addition of memory while powered on. Default is false.
memoryLimit number
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
memoryPriority string
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
memoryReservation number
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
memoryShares number
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
metadata {[key: string]: string}
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

metadataEntries VappVmMetadataEntry[]
A set of metadata entries to assign. See Metadata section for details.
name string
A name for the VM, unique within the vApp
networkDhcpWaitSeconds number
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
networks VappVmNetwork[]
A block to define network interface. Multiple can be used. See Network and example for usage details.
org string
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
osType string
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
overrideTemplateDisks VappVmOverrideTemplateDisk[]
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
placementPolicyId string
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
powerOn boolean
A boolean value stating if this VM should be powered on. Default is true
preventUpdatePowerOff boolean
True if the update of resource should fail when virtual machine power off needed. Default is false.
securityTags string[]
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
setExtraConfigs VappVmSetExtraConfig[]

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

sizingPolicyId string
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
status number
(v3.8+) The vApp status as a numeric code.
statusText string
(v3.8+) The vApp status as text.
storageProfile string
Storage profile to override the default one
templateName string
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

vappId string
ID of parent vApp
vappName string
The vApp this VM belongs to.
vappTemplateId string
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
vappVmId string
vdc string
The name of VDC to use, optional if defined at provider level
vmNameInTemplate string
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
vmType string
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
accept_all_eulas bool
Automatically accept EULA if OVA has it. Default is true
boot_image str
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

boot_image_id str
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
boot_options VappVmBootOptionsArgs
A block to define boot options of the VM. See Boot Options
catalog_name str
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

computer_name str
Computer name to assign to this virtual machine.
consolidate_disks_on_create bool
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
copy_from_vm_id str
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
cpu_cores float
The number of cores per socket.
cpu_hot_add_enabled bool
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
cpu_limit float
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
cpu_priority str
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
cpu_reservation float
The amount of MHz reservation on the underlying virtualization infrastructure.
cpu_shares float
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
cpus float
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
customization VappVmCustomizationArgs
A block to define for guest customization options. See Customization
description str
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
disks Sequence[VappVmDiskArgs]
Independent disk attachment configuration. See Disk below for details.
expose_hardware_virtualization bool
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
extra_configs Sequence[VappVmExtraConfigArgs]
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
firmware str
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
guest_properties Mapping[str, str]
Key value map of guest properties
hardware_version str
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
href str
VM Hyper Reference
imported bool
(v3.13.+) A true/false value telling whether the resource was imported.
inherited_metadata Mapping[str, str]
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
internal_disks Sequence[VappVmInternalDiskArgs]
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
memory float
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
memory_hot_add_enabled bool
True if the virtual machine supports addition of memory while powered on. Default is false.
memory_limit float
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
memory_priority str
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
memory_reservation float
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
memory_shares float
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
metadata Mapping[str, str]
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

metadata_entries Sequence[VappVmMetadataEntryArgs]
A set of metadata entries to assign. See Metadata section for details.
name str
A name for the VM, unique within the vApp
network_dhcp_wait_seconds float
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
networks Sequence[VappVmNetworkArgs]
A block to define network interface. Multiple can be used. See Network and example for usage details.
org str
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
os_type str
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
override_template_disks Sequence[VappVmOverrideTemplateDiskArgs]
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
placement_policy_id str
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
power_on bool
A boolean value stating if this VM should be powered on. Default is true
prevent_update_power_off bool
True if the update of resource should fail when virtual machine power off needed. Default is false.
security_tags Sequence[str]
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
set_extra_configs Sequence[VappVmSetExtraConfigArgs]

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

sizing_policy_id str
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
status float
(v3.8+) The vApp status as a numeric code.
status_text str
(v3.8+) The vApp status as text.
storage_profile str
Storage profile to override the default one
template_name str
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

vapp_id str
ID of parent vApp
vapp_name str
The vApp this VM belongs to.
vapp_template_id str
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
vapp_vm_id str
vdc str
The name of VDC to use, optional if defined at provider level
vm_name_in_template str
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
vm_type str
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).
acceptAllEulas Boolean
Automatically accept EULA if OVA has it. Default is true
bootImage String
Use boot_image_id instead. Media name to mount as boot image. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.

Deprecated: Deprecated

bootImageId String
Media URN to mount as boot image. You can fetch it using a vcd.CatalogMedia data source. Image is mounted only during VM creation. On update if value is changed to empty it will eject the mounted media. If you want to mount an image later, please use vcd.InsertedMedia.
bootOptions Property Map
A block to define boot options of the VM. See Boot Options
catalogName String
Use a vcd.Catalog data source along with vapp_template_id or boot_image_id instead. The catalog name in which to find the given vApp Template or media for boot_image.

Deprecated: Deprecated

computerName String
Computer name to assign to this virtual machine.
consolidateDisksOnCreate Boolean
Performs disk consolidation during creation. The main use case is when one wants to grow template disk size using override_template_disk in fast provisioned VDCs. Note: Consolidating disks requires right vApp: VM Migrate, Force Undeploy, Relocate, Consolidate. This operation may take long time depending on disk size and storage performance.
copyFromVmId String
The ID of an existing VM to make a copy of it (it cannot be a vApp template). The source VM must be in the same Org (but can be in different VDC). Note: sizing_policy_id must be specified when creating a standalone VM (using vcd.Vm resource) and using different source/destination VDCs.
cpuCores Number
The number of cores per socket.
cpuHotAddEnabled Boolean
True if the virtual machine supports addition of virtual CPUs while powered on. Default is false.
cpuLimit Number
The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
cpuPriority String
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
cpuReservation Number
The amount of MHz reservation on the underlying virtualization infrastructure.
cpuShares Number
Custom priority for the resource in MHz. This is a read-only, unless the cpu_priority is "CUSTOM"
cpus Number
The number of virtual CPUs to allocate to the VM. Socket count is a result of: virtual logical processors/cores per socket. If cpu_hot_add_enabled is true, then cpus will be increased without VM power off.
customization Property Map
A block to define for guest customization options. See Customization
description String
The VM description. Note: for VM from Template description is read only. Currently, this field has the description of the OVA used to create the VM.
disks List<Property Map>
Independent disk attachment configuration. See Disk below for details.
exposeHardwareVirtualization Boolean
Boolean for exposing full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization. Useful for hypervisor nesting provided underlying hardware supports it. Default is false.
extraConfigs List<Property Map>
(v3.13.+) The VM extra configuration. See Extra Configuration for more detail. Not populated on VCD 10.4.0.
firmware String
Specify boot firmware of the VM. Can be efi or bios. If unset, defaults to bios. Changing the value requires the VM to power off.
guestProperties Map<String>
Key value map of guest properties
hardwareVersion String
Virtual Hardware Version (e.g.vmx-14, vmx-13, vmx-12, etc.). Required when creating empty VM.
href String
VM Hyper Reference
imported Boolean
(v3.13.+) A true/false value telling whether the resource was imported.
inheritedMetadata Map<String>
(v3.11+; VCD 10.5.1+) A map that contains read-only metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM (e.g. vm.origin.id, vm.origin.name, vm.origin.type).
internalDisks List<Property Map>
(v2.7+) A block providing internal disk of VM details. See Internal Disk below for details.
memory Number
The amount of RAM (in MB) to allocate to the VM. If memory_hot_add_enabled is true, then memory will be increased without VM power off
memoryHotAddEnabled Boolean
True if the virtual machine supports addition of memory while powered on. Default is false.
memoryLimit Number
The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure. -1 value for unlimited.
memoryPriority String
Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
memoryReservation Number
The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
memoryShares Number
Custom priority for the resource in MB. This is a read-only, unless the memory_priority is "CUSTOM"
metadata Map<String>
Use metadata_entry instead. Key value map of metadata to assign to this VM

Deprecated: Deprecated

metadataEntries List<Property Map>
A set of metadata entries to assign. See Metadata section for details.
name String
A name for the VM, unique within the vApp
networkDhcpWaitSeconds Number
Optional number of seconds to try and wait for DHCP IP (only valid for adapters in network block with ip_allocation_mode=DHCP). It constantly checks if IP is present so the time given is a maximum. VM must be powered on and at least one of the following must be true:

  • VM has Guest Tools. It waits for IP address to be reported by Guest Tools. This is a slower option, but does not require for the VM to use Edge Gateways DHCP service.
  • VM DHCP interface is connected to routed Org network and is using Edge Gateways DHCP service (not relayed). It works by querying DHCP leases on Edge Gateway. In general it is quicker than waiting until Guest Tools report IP addresses, but is more constrained. However this is the only option if Guest Tools are not present on the VM.
networks List<Property Map>
A block to define network interface. Multiple can be used. See Network and example for usage details.
org String
The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
osType String
Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
overrideTemplateDisks List<Property Map>
Allows to update internal disk in template before first VM boot. Disk is matched by bus_type, bus_number and unit_number. See Override template Disk below for details.
placementPolicyId String
VM placement policy or [vGPU policy][vgpu-policy] (3.11+) ID. To be used, it needs to be assigned to Org VDC In this case, if the placement policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
powerOn Boolean
A boolean value stating if this VM should be powered on. Default is true
preventUpdatePowerOff Boolean
True if the update of resource should fail when virtual machine power off needed. Default is false.
securityTags List<String>
Set of security tags to be managed by the vcd.VappVm resource. To remove security_tags you must set security_tags = [] and do not remove the attribute. Removing the attribute will cause the tags to remain unchanged and just stop being managed by this resource. This is to be consistent with existing security tags that were created by the vcd_security_tags resource.
setExtraConfigs List<Property Map>

Set of extra configuration key/values to be added or modified. See Extra Configuration

Note: Only one of security_tags attribute or vcd.SecurityTag resource should be used. Using both would cause a behavioral conflict.

sizingPolicyId String
VM sizing policy ID. To be used, it needs to be assigned to Org VDC using vcd_org_vdc.vm_sizing_policy_ids (and vcd_org_vdc.default_compute_policy_id to make it default). In this case, if the sizing policy is not set, it will pick the VDC default on creation. It must be set explicitly if one wants to update it to another policy (the VM requires at least one Compute Policy), and needs to be set to "" to be removed.
status Number
(v3.8+) The vApp status as a numeric code.
statusText String
(v3.8+) The vApp status as text.
storageProfile String
Storage profile to override the default one
templateName String
Use vapp_template_id instead. The name of the vApp Template to use

Deprecated: Deprecated

vappId String
ID of parent vApp
vappName String
The vApp this VM belongs to.
vappTemplateId String
The URN of the vApp Template to use. You can fetch it using a vcd.CatalogVappTemplate data source.
vappVmId String
vdc String
The name of VDC to use, optional if defined at provider level
vmNameInTemplate String
The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
vmType String
(3.2+) Type of the VM (either vcd.VappVm or vcd.Vm).

Supporting Types

VappVmBootOptions
, VappVmBootOptionsArgs

BootDelay double
Number of milliseconds to wait between powering-on and booting the VM
BootRetryDelay double
Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
BootRetryEnabled bool
If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
EfiSecureBoot bool
If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
EnterBiosSetupOnNextBoot bool
BootDelay float64
Number of milliseconds to wait between powering-on and booting the VM
BootRetryDelay float64
Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
BootRetryEnabled bool
If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
EfiSecureBoot bool
If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
EnterBiosSetupOnNextBoot bool
bootDelay Double
Number of milliseconds to wait between powering-on and booting the VM
bootRetryDelay Double
Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
bootRetryEnabled Boolean
If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
efiSecureBoot Boolean
If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
enterBiosSetupOnNextBoot Boolean
bootDelay number
Number of milliseconds to wait between powering-on and booting the VM
bootRetryDelay number
Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
bootRetryEnabled boolean
If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
efiSecureBoot boolean
If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
enterBiosSetupOnNextBoot boolean
boot_delay float
Number of milliseconds to wait between powering-on and booting the VM
boot_retry_delay float
Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
boot_retry_enabled bool
If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
efi_secure_boot bool
If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
enter_bios_setup_on_next_boot bool
bootDelay Number
Number of milliseconds to wait between powering-on and booting the VM
bootRetryDelay Number
Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
bootRetryEnabled Boolean
If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
efiSecureBoot Boolean
If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
enterBiosSetupOnNextBoot Boolean

VappVmCustomization
, VappVmCustomizationArgs

AdminPassword string
Manually specify admin password
AllowLocalAdminPassword bool
Allow local administrator password
AutoGeneratePassword bool
Auto generate password
ChangeSid bool
'true' value will change SID. Applicable only for Windows VMs
Enabled bool
'true' value will enable guest customization. It may occur on first boot or when 'force' is used
Force bool
'true' value will cause the VM to reboot on every 'apply' operation
Initscript string
Script to run on initial boot or with customization.force=true set
JoinDomain bool
Enable this VM to join a domain
JoinDomainAccountOu string
Account organizational unit for domain name join
JoinDomainName string
Custom domain name for join
JoinDomainPassword string
Password for custom domain name join
JoinDomainUser string
Username for custom domain name join
JoinOrgDomain bool
Use organization's domain for joining
MustChangePasswordOnFirstLogin bool
Require Administrator to change password on first login
NumberOfAutoLogons double
Number of times to log on automatically. '0' - disabled.
AdminPassword string
Manually specify admin password
AllowLocalAdminPassword bool
Allow local administrator password
AutoGeneratePassword bool
Auto generate password
ChangeSid bool
'true' value will change SID. Applicable only for Windows VMs
Enabled bool
'true' value will enable guest customization. It may occur on first boot or when 'force' is used
Force bool
'true' value will cause the VM to reboot on every 'apply' operation
Initscript string
Script to run on initial boot or with customization.force=true set
JoinDomain bool
Enable this VM to join a domain
JoinDomainAccountOu string
Account organizational unit for domain name join
JoinDomainName string
Custom domain name for join
JoinDomainPassword string
Password for custom domain name join
JoinDomainUser string
Username for custom domain name join
JoinOrgDomain bool
Use organization's domain for joining
MustChangePasswordOnFirstLogin bool
Require Administrator to change password on first login
NumberOfAutoLogons float64
Number of times to log on automatically. '0' - disabled.
adminPassword String
Manually specify admin password
allowLocalAdminPassword Boolean
Allow local administrator password
autoGeneratePassword Boolean
Auto generate password
changeSid Boolean
'true' value will change SID. Applicable only for Windows VMs
enabled Boolean
'true' value will enable guest customization. It may occur on first boot or when 'force' is used
force Boolean
'true' value will cause the VM to reboot on every 'apply' operation
initscript String
Script to run on initial boot or with customization.force=true set
joinDomain Boolean
Enable this VM to join a domain
joinDomainAccountOu String
Account organizational unit for domain name join
joinDomainName String
Custom domain name for join
joinDomainPassword String
Password for custom domain name join
joinDomainUser String
Username for custom domain name join
joinOrgDomain Boolean
Use organization's domain for joining
mustChangePasswordOnFirstLogin Boolean
Require Administrator to change password on first login
numberOfAutoLogons Double
Number of times to log on automatically. '0' - disabled.
adminPassword string
Manually specify admin password
allowLocalAdminPassword boolean
Allow local administrator password
autoGeneratePassword boolean
Auto generate password
changeSid boolean
'true' value will change SID. Applicable only for Windows VMs
enabled boolean
'true' value will enable guest customization. It may occur on first boot or when 'force' is used
force boolean
'true' value will cause the VM to reboot on every 'apply' operation
initscript string
Script to run on initial boot or with customization.force=true set
joinDomain boolean
Enable this VM to join a domain
joinDomainAccountOu string
Account organizational unit for domain name join
joinDomainName string
Custom domain name for join
joinDomainPassword string
Password for custom domain name join
joinDomainUser string
Username for custom domain name join
joinOrgDomain boolean
Use organization's domain for joining
mustChangePasswordOnFirstLogin boolean
Require Administrator to change password on first login
numberOfAutoLogons number
Number of times to log on automatically. '0' - disabled.
admin_password str
Manually specify admin password
allow_local_admin_password bool
Allow local administrator password
auto_generate_password bool
Auto generate password
change_sid bool
'true' value will change SID. Applicable only for Windows VMs
enabled bool
'true' value will enable guest customization. It may occur on first boot or when 'force' is used
force bool
'true' value will cause the VM to reboot on every 'apply' operation
initscript str
Script to run on initial boot or with customization.force=true set
join_domain bool
Enable this VM to join a domain
join_domain_account_ou str
Account organizational unit for domain name join
join_domain_name str
Custom domain name for join
join_domain_password str
Password for custom domain name join
join_domain_user str
Username for custom domain name join
join_org_domain bool
Use organization's domain for joining
must_change_password_on_first_login bool
Require Administrator to change password on first login
number_of_auto_logons float
Number of times to log on automatically. '0' - disabled.
adminPassword String
Manually specify admin password
allowLocalAdminPassword Boolean
Allow local administrator password
autoGeneratePassword Boolean
Auto generate password
changeSid Boolean
'true' value will change SID. Applicable only for Windows VMs
enabled Boolean
'true' value will enable guest customization. It may occur on first boot or when 'force' is used
force Boolean
'true' value will cause the VM to reboot on every 'apply' operation
initscript String
Script to run on initial boot or with customization.force=true set
joinDomain Boolean
Enable this VM to join a domain
joinDomainAccountOu String
Account organizational unit for domain name join
joinDomainName String
Custom domain name for join
joinDomainPassword String
Password for custom domain name join
joinDomainUser String
Username for custom domain name join
joinOrgDomain Boolean
Use organization's domain for joining
mustChangePasswordOnFirstLogin Boolean
Require Administrator to change password on first login
numberOfAutoLogons Number
Number of times to log on automatically. '0' - disabled.

VappVmDisk
, VappVmDiskArgs

BusNumber This property is required. string
Bus number on which to place the disk controller
Name This property is required. string
A name for the VM, unique within the vApp
UnitNumber This property is required. string
Unit number (slot) on the bus specified by BusNumber
SizeInMb double
(v2.7+) Independent disk size in MB.
BusNumber This property is required. string
Bus number on which to place the disk controller
Name This property is required. string
A name for the VM, unique within the vApp
UnitNumber This property is required. string
Unit number (slot) on the bus specified by BusNumber
SizeInMb float64
(v2.7+) Independent disk size in MB.
busNumber This property is required. String
Bus number on which to place the disk controller
name This property is required. String
A name for the VM, unique within the vApp
unitNumber This property is required. String
Unit number (slot) on the bus specified by BusNumber
sizeInMb Double
(v2.7+) Independent disk size in MB.
busNumber This property is required. string
Bus number on which to place the disk controller
name This property is required. string
A name for the VM, unique within the vApp
unitNumber This property is required. string
Unit number (slot) on the bus specified by BusNumber
sizeInMb number
(v2.7+) Independent disk size in MB.
bus_number This property is required. str
Bus number on which to place the disk controller
name This property is required. str
A name for the VM, unique within the vApp
unit_number This property is required. str
Unit number (slot) on the bus specified by BusNumber
size_in_mb float
(v2.7+) Independent disk size in MB.
busNumber This property is required. String
Bus number on which to place the disk controller
name This property is required. String
A name for the VM, unique within the vApp
unitNumber This property is required. String
Unit number (slot) on the bus specified by BusNumber
sizeInMb Number
(v2.7+) Independent disk size in MB.

VappVmExtraConfig
, VappVmExtraConfigArgs

Key This property is required. string
Required This property is required. bool
Value This property is required. string
Key This property is required. string
Required This property is required. bool
Value This property is required. string
key This property is required. String
required This property is required. Boolean
value This property is required. String
key This property is required. string
required This property is required. boolean
value This property is required. string
key This property is required. str
required This property is required. bool
value This property is required. str
key This property is required. String
required This property is required. Boolean
value This property is required. String

VappVmInternalDisk
, VappVmInternalDiskArgs

BusNumber This property is required. double
BusType This property is required. string
DiskId This property is required. string
Iops This property is required. double
SizeInMb This property is required. double
StorageProfile This property is required. string
Storage profile to override the default one
ThinProvisioned This property is required. bool
UnitNumber This property is required. double
BusNumber This property is required. float64
BusType This property is required. string
DiskId This property is required. string
Iops This property is required. float64
SizeInMb This property is required. float64
StorageProfile This property is required. string
Storage profile to override the default one
ThinProvisioned This property is required. bool
UnitNumber This property is required. float64
busNumber This property is required. Double
busType This property is required. String
diskId This property is required. String
iops This property is required. Double
sizeInMb This property is required. Double
storageProfile This property is required. String
Storage profile to override the default one
thinProvisioned This property is required. Boolean
unitNumber This property is required. Double
busNumber This property is required. number
busType This property is required. string
diskId This property is required. string
iops This property is required. number
sizeInMb This property is required. number
storageProfile This property is required. string
Storage profile to override the default one
thinProvisioned This property is required. boolean
unitNumber This property is required. number
bus_number This property is required. float
bus_type This property is required. str
disk_id This property is required. str
iops This property is required. float
size_in_mb This property is required. float
storage_profile This property is required. str
Storage profile to override the default one
thin_provisioned This property is required. bool
unit_number This property is required. float
busNumber This property is required. Number
busType This property is required. String
diskId This property is required. String
iops This property is required. Number
sizeInMb This property is required. Number
storageProfile This property is required. String
Storage profile to override the default one
thinProvisioned This property is required. Boolean
unitNumber This property is required. Number

VappVmMetadataEntry
, VappVmMetadataEntryArgs

IsSystem bool
Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
Key string
Key of this metadata entry. Required if the metadata entry is not empty
Type string
Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
UserAccess string
User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
Value string
Value of this metadata entry. Required if the metadata entry is not empty
IsSystem bool
Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
Key string
Key of this metadata entry. Required if the metadata entry is not empty
Type string
Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
UserAccess string
User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
Value string
Value of this metadata entry. Required if the metadata entry is not empty
isSystem Boolean
Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
key String
Key of this metadata entry. Required if the metadata entry is not empty
type String
Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
userAccess String
User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
value String
Value of this metadata entry. Required if the metadata entry is not empty
isSystem boolean
Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
key string
Key of this metadata entry. Required if the metadata entry is not empty
type string
Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
userAccess string
User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
value string
Value of this metadata entry. Required if the metadata entry is not empty
is_system bool
Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
key str
Key of this metadata entry. Required if the metadata entry is not empty
type str
Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
user_access str
User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
value str
Value of this metadata entry. Required if the metadata entry is not empty
isSystem Boolean
Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
key String
Key of this metadata entry. Required if the metadata entry is not empty
type String
Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
userAccess String
User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
value String
Value of this metadata entry. Required if the metadata entry is not empty

VappVmNetwork
, VappVmNetworkArgs

IpAllocationMode This property is required. string
IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
Type This property is required. string
Network type to use: 'vapp', 'org' or 'none'. Use 'vapp' for vApp network, 'org' to attach Org VDC network. 'none' for empty NIC.
AdapterType string
Network card adapter type. (e.g. 'E1000', 'E1000E', 'SRIOVETHERNETCARD', 'VMXNET3', 'PCNet32')
Connected bool
It defines if NIC is connected or not.
Ip string
IP of the VM. Settings depend on ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
IsPrimary bool
Set to true if network interface should be primary. First network card in the list will be primary by default
Mac string
Mac address of network interface
Name string
A name for the VM, unique within the vApp
SecondaryIp string
Secondary (IPv6) IP of the VM. Settings depend on secondary_ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
SecondaryIpAllocationMode string
Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
IpAllocationMode This property is required. string
IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
Type This property is required. string
Network type to use: 'vapp', 'org' or 'none'. Use 'vapp' for vApp network, 'org' to attach Org VDC network. 'none' for empty NIC.
AdapterType string
Network card adapter type. (e.g. 'E1000', 'E1000E', 'SRIOVETHERNETCARD', 'VMXNET3', 'PCNet32')
Connected bool
It defines if NIC is connected or not.
Ip string
IP of the VM. Settings depend on ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
IsPrimary bool
Set to true if network interface should be primary. First network card in the list will be primary by default
Mac string
Mac address of network interface
Name string
A name for the VM, unique within the vApp
SecondaryIp string
Secondary (IPv6) IP of the VM. Settings depend on secondary_ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
SecondaryIpAllocationMode string
Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
ipAllocationMode This property is required. String
IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
type This property is required. String
Network type to use: 'vapp', 'org' or 'none'. Use 'vapp' for vApp network, 'org' to attach Org VDC network. 'none' for empty NIC.
adapterType String
Network card adapter type. (e.g. 'E1000', 'E1000E', 'SRIOVETHERNETCARD', 'VMXNET3', 'PCNet32')
connected Boolean
It defines if NIC is connected or not.
ip String
IP of the VM. Settings depend on ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
isPrimary Boolean
Set to true if network interface should be primary. First network card in the list will be primary by default
mac String
Mac address of network interface
name String
A name for the VM, unique within the vApp
secondaryIp String
Secondary (IPv6) IP of the VM. Settings depend on secondary_ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
secondaryIpAllocationMode String
Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
ipAllocationMode This property is required. string
IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
type This property is required. string
Network type to use: 'vapp', 'org' or 'none'. Use 'vapp' for vApp network, 'org' to attach Org VDC network. 'none' for empty NIC.
adapterType string
Network card adapter type. (e.g. 'E1000', 'E1000E', 'SRIOVETHERNETCARD', 'VMXNET3', 'PCNet32')
connected boolean
It defines if NIC is connected or not.
ip string
IP of the VM. Settings depend on ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
isPrimary boolean
Set to true if network interface should be primary. First network card in the list will be primary by default
mac string
Mac address of network interface
name string
A name for the VM, unique within the vApp
secondaryIp string
Secondary (IPv6) IP of the VM. Settings depend on secondary_ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
secondaryIpAllocationMode string
Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
ip_allocation_mode This property is required. str
IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
type This property is required. str
Network type to use: 'vapp', 'org' or 'none'. Use 'vapp' for vApp network, 'org' to attach Org VDC network. 'none' for empty NIC.
adapter_type str
Network card adapter type. (e.g. 'E1000', 'E1000E', 'SRIOVETHERNETCARD', 'VMXNET3', 'PCNet32')
connected bool
It defines if NIC is connected or not.
ip str
IP of the VM. Settings depend on ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
is_primary bool
Set to true if network interface should be primary. First network card in the list will be primary by default
mac str
Mac address of network interface
name str
A name for the VM, unique within the vApp
secondary_ip str
Secondary (IPv6) IP of the VM. Settings depend on secondary_ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
secondary_ip_allocation_mode str
Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
ipAllocationMode This property is required. String
IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
type This property is required. String
Network type to use: 'vapp', 'org' or 'none'. Use 'vapp' for vApp network, 'org' to attach Org VDC network. 'none' for empty NIC.
adapterType String
Network card adapter type. (e.g. 'E1000', 'E1000E', 'SRIOVETHERNETCARD', 'VMXNET3', 'PCNet32')
connected Boolean
It defines if NIC is connected or not.
ip String
IP of the VM. Settings depend on ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
isPrimary Boolean
Set to true if network interface should be primary. First network card in the list will be primary by default
mac String
Mac address of network interface
name String
A name for the VM, unique within the vApp
secondaryIp String
Secondary (IPv6) IP of the VM. Settings depend on secondary_ip_allocation_mode. Omitted or empty for DHCP, POOL, NONE. Required for MANUAL
secondaryIpAllocationMode String
Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE

VappVmOverrideTemplateDisk
, VappVmOverrideTemplateDiskArgs

BusNumber This property is required. double
The number of the SCSI or IDE controller itself.
BusType This property is required. string
The type of disk controller. Possible values: ide, parallel( LSI Logic Parallel SCSI), sas(LSI Logic SAS (SCSI)), paravirtual(Paravirtual (SCSI)), sata, nvme
SizeInMb This property is required. double
The size of the disk in MB.
UnitNumber This property is required. double
The device number on the SCSI or IDE controller of the disk.
Iops double
Specifies the IOPS for the disk. Default is 0.
StorageProfile string
Storage profile to override the default one
BusNumber This property is required. float64
The number of the SCSI or IDE controller itself.
BusType This property is required. string
The type of disk controller. Possible values: ide, parallel( LSI Logic Parallel SCSI), sas(LSI Logic SAS (SCSI)), paravirtual(Paravirtual (SCSI)), sata, nvme
SizeInMb This property is required. float64
The size of the disk in MB.
UnitNumber This property is required. float64
The device number on the SCSI or IDE controller of the disk.
Iops float64
Specifies the IOPS for the disk. Default is 0.
StorageProfile string
Storage profile to override the default one
busNumber This property is required. Double
The number of the SCSI or IDE controller itself.
busType This property is required. String
The type of disk controller. Possible values: ide, parallel( LSI Logic Parallel SCSI), sas(LSI Logic SAS (SCSI)), paravirtual(Paravirtual (SCSI)), sata, nvme
sizeInMb This property is required. Double
The size of the disk in MB.
unitNumber This property is required. Double
The device number on the SCSI or IDE controller of the disk.
iops Double
Specifies the IOPS for the disk. Default is 0.
storageProfile String
Storage profile to override the default one
busNumber This property is required. number
The number of the SCSI or IDE controller itself.
busType This property is required. string
The type of disk controller. Possible values: ide, parallel( LSI Logic Parallel SCSI), sas(LSI Logic SAS (SCSI)), paravirtual(Paravirtual (SCSI)), sata, nvme
sizeInMb This property is required. number
The size of the disk in MB.
unitNumber This property is required. number
The device number on the SCSI or IDE controller of the disk.
iops number
Specifies the IOPS for the disk. Default is 0.
storageProfile string
Storage profile to override the default one
bus_number This property is required. float
The number of the SCSI or IDE controller itself.
bus_type This property is required. str
The type of disk controller. Possible values: ide, parallel( LSI Logic Parallel SCSI), sas(LSI Logic SAS (SCSI)), paravirtual(Paravirtual (SCSI)), sata, nvme
size_in_mb This property is required. float
The size of the disk in MB.
unit_number This property is required. float
The device number on the SCSI or IDE controller of the disk.
iops float
Specifies the IOPS for the disk. Default is 0.
storage_profile str
Storage profile to override the default one
busNumber This property is required. Number
The number of the SCSI or IDE controller itself.
busType This property is required. String
The type of disk controller. Possible values: ide, parallel( LSI Logic Parallel SCSI), sas(LSI Logic SAS (SCSI)), paravirtual(Paravirtual (SCSI)), sata, nvme
sizeInMb This property is required. Number
The size of the disk in MB.
unitNumber This property is required. Number
The device number on the SCSI or IDE controller of the disk.
iops Number
Specifies the IOPS for the disk. Default is 0.
storageProfile String
Storage profile to override the default one

VappVmSetExtraConfig
, VappVmSetExtraConfigArgs

Key This property is required. string
The key of the extra configuration item
Value This property is required. string
The value of the extra configuration item. Leaving the value field empty will result in the item deletion
Key This property is required. string
The key of the extra configuration item
Value This property is required. string
The value of the extra configuration item. Leaving the value field empty will result in the item deletion
key This property is required. String
The key of the extra configuration item
value This property is required. String
The value of the extra configuration item. Leaving the value field empty will result in the item deletion
key This property is required. string
The key of the extra configuration item
value This property is required. string
The value of the extra configuration item. Leaving the value field empty will result in the item deletion
key This property is required. str
The key of the extra configuration item
value This property is required. str
The value of the extra configuration item. Leaving the value field empty will result in the item deletion
key This property is required. String
The key of the extra configuration item
value This property is required. String
The value of the extra configuration item. Leaving the value field empty will result in the item deletion

Package Details

Repository
vcd vmware/terraform-provider-vcd
License
Notes
This Pulumi package is based on the vcd Terraform Provider.