다음을 통해 공유


SubnetsOperationsExtensions.List(ISubnetsOperations, String, String) Method

Definition

Gets all subnets in a virtual network.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.Subnet> List (this Microsoft.Azure.Management.Network.ISubnetsOperations operations, string resourceGroupName, string virtualNetworkName);
static member List : Microsoft.Azure.Management.Network.ISubnetsOperations * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.Subnet>
<Extension()>
Public Function List (operations As ISubnetsOperations, resourceGroupName As String, virtualNetworkName As String) As IPage(Of Subnet)

Parameters

operations
ISubnetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkName
String

The name of the virtual network.

Returns

Applies to