Skip to main content

geo_regions

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

Overview

Namegeo_regions
TypeResource
Idazure.web.geo_regions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
descriptionstringRegion description.
displayNamestringDisplay name for region.
kindstringKind of resource.
orgDomainstringDisplay name for region.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_geo_regionsselectsubscription_idsku, linuxWorkersEnabled, xenonWorkersEnabled, linuxDynamicWorkersEnabled, customModeWorkersEnabledGet 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.

NameDatatypeDescription
subscription_idstring
customModeWorkersEnabledbooleanSpecify true if you want to filter to only regions that support App Service Plans with IsCustomMode set to true. Default value is None.
linuxDynamicWorkersEnabledbooleanSpecify true if you want to filter to only regions that support Linux Consumption Workers. Default value is None.
linuxWorkersEnabledbooleanSpecify true if you want to filter to only regions that support Linux workers. Default value is None.
skustringName 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.
xenonWorkersEnabledbooleanSpecify true if you want to filter to only regions that support Xenon workers. Default value is None.

SELECT examples

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 }}'
;