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

AppServiceExtensions.GetFunctionAppStacksForLocationProvidersAsync 方法

定义

获取可用的函数应用框架及其位置版本的说明

  • 请求路径/提供程序/Microsoft.Web/locations/{location}/functionAppStacks
  • 操作IdProvider_GetFunctionAppStacksForLocation
public static Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.FunctionAppStack> GetFunctionAppStacksForLocationProvidersAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.Core.AzureLocation location, Azure.ResourceManager.AppService.Models.ProviderStackOSType? stackOSType = default, System.Threading.CancellationToken cancellationToken = default);
static member GetFunctionAppStacksForLocationProvidersAsync : Azure.ResourceManager.Resources.TenantResource * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.AppService.Models.ProviderStackOSType> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.FunctionAppStack>
<Extension()>
Public Function GetFunctionAppStacksForLocationProvidersAsync (tenantResource As TenantResource, location As AzureLocation, Optional stackOSType As Nullable(Of ProviderStackOSType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FunctionAppStack)

参数

tenantResource
TenantResource

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

location
AzureLocation

Function App 堆栈位置。

stackOSType
Nullable<ProviderStackOSType>

堆栈 OS 类型。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 FunctionAppStack ,可能需要多个服务请求进行迭代。

适用于