Skip to main content

regions

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

Overview

Nameregions
TypeResource
Idazure.api_management.regions

Fields

NameDatatypeDescription
namestringRegion name.
isDeletedbooleanwhether Region is deleted.
isMasterRegionbooleanwhether Region is the master region.

Methods

NameAccessible byRequired ParamsDescription
list_by_serviceSELECTresourceGroupName, serviceName, subscriptionIdLists all azure regions in which the service exists.

SELECT examples

Lists all azure regions in which the service exists.

SELECT
name,
isDeleted,
isMasterRegion
FROM azure.api_management.regions
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';