VirtualNetworkResource.GetSubnets Method

Definition

Gets a collection of SubnetResources in the VirtualNetwork.

public virtual Azure.ResourceManager.Network.SubnetCollection GetSubnets ();
abstract member GetSubnets : unit -> Azure.ResourceManager.Network.SubnetCollection
override this.GetSubnets : unit -> Azure.ResourceManager.Network.SubnetCollection
Public Overridable Function GetSubnets () As SubnetCollection

Returns

An object representing collection of SubnetResources and their operations over a SubnetResource.

Applies to