Udostępnij za pośrednictwem


SubscriptionResource.GetFeaturesAsync(CancellationToken) Method

Definition

Gets all the preview features that are available through AFEC for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Features/features
  • Operation Id: Features_ListAll
  • Default Api Version: 2021-07-01
  • Resource: FeatureResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.FeatureResource> GetFeaturesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFeaturesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.FeatureResource>
override this.GetFeaturesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.FeatureResource>
Public Overridable Function GetFeaturesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FeatureResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of FeatureResource that may take multiple service requests to iterate over.

Applies to