Skip to main content

provider

Creates, updates, deletes, gets or lists a provider resource.

Overview

Nameprovider
TypeResource
Idazure.web.provider

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
displayTextstringFunction App stack (display only).
kindstringKind of resource.
locationstringFunction App stack location.
majorVersionsarrayList of major versions available.
preferredOsstringFunction App stack preferred OS. Known values are: "Windows" and "Linux". (Windows, Linux)
typestringResource type.
valuestringFunction App stack name.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_function_app_stacks_for_locationselectlocationstackOsTypeGet available Function app frameworks and their versions for location. Description for Get available Function app frameworks and their versions for location.
get_available_stacks_on_premselectsubscription_idosTypeSelectedGet available application frameworks and their versions. Description for Get available application frameworks and their versions.
list_operationsselectGets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions. Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions.
get_available_stacksexecosTypeSelectedGet available application frameworks and their versions. Description for Get available application frameworks and their versions.
get_function_app_stacksexecstackOsTypeGet available Function app frameworks and their versions. Description for Get available Function app frameworks and their versions.
get_web_app_stacks_for_locationexeclocationstackOsTypeGet available Web app frameworks and their versions for location. Description for Get available Web app frameworks and their versions for location.
get_web_app_stacksexecstackOsTypeGet available Web app frameworks and their versions. Description for Get available Web app frameworks and their versions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe location name. Required.
subscription_idstring
osTypeSelectedstringKnown values are: "Windows", "Linux", "WindowsFunctions", "LinuxFunctions", and "All". Default value is None.
stackOsTypestringStack OS Type. Known values are: "Windows", "Linux", and "All". Default value is None.

SELECT examples

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

SELECT
id,
name,
displayText,
kind,
location,
majorVersions,
preferredOs,
type,
value
FROM azure.web.provider
WHERE location = '{{ location }}' -- required
AND stackOsType = '{{ stackOsType }}'
;

Lifecycle Methods

Get available application frameworks and their versions. Description for Get available application frameworks and their versions.

EXEC azure.web.provider.get_available_stacks 
@osTypeSelected='{{ osTypeSelected }}'
;