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

AppServiceExtensions.GetAvailableStacksProvidersAsync 方法

定义

获取可用应用程序框架及其版本的说明

  • 请求路径/提供程序/Microsoft.Web/availableStacks
  • 操作IdProvider_GetAvailableStacks
public static Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.ApplicationStackResource> GetAvailableStacksProvidersAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.AppService.Models.ProviderOSTypeSelected? osTypeSelected = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailableStacksProvidersAsync : Azure.ResourceManager.Resources.TenantResource * Nullable<Azure.ResourceManager.AppService.Models.ProviderOSTypeSelected> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.ApplicationStackResource>
<Extension()>
Public Function GetAvailableStacksProvidersAsync (tenantResource As TenantResource, Optional osTypeSelected As Nullable(Of ProviderOSTypeSelected) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationStackResource)

参数

tenantResource
TenantResource

方法 TenantResource 将对其执行的实例。

osTypeSelected
Nullable<ProviderOSTypeSelected>

选择要使用的 ProviderOSTypeS。

cancellationToken
CancellationToken

要使用的取消标记。

返回

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

适用于