Condividi tramite


IWithSecondaryNetworkInterface.WithNewSecondaryNetworkInterface Method

Definition

Creates a new network interface to associate 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 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.Update.IUpdate
Public Function WithNewSecondaryNetworkInterface (creatable As ICreatable(Of INetworkInterface)) As IUpdate

Parameters

creatable
ICreatable<INetworkInterface>

A creatable definition for a new network interface.

Returns

Applies to