Megosztás a következőn keresztül:


AppServiceExtensions.GetWebAppStacksProvidersAsync Method

Definition

Description for Get available Web app frameworks and their versions

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

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 WebAppStack that may take multiple service requests to iterate over.

Exceptions

tenantResource is null.

Applies to