Skip to content

Commit 6b0c7bd

Browse files
committed
fixed number list and notes
1 parent 536d049 commit 6b0c7bd

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

articles/extended-zones/create-azure-policy.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ For this example, we created an Allowed Locations policy that restricts the loca
5050
| Category | Use an existing category or create one (for example, *Governance* or *Networking*). |
5151

5252

53-
1. Next, define the Policy Rule. Policy rules are written in JSON using an **`if` / `then`** structure and evaluate against the Azure Resource Manager (ARM) representation of resources.
54-
55-
In the **Policy rule** section, for this example, enter the following JSON code to create a policy that denies the creation of resources in locations other than an Azure Extended Zone:
53+
5. Next, define the Policy Rule. In the **Policy rule** section, for this example, enter the following JSON code to create a policy that denies the creation of resources in locations other than an Azure Extended Zone:
5654

5755
```json
5856
{
@@ -95,10 +93,10 @@ In the **Policy rule** section, for this example, enter the following JSON code
9593
}
9694
```
9795
In this example, replace `losangeles` with the name of the Extended Zone location you have access to. You can find the location name in the Azure portal when deploying resources in the Extended Zone, or by using Azure CLI or PowerShell.
98-
> [!NOTE]
99-
> The **extendedlocation.name** or similar Extended Zone-specific fields may be highlighted as errors in the json editor. However, you can still successfully save, deploy and enforce the policy with these fields included.
96+
> [!NOTE]
97+
> The **extendedlocation.name** or similar Extended Zone-specific fields may be highlighted as errors in the json editor. You may disregard this, as you can still successfully save, deploy and enforce the policy with these fields included.
10098
101-
1. Select **Save** to create the policy definition.
99+
6. Select **Save** to create the policy definition.
102100

103101

104102
## Policy management and monitoring

0 commit comments

Comments
 (0)