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 string
- The unique name of the resource.
- args VappVmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args VappVmArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VappVmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := vcd.NewVappVm(ctx, "vappVmResource", &vcd.VappVmArgs{
VappName: pulumi.String("string"),
AcceptAllEulas: pulumi.Bool(false),
BootImageId: pulumi.String("string"),
BootOptions: &vcd.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: &vcd.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: vcd.VappVmDiskArray{
&vcd.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: vcd.VappVmMetadataEntryArray{
&vcd.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: vcd.VappVmNetworkArray{
&vcd.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: vcd.VappVmOverrideTemplateDiskArray{
&vcd.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: vcd.VappVmSetExtraConfigArray{
&vcd.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"),
})
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());
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")
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",
});
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
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:
- Vapp
Name string - The vApp this VM belongs to.
- Accept
All boolEulas - Automatically accept EULA if OVA has it. Default is
true
- Boot
Image 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. - Boot
Image stringId - 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 VappVm Boot Options - A block to define boot options of the VM. See Boot Options
- Catalog
Name string - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - Computer
Name string - Computer name to assign to this virtual machine.
- Consolidate
Disks boolOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - Copy
From stringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - Cpu
Cores double - The number of cores per socket.
- Cpu
Hot boolAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - Cpu
Limit double - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - Cpu
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- Cpu
Reservation double - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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
Vapp
Vm Customization - 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<Vapp
Vm Disk> - Independent disk attachment configuration. See Disk below for details.
- Expose
Hardware boolVirtualization - 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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - Guest
Properties Dictionary<string, string> - Key value map of guest properties
- Hardware
Version 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 - Memory
Hot boolAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - Memory
Limit double - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - Memory
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- Memory
Reservation double - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - Metadata
Entries List<VappVm Metadata Entry> - A set of metadata entries to assign. See Metadata section for details.
- Name string
- A name for the VM, unique within the vApp
- Network
Dhcp doubleWait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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<Vapp
Vm Network> - 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
- Os
Type string - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- Override
Template List<VappDisks Vm Override Template Disk> - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - Placement
Policy stringId - 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 boolPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - List<string>
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - Set
Extra List<VappConfigs Vm Set Extra Config> Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- Sizing
Policy stringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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 string - Storage profile to override the default one
- Template
Name string - Use
vapp_template_id
instead. The name of the vApp Template to use - Vapp
Template stringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - Vapp
Vm stringId - Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Name stringIn Template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- Vapp
Name string - The vApp this VM belongs to.
- Accept
All boolEulas - Automatically accept EULA if OVA has it. Default is
true
- Boot
Image 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. - Boot
Image stringId - 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 VappVm Boot Options Args - A block to define boot options of the VM. See Boot Options
- Catalog
Name string - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - Computer
Name string - Computer name to assign to this virtual machine.
- Consolidate
Disks boolOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - Copy
From stringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - Cpu
Cores float64 - The number of cores per socket.
- Cpu
Hot boolAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - Cpu
Limit float64 - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - Cpu
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- Cpu
Reservation float64 - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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
Vapp
Vm Customization Args - 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
[]Vapp
Vm Disk Args - Independent disk attachment configuration. See Disk below for details.
- Expose
Hardware boolVirtualization - 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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - Guest
Properties map[string]string - Key value map of guest properties
- Hardware
Version 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 - Memory
Hot boolAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - Memory
Limit float64 - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - Memory
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- Memory
Reservation float64 - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - Metadata
Entries []VappVm Metadata Entry Args - A set of metadata entries to assign. See Metadata section for details.
- Name string
- A name for the VM, unique within the vApp
- Network
Dhcp float64Wait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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
[]Vapp
Vm Network Args - 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
- Os
Type string - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- Override
Template []VappDisks Vm Override Template Disk Args - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - Placement
Policy stringId - 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 boolPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - []string
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - Set
Extra []VappConfigs Vm Set Extra Config Args Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- Sizing
Policy stringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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 string - Storage profile to override the default one
- Template
Name string - Use
vapp_template_id
instead. The name of the vApp Template to use - Vapp
Template stringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - Vapp
Vm stringId - Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Name stringIn Template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- vapp
Name String - The vApp this VM belongs to.
- accept
All BooleanEulas - Automatically accept EULA if OVA has it. Default is
true
- boot
Image 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. - boot
Image StringId - 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 VappVm Boot Options - A block to define boot options of the VM. See Boot Options
- catalog
Name String - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - computer
Name String - Computer name to assign to this virtual machine.
- consolidate
Disks BooleanOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - copy
From StringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - cpu
Cores Double - The number of cores per socket.
- cpu
Hot BooleanAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - cpu
Limit Double - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - cpu
Priority String - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- cpu
Reservation Double - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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
Vapp
Vm Customization - 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<Vapp
Vm Disk> - Independent disk attachment configuration. See Disk below for details.
- expose
Hardware BooleanVirtualization - 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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - guest
Properties Map<String,String> - Key value map of guest properties
- hardware
Version 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 - memory
Hot BooleanAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - memory
Limit Double - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - memory
Priority String - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- memory
Reservation Double - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - metadata
Entries List<VappVm Metadata Entry> - A set of metadata entries to assign. See Metadata section for details.
- name String
- A name for the VM, unique within the vApp
- network
Dhcp DoubleWait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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<Vapp
Vm Network> - 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
- os
Type String - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- override
Template List<VappDisks Vm Override Template Disk> - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - placement
Policy StringId - 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 Boolean - A boolean value stating if this VM should be powered on. Default is
true
- prevent
Update BooleanPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - List<String>
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - set
Extra List<VappConfigs Vm Set Extra Config> Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- sizing
Policy StringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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 String - Storage profile to override the default one
- template
Name String - Use
vapp_template_id
instead. The name of the vApp Template to use - vapp
Template StringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - vapp
Vm StringId - vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Name StringIn Template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- vapp
Name string - The vApp this VM belongs to.
- accept
All booleanEulas - Automatically accept EULA if OVA has it. Default is
true
- boot
Image 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. - boot
Image stringId - 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 VappVm Boot Options - A block to define boot options of the VM. See Boot Options
- catalog
Name string - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - computer
Name string - Computer name to assign to this virtual machine.
- consolidate
Disks booleanOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - copy
From stringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - cpu
Cores number - The number of cores per socket.
- cpu
Hot booleanAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - cpu
Limit number - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - cpu
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- cpu
Reservation number - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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
Vapp
Vm Customization - 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
Vapp
Vm Disk[] - Independent disk attachment configuration. See Disk below for details.
- expose
Hardware booleanVirtualization - 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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - guest
Properties {[key: string]: string} - Key value map of guest properties
- hardware
Version 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 - memory
Hot booleanAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - memory
Limit number - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - memory
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- memory
Reservation number - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - metadata
Entries VappVm Metadata Entry[] - A set of metadata entries to assign. See Metadata section for details.
- name string
- A name for the VM, unique within the vApp
- network
Dhcp numberWait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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
Vapp
Vm Network[] - 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
- os
Type string - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- override
Template VappDisks Vm Override Template Disk[] - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - placement
Policy stringId - 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 boolean - A boolean value stating if this VM should be powered on. Default is
true
- prevent
Update booleanPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - string[]
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - set
Extra VappConfigs Vm Set Extra Config[] Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- sizing
Policy stringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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 string - Storage profile to override the default one
- template
Name string - Use
vapp_template_id
instead. The name of the vApp Template to use - vapp
Template stringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - vapp
Vm stringId - vdc string
- The name of VDC to use, optional if defined at provider level
- vm
Name stringIn Template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- vapp_
name str - The vApp this VM belongs to.
- accept_
all_ booleulas - 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. - boot_
image_ strid - 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 VappVm Boot Options Args - A block to define boot options of the VM. See Boot Options
- catalog_
name str - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - computer_
name str - Computer name to assign to this virtual machine.
- consolidate_
disks_ boolon_ create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - copy_
from_ strvm_ id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - cpu_
cores float - The number of cores per socket.
- cpu_
hot_ booladd_ enabled - 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.
- 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
Vapp
Vm Customization Args - 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[Vapp
Vm Disk Args] - Independent disk attachment configuration. See Disk below for details.
- expose_
hardware_ boolvirtualization - 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
orbios
. If unset, defaults tobios
. 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_ booladd_ enabled - 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
- 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 - metadata_
entries Sequence[VappVm Metadata Entry Args] - 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_ floatwait_ seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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[Vapp
Vm Network Args] - 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_ Sequence[Vappdisks Vm Override Template Disk Args] - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - placement_
policy_ strid - 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_ boolpower_ off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - Sequence[str]
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - set_
extra_ Sequence[Vappconfigs Vm Set Extra Config Args] Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- sizing_
policy_ strid - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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 - vapp_
template_ strid - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - vapp_
vm_ strid - vdc str
- The name of VDC to use, optional if defined at provider level
- vm_
name_ strin_ template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- vapp
Name String - The vApp this VM belongs to.
- accept
All BooleanEulas - Automatically accept EULA if OVA has it. Default is
true
- boot
Image 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. - boot
Image StringId - 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 Property Map - A block to define boot options of the VM. See Boot Options
- catalog
Name String - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - computer
Name String - Computer name to assign to this virtual machine.
- consolidate
Disks BooleanOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - copy
From StringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - cpu
Cores Number - The number of cores per socket.
- cpu
Hot BooleanAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - cpu
Limit Number - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - cpu
Priority String - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- cpu
Reservation Number - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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.
- expose
Hardware BooleanVirtualization - 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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - guest
Properties Map<String> - Key value map of guest properties
- hardware
Version 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 - memory
Hot BooleanAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - memory
Limit Number - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - memory
Priority String - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- memory
Reservation Number - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - metadata
Entries 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
- network
Dhcp NumberWait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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
- os
Type String - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- override
Template List<Property Map>Disks - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - placement
Policy StringId - 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 Boolean - A boolean value stating if this VM should be powered on. Default is
true
- prevent
Update BooleanPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - List<String>
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - set
Extra List<Property Map>Configs Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- sizing
Policy StringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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 String - Storage profile to override the default one
- template
Name String - Use
vapp_template_id
instead. The name of the vApp Template to use - vapp
Template StringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - vapp
Vm StringId - vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Name StringIn Template - 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:
- Extra
Configs List<VappVm Extra Config> - (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.
- Inherited
Metadata 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
). - Internal
Disks List<VappVm Internal Disk> - (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.
- Status
Text string - (v3.8+) The vApp status as text.
- Vapp
Id string - ID of parent vApp
- Vm
Type string - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.Vm
).
- Extra
Configs []VappVm Extra Config - (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.
- Inherited
Metadata 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
). - Internal
Disks []VappVm Internal Disk - (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.
- Status
Text string - (v3.8+) The vApp status as text.
- Vapp
Id string - ID of parent vApp
- Vm
Type string - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.Vm
).
- extra
Configs List<VappVm Extra Config> - (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.
- inherited
Metadata 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
). - internal
Disks List<VappVm Internal Disk> - (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.
- status
Text String - (v3.8+) The vApp status as text.
- vapp
Id String - ID of parent vApp
- vm
Type String - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.Vm
).
- extra
Configs VappVm Extra Config[] - (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.
- inherited
Metadata {[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
). - internal
Disks VappVm Internal Disk[] - (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.
- status
Text string - (v3.8+) The vApp status as text.
- vapp
Id string - ID of parent vApp
- vm
Type string - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.Vm
).
- extra_
configs Sequence[VappVm Extra Config] - (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[VappVm Internal Disk] - (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
orvcd.Vm
).
- extra
Configs 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.
- inherited
Metadata 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
). - internal
Disks 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.
- status
Text String - (v3.8+) The vApp status as text.
- vapp
Id String - ID of parent vApp
- vm
Type String - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accept
All boolEulas - Automatically accept EULA if OVA has it. Default is
true
- Boot
Image 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. - Boot
Image stringId - 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 VappVm Boot Options - A block to define boot options of the VM. See Boot Options
- Catalog
Name string - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - Computer
Name string - Computer name to assign to this virtual machine.
- Consolidate
Disks boolOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - Copy
From stringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - Cpu
Cores double - The number of cores per socket.
- Cpu
Hot boolAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - Cpu
Limit double - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - Cpu
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- Cpu
Reservation double - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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
Vapp
Vm Customization - 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<Vapp
Vm Disk> - Independent disk attachment configuration. See Disk below for details.
- Expose
Hardware boolVirtualization - 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 List<VappVm Extra Config> - (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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - Guest
Properties Dictionary<string, string> - Key value map of guest properties
- Hardware
Version 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.
- Inherited
Metadata 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
). - Internal
Disks List<VappVm Internal Disk> - (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 - Memory
Hot boolAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - Memory
Limit double - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - Memory
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- Memory
Reservation double - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - Metadata
Entries List<VappVm Metadata Entry> - A set of metadata entries to assign. See Metadata section for details.
- Name string
- A name for the VM, unique within the vApp
- Network
Dhcp doubleWait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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<Vapp
Vm Network> - 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
- Os
Type string - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- Override
Template List<VappDisks Vm Override Template Disk> - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - Placement
Policy stringId - 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 boolPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - List<string>
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - Set
Extra List<VappConfigs Vm Set Extra Config> Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- Sizing
Policy stringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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.
- Status
Text string - (v3.8+) The vApp status as text.
- Storage
Profile string - Storage profile to override the default one
- Template
Name string - Use
vapp_template_id
instead. The name of the vApp Template to use - Vapp
Id string - ID of parent vApp
- Vapp
Name string - The vApp this VM belongs to.
- Vapp
Template stringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - Vapp
Vm stringId - Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Name stringIn Template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- Vm
Type string - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.Vm
).
- Accept
All boolEulas - Automatically accept EULA if OVA has it. Default is
true
- Boot
Image 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. - Boot
Image stringId - 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 VappVm Boot Options Args - A block to define boot options of the VM. See Boot Options
- Catalog
Name string - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - Computer
Name string - Computer name to assign to this virtual machine.
- Consolidate
Disks boolOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - Copy
From stringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - Cpu
Cores float64 - The number of cores per socket.
- Cpu
Hot boolAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - Cpu
Limit float64 - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - Cpu
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- Cpu
Reservation float64 - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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
Vapp
Vm Customization Args - 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
[]Vapp
Vm Disk Args - Independent disk attachment configuration. See Disk below for details.
- Expose
Hardware boolVirtualization - 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 []VappVm Extra Config Args - (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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - Guest
Properties map[string]string - Key value map of guest properties
- Hardware
Version 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.
- Inherited
Metadata 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
). - Internal
Disks []VappVm Internal Disk Args - (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 - Memory
Hot boolAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - Memory
Limit float64 - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - Memory
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- Memory
Reservation float64 - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - Metadata
Entries []VappVm Metadata Entry Args - A set of metadata entries to assign. See Metadata section for details.
- Name string
- A name for the VM, unique within the vApp
- Network
Dhcp float64Wait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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
[]Vapp
Vm Network Args - 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
- Os
Type string - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- Override
Template []VappDisks Vm Override Template Disk Args - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - Placement
Policy stringId - 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 boolPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - []string
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - Set
Extra []VappConfigs Vm Set Extra Config Args Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- Sizing
Policy stringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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.
- Status
Text string - (v3.8+) The vApp status as text.
- Storage
Profile string - Storage profile to override the default one
- Template
Name string - Use
vapp_template_id
instead. The name of the vApp Template to use - Vapp
Id string - ID of parent vApp
- Vapp
Name string - The vApp this VM belongs to.
- Vapp
Template stringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - Vapp
Vm stringId - Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Name stringIn Template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- Vm
Type string - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.Vm
).
- accept
All BooleanEulas - Automatically accept EULA if OVA has it. Default is
true
- boot
Image 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. - boot
Image StringId - 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 VappVm Boot Options - A block to define boot options of the VM. See Boot Options
- catalog
Name String - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - computer
Name String - Computer name to assign to this virtual machine.
- consolidate
Disks BooleanOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - copy
From StringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - cpu
Cores Double - The number of cores per socket.
- cpu
Hot BooleanAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - cpu
Limit Double - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - cpu
Priority String - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- cpu
Reservation Double - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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
Vapp
Vm Customization - 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<Vapp
Vm Disk> - Independent disk attachment configuration. See Disk below for details.
- expose
Hardware BooleanVirtualization - 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 List<VappVm Extra Config> - (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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - guest
Properties Map<String,String> - Key value map of guest properties
- hardware
Version 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.
- inherited
Metadata 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
). - internal
Disks List<VappVm Internal Disk> - (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 - memory
Hot BooleanAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - memory
Limit Double - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - memory
Priority String - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- memory
Reservation Double - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - metadata
Entries List<VappVm Metadata Entry> - A set of metadata entries to assign. See Metadata section for details.
- name String
- A name for the VM, unique within the vApp
- network
Dhcp DoubleWait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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<Vapp
Vm Network> - 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
- os
Type String - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- override
Template List<VappDisks Vm Override Template Disk> - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - placement
Policy StringId - 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 Boolean - A boolean value stating if this VM should be powered on. Default is
true
- prevent
Update BooleanPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - List<String>
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - set
Extra List<VappConfigs Vm Set Extra Config> Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- sizing
Policy StringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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.
- status
Text String - (v3.8+) The vApp status as text.
- storage
Profile String - Storage profile to override the default one
- template
Name String - Use
vapp_template_id
instead. The name of the vApp Template to use - vapp
Id String - ID of parent vApp
- vapp
Name String - The vApp this VM belongs to.
- vapp
Template StringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - vapp
Vm StringId - vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Name StringIn Template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- vm
Type String - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.Vm
).
- accept
All booleanEulas - Automatically accept EULA if OVA has it. Default is
true
- boot
Image 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. - boot
Image stringId - 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 VappVm Boot Options - A block to define boot options of the VM. See Boot Options
- catalog
Name string - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - computer
Name string - Computer name to assign to this virtual machine.
- consolidate
Disks booleanOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - copy
From stringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - cpu
Cores number - The number of cores per socket.
- cpu
Hot booleanAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - cpu
Limit number - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - cpu
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- cpu
Reservation number - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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
Vapp
Vm Customization - 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
Vapp
Vm Disk[] - Independent disk attachment configuration. See Disk below for details.
- expose
Hardware booleanVirtualization - 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 VappVm Extra Config[] - (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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - guest
Properties {[key: string]: string} - Key value map of guest properties
- hardware
Version 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.
- inherited
Metadata {[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
). - internal
Disks VappVm Internal Disk[] - (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 - memory
Hot booleanAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - memory
Limit number - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - memory
Priority string - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- memory
Reservation number - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - metadata
Entries VappVm Metadata Entry[] - A set of metadata entries to assign. See Metadata section for details.
- name string
- A name for the VM, unique within the vApp
- network
Dhcp numberWait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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
Vapp
Vm Network[] - 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
- os
Type string - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- override
Template VappDisks Vm Override Template Disk[] - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - placement
Policy stringId - 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 boolean - A boolean value stating if this VM should be powered on. Default is
true
- prevent
Update booleanPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - string[]
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - set
Extra VappConfigs Vm Set Extra Config[] Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- sizing
Policy stringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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.
- status
Text string - (v3.8+) The vApp status as text.
- storage
Profile string - Storage profile to override the default one
- template
Name string - Use
vapp_template_id
instead. The name of the vApp Template to use - vapp
Id string - ID of parent vApp
- vapp
Name string - The vApp this VM belongs to.
- vapp
Template stringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - vapp
Vm stringId - vdc string
- The name of VDC to use, optional if defined at provider level
- vm
Name stringIn Template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- vm
Type string - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.Vm
).
- accept_
all_ booleulas - 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. - boot_
image_ strid - 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 VappVm Boot Options Args - A block to define boot options of the VM. See Boot Options
- catalog_
name str - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - computer_
name str - Computer name to assign to this virtual machine.
- consolidate_
disks_ boolon_ create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - copy_
from_ strvm_ id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - cpu_
cores float - The number of cores per socket.
- cpu_
hot_ booladd_ enabled - 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.
- 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
Vapp
Vm Customization Args - 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[Vapp
Vm Disk Args] - Independent disk attachment configuration. See Disk below for details.
- expose_
hardware_ boolvirtualization - 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[VappVm Extra Config Args] - (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
orbios
. If unset, defaults tobios
. 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[VappVm Internal Disk Args] - (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_ booladd_ enabled - 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
- 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 - metadata_
entries Sequence[VappVm Metadata Entry Args] - 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_ floatwait_ seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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[Vapp
Vm Network Args] - 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_ Sequence[Vappdisks Vm Override Template Disk Args] - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - placement_
policy_ strid - 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_ boolpower_ off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - Sequence[str]
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - set_
extra_ Sequence[Vappconfigs Vm Set Extra Config Args] Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- sizing_
policy_ strid - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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 - vapp_
id str - ID of parent vApp
- vapp_
name str - The vApp this VM belongs to.
- vapp_
template_ strid - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - vapp_
vm_ strid - vdc str
- The name of VDC to use, optional if defined at provider level
- vm_
name_ strin_ template - 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
orvcd.Vm
).
- accept
All BooleanEulas - Automatically accept EULA if OVA has it. Default is
true
- boot
Image 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. - boot
Image StringId - 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 Property Map - A block to define boot options of the VM. See Boot Options
- catalog
Name String - Use a
vcd.Catalog
data source along withvapp_template_id
orboot_image_id
instead. The catalog name in which to find the given vApp Template or media forboot_image
. - computer
Name String - Computer name to assign to this virtual machine.
- consolidate
Disks BooleanOn Create - 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 rightvApp: VM Migrate, Force Undeploy, Relocate, Consolidate
. This operation may take long time depending on disk size and storage performance. - copy
From StringVm Id - 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 (usingvcd.Vm
resource) and using different source/destination VDCs. - cpu
Cores Number - The number of cores per socket.
- cpu
Hot BooleanAdd Enabled - True if the virtual machine supports addition of virtual CPUs while powered on. Default is
false
. - cpu
Limit Number - The limit (in MHz) for how much of CPU can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - cpu
Priority String - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- cpu
Reservation Number - The amount of MHz reservation on the underlying virtualization infrastructure.
- 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.
- expose
Hardware BooleanVirtualization - 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 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
orbios
. If unset, defaults tobios
. Changing the value requires the VM to power off. - guest
Properties Map<String> - Key value map of guest properties
- hardware
Version 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.
- inherited
Metadata 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
). - internal
Disks 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 - memory
Hot BooleanAdd Enabled - True if the virtual machine supports addition of memory while powered on. Default is
false
. - memory
Limit Number - The limit (in MB) for how much of memory can be consumed on the underlying virtualization infrastructure.
-1
value for unlimited. - memory
Priority String - Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload
- memory
Reservation Number - The amount of RAM (in MB) reservation on the underlying virtualization infrastructure
- 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 - metadata
Entries 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
- network
Dhcp NumberWait Seconds - Optional number of seconds to try and wait for DHCP IP (only valid
for adapters in
network
block withip_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
- os
Type String - Operating System type. Possible values can be found in Os Types. Required when creating empty VM.
- override
Template List<Property Map>Disks - Allows to update internal disk in template before first VM boot. Disk is matched by
bus_type
,bus_number
andunit_number
. See Override template Disk below for details. - placement
Policy StringId - 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 Boolean - A boolean value stating if this VM should be powered on. Default is
true
- prevent
Update BooleanPower Off - True if the update of resource should fail when virtual machine power off needed. Default is
false
. - List<String>
- Set of security tags to be managed by the
vcd.VappVm
resource. To removesecurity_tags
you must setsecurity_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 thevcd_security_tags
resource. - set
Extra List<Property Map>Configs Set of extra configuration key/values to be added or modified. See Extra Configuration
Note: Only one of
security_tags
attribute orvcd.SecurityTag
resource should be used. Using both would cause a behavioral conflict.- sizing
Policy StringId - VM sizing policy ID. To be used, it needs to be assigned to Org VDC
using
vcd_org_vdc.vm_sizing_policy_ids
(andvcd_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.
- status
Text String - (v3.8+) The vApp status as text.
- storage
Profile String - Storage profile to override the default one
- template
Name String - Use
vapp_template_id
instead. The name of the vApp Template to use - vapp
Id String - ID of parent vApp
- vapp
Name String - The vApp this VM belongs to.
- vapp
Template StringId - The URN of the vApp Template to use. You can fetch it using a
vcd.CatalogVappTemplate
data source. - vapp
Vm StringId - vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Name StringIn Template - The name of the VM in vApp Template to use. For cases when vApp template has more than one VM.
- vm
Type String - (3.2+) Type of the VM (either
vcd.VappVm
orvcd.Vm
).
Supporting Types
VappVmBootOptions, VappVmBootOptionsArgs
- Boot
Delay double - Number of milliseconds to wait between powering-on and booting the VM
- Boot
Retry doubleDelay - Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
- Boot
Retry boolEnabled - If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
- Efi
Secure boolBoot - If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
- Enter
Bios boolSetup On Next Boot
- Boot
Delay float64 - Number of milliseconds to wait between powering-on and booting the VM
- Boot
Retry float64Delay - Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
- Boot
Retry boolEnabled - If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
- Efi
Secure boolBoot - If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
- Enter
Bios boolSetup On Next Boot
- boot
Delay Double - Number of milliseconds to wait between powering-on and booting the VM
- boot
Retry DoubleDelay - Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
- boot
Retry BooleanEnabled - If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
- efi
Secure BooleanBoot - If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
- enter
Bios BooleanSetup On Next Boot
- boot
Delay number - Number of milliseconds to wait between powering-on and booting the VM
- boot
Retry numberDelay - Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
- boot
Retry booleanEnabled - If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
- efi
Secure booleanBoot - If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
- enter
Bios booleanSetup On Next Boot
- boot_
delay float - Number of milliseconds to wait between powering-on and booting the VM
- boot_
retry_ floatdelay - Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
- boot_
retry_ boolenabled - If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
- efi_
secure_ boolboot - If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
- enter_
bios_ boolsetup_ on_ next_ boot
- boot
Delay Number - Number of milliseconds to wait between powering-on and booting the VM
- boot
Retry NumberDelay - Delay in milliseconds before a boot retry. Only works if 'boot_retry_enabled' is set to true.
- boot
Retry BooleanEnabled - If set to true, a VM that fails to boot will try again after the 'boot_retry_delay' time period has expired
- efi
Secure BooleanBoot - If set to true, enables EFI Secure Boot for the VM. Can only be changed when the VM is powered off.
- enter
Bios BooleanSetup On Next Boot
VappVmCustomization, VappVmCustomizationArgs
- Admin
Password string - Manually specify admin password
- Allow
Local boolAdmin Password - Allow local administrator password
- Auto
Generate boolPassword - 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 string
- Script to run on initial boot or with customization.force=true set
- Join
Domain bool - Enable this VM to join a domain
- Join
Domain stringAccount Ou - Account organizational unit for domain name join
- Join
Domain stringName - Custom domain name for join
- Join
Domain stringPassword - Password for custom domain name join
- Join
Domain stringUser - Username for custom domain name join
- Join
Org boolDomain - Use organization's domain for joining
- Must
Change boolPassword On First Login - Require Administrator to change password on first login
- Number
Of doubleAuto Logons - Number of times to log on automatically. '0' - disabled.
- Admin
Password string - Manually specify admin password
- Allow
Local boolAdmin Password - Allow local administrator password
- Auto
Generate boolPassword - 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 string
- Script to run on initial boot or with customization.force=true set
- Join
Domain bool - Enable this VM to join a domain
- Join
Domain stringAccount Ou - Account organizational unit for domain name join
- Join
Domain stringName - Custom domain name for join
- Join
Domain stringPassword - Password for custom domain name join
- Join
Domain stringUser - Username for custom domain name join
- Join
Org boolDomain - Use organization's domain for joining
- Must
Change boolPassword On First Login - Require Administrator to change password on first login
- Number
Of float64Auto Logons - Number of times to log on automatically. '0' - disabled.
- admin
Password String - Manually specify admin password
- allow
Local BooleanAdmin Password - Allow local administrator password
- auto
Generate BooleanPassword - Auto generate password
- change
Sid 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
- join
Domain Boolean - Enable this VM to join a domain
- join
Domain StringAccount Ou - Account organizational unit for domain name join
- join
Domain StringName - Custom domain name for join
- join
Domain StringPassword - Password for custom domain name join
- join
Domain StringUser - Username for custom domain name join
- join
Org BooleanDomain - Use organization's domain for joining
- must
Change BooleanPassword On First Login - Require Administrator to change password on first login
- number
Of DoubleAuto Logons - Number of times to log on automatically. '0' - disabled.
- admin
Password string - Manually specify admin password
- allow
Local booleanAdmin Password - Allow local administrator password
- auto
Generate booleanPassword - Auto generate password
- change
Sid 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
- join
Domain boolean - Enable this VM to join a domain
- join
Domain stringAccount Ou - Account organizational unit for domain name join
- join
Domain stringName - Custom domain name for join
- join
Domain stringPassword - Password for custom domain name join
- join
Domain stringUser - Username for custom domain name join
- join
Org booleanDomain - Use organization's domain for joining
- must
Change booleanPassword On First Login - Require Administrator to change password on first login
- number
Of numberAuto Logons - Number of times to log on automatically. '0' - disabled.
- admin_
password str - Manually specify admin password
- allow_
local_ booladmin_ password - Allow local administrator password
- auto_
generate_ boolpassword - 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_ straccount_ ou - Account organizational unit for domain name join
- join_
domain_ strname - Custom domain name for join
- join_
domain_ strpassword - Password for custom domain name join
- join_
domain_ struser - Username for custom domain name join
- join_
org_ booldomain - Use organization's domain for joining
- must_
change_ boolpassword_ on_ first_ login - Require Administrator to change password on first login
- number_
of_ floatauto_ logons - Number of times to log on automatically. '0' - disabled.
- admin
Password String - Manually specify admin password
- allow
Local BooleanAdmin Password - Allow local administrator password
- auto
Generate BooleanPassword - Auto generate password
- change
Sid 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
- join
Domain Boolean - Enable this VM to join a domain
- join
Domain StringAccount Ou - Account organizational unit for domain name join
- join
Domain StringName - Custom domain name for join
- join
Domain StringPassword - Password for custom domain name join
- join
Domain StringUser - Username for custom domain name join
- join
Org BooleanDomain - Use organization's domain for joining
- must
Change BooleanPassword On First Login - Require Administrator to change password on first login
- number
Of NumberAuto Logons - Number of times to log on automatically. '0' - disabled.
VappVmDisk, VappVmDiskArgs
- Bus
Number string - Bus number on which to place the disk controller
- Name string
- A name for the VM, unique within the vApp
- Unit
Number string - Unit number (slot) on the bus specified by BusNumber
- Size
In doubleMb - (v2.7+) Independent disk size in MB.
- Bus
Number string - Bus number on which to place the disk controller
- Name string
- A name for the VM, unique within the vApp
- Unit
Number string - Unit number (slot) on the bus specified by BusNumber
- Size
In float64Mb - (v2.7+) Independent disk size in MB.
- bus
Number String - Bus number on which to place the disk controller
- name String
- A name for the VM, unique within the vApp
- unit
Number String - Unit number (slot) on the bus specified by BusNumber
- size
In DoubleMb - (v2.7+) Independent disk size in MB.
- bus
Number string - Bus number on which to place the disk controller
- name string
- A name for the VM, unique within the vApp
- unit
Number string - Unit number (slot) on the bus specified by BusNumber
- size
In numberMb - (v2.7+) Independent disk size in MB.
- bus_
number str - Bus number on which to place the disk controller
- name str
- A name for the VM, unique within the vApp
- unit_
number str - Unit number (slot) on the bus specified by BusNumber
- size_
in_ floatmb - (v2.7+) Independent disk size in MB.
- bus
Number String - Bus number on which to place the disk controller
- name String
- A name for the VM, unique within the vApp
- unit
Number String - Unit number (slot) on the bus specified by BusNumber
- size
In NumberMb - (v2.7+) Independent disk size in MB.
VappVmExtraConfig, VappVmExtraConfigArgs
VappVmInternalDisk, VappVmInternalDiskArgs
- Bus
Number double - Bus
Type string - Disk
Id string - Iops double
- Size
In doubleMb - Storage
Profile string - Storage profile to override the default one
- Thin
Provisioned bool - Unit
Number double
- Bus
Number float64 - Bus
Type string - Disk
Id string - Iops float64
- Size
In float64Mb - Storage
Profile string - Storage profile to override the default one
- Thin
Provisioned bool - Unit
Number float64
- bus
Number Double - bus
Type String - disk
Id String - iops Double
- size
In DoubleMb - storage
Profile String - Storage profile to override the default one
- thin
Provisioned Boolean - unit
Number Double
- bus
Number number - bus
Type string - disk
Id string - iops number
- size
In numberMb - storage
Profile string - Storage profile to override the default one
- thin
Provisioned boolean - unit
Number number
- bus_
number float - bus_
type str - disk_
id str - iops float
- size_
in_ floatmb - storage_
profile str - Storage profile to override the default one
- thin_
provisioned bool - unit_
number float
- bus
Number Number - bus
Type String - disk
Id String - iops Number
- size
In NumberMb - storage
Profile String - Storage profile to override the default one
- thin
Provisioned Boolean - unit
Number Number
VappVmMetadataEntry, VappVmMetadataEntryArgs
- Is
System 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'
- User
Access 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 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'
- User
Access 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 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'
- user
Access 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 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'
- user
Access 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
- is
System 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'
- user
Access 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
- Ip
Allocation stringMode - IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- Type string
- 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 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 - Is
Primary 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
- Secondary
Ip string - 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 stringAllocation Mode - Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- Ip
Allocation stringMode - IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- Type string
- 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 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 - Is
Primary 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
- Secondary
Ip string - 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 stringAllocation Mode - Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- ip
Allocation StringMode - IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- type String
- 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 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 - is
Primary 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
- secondary
Ip String - 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 StringAllocation Mode - Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- ip
Allocation stringMode - IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- type string
- 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 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 - is
Primary 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
- secondary
Ip string - 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 stringAllocation Mode - Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- ip_
allocation_ strmode - IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- type 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_ strallocation_ mode - Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- ip
Allocation StringMode - IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
- type String
- 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 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 - is
Primary 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
- secondary
Ip String - 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 StringAllocation Mode - Secondary (IPv6) IP address allocation mode. One of POOL, DHCP, MANUAL, NONE
VappVmOverrideTemplateDisk, VappVmOverrideTemplateDiskArgs
- Bus
Number double - The number of the SCSI or IDE controller itself.
- Bus
Type string - 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 doubleMb - The size of the disk in MB.
- Unit
Number double - The device number on the SCSI or IDE controller of the disk.
- Iops double
- Specifies the IOPS for the disk. Default is 0.
- Storage
Profile string - Storage profile to override the default one
- Bus
Number float64 - The number of the SCSI or IDE controller itself.
- Bus
Type string - 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 float64Mb - The size of the disk in MB.
- Unit
Number float64 - The device number on the SCSI or IDE controller of the disk.
- Iops float64
- Specifies the IOPS for the disk. Default is 0.
- Storage
Profile string - Storage profile to override the default one
- bus
Number Double - The number of the SCSI or IDE controller itself.
- bus
Type String - 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 DoubleMb - The size of the disk in MB.
- unit
Number Double - The device number on the SCSI or IDE controller of the disk.
- iops Double
- Specifies the IOPS for the disk. Default is 0.
- storage
Profile String - Storage profile to override the default one
- bus
Number number - The number of the SCSI or IDE controller itself.
- bus
Type string - 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 numberMb - The size of the disk in MB.
- unit
Number number - The device number on the SCSI or IDE controller of the disk.
- iops number
- Specifies the IOPS for the disk. Default is 0.
- storage
Profile string - Storage profile to override the default one
- bus_
number float - The number of the SCSI or IDE controller itself.
- bus_
type 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_ floatmb - The size of the disk in MB.
- unit_
number 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
- bus
Number Number - The number of the SCSI or IDE controller itself.
- bus
Type String - 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 NumberMb - The size of the disk in MB.
- unit
Number Number - The device number on the SCSI or IDE controller of the disk.
- iops Number
- Specifies the IOPS for the disk. Default is 0.
- storage
Profile String - Storage profile to override the default one
VappVmSetExtraConfig, VappVmSetExtraConfigArgs
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.