IWithNetwork.WithExistingPrimaryNetwork(INetwork) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Associates an existing virtual network with the virtual machine's primary network interface.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithSubnet WithExistingPrimaryNetwork (Microsoft.Azure.Management.Network.Fluent.INetwork network);
abstract member WithExistingPrimaryNetwork : Microsoft.Azure.Management.Network.Fluent.INetwork -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithSubnet
Public Function WithExistingPrimaryNetwork (network As INetwork) As IWithSubnet
Parameters
- network
- INetwork
An existing virtual network.