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.Definition.IWithCreate WithExistingSecondaryNetworkInterface (Microsoft.Azure.Management.Network.Fluent.INetworkInterface networkInterface);
abstract member WithExistingSecondaryNetworkInterface : Microsoft.Azure.Management.Network.Fluent.INetworkInterface -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithExistingSecondaryNetworkInterface (networkInterface As INetworkInterface) As IWithCreate

Parameters

networkInterface
INetworkInterface

An existing network interface.

Returns

Applies to