Udostępnij za pośrednictwem


IWithPrimaryNetworkInterface Interface

Definition

The stage of a virtual machine definition allowing to specify the primary network interface.

public interface IWithPrimaryNetworkInterface
type IWithPrimaryNetworkInterface = interface
Public Interface IWithPrimaryNetworkInterface
Derived

Methods

WithExistingPrimaryNetworkInterface(INetworkInterface)

Associates an existing network interface with the virtual machine as its primary network interface.

WithNewPrimaryNetworkInterface(ICreatable<INetworkInterface>)

Creates a new network interface to associate with the virtual machine as its primary network interface, based on the provided definition.

Applies to