你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SubscriptionResource.GetFeaturesAsync(CancellationToken) 方法

定义

获取通过 AFEC 为订阅提供的所有预览功能。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Features/features
  • 操作IdFeatures_ListAll
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)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 FeatureResource ,可能需要循环访问多个服务请求。

适用于