AppServiceExtensions.GetWebAppStacksByLocation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Description for Get available Web app frameworks and their versions for location
- Request Path: /providers/Microsoft.Web/locations/{location}/webAppStacks
- Operation Id: Provider_GetWebAppStacksForLocation
- Default Api Version: 2023-12-01
public static Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppStack> GetWebAppStacksByLocation (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.Core.AzureLocation location, Azure.ResourceManager.AppService.Models.ProviderStackOSType? stackOSType = default, System.Threading.CancellationToken cancellationToken = default);
static member GetWebAppStacksByLocation : Azure.ResourceManager.Resources.TenantResource * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.AppService.Models.ProviderStackOSType> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.WebAppStack>
<Extension()>
Public Function GetWebAppStacksByLocation (tenantResource As TenantResource, location As AzureLocation, Optional stackOSType As Nullable(Of ProviderStackOSType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of WebAppStack)
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
- location
- AzureLocation
Web App stack location.
- stackOSType
- Nullable<ProviderStackOSType>
Stack OS Type.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of WebAppStack that may take multiple service requests to iterate over.
Exceptions
tenantResource
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET