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
Copy file name to clipboardExpand all lines: articles/api-center/enable-api-analysis-linting.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ To deploy the Azure Functions app that runs the linting function on API definiti
119
119
1. Clone the [GitHub repository](https://github.com/Azure/APICenter-Analyzer/) and open it in Visual Studio Code.
120
120
1. In the `resources/rulesets` folder, you can find an `oas.yaml` file. This file reflects your current API style guide and can be modified based on your organizational needs and requirements.
121
121
1. Optionally, run the function app locally to test it. For details, see the [README](https://github.com/Azure/APICenter-Analyzer/tree/preview#-configure--run-your-function-locally) file in the repository.
122
-
1. Deploy the function app to Azure. For steps, see [Quickstart: Create a function in Azure with TypeScript using Visual Studio Code](../azure-functions/create-first-function-vs-code-typescript.md#sign-in-to-azure).
122
+
1. Deploy the function app to Azure. For steps, see [Quickstart: Create a function in Azure with TypeScript using Visual Studio Code](../azure-functions/how-to-create-function-vs-code.md?pivot=programming-language-typescript#sign-in-to-azure).
123
123
124
124
> [!NOTE]
125
125
> Deploying the function app might take a few minutes.
Azure API Management relies on Azure role-based access control (Azure RBAC) to enable fine-grained access management for API Management services and entities (for example, APIs and policies). This article gives you an overview of the built-in and custom roles in API Management. For more information on access management in the Azure portal, see [Get started with access management in the Azure portal](../role-based-access-control/overview.md).
18
+
Azure API Management relies on Azure role-based access control (Azure RBAC) to enable fine-grained access management for API Management services and entities including workspaces. This article gives you an overview of the built-in and custom roles in API Management. For more information on access management in the Azure portal, see [Get started with access management in the Azure portal](../role-based-access-control/overview.md).
API Management currently provides three built-in roles and will add two more roles in the near future. These roles can be assigned at different scopes, including subscription, resource group, and individual API Management instance. For instance, if you assign the "API Management Service Reader" role to a user at the resource-group level, then the user has read access to all API Management instances inside the resource group.
24
+
API Management currently provides three built-in service roles. These roles can be assigned at different scopes, including subscription, resource group, and individual API Management instance. For instance, if you assign the "API Management Service Reader" role to a user at the resource-group level, then the user has read access to all API Management instances inside the resource group.
25
25
26
26
The following table provides brief descriptions of the built-in roles. You can assign these roles by using the Azure portal or other tools, including Azure [PowerShell](../role-based-access-control/role-assignments-powershell.md), [Azure CLI](../role-based-access-control/role-assignments-cli.md), and [REST API](../role-based-access-control/role-assignments-rest.md). For details about how to assign built-in roles, see [Assign Azure roles to manage access to your Azure subscription resources](../role-based-access-control/role-assignments-portal.yml).
title: Configure App Service plans for zone redundancy
3
-
description: Learn how to configure your App Service plan for zone redundancy. Understand how your App Service plan instances are distributed across availability zones and how to check for zone redundancy support.
2
+
title: Configure App Service Plans for Zone Redundancy
3
+
description: Learn how to configure an App Service plan for zone redundancy, see how plan instances spread across availability zones, and check for zone redundancy support.
4
4
ms.topic: conceptual
5
5
ms.service: azure-app-service
6
6
ms.date: 07/15/2025
@@ -10,21 +10,22 @@ ms.author: anaharris
10
10
---
11
11
# Configure App Service plans for zone redundancy
12
12
13
-
Azure App Service provides built-in reliability features to help ensure your applications are available and resilient. This article describes how to create your App Service plan with zone redundancy. It also covers how to disable and enable zone redundancy on existing plans, and how to check for zone redundancy support. To learn more about how App Service supports zone redundancy, see [Reliability in Azure App Service](../reliability/reliability-app-service.md).
13
+
Azure App Service provides built-in reliability features to help ensure that your applications remain available and resilient. This article describes how to create an App Service plan that includes zone redundancy. It also covers how to disable and enable zone redundancy on existing plans and how to check for zone redundancy support. For more information about zone redundancy, see [Reliability in App Service](../reliability/reliability-app-service.md).
14
14
15
-
## Create a new App Service plan with zone redundancy
15
+
## Create a new zone-redundant App Service plan
16
16
17
-
To create a new App Service plan with zone redundancy:
17
+
To create a new App Service plan that includes zone redundancy, follow the appropriate steps.
18
18
19
19
# [Azure portal](#tab/portal)
20
20
21
-
Follow the guidance in [Create an App Service plan](../app-service/app-service-plan-manage.md#create-an-app-service-plan). Make sure to select *Enabled* for **Zone redundancy**.
21
+
Follow the guidance to [create an App Service plan](../app-service/app-service-plan-manage.md#create-an-app-service-plan). Make sure to select **Enabled** for **Zone redundancy**.
22
22
23
23
:::image type="content" source="./media/configure-zone-redundancy/app-service-create-zr-plan.png" alt-text="Screenshot of zone redundancy enablement during App Service plan creation in the Azure portal.":::
24
24
25
25
# [Azure CLI](#tab/azurecli)
26
26
27
-
Set the `--zone-redundant` argument. You must also specify the `--number-of-workers` argument, which is the number of instances, and set a value greater than or equal to 2.
27
+
- Set the `--zone-redundant` argument.
28
+
- Set the `--number-of-workers` argument, which is the number of instances, to a value of 2 or more.
28
29
29
30
```azurecli
30
31
az appservice plan create \
@@ -37,7 +38,8 @@ az appservice plan create \
37
38
38
39
# [Bicep](#tab/bicep)
39
40
40
-
Set the `zoneRedundant` property to `true`. You must also define the `sku.capacity` property to a value of 2 or greater. If you don't define the `sku.capacity` property, the value defaults to 1.
41
+
- Set the `zoneRedundant` property to `true`.
42
+
- Set the `sku.capacity` property to a value of 2 or more. If you don't define the `sku.capacity` property, the value defaults to 1.
## Set zone redundancy for an existing App Service plan
61
63
62
-
1.If you want to enable zone redundancy on an existing App Service plan, [check for zone redundancy support for your App Service plan](#check-for-zone-redundancy-support-on-an-app-service-plan).
63
-
1. If your App Service plan supports zone redundancy, you can enable or disable it by using the Azure portal, Azure CLI, or Bicep/Resource Manager.
64
+
1.To enable zone redundancy on an existing App Service plan, [check for zone redundancy support](#check-for-zone-redundancy-support-on-an-app-service-plan).
65
+
1. If your App Service plan supports zone redundancy, use the Azure portal, the Azure CLI, or Bicep and Azure Resource Manager to enable or disable it.
64
66
65
67
# [Azure portal](#tab/portal)
66
68
67
-
1. In the [Azure portal](https://portal.azure.com), navigate to your App Service plan.
68
-
1. Select **Settings > Scale out (App Service plan)** in the left navigation pane.
69
-
1. Select **Zone redundancy**if you wish to enable zone redundancy. Deselect if you wish to disable it.
69
+
1. In the [Azure portal](https://portal.azure.com), go to your App Service plan.
70
+
1. Select **Settings** > **Scale out (App Service plan)** in the left navigation pane.
71
+
1. Select **Zone Redundancy** to enable zone redundancy. Deselect it to disable it.
70
72
71
-
Changing the zone redundancy status of an App Service plan is almost instantaneous. You don't experience downtime or performance problems during the process.
73
+
The zone redundancy status of an App Service plan changes almost instantaneously. No downtime or performance problems occur during the process.
72
74
73
75
:::image type="content" source="./media/configure-zone-redundancy/app-service-plan-zone-redundancy-portal.png" alt-text="Screenshot of zone redundancy property for an App Service plan in the Azure portal.":::
74
76
75
77
> [!IMPORTANT]
76
-
> If you have *Rules Based* scaling enabled, you can't use the Azure portal to enable zone redundancy. You must use the Azure CLI or Bicep/Resource Manager instead.
78
+
> If you have *Rules Based* scaling enabled, you can't use the Azure portal to enable zone redundancy. You must use the Azure CLI or Bicep and Resource Manager instead.
77
79
78
80
# [Azure CLI](#tab/azurecli)
79
81
80
-
- To *enable zone redundancy*, set the `zoneRedundant` property to `true`. You must also specify the `sku.capacity` argument, which is the number of instances, and set a value greater than or equal to 2.
82
+
- To *enable zone redundancy*, set the `zoneRedundant` property to `true`.
83
+
- Set the `sku.capacity` argument, which is the number of instances, to a value of 2 or more.
81
84
82
-
```azurecli
83
-
az appservice plan update \
84
-
-n <app-service-plan-name> \
85
-
-g <resource-group-name> \
86
-
--set zoneRedundant=true sku.capacity=2
87
-
```
85
+
```azurecli
86
+
az appservice plan update \
87
+
-n <app-service-plan-name> \
88
+
-g <resource-group-name> \
89
+
--set zoneRedundant=true sku.capacity=2
90
+
```
88
91
89
92
- To *disable zone redundancy*, set the `zoneRedundant` property to `false`.
90
93
91
-
```azurecli
92
-
az appservice plan update \
93
-
-n <app-service-plan-name> \
94
-
-g <resource-group-name> \
95
-
--set zoneRedundant=false
96
-
```
94
+
```azurecli
95
+
az appservice plan update \
96
+
-n <app-service-plan-name> \
97
+
-g <resource-group-name> \
98
+
--set zoneRedundant=false
99
+
```
97
100
98
101
# [Bicep](#tab/bicep)
99
102
100
-
- To *enable zone redundancy*, set the `zoneRedundant` property to `true`. You must also define the `sku.capacity` property to a value of 2 or greater. If you don't define the `sku.capacity` property, the value defaults to 1.
103
+
- To *enable zone redundancy*, set the `zoneRedundant` property to `true`.
104
+
- Set the `sku.capacity` property to a value of 2 or more. If you don't define the `sku.capacity` property, the value defaults to 1.
## Check for zone redundancy support on an App Service plan
123
127
124
-
To see whether an existing App Service plan supports zone redundancy:
128
+
To check whether an existing App Service plan supports zone redundancy, do the following steps:
125
129
126
-
1. Get the maximum number of availability zones that the App Service plan can use by using the Azure portal, Azure CLI, or Bicep/Resource Manager:
130
+
1. Determine the maximum number of availability zones that the App Service plan supports by using the Azure portal, the Azure CLI, or Bicep and Resource Manager.
127
131
128
132
# [Azure portal](#tab/portal)
129
133
130
-
1. In the [Azure portal](https://portal.azure.com), navigate to your App Service plan.
134
+
1. In the [Azure portal](https://portal.azure.com), go to your App Service plan.
131
135
132
136
1. Select **Scale out (App Service plan)**.
133
137
134
-
The maximum number of zones that your App Service plan can use is shown in **Maximum available zones**.
138
+
**Maximum available zones** shows the maximum number of zones that your App Service plan can use.
135
139
136
-
:::image type="content" source="./media/configure-zone-redundancy/app-service-plan-max-zones-portal.png" alt-text="Screenshot of maximum available zones property in the Scale out blade in the Azure portal for an App Service plan.":::
140
+
:::image type="content" source="./media/configure-zone-redundancy/app-service-plan-max-zones-portal.png" alt-text="Screenshot of the maximum available zones property in the scale-out section in the Azure portal for an App Service plan.":::
137
141
138
142
# [Azure CLI](#tab/azurecli)
139
143
140
-
Query the plan's `maximumNumberOfZones` property:
144
+
Query the plan's `maximumNumberOfZones` property.
141
145
142
146
```azurecli
143
147
az appservice plan show \
@@ -148,7 +152,7 @@ To see whether an existing App Service plan supports zone redundancy:
\* If you're on a plan or a stamp that doesn't support availability zones, you must create a new App Service plan in a new resource group so that you land on the App Service footprint that supports zones.
175
+
\* If you use a plan or a stamp that doesn't support availability zones, you must create a new App Service plan in a new resource group. This setup ensures that your deployment lands on App Service infrastructure that supports availability zones.
172
176
173
177
## View physical zones for an App Service plan
174
178
175
-
When you have a zone-redundant App Service plan, the platform automatically places the instances across [physical availability zone](../reliability/availability-zones-overview.md#physical-and-logical-availability-zones). If you want to verify that your instances are spread across zones, you can check which physical availability zones your plan's instances use by using the Azure portal or Azure CLI:
179
+
When you have a zone-redundant App Service plan, the platform automatically places the instances across [physical availability zones](../reliability/availability-zones-overview.md#physical-and-logical-availability-zones). To verify that your instances are spread across zones, use the Azure portal or the Azure CLI to check which physical availability zones your plan's instances use.
176
180
177
181
# [Azure portal](#tab/portal)
178
182
179
183
1. In the [Azure portal](https://portal.azure.com), go to your App Service app. If you have multiple apps in a plan, you can select any app.
180
184
181
-
1. Select the **Health check** blade.
185
+
1. Select **Health check**.
182
186
183
-
1. Select the **Instances** tab to view the physical zone placement for each of your instances.
187
+
1. Select **Instances** to view the physical zone placement for each of your instances.
184
188
185
-
:::image type="content" source="./media/configure-zone-redundancy/app-service-physical-zones.png" alt-text="Screenshot of the Instances tab in the Health Check blade with the physical zone information in the Azure portal for an App Service app.":::
189
+
:::image type="content" source="./media/configure-zone-redundancy/app-service-physical-zones.png" alt-text="Screenshot of the Instances tab in the Health Check section with the physical zone information in the Azure portal for an App Service app.":::
186
190
187
191
# [Azure CLI](#tab/azurecli)
188
192
189
-
Use the [REST API](/rest/api/appservice/web-apps/get-instance-info), which returns the `physicalZone` value for each instance in the App Service plan:
193
+
Use the [REST API](/rest/api/appservice/web-apps/get-instance-info), which returns the `physicalZone` value for each instance in the App Service plan.
190
194
191
195
```azurecli
192
196
az rest --method get --url https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{appName}/instances?api-version=2024-04-01
193
197
```
194
198
195
199
# [Bicep](#tab/bicep)
196
200
197
-
This operation is not supported in Bicep. Use the Azure CLI or Azure portal instead.
201
+
Bicep doesn't support this operation. Use the Azure CLI or the Azure portal instead.
198
202
199
203
---
200
204
201
205
## Related content
202
-
-[Reliability in Azure App Service](../reliability/reliability-app-service.md)
203
-
-[Configure App Service Environment for zone redundancy](../app-service/environment/configure-zone-redundancy-environment.md)
206
+
-[Reliability in App Service](../reliability/reliability-app-service.md)
207
+
-[Configure an App Service Environment for zone redundancy](../app-service/environment/configure-zone-redundancy-environment.md)
0 commit comments