Dela via


IWithSecondaryNetworkInterface Interface

Definition

The stage of a virtual machine definition allowing to specify additional network interfaces.

public interface IWithSecondaryNetworkInterface
type IWithSecondaryNetworkInterface = interface
Public Interface IWithSecondaryNetworkInterface
Derived

Methods

WithExistingSecondaryNetworkInterface(INetworkInterface)

Associates an existing network interface with the virtual machine. Note this method's effect is additive, i.e. each time it is used, the new secondary network interface added to the virtual machine.

WithNewSecondaryNetworkInterface(ICreatable<INetworkInterface>)

Creates a new network interface to associate with the virtual machine, based on the provided definition. Note this method's effect is additive, i.e. each time it is used, a new secondary network interface added to the virtual machine.

Applies to