ProvidersOperations.List(Nullable<Int32>, String, CancellationToken) Method

Definition

Gets all resource providers for a subscription.

public virtual Azure.Pageable<Azure.ResourceManager.Resources.Models.Provider> List (int? top = default, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member List : Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.Provider>
override this.List : Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.Models.Provider>
Public Overridable Function List (Optional top As Nullable(Of Integer) = Nothing, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of Provider)

Parameters

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 to use.

Returns

Pageable<Provider>

Applies to