Condividi tramite


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

Definition

Explicitly defines all the subnets in the virtual network based on the provided map. This replaces any previously existing subnets.

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

Parameters

nameCidrPairs
IDictionary<String,String>

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

Returns

Applies to