You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Determines whether a resource type supports zones for a region.
413
+
Determines whether a resource type supports zones for a region. This function **only supports zonal resources**. Zone redundant services return an empty array. For more information, see [Azure Services that support Availability Zones](../../availability-zones/az-region.md).
@@ -451,13 +451,19 @@ When the resource type or region doesn't support zones, an empty array is return
451
451
]
452
452
```
453
453
454
+
### Remarks
455
+
456
+
There are different categories for Azure Availability Zones - zonal and zone-redundant. The `pickZones` function can be used to return an availability zone for a zonal resource. For zone redundant services (ZRS), the function returns an empty array. Zonal resources typically have a `zones` property at the top level of the resource definition. To determine the category of support for availability zones, see [Azure Services that support Availability Zones](../../availability-zones/az-region.md).
457
+
458
+
To determine if a given Azure region or location supports availability zones, call the `pickZones` function with a zonal resource type, such as `Microsoft.Network/publicIPAddresses`. If the response isn't empty, the region supports availability zones.
459
+
454
460
### pickZones example
455
461
456
462
The following Bicep file shows three results for using the `pickZones` function.
Determines whether a resource type supports zones for the specified location or region. This function only supports zonal resources, zone redundant services will return an empty array. For more information, see [Azure Services that support Availability Zones](../../availability-zones/az-region.md). To use the pickZones function with zone redundant services, see the examples below.
327
+
Determines whether a resource type supports zones for the specified location or region. This function **only supports zonal resources**. Zone redundant services return an empty array. For more information, see [Azure Services that support Availability Zones](../../availability-zones/az-region.md).
328
328
329
329
### Parameters
330
330
@@ -365,9 +365,9 @@ When the resource type or region doesn't support zones, an empty array is return
365
365
366
366
### Remarks
367
367
368
-
There are different categories for Azure Availability Zones - zonal and zone-redundant. The `pickZones` function can be used to return an availability zone number or numbers for a zonal resource. For zone redundant services (ZRS), the function will return an empty array. Zonal resources can typically be identified by the use of a `zones` property on the resource header. Zone redundant services have different ways to identify and use availability zones per resource. Use the documentation for a specific service to determine the category of support for availability zones. For more information, see [Azure Services that support Availability Zones](../../availability-zones/az-region.md).
368
+
There are different categories for Azure Availability Zones - zonal and zone-redundant. The `pickZones` function can be used to return an availability zone for a zonal resource. For zone redundant services (ZRS), the function returns an empty array. Zonal resources typically have a `zones` property at the top level of the resource definition. To determine the category of support for availability zones, see [Azure Services that support Availability Zones](../../availability-zones/az-region.md).
369
369
370
-
To determine if a given Azure region or location supports availability zones, call the `pickZones` function with a zonal resource type, for example`Microsoft.Storage/storageAccounts`. If the response is non-empty, the region supports availability zones.
370
+
To determine if a given Azure region or location supports availability zones, call the `pickZones` function with a zonal resource type, such as`Microsoft.Network/publicIPAddresses`. If the response isn't empty, the region supports availability zones.
0 commit comments