geo_regions
Creates, updates, deletes, gets or lists a geo_regions resource.
Overview
| Name | geo_regions |
| Type | Resource |
| Id | azure.web.geo_regions |
Fields
The following fields are returned by SELECT queries:
- list_geo_regions
| Name | Datatype | Description |
|---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
description | string | Region description. |
displayName | string | Display name for region. |
kind | string | Kind of resource. |
orgDomain | string | Display name for region. |
type | string | Resource type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_geo_regions | select | subscription_id | sku, linuxWorkersEnabled, xenonWorkersEnabled, linuxDynamicWorkersEnabled, customModeWorkersEnabled | Get a list of available geographical regions. Description for Get a list of available geographical regions. |
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 |
|---|---|---|
subscription_id | string | |
customModeWorkersEnabled | boolean | Specify true if you want to filter to only regions that support App Service Plans with IsCustomMode set to true. Default value is None. |
linuxDynamicWorkersEnabled | boolean | Specify true if you want to filter to only regions that support Linux Consumption Workers. Default value is None. |
linuxWorkersEnabled | boolean | Specify true if you want to filter to only regions that support Linux workers. Default value is None. |
sku | string | Name of SKU used to filter the regions. Known values are: "Free", "Shared", "Basic", "Standard", "Premium", "Dynamic", "Isolated", "IsolatedV2", "PremiumV2", "PremiumV3", "PremiumContainer", "ElasticPremium", "ElasticIsolated", and "FlexConsumption". Default value is None. |
xenonWorkersEnabled | boolean | Specify true if you want to filter to only regions that support Xenon workers. Default value is None. |
SELECT examples
- list_geo_regions
Get a list of available geographical regions. Description for Get a list of available geographical regions.
SELECT
id,
name,
description,
displayName,
kind,
orgDomain,
type
FROM azure.web.geo_regions
WHERE subscription_id = '{{ subscription_id }}' -- required
AND sku = '{{ sku }}'
AND linuxWorkersEnabled = '{{ linuxWorkersEnabled }}'
AND xenonWorkersEnabled = '{{ xenonWorkersEnabled }}'
AND linuxDynamicWorkersEnabled = '{{ linuxDynamicWorkersEnabled }}'
AND customModeWorkersEnabled = '{{ customModeWorkersEnabled }}'
;