共用方式為


IWithSubnet.WithSubnet(String, String) Method

Definition

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