Udostępnij za pośrednictwem


IWithPrimaryNetworkInterface.WithNewPrimaryNetworkInterface Method

Definition

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

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

Parameters

creatable
ICreatable<INetworkInterface>

A creatable definition for a new network interface.

Returns

Applies to