IWithPrimaryNetwork.WithExistingPrimaryNetwork(INetwork) Method

Definition

Associate an existing virtual network with the network interface's primary IP configuration.

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryNetworkSubnet WithExistingPrimaryNetwork (Microsoft.Azure.Management.Network.Fluent.INetwork network);
abstract member WithExistingPrimaryNetwork : Microsoft.Azure.Management.Network.Fluent.INetwork -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithPrimaryNetworkSubnet
Public Function WithExistingPrimaryNetwork (network As INetwork) As IWithPrimaryNetworkSubnet

Parameters

network
INetwork

An existing virtual network.

Returns

IWithPrimaryNetworkSubnet

Applies to