Delen via


IWithPrimaryNetwork Interface

Definition

The stage of the network interface definition allowing to specify the virtual network for primary IP configuration.

public interface IWithPrimaryNetwork
type IWithPrimaryNetwork = interface
Public Interface IWithPrimaryNetwork
Derived

Methods

WithExistingPrimaryNetwork(INetwork)

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

WithNewPrimaryNetwork(ICreatable<INetwork>)

Create a new virtual network to associate with the network interface's primary IP configuration, based on the provided definition.

WithNewPrimaryNetwork(String, String)

Creates a new virtual network to associate with the network interface's primary IP configuration. The virtual network will be created in the same resource group and region as of network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.

WithNewPrimaryNetwork(String)

Creates a new virtual network to associate with the network interface's primary IP configuration. The virtual network will be created in the same resource group and region as of network interface, it will be created with the specified address space and a default subnet covering the entirety of the network IP address space.

Applies to