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.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET