IWithSubnet Interface

Definition

The stage of the virtual network definition allowing to add subnets.

public interface IWithSubnet
type IWithSubnet = interface
Public Interface IWithSubnet
Derived

Methods

DefineSubnet(String)

Begins the definition of a new subnet to add to the virtual network. The definition must be completed with a call to Subnet.DefinitionStages.WithAttach.attach().

WithSubnet(String, String)

Explicitly adds a subnet to the virtual network. If no subnets are explicitly specified, a default subnet called "subnet1" covering the entire first address space will be created. Note this method's effect is additive, i.e. each time it is used, a new subnet is added to the network.

WithSubnets(IDictionary<String,String>)

Explicitly defines subnets in the virtual network based on the provided map.

Applies to