Module types/input
APIs
- DistributedPortGroupVlanRange
- DistributedVirtualSwitchHost
- DistributedVirtualSwitchVlanRange
- HostPortGroupPorts
- VirtualMachineCdrom
- VirtualMachineClone
- VirtualMachineCloneCustomize
- VirtualMachineCloneCustomizeLinuxOptions
- VirtualMachineCloneCustomizeNetworkInterface
- VirtualMachineCloneCustomizeWindowsOptions
- VirtualMachineDisk
- VirtualMachineNetworkInterface
- VirtualMachineOvfDeploy
- VirtualMachineVapp
- VnicIpv4
- VnicIpv6
APIs
interface DistributedPortGroupVlanRange
interface DistributedPortGroupVlanRangeproperty maxVlan
maxVlan: pulumi.Input<number>;property minVlan
minVlan: pulumi.Input<number>;interface DistributedVirtualSwitchHost
interface DistributedVirtualSwitchHostproperty devices
devices: pulumi.Input<pulumi.Input<string>[]>;The list of NIC devices to map to uplinks on the DVS, added in order they are specified.
property hostSystemId
hostSystemId: pulumi.Input<string>;The host system ID of the host to add to the DVS.
interface DistributedVirtualSwitchVlanRange
interface DistributedVirtualSwitchVlanRangeproperty maxVlan
maxVlan: pulumi.Input<number>;property minVlan
minVlan: pulumi.Input<number>;interface HostPortGroupPorts
interface HostPortGroupPortsproperty key
key?: pulumi.Input<string>;The key for this port group as returned from the vSphere API.
property macAddresses
macAddresses?: pulumi.Input<pulumi.Input<string>[]>;property type
type?: pulumi.Input<string>;interface VirtualMachineCdrom
interface VirtualMachineCdromproperty clientDevice
clientDevice?: pulumi.Input<boolean>;Indicates whether the device should be backed by
remote client device. Conflicts with datastoreId and path.
property datastoreId
datastoreId?: pulumi.Input<string>;The datastore ID that the ISO is located in.
Requried for using a datastore ISO. Conflicts with clientDevice.
property deviceAddress
deviceAddress?: pulumi.Input<string>;An address internal to this provider that helps locate the
device when key is unavailable. This follows a convention of
CONTROLLER_TYPE:BUS_NUMBER:UNIT_NUMBER. Example: scsi:0:1 means device
unit 1 on SCSI bus 0.
property key
key?: pulumi.Input<number>;The ID of the device within the virtual machine.
property path
path?: pulumi.Input<string>;The path to the ISO file. Required for using a datastore
ISO. Conflicts with clientDevice.
interface VirtualMachineClone
interface VirtualMachineCloneproperty customize
customize?: pulumi.Input<VirtualMachineCloneCustomize>;property linkedClone
linkedClone?: pulumi.Input<boolean>;property ovfNetworkMap
ovfNetworkMap?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;property ovfStorageMap
ovfStorageMap?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;property templateUuid
templateUuid: pulumi.Input<string>;property timeout
timeout?: pulumi.Input<number>;interface VirtualMachineCloneCustomize
interface VirtualMachineCloneCustomizeproperty dnsServerLists
dnsServerLists?: pulumi.Input<pulumi.Input<string>[]>;property dnsSuffixLists
dnsSuffixLists?: pulumi.Input<pulumi.Input<string>[]>;property ipv4Gateway
ipv4Gateway?: pulumi.Input<string>;property ipv6Gateway
ipv6Gateway?: pulumi.Input<string>;property linuxOptions
linuxOptions?: pulumi.Input<VirtualMachineCloneCustomizeLinuxOptions>;property networkInterfaces
networkInterfaces?: pulumi.Input<pulumi.Input<VirtualMachineCloneCustomizeNetworkInterface>[]>;A specification for a virtual NIC on this virtual machine. See network interface options below.
property timeout
timeout?: pulumi.Input<number>;property windowsOptions
windowsOptions?: pulumi.Input<VirtualMachineCloneCustomizeWindowsOptions>;property windowsSysprepText
windowsSysprepText?: pulumi.Input<string>;interface VirtualMachineCloneCustomizeLinuxOptions
interface VirtualMachineCloneCustomizeLinuxOptionsproperty domain
domain: pulumi.Input<string>;property hostName
hostName: pulumi.Input<string>;property hwClockUtc
hwClockUtc?: pulumi.Input<boolean>;property timeZone
timeZone?: pulumi.Input<string>;interface VirtualMachineCloneCustomizeNetworkInterface
interface VirtualMachineCloneCustomizeNetworkInterfaceproperty dnsDomain
dnsDomain?: pulumi.Input<string>;property dnsServerLists
dnsServerLists?: pulumi.Input<pulumi.Input<string>[]>;property ipv4Address
ipv4Address?: pulumi.Input<string>;property ipv4Netmask
ipv4Netmask?: pulumi.Input<number>;property ipv6Address
ipv6Address?: pulumi.Input<string>;property ipv6Netmask
ipv6Netmask?: pulumi.Input<number>;interface VirtualMachineCloneCustomizeWindowsOptions
interface VirtualMachineCloneCustomizeWindowsOptionsproperty adminPassword
adminPassword?: pulumi.Input<string>;property autoLogon
autoLogon?: pulumi.Input<boolean>;property autoLogonCount
autoLogonCount?: pulumi.Input<number>;property computerName
computerName: pulumi.Input<string>;property domainAdminPassword
domainAdminPassword?: pulumi.Input<string>;property domainAdminUser
domainAdminUser?: pulumi.Input<string>;property fullName
fullName?: pulumi.Input<string>;property joinDomain
joinDomain?: pulumi.Input<string>;property organizationName
organizationName?: pulumi.Input<string>;property productKey
productKey?: pulumi.Input<string>;property runOnceCommandLists
runOnceCommandLists?: pulumi.Input<pulumi.Input<string>[]>;property timeZone
timeZone?: pulumi.Input<number>;property workgroup
workgroup?: pulumi.Input<string>;interface VirtualMachineDisk
interface VirtualMachineDiskproperty attach
attach?: pulumi.Input<boolean>;Attach an external disk instead of creating a new one.
Implies and conflicts with keepOnRemove. If set, you cannot set size,
eagerlyScrub, or thinProvisioned. Must set path if used.
property datastoreId
datastoreId?: pulumi.Input<string>;The datastore ID that the ISO is located in.
Requried for using a datastore ISO. Conflicts with clientDevice.
property deviceAddress
deviceAddress?: pulumi.Input<string>;An address internal to this provider that helps locate the
device when key is unavailable. This follows a convention of
CONTROLLER_TYPE:BUS_NUMBER:UNIT_NUMBER. Example: scsi:0:1 means device
unit 1 on SCSI bus 0.
property diskMode
diskMode?: pulumi.Input<string>;The mode of this this virtual disk for purposes of
writes and snapshotting. Can be one of append, independentNonpersistent,
independentPersistent, nonpersistent, persistent, or undoable.
Default: persistent. For an explanation of options, click
[here][vmware-docs-disk-mode].
property diskSharing
diskSharing?: pulumi.Input<string>;The sharing mode of this virtual disk. Can be one
of sharingMultiWriter or sharingNone. Default: sharingNone.
property eagerlyScrub
eagerlyScrub?: pulumi.Input<boolean>;If set to true, the disk space is zeroed out
on VM creation. This will delay the creation of the disk or virtual machine.
Cannot be set to true when thinProvisioned is true. See the section
on picking a disk type. Default: false.
property ioLimit
ioLimit?: pulumi.Input<number>;The upper limit of IOPS that this disk can use. The default is no limit.
property ioReservation
ioReservation?: pulumi.Input<number>;The I/O reservation (guarantee) that this disk has, in IOPS. The default is no reservation.
property ioShareCount
ioShareCount?: pulumi.Input<number>;The share count for this disk when the share
level is custom.
property ioShareLevel
ioShareLevel?: pulumi.Input<string>;The share allocation level for this disk. Can
be one of low, normal, high, or custom. Default: normal.
property keepOnRemove
keepOnRemove?: pulumi.Input<boolean>;Keep this disk when removing the device or
destroying the virtual machine. Default: false.
property key
key?: pulumi.Input<number>;The ID of the device within the virtual machine.
property label
label?: pulumi.Input<string>;A label for the disk. Forces a new disk if changed.
property name
name?: pulumi.Input<string>;An alias for both label and path, the latter when
using attach. Required if not using label.
property path
path?: pulumi.Input<string>;The path to the ISO file. Required for using a datastore
ISO. Conflicts with clientDevice.
property size
size?: pulumi.Input<number>;The size of the disk, in GB.
property storagePolicyId
storagePolicyId?: pulumi.Input<string>;The UUID of the storage policy to assign to this disk.
property thinProvisioned
thinProvisioned?: pulumi.Input<boolean>;If true, this disk is thin provisioned,
with space for the file being allocated on an as-needed basis. Cannot be set
to true when eagerlyScrub is true. See the section on picking a disk
type. Default: true.
property unitNumber
unitNumber?: pulumi.Input<number>;The disk number on the SCSI bus. The maximum value
for this setting is the value of
scsiControllerCount times 15, minus 1 (so 14,
29, 44, and 59, for 1-4 controllers respectively). The default is 0,
for which one disk must be set to. Duplicate unit numbers are not allowed.
property uuid
uuid?: pulumi.Input<string>;The UUID of the virtual disk’s VMDK file. This is used to track the virtual disk on the virtual machine.
property writeThrough
writeThrough?: pulumi.Input<boolean>;If true, writes for this disk are sent
directly to the filesystem immediately instead of being buffered. Default:
false.
interface VirtualMachineNetworkInterface
interface VirtualMachineNetworkInterfaceproperty adapterType
adapterType?: pulumi.Input<string>;The network interface type. Can be one of
e1000, e1000e, or vmxnet3. Default: vmxnet3.
property bandwidthLimit
bandwidthLimit?: pulumi.Input<number>;The upper bandwidth limit of this network interface, in Mbits/sec. The default is no limit.
property bandwidthReservation
bandwidthReservation?: pulumi.Input<number>;The bandwidth reservation of this network interface, in Mbits/sec. The default is no reservation.
property bandwidthShareCount
bandwidthShareCount?: pulumi.Input<number>;The share count for this network
interface when the share level is custom.
property bandwidthShareLevel
bandwidthShareLevel?: pulumi.Input<string>;The bandwidth share allocation level for
this interface. Can be one of low, normal, high, or custom. Default:
normal.
property deviceAddress
deviceAddress?: pulumi.Input<string>;An address internal to this provider that helps locate the
device when key is unavailable. This follows a convention of
CONTROLLER_TYPE:BUS_NUMBER:UNIT_NUMBER. Example: scsi:0:1 means device
unit 1 on SCSI bus 0.
property key
key?: pulumi.Input<number>;The ID of the device within the virtual machine.
property macAddress
macAddress?: pulumi.Input<string>;The MAC address of this network interface. Can
only be manually set if useStaticMac is true, otherwise this is a
computed value that gives the current MAC address of this interface.
property networkId
networkId: pulumi.Input<string>;The managed object reference ID of the network to connect this interface to.
property ovfMapping
ovfMapping?: pulumi.Input<string>;Specifies which OVF NIC the networkInterface
should be associated with. Only applies at creation and only when deploying
from an OVF source.
property useStaticMac
useStaticMac?: pulumi.Input<boolean>;If true, the macAddress field is treated as
a static MAC address and set accordingly. Setting this to true requires
macAddress to be set. Default: false.
interface VirtualMachineOvfDeploy
interface VirtualMachineOvfDeployproperty diskProvisioning
diskProvisioning?: pulumi.Input<string>;property ipAllocationPolicy
ipAllocationPolicy?: pulumi.Input<string>;property ipProtocol
ipProtocol?: pulumi.Input<string>;property localOvfPath
localOvfPath?: pulumi.Input<string>;property ovfNetworkMap
ovfNetworkMap?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;property remoteOvfUrl
remoteOvfUrl?: pulumi.Input<string>;interface VirtualMachineVapp
interface VirtualMachineVappproperty properties
properties?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;interface VnicIpv4
interface VnicIpv4property dhcp
dhcp?: pulumi.Input<boolean>;Use DHCP to configure the interface’s IPv4 stack.
property gw
gw?: pulumi.Input<string>;IP address of the default gateway, if DHCP or autoconfig is not set.
property ip
ip?: pulumi.Input<string>;Address of the interface, if DHCP is not set.
property netmask
netmask?: pulumi.Input<string>;Netmask of the interface, if DHCP is not set.
interface VnicIpv6
interface VnicIpv6property addresses
addresses?: pulumi.Input<pulumi.Input<string>[]>;List of IPv6 addresses
property autoconfig
autoconfig?: pulumi.Input<boolean>;Use IPv6 Autoconfiguration (RFC2462).
property dhcp
dhcp?: pulumi.Input<boolean>;Use DHCP to configure the interface’s IPv4 stack.
property gw
gw?: pulumi.Input<string>;IP address of the default gateway, if DHCP or autoconfig is not set.