IWithSubnet.WithSubnet(String, String) 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.
Explicitly adds a subnet to the virtual network. Note this method's effect is additive, i.e. each time it is used, a new subnet is added to the network.
public Microsoft.Azure.Management.Network.Fluent.Network.Update.IUpdate WithSubnet (string name, string cidr);
abstract member WithSubnet : string * string -> Microsoft.Azure.Management.Network.Fluent.Network.Update.IUpdate
Public Function WithSubnet (name As String, cidr As String) As IUpdate
Parameters
- name
- String
The name to assign to the subnet.
- cidr
- String
The address space of the subnet, within the address space of the network, using the CIDR notation.
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