Share via


FeaturesOperationsExtensions.ListAsync Method

Definition

Gets all the preview features in a provider namespace that are available through AFEC for the subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.FeatureResult>> ListAsync (this Microsoft.Azure.Management.ResourceManager.IFeaturesOperations operations, string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ResourceManager.IFeaturesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.FeatureResult>>
<Extension()>
Public Function ListAsync (operations As IFeaturesOperations, resourceProviderNamespace As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of FeatureResult))

Parameters

operations
IFeaturesOperations

The operations group for this extension method.

resourceProviderNamespace
String

The namespace of the resource provider for getting features.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to