共用方式為


AppServiceExtensions.GetFunctionAppStacksProvidersAsync Method

Definition

Description for Get available Function app frameworks and their versions

  • Request Path: /providers/Microsoft.Web/functionAppStacks
  • Operation Id: Provider_GetFunctionAppStacks
  • Default Api Version: 2024-04-01
public static Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.FunctionAppStack> GetFunctionAppStacksProvidersAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.AppService.Models.ProviderStackOSType? stackOSType = default, System.Threading.CancellationToken cancellationToken = default);
static member GetFunctionAppStacksProvidersAsync : Azure.ResourceManager.Resources.TenantResource * Nullable<Azure.ResourceManager.AppService.Models.ProviderStackOSType> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.FunctionAppStack>
<Extension()>
Public Function GetFunctionAppStacksProvidersAsync (tenantResource As TenantResource, Optional stackOSType As Nullable(Of ProviderStackOSType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FunctionAppStack)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

stackOSType
Nullable<ProviderStackOSType>

Stack OS Type.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of FunctionAppStack that may take multiple service requests to iterate over.

Exceptions

tenantResource is null.

Applies to