共用方式為


IWithNetwork<ParentT> Interface

Definition

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

public interface IWithNetwork<ParentT>
type IWithNetwork<'ParentT> = interface
Public Interface IWithNetwork(Of ParentT)

Type Parameters

ParentT

The stage of the parent network interface update to return to after attaching this definition.

Derived

Methods

WithExistingNetwork(INetwork)

Associate an existing virtual network with the network interface IP configuration.

WithNewNetwork(ICreatable<INetwork>)

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

WithNewNetwork(String, String)

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

WithNewNetwork(String)

Creates a new virtual network to associate with the network interface IP configuration. the virtual network will be created in the same resource group and region as of parent 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