共用方式為


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.Models.Provider>> ListAsync (this Microsoft.Azure.Management.ResourceManager.IProvidersOperations operations, int? top = default, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ResourceManager.IProvidersOperations * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.Provider>>
<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 Provider))

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