共用方式為


FeatureCollection.GetAllAsync(CancellationToken) Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features
  • Operation Id: Features_List
  • Default Api Version: 2021-07-01
  • Resource: FeatureResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.FeatureResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.FeatureResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.FeatureResource>
Public Overridable Function GetAllAsync (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