共用方式為


ProvidersOperationsExtensions.ListAsync Method

Definition

Gets all resource providers for a subscription.

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, int? top = default, string expand = default, System.Threading.CancellationToken cancellationToken = default);
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>>
<Extension()>
Public Function ListAsync (operations As IProvidersOperations, Optional top As Nullable(Of Integer) = Nothing, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ProviderInner))

Parameters

operations
IProvidersOperations

The operations group for this extension method.

top
Nullable<Int32>

The number of results to return. If null is passed returns all deployments.

expand
String

The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to