ProvidersOperationsExtensions.ListAsync(IProvidersOperations, Nullable<Int32>, String, CancellationToken) Method

Definition

Gets a list of resource providers.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Fluent.Models.ProviderInner>> ListAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IProvidersOperations operations, Nullable<int> top = null, string expand = null, System.Threading.CancellationToken cancellationToken = null);
static member ListAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IProvidersOperations * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Fluent.Models.ProviderInner>>

Parameters

operations
IProvidersOperations

The operations group for this extension method.

top
Nullable<Int32>

Query parameters. If null is passed returns all deployments.

expand
String

The $expand query parameter. e.g. To include property aliases in response, use $expand=resourceTypes/aliases.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.IPage<ProviderInner>>

Applies to