IWithNetwork Interface
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.
The stage of the virtual network gateway definition allowing to specify the virtual network.
public interface IWithNetwork
type IWithNetwork = interface
Public Interface IWithNetwork
- Derived
Methods
WithExistingNetwork(INetwork) |
Associate an existing virtual network with the virtual network gateway . |
WithNewNetwork(ICreatable<INetwork>) |
Create a new virtual network to associate with the virtual network gateway, based on the provided definition. |
WithNewNetwork(String, String, String) |
Creates a new virtual network to associate with the virtual network gateway. the virtual network will be created in the same resource group and region as of parent virtual network gateway, it will be created with the specified address space and a subnet for virtual network gateway. |
WithNewNetwork(String, String) |
Creates a new virtual network to associate with the virtual network gateway. the virtual network will be created in the same resource group and region as of parent virtual network gateway, it will be created with the specified address space and a default subnet for virtual network gateway. |
Applies to
Azure SDK for .NET