Sdílet prostřednictvím


SubscriptionResource.GetFeatures(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.Pageable<Azure.ResourceManager.Resources.FeatureResource> GetFeatures (System.Threading.CancellationToken cancellationToken = default);
abstract member GetFeatures : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.FeatureResource>
override this.GetFeatures : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.FeatureResource>
Public Overridable Function GetFeatures (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of FeatureResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to