ResourceGroupsOperationsExtensions.ListResourcesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operations
- IResourceGroupsOperations
- resourceGroupName
- String
- odataQuery
- ODataQuery<GenericResourceFilter>
- cancellationToken
- CancellationToken