NetworkInterfacesOperationsExtensions.ListAsync(INetworkInterfacesOperations, String, CancellationToken) Method

Definition

Gets all network interfaces in a resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.NetworkInterface>> ListAsync (this Microsoft.Azure.Management.Network.INetworkInterfacesOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = null);
static member ListAsync : Microsoft.Azure.Management.Network.INetworkInterfacesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.NetworkInterface>>

Parameters

operations
INetworkInterfacesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<NetworkInterface>>

Applies to