provider
Creates, updates, deletes, gets or lists a provider resource.
Overview
| Name | provider |
| Type | Resource |
| Id | azure.web.provider |
Fields
The following fields are returned by SELECT queries:
- get_function_app_stacks_for_location
- get_available_stacks_on_prem
- list_operations
| Name | Datatype | Description |
|---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
displayText | string | Function App stack (display only). |
kind | string | Kind of resource. |
location | string | Function App stack location. |
majorVersions | array | List of major versions available. |
preferredOs | string | Function App stack preferred OS. Known values are: "Windows" and "Linux". (Windows, Linux) |
type | string | Resource type. |
value | string | Function App stack name. |
| Name | Datatype | Description |
|---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
dependency | string | Application stack dependency. |
display | string | Application stack display name. |
frameworks | array | List of frameworks associated with application stack. |
isDeprecated | array | true if this is the stack is deprecated; otherwise, false. |
kind | string | Kind of resource. |
majorVersions | array | List of major versions available. |
type | string | Resource type. |
| Name | Datatype | Description |
|---|---|---|
name | string | :vartype name: str |
display | object | Meta data about operation used for display in portal. |
isDataAction | boolean | :vartype is_data_action: bool |
origin | string | :vartype origin: str |
serviceSpecification | object | Resource metrics service provided by Microsoft.Insights resource provider. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_function_app_stacks_for_location | select | location | stackOsType | Get 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_prem | select | subscription_id | osTypeSelected | Get available application frameworks and their versions. Description for Get available application frameworks and their versions. |
list_operations | select | Gets 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_stacks | exec | osTypeSelected | Get available application frameworks and their versions. Description for Get available application frameworks and their versions. | |
get_function_app_stacks | exec | stackOsType | Get available Function app frameworks and their versions. Description for Get available Function app frameworks and their versions. | |
get_web_app_stacks_for_location | exec | location | stackOsType | Get available Web app frameworks and their versions for location. Description for Get available Web app frameworks and their versions for location. |
get_web_app_stacks | exec | stackOsType | Get 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.
| Name | Datatype | Description |
|---|---|---|
location | string | The location name. Required. |
subscription_id | string | |
osTypeSelected | string | Known values are: "Windows", "Linux", "WindowsFunctions", "LinuxFunctions", and "All". Default value is None. |
stackOsType | string | Stack OS Type. Known values are: "Windows", "Linux", and "All". Default value is None. |
SELECT examples
- get_function_app_stacks_for_location
- get_available_stacks_on_prem
- list_operations
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 }}'
;
Get available application frameworks and their versions. Description for Get available application frameworks and their versions.
SELECT
id,
name,
dependency,
display,
frameworks,
isDeprecated,
kind,
majorVersions,
type
FROM azure.web.provider
WHERE subscription_id = '{{ subscription_id }}' -- required
AND osTypeSelected = '{{ osTypeSelected }}'
;
Gets 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.
SELECT
name,
display,
isDataAction,
origin,
serviceSpecification
FROM azure.web.provider
;
Lifecycle Methods
- get_available_stacks
- get_function_app_stacks
- get_web_app_stacks_for_location
- get_web_app_stacks
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 }}'
;
Get available Function app frameworks and their versions. Description for Get available Function app frameworks and their versions.
EXEC azure.web.provider.get_function_app_stacks
@stackOsType='{{ stackOsType }}'
;
Get available Web app frameworks and their versions for location. Description for Get available Web app frameworks and their versions for location.
EXEC azure.web.provider.get_web_app_stacks_for_location
@location='{{ location }}' --required,
@stackOsType='{{ stackOsType }}'
;
Get available Web app frameworks and their versions. Description for Get available Web app frameworks and their versions.
EXEC azure.web.provider.get_web_app_stacks
@stackOsType='{{ stackOsType }}'
;