VirtualMachine.DefinitionStages.WithPrimaryNetworkInterface 接口

定义

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

public interface WithPrimaryNetworkInterface

方法

withExistingPrimaryNetworkInterface(NetworkInterface networkInterface)

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

withNewPrimaryNetworkInterface(Creatable<NetworkInterface> creatable)

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

适用于