Condividi tramite


ProvidersOperationsExtensions.ListAtTenantScopeAsync Method

Definition

Gets all resource providers for the tenant.

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

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