vcd.Vm
Explore with Pulumi AI
Create Vm Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Vm(name: string, args?: VmArgs, opts?: CustomResourceOptions);
@overload
def Vm(resource_name: str,
args: Optional[VmArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Vm(resource_name: 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[VmBootOptionsArgs] = 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[VmCustomizationArgs] = None,
description: Optional[str] = None,
disks: Optional[Sequence[VmDiskArgs]] = 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[VmMetadataEntryArgs]] = None,
name: Optional[str] = None,
network_dhcp_wait_seconds: Optional[float] = None,
networks: Optional[Sequence[VmNetworkArgs]] = None,
org: Optional[str] = None,
os_type: Optional[str] = None,
override_template_disks: Optional[Sequence[VmOverrideTemplateDiskArgs]] = 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[VmSetExtraConfigArgs]] = None,
sizing_policy_id: Optional[str] = None,
storage_profile: Optional[str] = None,
template_name: Optional[str] = None,
vapp_name: Optional[str] = None,
vapp_template_id: Optional[str] = None,
vdc: Optional[str] = None,
vm_id: Optional[str] = None,
vm_name_in_template: Optional[str] = None)
func NewVm(ctx *Context, name string, args *VmArgs, opts ...ResourceOption) (*Vm, error)
public Vm(string name, VmArgs? args = null, CustomResourceOptions? opts = null)
type: vcd:Vm
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 VmArgs
- 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 VmArgs
- 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 VmArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VmArgs
- 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 vmResource = new Vcd.Vm("vmResource", new()
{
AcceptAllEulas = false,
BootImageId = "string",
BootOptions = new Vcd.Inputs.VmBootOptionsArgs
{
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.VmCustomizationArgs
{
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.VmDiskArgs
{
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.VmMetadataEntryArgs
{
IsSystem = false,
Key = "string",
Type = "string",
UserAccess = "string",
Value = "string",
},
},
Name = "string",
NetworkDhcpWaitSeconds = 0,
Networks = new[]
{
new Vcd.Inputs.VmNetworkArgs
{
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.VmOverrideTemplateDiskArgs
{
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.VmSetExtraConfigArgs
{
Key = "string",
Value = "string",
},
},
SizingPolicyId = "string",
StorageProfile = "string",
VappName = "string",
VappTemplateId = "string",
Vdc = "string",
VmId = "string",
VmNameInTemplate = "string",
});
example, err := vcd.NewVm(ctx, "vmResource", &vcd.VmArgs{
AcceptAllEulas: pulumi.Bool(false),
BootImageId: pulumi.String("string"),
BootOptions: &vcd.VmBootOptionsArgs{
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.VmCustomizationArgs{
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.VmDiskArray{
&vcd.VmDiskArgs{
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.VmMetadataEntryArray{
&vcd.VmMetadataEntryArgs{
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.VmNetworkArray{
&vcd.VmNetworkArgs{
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.VmOverrideTemplateDiskArray{
&vcd.VmOverrideTemplateDiskArgs{
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.VmSetExtraConfigArray{
&vcd.VmSetExtraConfigArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
SizingPolicyId: pulumi.String("string"),
StorageProfile: pulumi.String("string"),
VappName: pulumi.String("string"),
VappTemplateId: pulumi.String("string"),
Vdc: pulumi.String("string"),
VmId: pulumi.String("string"),
VmNameInTemplate: pulumi.String("string"),
})
var vmResource = new Vm("vmResource", VmArgs.builder()
.acceptAllEulas(false)
.bootImageId("string")
.bootOptions(VmBootOptionsArgs.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(VmCustomizationArgs.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(VmDiskArgs.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(VmMetadataEntryArgs.builder()
.isSystem(false)
.key("string")
.type("string")
.userAccess("string")
.value("string")
.build())
.name("string")
.networkDhcpWaitSeconds(0)
.networks(VmNetworkArgs.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(VmOverrideTemplateDiskArgs.builder()
.busNumber(0)
.busType("string")
.sizeInMb(0)
.unitNumber(0)
.iops(0)
.storageProfile("string")
.build())
.placementPolicyId("string")
.powerOn(false)
.preventUpdatePowerOff(false)
.securityTags("string")
.setExtraConfigs(VmSetExtraConfigArgs.builder()
.key("string")
.value("string")
.build())
.sizingPolicyId("string")
.storageProfile("string")
.vappName("string")
.vappTemplateId("string")
.vdc("string")
.vmId("string")
.vmNameInTemplate("string")
.build());
vm_resource = vcd.Vm("vmResource",
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_name="string",
vapp_template_id="string",
vdc="string",
vm_id="string",
vm_name_in_template="string")
const vmResource = new vcd.Vm("vmResource", {
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",
vappName: "string",
vappTemplateId: "string",
vdc: "string",
vmId: "string",
vmNameInTemplate: "string",
});
type: vcd:Vm
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
vdc: string
vmId: string
vmNameInTemplate: string
Vm 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 Vm resource accepts the following input properties:
- Accept
All boolEulas - Automatically accept EULA if OVA has it
- Boot
Image string - Media name to add as boot image.
- Boot
Image stringId - The URN of the media to use as boot image.
- Boot
Options VmBoot Options - A block defining the boot options of a VM
- Catalog
Name string - The catalog name in which to find the given vApp Template or media for boot_image
- Computer
Name string - Computer name to assign to this virtual machine
- Consolidate
Disks boolOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- Copy
From stringVm Id - Source VM that should be copied from
- 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.
- Cpu
Limit double - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - Cpus double
- The number of virtual CPUs to allocate to the VM
- Customization
Vm
Customization - Guest customization block
- Description string
- The VM description
- Disks
List<Vm
Disk> - Expose
Hardware boolVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- Firmware string
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - Guest
Properties Dictionary<string, string> - Key/value settings for guest properties
- Hardware
Version string - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - Href string
- VM Hyper Reference
- Memory double
- The amount of RAM (in MB) to allocate to the VM
- Memory
Hot boolAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- Memory
Limit double - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - Metadata Dictionary<string, string>
- Key value map of metadata to assign to this VM
- Metadata
Entries List<VmMetadata Entry> - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- Networks
List<Vm
Network> - A block to define network interface. Multiple can be used.
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- Os
Type string - Operating System type. Possible values can be found in documentation.
- Override
Template List<VmDisks Override Template Disk> - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- Placement
Policy stringId - VM placement policy ID. Has to be assigned to Org VDC.
- Power
On bool - A boolean value stating if this VM should be powered on
- Prevent
Update boolPower Off - True if the update of resource should fail when virtual machine power off needed.
- List<string>
- Security tags to assign to this VM
- Set
Extra List<VmConfigs Set Extra Config> - A block to set extra configuration key-value pairs
- Sizing
Policy stringId - VM sizing policy ID. Has to be assigned to Org VDC.
- Storage
Profile string - Storage profile to override the default one
- Template
Name string - The name of the vApp Template to use
- Vapp
Name string - The vApp this VM belongs to - Required, unless it is a standalone VM
- Vapp
Template stringId - The URN of the vApp Template to use
- Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Id string - Vm
Name stringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- Accept
All boolEulas - Automatically accept EULA if OVA has it
- Boot
Image string - Media name to add as boot image.
- Boot
Image stringId - The URN of the media to use as boot image.
- Boot
Options VmBoot Options Args - A block defining the boot options of a VM
- Catalog
Name string - The catalog name in which to find the given vApp Template or media for boot_image
- Computer
Name string - Computer name to assign to this virtual machine
- Consolidate
Disks boolOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- Copy
From stringVm Id - Source VM that should be copied from
- 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.
- Cpu
Limit float64 - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - Cpus float64
- The number of virtual CPUs to allocate to the VM
- Customization
Vm
Customization Args - Guest customization block
- Description string
- The VM description
- Disks
[]Vm
Disk Args - Expose
Hardware boolVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- Firmware string
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - Guest
Properties map[string]string - Key/value settings for guest properties
- Hardware
Version string - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - Href string
- VM Hyper Reference
- Memory float64
- The amount of RAM (in MB) to allocate to the VM
- Memory
Hot boolAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- Memory
Limit float64 - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - Metadata map[string]string
- Key value map of metadata to assign to this VM
- Metadata
Entries []VmMetadata Entry Args - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- Networks
[]Vm
Network Args - A block to define network interface. Multiple can be used.
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- Os
Type string - Operating System type. Possible values can be found in documentation.
- Override
Template []VmDisks Override Template Disk Args - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- Placement
Policy stringId - VM placement policy ID. Has to be assigned to Org VDC.
- Power
On bool - A boolean value stating if this VM should be powered on
- Prevent
Update boolPower Off - True if the update of resource should fail when virtual machine power off needed.
- []string
- Security tags to assign to this VM
- Set
Extra []VmConfigs Set Extra Config Args - A block to set extra configuration key-value pairs
- Sizing
Policy stringId - VM sizing policy ID. Has to be assigned to Org VDC.
- Storage
Profile string - Storage profile to override the default one
- Template
Name string - The name of the vApp Template to use
- Vapp
Name string - The vApp this VM belongs to - Required, unless it is a standalone VM
- Vapp
Template stringId - The URN of the vApp Template to use
- Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Id string - Vm
Name stringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- accept
All BooleanEulas - Automatically accept EULA if OVA has it
- boot
Image String - Media name to add as boot image.
- boot
Image StringId - The URN of the media to use as boot image.
- boot
Options VmBoot Options - A block defining the boot options of a VM
- catalog
Name String - The catalog name in which to find the given vApp Template or media for boot_image
- computer
Name String - Computer name to assign to this virtual machine
- consolidate
Disks BooleanOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- copy
From StringVm Id - Source VM that should be copied from
- 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.
- cpu
Limit Double - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - cpus Double
- The number of virtual CPUs to allocate to the VM
- customization
Vm
Customization - Guest customization block
- description String
- The VM description
- disks
List<Vm
Disk> - expose
Hardware BooleanVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- firmware String
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - guest
Properties Map<String,String> - Key/value settings for guest properties
- hardware
Version String - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - href String
- VM Hyper Reference
- memory Double
- The amount of RAM (in MB) to allocate to the VM
- memory
Hot BooleanAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- memory
Limit Double - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - metadata Map<String,String>
- Key value map of metadata to assign to this VM
- metadata
Entries List<VmMetadata Entry> - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- networks
List<Vm
Network> - A block to define network interface. Multiple can be used.
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- os
Type String - Operating System type. Possible values can be found in documentation.
- override
Template List<VmDisks Override Template Disk> - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- placement
Policy StringId - VM placement policy ID. Has to be assigned to Org VDC.
- power
On Boolean - A boolean value stating if this VM should be powered on
- prevent
Update BooleanPower Off - True if the update of resource should fail when virtual machine power off needed.
- List<String>
- Security tags to assign to this VM
- set
Extra List<VmConfigs Set Extra Config> - A block to set extra configuration key-value pairs
- sizing
Policy StringId - VM sizing policy ID. Has to be assigned to Org VDC.
- storage
Profile String - Storage profile to override the default one
- template
Name String - The name of the vApp Template to use
- vapp
Name String - The vApp this VM belongs to - Required, unless it is a standalone VM
- vapp
Template StringId - The URN of the vApp Template to use
- vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Id String - vm
Name StringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- accept
All booleanEulas - Automatically accept EULA if OVA has it
- boot
Image string - Media name to add as boot image.
- boot
Image stringId - The URN of the media to use as boot image.
- boot
Options VmBoot Options - A block defining the boot options of a VM
- catalog
Name string - The catalog name in which to find the given vApp Template or media for boot_image
- computer
Name string - Computer name to assign to this virtual machine
- consolidate
Disks booleanOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- copy
From stringVm Id - Source VM that should be copied from
- 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.
- cpu
Limit number - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - cpus number
- The number of virtual CPUs to allocate to the VM
- customization
Vm
Customization - Guest customization block
- description string
- The VM description
- disks
Vm
Disk[] - expose
Hardware booleanVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- firmware string
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - guest
Properties {[key: string]: string} - Key/value settings for guest properties
- hardware
Version string - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - href string
- VM Hyper Reference
- memory number
- The amount of RAM (in MB) to allocate to the VM
- memory
Hot booleanAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- memory
Limit number - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - metadata {[key: string]: string}
- Key value map of metadata to assign to this VM
- metadata
Entries VmMetadata Entry[] - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- networks
Vm
Network[] - A block to define network interface. Multiple can be used.
- org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- os
Type string - Operating System type. Possible values can be found in documentation.
- override
Template VmDisks Override Template Disk[] - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- placement
Policy stringId - VM placement policy ID. Has to be assigned to Org VDC.
- power
On boolean - A boolean value stating if this VM should be powered on
- prevent
Update booleanPower Off - True if the update of resource should fail when virtual machine power off needed.
- string[]
- Security tags to assign to this VM
- set
Extra VmConfigs Set Extra Config[] - A block to set extra configuration key-value pairs
- sizing
Policy stringId - VM sizing policy ID. Has to be assigned to Org VDC.
- storage
Profile string - Storage profile to override the default one
- template
Name string - The name of the vApp Template to use
- vapp
Name string - The vApp this VM belongs to - Required, unless it is a standalone VM
- vapp
Template stringId - The URN of the vApp Template to use
- vdc string
- The name of VDC to use, optional if defined at provider level
- vm
Id string - vm
Name stringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- accept_
all_ booleulas - Automatically accept EULA if OVA has it
- boot_
image str - Media name to add as boot image.
- boot_
image_ strid - The URN of the media to use as boot image.
- boot_
options VmBoot Options Args - A block defining the boot options of a VM
- catalog_
name str - The catalog name in which to find the given vApp Template or media for boot_image
- computer_
name str - Computer name to assign to this virtual machine
- consolidate_
disks_ boolon_ create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- copy_
from_ strvm_ id - Source VM that should be copied from
- 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.
- cpu_
limit float - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - cpus float
- The number of virtual CPUs to allocate to the VM
- customization
Vm
Customization Args - Guest customization block
- description str
- The VM description
- disks
Sequence[Vm
Disk Args] - expose_
hardware_ boolvirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- firmware str
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - guest_
properties Mapping[str, str] - Key/value settings for guest properties
- hardware_
version str - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - href str
- VM Hyper Reference
- memory float
- The amount of RAM (in MB) to allocate to the VM
- memory_
hot_ booladd_ enabled - True if the virtual machine supports addition of memory while powered on.
- memory_
limit float - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - metadata Mapping[str, str]
- Key value map of metadata to assign to this VM
- metadata_
entries Sequence[VmMetadata Entry Args] - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- networks
Sequence[Vm
Network Args] - A block to define network interface. Multiple can be used.
- org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- os_
type str - Operating System type. Possible values can be found in documentation.
- override_
template_ Sequence[Vmdisks Override Template Disk Args] - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- placement_
policy_ strid - VM placement policy ID. Has to be assigned to Org VDC.
- power_
on bool - A boolean value stating if this VM should be powered on
- prevent_
update_ boolpower_ off - True if the update of resource should fail when virtual machine power off needed.
- Sequence[str]
- Security tags to assign to this VM
- set_
extra_ Sequence[Vmconfigs Set Extra Config Args] - A block to set extra configuration key-value pairs
- sizing_
policy_ strid - VM sizing policy ID. Has to be assigned to Org VDC.
- storage_
profile str - Storage profile to override the default one
- template_
name str - The name of the vApp Template to use
- vapp_
name str - The vApp this VM belongs to - Required, unless it is a standalone VM
- vapp_
template_ strid - The URN of the vApp Template to use
- vdc str
- The name of VDC to use, optional if defined at provider level
- vm_
id str - vm_
name_ strin_ template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- accept
All BooleanEulas - Automatically accept EULA if OVA has it
- boot
Image String - Media name to add as boot image.
- boot
Image StringId - The URN of the media to use as boot image.
- boot
Options Property Map - A block defining the boot options of a VM
- catalog
Name String - The catalog name in which to find the given vApp Template or media for boot_image
- computer
Name String - Computer name to assign to this virtual machine
- consolidate
Disks BooleanOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- copy
From StringVm Id - Source VM that should be copied from
- 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.
- cpu
Limit Number - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - cpus Number
- The number of virtual CPUs to allocate to the VM
- customization Property Map
- Guest customization block
- description String
- The VM description
- disks List<Property Map>
- expose
Hardware BooleanVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- firmware String
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - guest
Properties Map<String> - Key/value settings for guest properties
- hardware
Version String - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - href String
- VM Hyper Reference
- memory Number
- The amount of RAM (in MB) to allocate to the VM
- memory
Hot BooleanAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- memory
Limit Number - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - metadata Map<String>
- Key value map of metadata to assign to this VM
- metadata
Entries List<Property Map> - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- networks List<Property Map>
- A block to define network interface. Multiple can be used.
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- os
Type String - Operating System type. Possible values can be found in documentation.
- override
Template List<Property Map>Disks - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- placement
Policy StringId - VM placement policy ID. Has to be assigned to Org VDC.
- power
On Boolean - A boolean value stating if this VM should be powered on
- prevent
Update BooleanPower Off - True if the update of resource should fail when virtual machine power off needed.
- List<String>
- Security tags to assign to this VM
- set
Extra List<Property Map>Configs - A block to set extra configuration key-value pairs
- sizing
Policy StringId - VM sizing policy ID. Has to be assigned to Org VDC.
- storage
Profile String - Storage profile to override the default one
- template
Name String - The name of the vApp Template to use
- vapp
Name String - The vApp this VM belongs to - Required, unless it is a standalone VM
- vapp
Template StringId - The URN of the vApp Template to use
- vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Id String - vm
Name StringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
Outputs
All input properties are implicitly available as output properties. Additionally, the Vm resource produces the following output properties:
- Extra
Configs List<VmExtra Config> - A block to retrieve extra configuration key-value pairs
- Id string
- The provider-assigned unique ID for this managed resource.
- Imported bool
- Tells whether this resource has been imported
- Inherited
Metadata Dictionary<string, string> - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- Internal
Disks List<VmInternal Disk> - A block will show internal disk details
- Status double
- Shows the status code of the VM
- Status
Text string - Shows the status of the VM
- Vapp
Id string - ID of parent vApp
- Vm
Type string - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- Extra
Configs []VmExtra Config - A block to retrieve extra configuration key-value pairs
- Id string
- The provider-assigned unique ID for this managed resource.
- Imported bool
- Tells whether this resource has been imported
- Inherited
Metadata map[string]string - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- Internal
Disks []VmInternal Disk Type - A block will show internal disk details
- Status float64
- Shows the status code of the VM
- Status
Text string - Shows the status of the VM
- Vapp
Id string - ID of parent vApp
- Vm
Type string - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- extra
Configs List<VmExtra Config> - A block to retrieve extra configuration key-value pairs
- id String
- The provider-assigned unique ID for this managed resource.
- imported Boolean
- Tells whether this resource has been imported
- inherited
Metadata Map<String,String> - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- internal
Disks List<VmInternal Disk> - A block will show internal disk details
- status Double
- Shows the status code of the VM
- status
Text String - Shows the status of the VM
- vapp
Id String - ID of parent vApp
- vm
Type String - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- extra
Configs VmExtra Config[] - A block to retrieve extra configuration key-value pairs
- id string
- The provider-assigned unique ID for this managed resource.
- imported boolean
- Tells whether this resource has been imported
- inherited
Metadata {[key: string]: string} - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- internal
Disks VmInternal Disk[] - A block will show internal disk details
- status number
- Shows the status code of the VM
- status
Text string - Shows the status of the VM
- vapp
Id string - ID of parent vApp
- vm
Type string - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- extra_
configs Sequence[VmExtra Config] - A block to retrieve extra configuration key-value pairs
- id str
- The provider-assigned unique ID for this managed resource.
- imported bool
- Tells whether this resource has been imported
- inherited_
metadata Mapping[str, str] - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- internal_
disks Sequence[VmInternal Disk] - A block will show internal disk details
- status float
- Shows the status code of the VM
- status_
text str - Shows the status of the VM
- vapp_
id str - ID of parent vApp
- vm_
type str - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- extra
Configs List<Property Map> - A block to retrieve extra configuration key-value pairs
- id String
- The provider-assigned unique ID for this managed resource.
- imported Boolean
- Tells whether this resource has been imported
- inherited
Metadata Map<String> - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- internal
Disks List<Property Map> - A block will show internal disk details
- status Number
- Shows the status code of the VM
- status
Text String - Shows the status of the VM
- vapp
Id String - ID of parent vApp
- vm
Type String - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
Look up Existing Vm Resource
Get an existing Vm 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?: VmState, opts?: CustomResourceOptions): Vm
@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[VmBootOptionsArgs] = 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[VmCustomizationArgs] = None,
description: Optional[str] = None,
disks: Optional[Sequence[VmDiskArgs]] = None,
expose_hardware_virtualization: Optional[bool] = None,
extra_configs: Optional[Sequence[VmExtraConfigArgs]] = 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[VmInternalDiskArgs]] = 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[VmMetadataEntryArgs]] = None,
name: Optional[str] = None,
network_dhcp_wait_seconds: Optional[float] = None,
networks: Optional[Sequence[VmNetworkArgs]] = None,
org: Optional[str] = None,
os_type: Optional[str] = None,
override_template_disks: Optional[Sequence[VmOverrideTemplateDiskArgs]] = 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[VmSetExtraConfigArgs]] = 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,
vdc: Optional[str] = None,
vm_id: Optional[str] = None,
vm_name_in_template: Optional[str] = None,
vm_type: Optional[str] = None) -> Vm
func GetVm(ctx *Context, name string, id IDInput, state *VmState, opts ...ResourceOption) (*Vm, error)
public static Vm Get(string name, Input<string> id, VmState? state, CustomResourceOptions? opts = null)
public static Vm get(String name, Output<String> id, VmState state, CustomResourceOptions options)
resources: _: type: vcd:Vm 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
- Boot
Image string - Media name to add as boot image.
- Boot
Image stringId - The URN of the media to use as boot image.
- Boot
Options VmBoot Options - A block defining the boot options of a VM
- Catalog
Name string - The catalog name in which to find the given vApp Template or media for boot_image
- Computer
Name string - Computer name to assign to this virtual machine
- Consolidate
Disks boolOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- Copy
From stringVm Id - Source VM that should be copied from
- 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.
- Cpu
Limit double - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - Cpus double
- The number of virtual CPUs to allocate to the VM
- Customization
Vm
Customization - Guest customization block
- Description string
- The VM description
- Disks
List<Vm
Disk> - Expose
Hardware boolVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- Extra
Configs List<VmExtra Config> - A block to retrieve extra configuration key-value pairs
- Firmware string
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - Guest
Properties Dictionary<string, string> - Key/value settings for guest properties
- Hardware
Version string - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - Href string
- VM Hyper Reference
- Imported bool
- Tells whether this resource has been imported
- Inherited
Metadata Dictionary<string, string> - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- Internal
Disks List<VmInternal Disk> - A block will show internal disk details
- Memory double
- The amount of RAM (in MB) to allocate to the VM
- Memory
Hot boolAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- Memory
Limit double - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - Metadata Dictionary<string, string>
- Key value map of metadata to assign to this VM
- Metadata
Entries List<VmMetadata Entry> - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- Networks
List<Vm
Network> - A block to define network interface. Multiple can be used.
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- Os
Type string - Operating System type. Possible values can be found in documentation.
- Override
Template List<VmDisks Override Template Disk> - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- Placement
Policy stringId - VM placement policy ID. Has to be assigned to Org VDC.
- Power
On bool - A boolean value stating if this VM should be powered on
- Prevent
Update boolPower Off - True if the update of resource should fail when virtual machine power off needed.
- List<string>
- Security tags to assign to this VM
- Set
Extra List<VmConfigs Set Extra Config> - A block to set extra configuration key-value pairs
- Sizing
Policy stringId - VM sizing policy ID. Has to be assigned to Org VDC.
- Status double
- Shows the status code of the VM
- Status
Text string - Shows the status of the VM
- Storage
Profile string - Storage profile to override the default one
- Template
Name string - The name of the vApp Template to use
- Vapp
Id string - ID of parent vApp
- Vapp
Name string - The vApp this VM belongs to - Required, unless it is a standalone VM
- Vapp
Template stringId - The URN of the vApp Template to use
- Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Id string - Vm
Name stringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- Vm
Type string - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- Accept
All boolEulas - Automatically accept EULA if OVA has it
- Boot
Image string - Media name to add as boot image.
- Boot
Image stringId - The URN of the media to use as boot image.
- Boot
Options VmBoot Options Args - A block defining the boot options of a VM
- Catalog
Name string - The catalog name in which to find the given vApp Template or media for boot_image
- Computer
Name string - Computer name to assign to this virtual machine
- Consolidate
Disks boolOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- Copy
From stringVm Id - Source VM that should be copied from
- 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.
- Cpu
Limit float64 - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - Cpus float64
- The number of virtual CPUs to allocate to the VM
- Customization
Vm
Customization Args - Guest customization block
- Description string
- The VM description
- Disks
[]Vm
Disk Args - Expose
Hardware boolVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- Extra
Configs []VmExtra Config Args - A block to retrieve extra configuration key-value pairs
- Firmware string
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - Guest
Properties map[string]string - Key/value settings for guest properties
- Hardware
Version string - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - Href string
- VM Hyper Reference
- Imported bool
- Tells whether this resource has been imported
- Inherited
Metadata map[string]string - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- Internal
Disks []VmInternal Disk Type Args - A block will show internal disk details
- Memory float64
- The amount of RAM (in MB) to allocate to the VM
- Memory
Hot boolAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- Memory
Limit float64 - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - Metadata map[string]string
- Key value map of metadata to assign to this VM
- Metadata
Entries []VmMetadata Entry Args - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- Networks
[]Vm
Network Args - A block to define network interface. Multiple can be used.
- Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- Os
Type string - Operating System type. Possible values can be found in documentation.
- Override
Template []VmDisks Override Template Disk Args - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- Placement
Policy stringId - VM placement policy ID. Has to be assigned to Org VDC.
- Power
On bool - A boolean value stating if this VM should be powered on
- Prevent
Update boolPower Off - True if the update of resource should fail when virtual machine power off needed.
- []string
- Security tags to assign to this VM
- Set
Extra []VmConfigs Set Extra Config Args - A block to set extra configuration key-value pairs
- Sizing
Policy stringId - VM sizing policy ID. Has to be assigned to Org VDC.
- Status float64
- Shows the status code of the VM
- Status
Text string - Shows the status of the VM
- Storage
Profile string - Storage profile to override the default one
- Template
Name string - The name of the vApp Template to use
- Vapp
Id string - ID of parent vApp
- Vapp
Name string - The vApp this VM belongs to - Required, unless it is a standalone VM
- Vapp
Template stringId - The URN of the vApp Template to use
- Vdc string
- The name of VDC to use, optional if defined at provider level
- Vm
Id string - Vm
Name stringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- Vm
Type string - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- accept
All BooleanEulas - Automatically accept EULA if OVA has it
- boot
Image String - Media name to add as boot image.
- boot
Image StringId - The URN of the media to use as boot image.
- boot
Options VmBoot Options - A block defining the boot options of a VM
- catalog
Name String - The catalog name in which to find the given vApp Template or media for boot_image
- computer
Name String - Computer name to assign to this virtual machine
- consolidate
Disks BooleanOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- copy
From StringVm Id - Source VM that should be copied from
- 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.
- cpu
Limit Double - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - cpus Double
- The number of virtual CPUs to allocate to the VM
- customization
Vm
Customization - Guest customization block
- description String
- The VM description
- disks
List<Vm
Disk> - expose
Hardware BooleanVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- extra
Configs List<VmExtra Config> - A block to retrieve extra configuration key-value pairs
- firmware String
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - guest
Properties Map<String,String> - Key/value settings for guest properties
- hardware
Version String - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - href String
- VM Hyper Reference
- imported Boolean
- Tells whether this resource has been imported
- inherited
Metadata Map<String,String> - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- internal
Disks List<VmInternal Disk> - A block will show internal disk details
- memory Double
- The amount of RAM (in MB) to allocate to the VM
- memory
Hot BooleanAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- memory
Limit Double - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - metadata Map<String,String>
- Key value map of metadata to assign to this VM
- metadata
Entries List<VmMetadata Entry> - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- networks
List<Vm
Network> - A block to define network interface. Multiple can be used.
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- os
Type String - Operating System type. Possible values can be found in documentation.
- override
Template List<VmDisks Override Template Disk> - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- placement
Policy StringId - VM placement policy ID. Has to be assigned to Org VDC.
- power
On Boolean - A boolean value stating if this VM should be powered on
- prevent
Update BooleanPower Off - True if the update of resource should fail when virtual machine power off needed.
- List<String>
- Security tags to assign to this VM
- set
Extra List<VmConfigs Set Extra Config> - A block to set extra configuration key-value pairs
- sizing
Policy StringId - VM sizing policy ID. Has to be assigned to Org VDC.
- status Double
- Shows the status code of the VM
- status
Text String - Shows the status of the VM
- storage
Profile String - Storage profile to override the default one
- template
Name String - The name of the vApp Template to use
- vapp
Id String - ID of parent vApp
- vapp
Name String - The vApp this VM belongs to - Required, unless it is a standalone VM
- vapp
Template StringId - The URN of the vApp Template to use
- vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Id String - vm
Name StringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- vm
Type String - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- accept
All booleanEulas - Automatically accept EULA if OVA has it
- boot
Image string - Media name to add as boot image.
- boot
Image stringId - The URN of the media to use as boot image.
- boot
Options VmBoot Options - A block defining the boot options of a VM
- catalog
Name string - The catalog name in which to find the given vApp Template or media for boot_image
- computer
Name string - Computer name to assign to this virtual machine
- consolidate
Disks booleanOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- copy
From stringVm Id - Source VM that should be copied from
- 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.
- cpu
Limit number - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - cpus number
- The number of virtual CPUs to allocate to the VM
- customization
Vm
Customization - Guest customization block
- description string
- The VM description
- disks
Vm
Disk[] - expose
Hardware booleanVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- extra
Configs VmExtra Config[] - A block to retrieve extra configuration key-value pairs
- firmware string
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - guest
Properties {[key: string]: string} - Key/value settings for guest properties
- hardware
Version string - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - href string
- VM Hyper Reference
- imported boolean
- Tells whether this resource has been imported
- inherited
Metadata {[key: string]: string} - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- internal
Disks VmInternal Disk[] - A block will show internal disk details
- memory number
- The amount of RAM (in MB) to allocate to the VM
- memory
Hot booleanAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- memory
Limit number - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - metadata {[key: string]: string}
- Key value map of metadata to assign to this VM
- metadata
Entries VmMetadata Entry[] - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- networks
Vm
Network[] - A block to define network interface. Multiple can be used.
- org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- os
Type string - Operating System type. Possible values can be found in documentation.
- override
Template VmDisks Override Template Disk[] - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- placement
Policy stringId - VM placement policy ID. Has to be assigned to Org VDC.
- power
On boolean - A boolean value stating if this VM should be powered on
- prevent
Update booleanPower Off - True if the update of resource should fail when virtual machine power off needed.
- string[]
- Security tags to assign to this VM
- set
Extra VmConfigs Set Extra Config[] - A block to set extra configuration key-value pairs
- sizing
Policy stringId - VM sizing policy ID. Has to be assigned to Org VDC.
- status number
- Shows the status code of the VM
- status
Text string - Shows the status of the VM
- storage
Profile string - Storage profile to override the default one
- template
Name string - The name of the vApp Template to use
- vapp
Id string - ID of parent vApp
- vapp
Name string - The vApp this VM belongs to - Required, unless it is a standalone VM
- vapp
Template stringId - The URN of the vApp Template to use
- vdc string
- The name of VDC to use, optional if defined at provider level
- vm
Id string - vm
Name stringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- vm
Type string - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- accept_
all_ booleulas - Automatically accept EULA if OVA has it
- boot_
image str - Media name to add as boot image.
- boot_
image_ strid - The URN of the media to use as boot image.
- boot_
options VmBoot Options Args - A block defining the boot options of a VM
- catalog_
name str - The catalog name in which to find the given vApp Template or media for boot_image
- computer_
name str - Computer name to assign to this virtual machine
- consolidate_
disks_ boolon_ create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- copy_
from_ strvm_ id - Source VM that should be copied from
- 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.
- cpu_
limit float - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - cpus float
- The number of virtual CPUs to allocate to the VM
- customization
Vm
Customization Args - Guest customization block
- description str
- The VM description
- disks
Sequence[Vm
Disk Args] - expose_
hardware_ boolvirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- extra_
configs Sequence[VmExtra Config Args] - A block to retrieve extra configuration key-value pairs
- firmware str
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - guest_
properties Mapping[str, str] - Key/value settings for guest properties
- hardware_
version str - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - href str
- VM Hyper Reference
- imported bool
- Tells whether this resource has been imported
- inherited_
metadata Mapping[str, str] - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- internal_
disks Sequence[VmInternal Disk Args] - A block will show internal disk details
- memory float
- The amount of RAM (in MB) to allocate to the VM
- memory_
hot_ booladd_ enabled - True if the virtual machine supports addition of memory while powered on.
- memory_
limit float - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - metadata Mapping[str, str]
- Key value map of metadata to assign to this VM
- metadata_
entries Sequence[VmMetadata Entry Args] - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- networks
Sequence[Vm
Network Args] - A block to define network interface. Multiple can be used.
- org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- os_
type str - Operating System type. Possible values can be found in documentation.
- override_
template_ Sequence[Vmdisks Override Template Disk Args] - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- placement_
policy_ strid - VM placement policy ID. Has to be assigned to Org VDC.
- power_
on bool - A boolean value stating if this VM should be powered on
- prevent_
update_ boolpower_ off - True if the update of resource should fail when virtual machine power off needed.
- Sequence[str]
- Security tags to assign to this VM
- set_
extra_ Sequence[Vmconfigs Set Extra Config Args] - A block to set extra configuration key-value pairs
- sizing_
policy_ strid - VM sizing policy ID. Has to be assigned to Org VDC.
- status float
- Shows the status code of the VM
- status_
text str - Shows the status of the VM
- storage_
profile str - Storage profile to override the default one
- template_
name str - The name of the vApp Template to use
- vapp_
id str - ID of parent vApp
- vapp_
name str - The vApp this VM belongs to - Required, unless it is a standalone VM
- vapp_
template_ strid - The URN of the vApp Template to use
- vdc str
- The name of VDC to use, optional if defined at provider level
- vm_
id str - vm_
name_ strin_ template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- vm_
type str - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
- accept
All BooleanEulas - Automatically accept EULA if OVA has it
- boot
Image String - Media name to add as boot image.
- boot
Image StringId - The URN of the media to use as boot image.
- boot
Options Property Map - A block defining the boot options of a VM
- catalog
Name String - The catalog name in which to find the given vApp Template or media for boot_image
- computer
Name String - Computer name to assign to this virtual machine
- consolidate
Disks BooleanOn Create - Consolidates disks during creation and allows to change disk size using 'override_template_disk' in fast provisioned VDCs
- copy
From StringVm Id - Source VM that should be copied from
- 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.
- cpu
Limit Number - The limit for how much of CPU can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
cpu_priority
is CUSTOM - cpus Number
- The number of virtual CPUs to allocate to the VM
- customization Property Map
- Guest customization block
- description String
- The VM description
- disks List<Property Map>
- expose
Hardware BooleanVirtualization - Expose hardware-assisted CPU virtualization to guest OS.
- extra
Configs List<Property Map> - A block to retrieve extra configuration key-value pairs
- firmware String
- Firmware of the VM. Can be either EFI or BIOS, availabilitydepending on the os_type argument. If unset, is set to 'bios'
by default. Changing the value when
power_on
is set to true, will cause a reboot of the VM. - guest
Properties Map<String> - Key/value settings for guest properties
- hardware
Version String - Virtual Hardware Version (e.g.
vmx-14
,vmx-13
,vmx-12
, etc.) - href String
- VM Hyper Reference
- imported Boolean
- Tells whether this resource has been imported
- inherited
Metadata Map<String> - A map that contains metadata that is automatically added by VCD (10.5.1+) and provides details on the origin of the VM
- internal
Disks List<Property Map> - A block will show internal disk details
- memory Number
- The amount of RAM (in MB) to allocate to the VM
- memory
Hot BooleanAdd Enabled - True if the virtual machine supports addition of memory while powered on.
- memory
Limit Number - The limit for how much of memory can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not 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. This is a read-only, unless the
memory_priority
is CUSTOM - metadata Map<String>
- Key value map of metadata to assign to this VM
- metadata
Entries List<Property Map> - Metadata entries for the given VM
- 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 (valid for 'network' block only)
- networks List<Property Map>
- A block to define network interface. Multiple can be used.
- org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
- os
Type String - Operating System type. Possible values can be found in documentation.
- override
Template List<Property Map>Disks - A block to match internal_disk interface in template. Multiple can be used. Disk will be matched by bus_type, bus_number and unit_number.
- placement
Policy StringId - VM placement policy ID. Has to be assigned to Org VDC.
- power
On Boolean - A boolean value stating if this VM should be powered on
- prevent
Update BooleanPower Off - True if the update of resource should fail when virtual machine power off needed.
- List<String>
- Security tags to assign to this VM
- set
Extra List<Property Map>Configs - A block to set extra configuration key-value pairs
- sizing
Policy StringId - VM sizing policy ID. Has to be assigned to Org VDC.
- status Number
- Shows the status code of the VM
- status
Text String - Shows the status of the VM
- storage
Profile String - Storage profile to override the default one
- template
Name String - The name of the vApp Template to use
- vapp
Id String - ID of parent vApp
- vapp
Name String - The vApp this VM belongs to - Required, unless it is a standalone VM
- vapp
Template StringId - The URN of the vApp Template to use
- vdc String
- The name of VDC to use, optional if defined at provider level
- vm
Id String - vm
Name StringIn Template - The name of the VM in vApp Template to use. In cases when vApp template has more than one VM
- vm
Type String - Type of VM: either 'vcd_vapp_vm' or 'vcd_vm'
Supporting Types
VmBootOptions, VmBootOptionsArgs
- 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
VmCustomization, VmCustomizationArgs
- 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.
VmDisk, VmDiskArgs
- Bus
Number string - Bus number on which to place the disk controller
- Name string
- Independent disk name
- Unit
Number string - Unit number (slot) on the bus specified by BusNumber
- Size
In doubleMb - The size of the disk in MB.
- Bus
Number string - Bus number on which to place the disk controller
- Name string
- Independent disk name
- Unit
Number string - Unit number (slot) on the bus specified by BusNumber
- Size
In float64Mb - The size of the disk in MB.
- bus
Number String - Bus number on which to place the disk controller
- name String
- Independent disk name
- unit
Number String - Unit number (slot) on the bus specified by BusNumber
- size
In DoubleMb - The size of the disk in MB.
- bus
Number string - Bus number on which to place the disk controller
- name string
- Independent disk name
- unit
Number string - Unit number (slot) on the bus specified by BusNumber
- size
In numberMb - The size of the disk in MB.
- bus_
number str - Bus number on which to place the disk controller
- name str
- Independent disk name
- unit_
number str - Unit number (slot) on the bus specified by BusNumber
- size_
in_ floatmb - The size of the disk in MB.
- bus
Number String - Bus number on which to place the disk controller
- name String
- Independent disk name
- unit
Number String - Unit number (slot) on the bus specified by BusNumber
- size
In NumberMb - The size of the disk in MB.
VmExtraConfig, VmExtraConfigArgs
VmInternalDisk, VmInternalDiskArgs
- Bus
Number double - Bus
Type string - Disk
Id string - Iops double
- Size
In doubleMb - Storage
Profile string - Thin
Provisioned bool - Unit
Number double
- Bus
Number float64 - Bus
Type string - Disk
Id string - Iops float64
- Size
In float64Mb - Storage
Profile string - Thin
Provisioned bool - Unit
Number float64
- bus
Number Double - bus
Type String - disk
Id String - iops Double
- size
In DoubleMb - storage
Profile String - thin
Provisioned Boolean - unit
Number Double
- bus
Number number - bus
Type string - disk
Id string - iops number
- size
In numberMb - storage
Profile string - thin
Provisioned boolean - unit
Number number
- bus_
number float - bus_
type str - disk_
id str - iops float
- size_
in_ floatmb - storage_
profile str - thin_
provisioned bool - unit_
number float
- bus
Number Number - bus
Type String - disk
Id String - iops Number
- size
In NumberMb - storage
Profile String - thin
Provisioned Boolean - unit
Number Number
VmMetadataEntry, VmMetadataEntryArgs
- 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
VmNetwork, VmNetworkArgs
- 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
- Name of the network this VM should connect to. Always required except for
type
NONE
- 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
- Name of the network this VM should connect to. Always required except for
type
NONE
- 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
- Name of the network this VM should connect to. Always required except for
type
NONE
- 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
- Name of the network this VM should connect to. Always required except for
type
NONE
- 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
- Name of the network this VM should connect to. Always required except for
type
NONE
- 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
- Name of the network this VM should connect to. Always required except for
type
NONE
- 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
VmOverrideTemplateDisk, VmOverrideTemplateDiskArgs
- 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 VM 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 VM 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 VM 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 VM 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 VM 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 VM default one
VmSetExtraConfig, VmSetExtraConfigArgs
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.