共用方式為


IWithSubnet.WithSubnets(IDictionary<String,String>) Method

Definition

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

public Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithCreateAndSubnet WithSubnets (System.Collections.Generic.IDictionary<string,string> nameCidrPairs);
abstract member WithSubnets : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Network.Fluent.Network.Definition.IWithCreateAndSubnet
Public Function WithSubnets (nameCidrPairs As IDictionary(Of String, String)) As IWithCreateAndSubnet

Parameters

nameCidrPairs
IDictionary<String,String>

A Map of CIDR addresses for the subnets, indexed by the name of each subnet to be defined.

Returns

Applies to