Share via


IWithSecondaryNetworkInterface.WithExistingSecondaryNetworkInterface Method

Definition

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.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate WithExistingSecondaryNetworkInterface (Microsoft.Azure.Management.Network.Fluent.INetworkInterface networkInterface);
abstract member WithExistingSecondaryNetworkInterface : Microsoft.Azure.Management.Network.Fluent.INetworkInterface -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Update.IUpdate
Public Function WithExistingSecondaryNetworkInterface (networkInterface As INetworkInterface) As IUpdate

Parameters

networkInterface
INetworkInterface

An existing network interface.

Returns

Applies to