Skip to content

Commit a3276ce

Browse files
Merge pull request #292859 from mbender-ms/ip-prefix
ip services | freshness | Pt5
2 parents 128760e + 8378dfd commit a3276ce

File tree

4 files changed

+79
-79
lines changed

4 files changed

+79
-79
lines changed

articles/virtual-network/ip-services/create-public-ip-cli.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: mbender-ms
77
ms.author: mbender
88
ms.service: azure-virtual-network
99
ms.topic: quickstart
10-
ms.date: 08/24/2023
10+
ms.date: 01/09/2025
1111
ms.custom: mode-api, devx-track-azurecli
1212
ms.devlang: azurecli
1313
---
@@ -40,13 +40,13 @@ Create a resource group with [az group create](/cli/azure/group#az-group-create)
4040
# [**Standard SKU**](#tab/create-public-ip-standard)
4141

4242
>[!NOTE]
43-
>Standard SKU public IP is recommended for production workloads. For more information about SKUs, see **[Public IP addresses](public-ip-addresses.md)**.
43+
>Standard SKU public IP is recommended for production workloads. For more information about SKUs, see **[Public IP addresses](public-ip-addresses.md)**.
4444
>
45-
>The following command works for API version **2020-08-01** or **later**. For more information about the API version currently being used, please refer to [Resource Providers and Types](../../azure-resource-manager/management/resource-providers-and-types.md).
45+
>The following command works for API version **2020-08-01** or **later**. For more information about the API version currently being used, see [Resource Providers and Types](../../azure-resource-manager/management/resource-providers-and-types.md).
4646
47-
Use [az network public-ip create](/cli/azure/network/public-ip#az-network-public-ip-create) to create a standard zone-redundant public IPv4 address named **myStandardPublicIP** in **QuickStartCreateIP-rg**.
47+
Use [az network public-ip create](/cli/azure/network/public-ip#az-network-public-ip-create) to create a standard zone-redundant public IPv4 address named **myStandardPublicIP** in **QuickStartCreateIP-rg**.
4848

49-
To create an IPv6 address, modify the **`--version`** parameter to **IPv6**.
49+
To create an IPv6 address, modify the `--version` parameter to **IPv6**.
5050

5151
```azurecli-interactive
5252
az network public-ip create \
@@ -57,7 +57,7 @@ To create an IPv6 address, modify the **`--version`** parameter to **IPv6**.
5757
--zone 1 2 3
5858
```
5959
> [!IMPORTANT]
60-
> For versions of the API older than 2020-08-01, execute the command without specifying a **`--zone`** parameter to create a zone-redundant IP address.
60+
> For versions of the API older than 2020-08-01, execute the command without specifying a `--zone` parameter to create a zone-redundant IP address.
6161
>
6262
6363
# [**Basic SKU**](#tab/create-public-ip-basic)
@@ -66,7 +66,7 @@ In this section, you create a basic IP. Basic public IPs don't support availabil
6666

6767
Use [az network public-ip create](/cli/azure/network/public-ip#az-network-public-ip-create) to create a basic static public IPv4 address named **myBasicPublicIP** in **QuickStartCreateIP-rg**.
6868

69-
To create an IPv6 address, modify the **`--version`** parameter to **IPv6**.
69+
To create an IPv6 address, modify the `--version` parameter to **IPv6**.
7070

7171
```azurecli-interactive
7272
az network public-ip create \
@@ -79,7 +79,7 @@ To create an IPv6 address, modify the **`--version`** parameter to **IPv6**.
7979
If it's acceptable for the IP address to change over time, **Dynamic** IP assignment can be selected by changing the **`--allocation-method`** to **Dynamic**.
8080

8181
>[!NOTE]
82-
> A basic IPv6 address must always be 'Dynamic'.
82+
> A basic IPv6 address must always be `Dynamic`.
8383
8484
---
8585

@@ -91,7 +91,7 @@ In this section, you learn how to create a zonal or no-zone public IP address.
9191

9292
To create a standard zonal public IPv4 address in Zone 2 named **myStandardPublicIP** in **QuickStartCreateIP-rg**, use the following command.
9393

94-
To create an IPv6 address, modify the **`--version`** parameter to **IPv6**.
94+
To create an IPv6 address, modify the `--version` parameter to **IPv6**.
9595

9696
```azurecli-interactive
9797
az network public-ip create \
@@ -107,14 +107,14 @@ To create an IPv6 address, modify the **`--version`** parameter to **IPv6**.
107107
108108
# [**Non-zonal**](#tab/create-public-ip-non-zonal)
109109

110-
In this section, you create a non-zonal IP address.
110+
In this section, you create a non-zonal IP address.
111111

112112
>[!NOTE]
113-
>The following command works for API version 2020-08-01 or later. For more information about the API version currently being used, please refer to [Resource Providers and Types](../../azure-resource-manager/management/resource-providers-and-types.md).
113+
>The following command works for API version 2020-08-01 or later. For more information about the API version currently being used, see [Resource Providers and Types](../../azure-resource-manager/management/resource-providers-and-types.md).
114114
115115
Use [az network public-ip create](/cli/azure/network/public-ip#az-network-public-ip-create) to create a standard public IPv4 address as a non-zonal resource named **myStandardPublicIP-nozone** in **QuickStartCreateIP-rg**.
116116

117-
To create an IPv6 address, modify the **`--version`** parameter to **IPv6**.
117+
To create an IPv6 address, modify the `--version` parameter to **IPv6**.
118118

119119
```azurecli-interactive
120120
az network public-ip create \
@@ -123,9 +123,9 @@ To create an IPv6 address, modify the **`--version`** parameter to **IPv6**.
123123
--version IPv4 \
124124
--sku Standard
125125
```
126-
The removal of the **`--zone`** parameter in the command is valid in all regions.
126+
The removal of the `--zone` parameter in the command is valid in all regions.
127127

128-
The removal of the **`--zone`** parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
128+
The removal of the `--zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
129129

130130
---
131131

@@ -135,9 +135,9 @@ Standard SKU static public IPv4 addresses support Routing Preference or the Glob
135135

136136
# [**Routing Preference**](#tab/routing-preference)
137137

138-
By default, the routing preference for public IP addresses is set to **Microsoft network**, which delivers traffic over Microsoft's global wide area network to the user.
138+
By default, the routing preference for public IP addresses is set to **Microsoft network**, which delivers traffic over Microsoft's global wide area network to the user.
139139

140-
The selection of **Internet** minimizes travel on Microsoft's network, instead using the transit ISP network to deliver traffic at a cost-optimized rate.
140+
The selection of **Internet** minimizes travel on Microsoft's network, instead using the transit ISP network to deliver traffic at a cost-optimized rate.
141141

142142
For more information on routing preference, see [What is routing preference (preview)?](routing-preference-overview.md).
143143

@@ -155,7 +155,7 @@ The command creates a new standard zone-redundant public IPv4 address with a rou
155155

156156
# [**Tier**](#tab/tier)
157157

158-
Public IP addresses are associated with a single region. The **Global** tier spans an IP address across multiple regions. **Global** tier is required for the frontends of cross-region load balancers.
158+
Public IP addresses are associated with a single region. The **Global** tier spans an IP address across multiple regions. **Global** tier is required for the frontends of cross-region load balancers.
159159

160160
For more information, see [Cross-region load balancer](../../load-balancer/cross-region-overview.md).
161161

articles/virtual-network/ip-services/create-public-ip-prefix-cli.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ When you create a public IP address resource, you can assign a static public IP
2929

3030
An Azure resource group is a logical container into which Azure resources are deployed and managed.
3131

32-
Create a resource group with [az group create](/cli/azure/group#az-group-create) named **QuickStartCreateIPPrefix-rg** in the **eastus2** location.
32+
Create a resource group with [az group create](/cli/azure/group#az-group-create) named **QuickStartCreateIPPrefix-rg** in the **westus2** location.
3333

3434
```azurecli-interactive
3535
az group create \
3636
--name QuickStartCreateIPPrefix-rg \
37-
--location eastus2
37+
--location westus2
3838
```
3939

4040
## Create a public IP address prefix
@@ -49,34 +49,34 @@ The prefixes in the examples are:
4949

5050
For more information on available prefix sizes, see [Prefix sizes](public-ip-address-prefix.md#prefix-sizes).
5151

52-
Create a public IP prefix with [az network public-ip prefix create](/cli/azure/network/public-ip/prefix#az-network-public-ip-prefix-create) named **myPublicIpPrefix** in the **eastus2** location.
52+
Create a public IP prefix with [az network public-ip prefix create](/cli/azure/network/public-ip/prefix#az-network-public-ip-prefix-create) named **myPublicIpPrefix** in the **westus2** location.
5353

5454
## IPv4
5555

5656
# [**Zone redundant IPv4 prefix**](#tab/ipv4-zone-redundant)
5757

58-
To create a IPv4 public IP prefix, enter **IPv4** in the **`--version`** parameter. To create a zone redundant IPv4 prefix, enter **1,2,3** in the **`--zone`** parameter.
58+
To create a IPv4 public IP prefix, enter **IPv4** in the `--version` parameter. To create a zone redundant IPv4 prefix, enter **1 2 3** in the parameter.
5959

6060
```azurecli-interactive
6161
az network public-ip prefix create \
6262
--length 28 \
6363
--name myPublicIpPrefix \
6464
--resource-group QuickStartCreateIPPrefix-rg \
65-
--location eastus2 \
65+
--location westus2 \
6666
--version IPv4 \
6767
--zone 1 2 3
6868
```
6969

7070
# [**Zonal IPv4 prefix**](#tab/ipv4-zonal)
7171

72-
To create a IPv4 public IP prefix, enter **IPv4** in the **`--version`** parameter. Enter **2** in the **`--zone`** parameter to create a zonal IP prefix in zone 2.
72+
To create a IPv4 public IP prefix, enter **IPv4** in the `--version` parameter. Enter **2** in the `--zone` parameter to create a zonal IP prefix in zone 2.
7373

7474
```azurecli-interactive
7575
az network public-ip prefix create \
7676
--length 28 \
7777
--name myPublicIpPrefix-zonal \
7878
--resource-group QuickStartCreateIPPrefix-rg \
79-
--location eastus2 \
79+
--location westus2 \
8080
--version IPv4 \
8181
--zone 2
8282
```
@@ -86,33 +86,33 @@ To create a IPv4 public IP prefix, enter **IPv4** in the **`--version`** paramet
8686
8787
# [**Non-zonal IPv4 prefix**](#tab/ipv4-non-zonal)
8888

89-
To create a IPv4 public IP prefix, enter **IPv4** in the **`--version`** parameter. Remove the **`--zone`** parameter to create a non-zonal IP prefix.
89+
To create a IPv4 public IP prefix, enter **IPv4** in the `--version` parameter. Remove the `--zone` parameter to create a non-zonal IP prefix.
9090

9191
```azurecli-interactive
9292
az network public-ip prefix create \
9393
--length 28 \
9494
--name myPublicIpPrefix-nozone \
9595
--resource-group QuickStartCreateIPPrefix-rg \
96-
--location eastus2 \
96+
--location westus2 \
9797
--version IPv4
9898
```
9999

100-
The removal of the **`--zone`** parameter in the command is valid in all regions.
100+
The removal of the `--zone` parameter in the command is valid in all regions.
101101

102-
The removal of the **`--zone`** parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
102+
The removal of the `--zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
103103

104104
---
105105

106106
# [**Routing Preference Internet IPv4 prefix**](#tab/ipv4-routing-pref)
107107

108-
To create a IPv4 public IP prefix with routing preference Internet, enter **RoutingPreference=Internet** in the **`--ip-tags`** parameter.
108+
To create a IPv4 public IP prefix with routing preference Internet, enter **RoutingPreference=Internet** in the `--ip-tags` parameter.
109109

110110
```azurecli-interactive
111111
az network public-ip prefix create \
112112
--length 28 \
113113
--name myPublicIpPrefix-rpinternet \
114114
--resource-group QuickStartCreateIPPrefix-rg \
115-
--location eastus2 \
115+
--location westus2 \
116116
--version IPv4
117117
--iptags 'RoutingPreference=Internet'
118118
```
@@ -122,28 +122,28 @@ To create a IPv4 public IP prefix with routing preference Internet, enter **Rout
122122

123123
# [**Zone redundant IPv6 prefix**](#tab/ipv6-zone-redundant)
124124

125-
To create a IPv4 public IP prefix, enter **IPv6** in the **`--version`** parameter. To create a zone redundant IPv6 prefix, enter **1,2,3** in the **`--zone`** parameter.
125+
To create a IPv4 public IP prefix, enter **IPv6** in the `--version` parameter. To create a zone redundant IPv6 prefix, enter **1 2 3** in the `--zone` parameter.
126126

127127
```azurecli-interactive
128128
az network public-ip prefix create \
129129
--length 124 \
130130
--name myPublicIpPrefix \
131131
--resource-group QuickStartCreateIPPrefix-rg \
132-
--location eastus2 \
132+
--location westus2 \
133133
--version IPv6 \
134134
--zone 1 2 3
135135
```
136136

137137
# [**Zonal IPv6 prefix**](#tab/ipv6-zonal)
138138

139-
To create a IPv6 public IP prefix, enter **IPv6** in the **`--version`** parameter. Enter **2** in the **`--zone`** parameter to create a zonal IP prefix in zone 2.
139+
To create a IPv6 public IP prefix, enter **IPv6** in the `--version` parameter. Enter **2** in the `--zone` parameter to create a zonal IP prefix in zone 2.
140140

141141
```azurecli-interactive
142142
az network public-ip prefix create \
143143
--length 124 \
144144
--name myPublicIpPrefix-zonal \
145145
--resource-group QuickStartCreateIPPrefix-rg \
146-
--location eastus2 \
146+
--location westus2 \
147147
--version IPv6 \
148148
--zone 2
149149
```
@@ -153,20 +153,20 @@ To create a IPv6 public IP prefix, enter **IPv6** in the **`--version`** paramet
153153
154154
# [**Non-zonal IPv6 prefix**](#tab/ipv6-non-zonal)
155155

156-
To create a IPv6 public IP prefix, enter **IPv6** in the **`--version`** parameter. Remove the **`--zone`** parameter to create a non-zonal IP prefix.
156+
To create a IPv6 public IP prefix, enter **IPv6** in the `--version` parameter. Remove the `--zone` parameter to create a non-zonal IP prefix.
157157

158158
```azurecli-interactive
159159
az network public-ip prefix create \
160160
--length 124 \
161161
--name myPublicIpPrefix-nozone \
162162
--resource-group QuickStartCreateIPPrefix-rg \
163-
--location eastus2 \
163+
--location westus2 \
164164
--version IPv6
165165
```
166166

167-
The removal of the **`--zone`** parameter in the command is valid in all regions.
167+
The removal of the `--zone` parameter in the command is valid in all regions.
168168

169-
The removal of the **`--zone`** parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
169+
The removal of the `--zone` parameter is the default selection for standard public IP addresses in regions without [Availability Zones](../../reliability/availability-zones-overview.md?toc=%2fazure%2fvirtual-network%2ftoc.json).
170170

171171
---
172172

@@ -178,7 +178,7 @@ Create a public IP address with [az network public-ip create](/cli/azure/network
178178

179179
# [**IPv4 address**](#tab/ipv4-address)
180180

181-
To create a IPv4 public IP address, enter **IPv4** in the **`--version`** parameter.
181+
To create a IPv4 public IP address, enter **IPv4** in the `--version` parameter.
182182

183183
```azurecli-interactive
184184
az network public-ip create \
@@ -192,7 +192,7 @@ To create a IPv4 public IP address, enter **IPv4** in the **`--version`** parame
192192

193193
# [**IPv6 address**](#tab/ipv6-address)
194194

195-
To create a IPv6 public IP prefix, enter **IPv6** in the **`--version`** parameter.
195+
To create a IPv6 public IP prefix, enter **IPv6** in the `--version` parameter.
196196

197197
```azurecli-interactive
198198
az network public-ip create \

articles/virtual-network/ip-services/create-public-ip-prefix-portal.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: mbender
88
ms.service: azure-virtual-network
99
ms.subservice: ip-services
1010
ms.topic: quickstart
11-
ms.date: 08/24/2023
11+
ms.date: 01/09/2025
1212
ms.custom: mode-ui
1313
---
1414

@@ -38,17 +38,17 @@ In this section, you create a public IP prefix using the Azure portal. Use the f
3838

3939
3. Select **+ Create**.
4040

41-
4. In **Create public IP prefix**, enter, or select the following information in the **Basics** tab:
41+
4. In **Create a public IP prefix**, enter or select the following information in the **Basics** tab:
4242

4343
# [**Default**](#tab/create-default)
4444

4545
| Setting | Value |
4646
|---|---|
4747
| **Project details** | |
48-
| Resource group | Select **Create new** and enter **test-rg**. </br> Select **OK**. |
48+
| Resource group | Select **Create new** and enter **test-rg**</br> Select **OK**. |
4949
| **Instance details** | |
5050
| Name | Enter **public-ip-prefix**. |
51-
| Region | Select **East US 2**. |
51+
| Region | Select **West US 2**. |
5252
| IP version | Select **IPv4**. |
5353
| Prefix ownership | Select **Microsoft owned**. |
5454
| Prefix size | Select your prefix size. |
@@ -81,10 +81,10 @@ By default, the routing preference for a public IP address is set to the Microso
8181
| Setting | Value |
8282
|---|---|
8383
| **Project details** | |
84-
| Resource group | Select **Create new** and enter **test-rg**. </br> Select **OK**. |
84+
| Resource group | Select **Create new** and enter **test-rg**</br> Select **OK**. |
8585
| **Instance details** | |
8686
| Name | Enter **public-ip-prefix**. |
87-
| Region | Select **East US 2**. |
87+
| Region | Select **West US 2**. |
8888
| IP version | Select **IPv4**. |
8989
| Prefix ownership | Select **Microsoft owned**. |
9090
| Prefix size | Select your prefix size. |
@@ -104,10 +104,10 @@ Public IP prefixes are associated with a single region. The **Global** tier span
104104
| Setting | Value |
105105
|---|---|
106106
| **Project details** | |
107-
| Resource group | Select **Create new** and enter **test-rg**. </br> Select **OK**. |
107+
| Resource group | Select **Create new** and enter **test-rg**</br> Select **OK**. |
108108
| **Instance details** | |
109109
| Name | Enter **public-ip-prefix**. |
110-
| Region | Select **East US 2**. |
110+
| Region | Select **West US 2**. |
111111
| IP version | Select **IPv4**. |
112112
| Prefix ownership | Select **Microsoft owned**. |
113113
| Prefix size | Select your prefix size. |
@@ -131,15 +131,15 @@ In this section, you create a public IP prefix using the Azure portal. Use the f
131131

132132
3. Select **+ Create**.
133133

134-
4. In **Create public IP prefix**, enter, or select the following information in the **Basics** tab:
134+
4. In **Create a public IP prefix**, enter, or select the following information in the **Basics** tab:
135135

136136
| Setting | Value |
137137
|---|---|
138138
| **Project details** | |
139-
| Resource group | Select **Create new** and enter **test-rg**. </br> Select **OK**. |
139+
| Resource group | Select **Create new** and enter **test-rg**</br> Select **OK**. |
140140
| **Instance details** | |
141141
| Name | Enter **public-ip-prefix**. |
142-
| Region | Select **East US 2**. |
142+
| Region | Select **West US 2**. |
143143
| IP version | Select **IPv6**. |
144144
| Prefix size | Select your prefix size. |
145145
| Availability zone | Leave the default of **Zone-redundant**. |

0 commit comments

Comments
 (0)