7.3

Table Of Contents
Table 144. Custom Properties V Table (Continued)
Property Description
VirtualMachine.NetworkN.Name
Specifies the name of the network to connect to, for example the
network device N to which a machine is attached. This is
equivalent to a network interface card (NIC).
By default, a network is assigned from the network paths
available on the reservation on which the machine is provisioned.
Also see VirtualMachine.NetworkN.AddressType and
VirtualMachine.NetworkN.ProfileName.
You can ensure that a network device is connected to a specific
network by setting the value of this property to the name of a
network on an available reservation. For example, if you give
properties for N= 0 and 1, you get 2 NICs and their assigned
value, provided the network is selected in the associated
reservation.
VirtualMachine.NetworkN custom properties are specific to
blueprints and machines. When a machine is requested, network
and IP address allocation is performed before the machine is
assigned to a reservation. Because blueprints are not guaranteed
to be allocated to a specific reservation, do not use this property
on a reservation. This property is not supported for on-demand
NAT or on-demand routed networks.
For an example of how to use this custom property to
dynamically set VirtualMachine.Network0.Name based on a
consumer's selection from a list of predefined available networks,
see the Adding a Network Selection Drop-Down in vRA 7 blog
post.
VirtualMachine.NetworkN.PortID
Specifies the port ID to use for network device N when using a
dvPort group with a vSphere distributed switch.
VirtualMachine.NetworkN custom properties are specific to
individual blueprints and machines. When a machine is
requested, network and IP address allocation is performed before
the machine is assigned to a reservation. Because blueprints are
not guaranteed to be allocated to a specific reservation, do not
use this property on a reservation. This property is not supported
for on-demand NAT or on-demand routed networks.
Custom Properties Reference
VMware, Inc. 88