Share via


IWithSecondaryNetworkInterface.WithNewSecondaryNetworkInterface Method

Definition

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.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithNewSecondaryNetworkInterface (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetworkInterface> creatable);
abstract member WithNewSecondaryNetworkInterface : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetworkInterface> -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithNewSecondaryNetworkInterface (creatable As ICreatable(Of INetworkInterface)) As IWithCreate

Parameters

creatable
ICreatable<INetworkInterface>

A creatable definition for a new network interface.

Returns

Applies to