Share via


AppServiceExtensions.GetFunctionAppStacksForLocationProvidersAsync Method

Definition

Description for Get available Function app frameworks and their versions for location

  • Request Path: /providers/Microsoft.Web/locations/{location}/functionAppStacks
  • Operation Id: Provider_GetFunctionAppStacksForLocation
  • Default Api Version: 2024-04-01
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)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

location
AzureLocation

Function App stack location.

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