Delen via


ResourceGroupsOperationsExtensions.ListResourcesAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.Resources.Models.GenericResource>> ListResourcesAsync (this Microsoft.Azure.Management.Internal.Resources.IResourceGroupsOperations operations, string resourceGroupName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Internal.Resources.Models.GenericResourceFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListResourcesAsync : Microsoft.Azure.Management.Internal.Resources.IResourceGroupsOperations * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Internal.Resources.Models.GenericResourceFilter> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.Resources.Models.GenericResource>>
<Extension()>
Public Function ListResourcesAsync (operations As IResourceGroupsOperations, resourceGroupName As String, Optional odataQuery As ODataQuery(Of GenericResourceFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of GenericResource))

Parameters

resourceGroupName
String
cancellationToken
CancellationToken

Returns

Applies to