Skip to content

Commit 8b7d41e

Browse files
committed
updates
1 parent 738a574 commit 8b7d41e

File tree

2 files changed

+39
-39
lines changed

2 files changed

+39
-39
lines changed

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

Lines changed: 11 additions & 11 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,11 +40,11 @@ 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

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

@@ -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

@@ -107,10 +107,10 @@ 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

@@ -123,7 +123,7 @@ 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

128128
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

@@ -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-powershell.md

Lines changed: 28 additions & 28 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-api, devx-track-azurepowershell
1313
---
1414

@@ -29,12 +29,12 @@ If you choose to install and use PowerShell locally, this article requires the A
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 [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) named **QuickStartCreateIPPrefix-rg** in the **eastus2** location.
32+
Create a resource group with [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) named **QuickStartCreateIPPrefix-rg** in the **westus2** location.
3333

3434
```azurepowershell-interactive
3535
$rg =@{
3636
Name = 'QuickStartCreateIPPrefix-rg'
37-
Location = 'eastus2'
37+
Location = 'westus2'
3838
}
3939
New-AzResourceGroup @rg
4040
```
@@ -51,19 +51,19 @@ The prefixes in the examples are:
5151

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

54-
Create a public IP prefix with [New-AzPublicIpPrefix](/powershell/module/az.network/new-azpublicipprefix) named **myPublicIpPrefix** in the **eastus2** location.
54+
Create a public IP prefix with [New-AzPublicIpPrefix](/powershell/module/az.network/new-azpublicipprefix) named **myPublicIpPrefix** in the **westus2** location.
5555

5656
## IPv4
5757

5858
# [**Zone redundant IPv4 prefix**](#tab/ipv4-zone-redundant)
5959

60-
To create a IPv4 public IP prefix, enter **IPv4** in the **`-IpAddressVersion`** parameter. To create a zone redundant IPv4 prefix, enter **1,2,3** in the **`-Zone`** parameter.
60+
To create a IPv4 public IP prefix, enter **IPv4** in the `-IpAddressVersion` parameter. To create a zone redundant IPv4 prefix, enter **1,2,3** in the `-Zone` parameter.
6161

6262
```azurepowershell-interactive
6363
$ipv4 =@{
6464
Name = 'myPublicIpPrefix'
6565
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
66-
Location = 'eastus2'
66+
Location = 'westus2'
6767
PrefixLength = '28'
6868
IpAddressVersion = 'IPv4'
6969
Zone = 1,2,3
@@ -73,14 +73,14 @@ New-AzPublicIpPrefix @ipv4
7373

7474
# [**Zonal IPv4 prefix**](#tab/ipv4-zonal)
7575

76-
To create a IPv4 public IP prefix, enter **IPv4** in the **`-IpAddressVersion`** parameter. Enter **2** in the **`-Zone`** parameter to create a zonal IP prefix in zone 2.
76+
To create a IPv4 public IP prefix, enter **IPv4** in the `-IpAddressVersion` parameter. Enter **2** in the `-Zone` parameter to create a zonal IP prefix in zone 2.
7777

7878
```azurepowershell-interactive
7979
$ipv4 =@{
8080
Name = 'myPublicIpPrefix-zonal'
8181
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
82-
Location = 'eastus2'
83-
PrefixLength = '28'
82+
Location = 'westus2'
83+
PrefixLength '28'
8484
IpAddressVersion = 'IPv4'
8585
Zone = 2
8686
}
@@ -92,22 +92,22 @@ New-AzPublicIpPrefix @ipv4
9292
9393
# [**Non-zonal IPv4 prefix**](#tab/ipv4-non-zonal)
9494

95-
To create a IPv4 public IP prefix, enter **IPv4** in the **`-IpAddressVersion`** parameter. Remove the **`-Zone`** parameter to create a non-zonal IP prefix.
95+
To create a IPv4 public IP prefix, enter **IPv4** in the `-IpAddressVersion` parameter. Remove the `-Zone` parameter to create a non-zonal IP prefix.
9696

9797
```azurepowershell-interactive
9898
$ipv4 =@{
9999
Name = 'myPublicIpPrefix-nozone'
100100
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
101-
Location = 'eastus2'
102-
PrefixLength = '28'
101+
Location = 'westus2'
102+
PrefixLength '28'
103103
IpAddressVersion = 'IPv4'
104104
}
105105
New-AzPublicIpPrefix @ipv4
106106
```
107107

108-
The removal of the **`-Zone`** parameter in the command is valid in all regions.
108+
The removal of the `-Zone` parameter in the command is valid in all regions.
109109

110-
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).
110+
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).
111111

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

@@ -122,8 +122,8 @@ $routingprefinternettag = New-Object -TypeName Microsoft.Azure.Commands.Network.
122122
$ipv4 =@{
123123
Name = 'myPublicIpPrefix-routingprefinternet'
124124
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
125-
Location = 'eastus2'
126-
PrefixLength = '28'
125+
Location = 'westus2'
126+
PrefixLength '28'
127127
IpAddressVersion = 'IPv4'
128128
IpTag = $routingprefinternettag
129129
}
@@ -135,13 +135,13 @@ New-AzPublicIpPrefix @ipv4
135135

136136
# [**Zone redundant IPv6 prefix**](#tab/ipv6-zone-redundant)
137137

138-
To create a IPv4 public IP prefix, enter **IPv6** in the **`-IpAddressVersion`** parameter. To create a zone redundant IPv6 prefix, enter **1,2,3** in the **`-Zone`** parameter.
138+
To create a IPv4 public IP prefix, enter **IPv6** in the `-IpAddressVersion` parameter. To create a zone redundant IPv6 prefix, enter **1,2,3** in the `-Zone` parameter.
139139

140140
```azurepowershell-interactive
141141
$ipv6 =@{
142142
Name = 'myPublicIpPrefix'
143143
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
144-
Location = 'eastus2'
144+
Location = 'westus2'
145145
PrefixLength = '124'
146146
IpAddressVersion = 'IPv6'
147147
Zone = 1,2,3
@@ -151,13 +151,13 @@ New-AzPublicIpPrefix @ipv6
151151

152152
# [**Zonal IPv6 prefix**](#tab/ipv6-zonal)
153153

154-
To create a IPv6 public IP prefix, enter **IPv6** in the **`-IpAddressVersion`** parameter. Enter **2** in the **`-Zone`** parameter to create a zonal IP prefix in zone 2.
154+
To create a IPv6 public IP prefix, enter **IPv6** in the `-IpAddressVersion` parameter. Enter **2** in the `-Zone` parameter to create a zonal IP prefix in zone 2.
155155

156156
```azurepowershell-interactive
157157
$ipv6 =@{
158158
Name = 'myPublicIpPrefix-zonal'
159159
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
160-
Location = 'eastus2'
160+
Location = 'westus2'
161161
PrefixLength = '124'
162162
IpAddressVersion = 'IPv6'
163163
Zone = 2
@@ -170,22 +170,22 @@ New-AzPublicIpPrefix @ipv6
170170
171171
# [**Non-zonal IPv6 prefix**](#tab/ipv6-non-zonal)
172172

173-
To create a IPv6 public IP prefix, enter **IPv6** in the **`-IpAddressVersion`** parameter. Remove the **`-Zone`** parameter to create a non-zonal IP prefix.
173+
To create a IPv6 public IP prefix, enter **IPv6** in the `-IpAddressVersion` parameter. Remove the `-Zone` parameter to create a non-zonal IP prefix.
174174

175175
```azurepowershell-interactive
176176
$ipv6 =@{
177177
Name = 'myPublicIpPrefix-nozone'
178178
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
179-
Location = 'eastus2'
179+
Location = 'westus2'
180180
PrefixLength = '124'
181181
IpAddressVersion = 'IPv6'
182182
}
183183
New-AzPublicIpPrefix @ipv6
184184
```
185185

186-
The removal of the **`-Zone`** parameter in the command is valid in all regions.
186+
The removal of the `-Zone` parameter in the command is valid in all regions.
187187

188-
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).
188+
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).
189189

190190
---
191191

@@ -197,7 +197,7 @@ Create a public IP address with [New-AzPublicIpAddress](/powershell/module/az.ne
197197

198198
# [**IPv4 address**](#tab/ipv4-address)
199199

200-
To create a IPv4 public IP address, enter **IPv4** in the **`-IpAddressVersion`** parameter.
200+
To create a IPv4 public IP address, enter **IPv4** in the `-IpAddressVersion` parameter.
201201

202202
```azurepowershell-interactive
203203
$pf =@{
@@ -209,7 +209,7 @@ $prefix = Get-AzPublicIpPrefix @pf
209209
$ipv4 =@{
210210
Name = 'myPublicIpAddress'
211211
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
212-
Location = 'eastus2'
212+
Location = 'westus2'
213213
Sku = 'Standard'
214214
Tier = 'Regional'
215215
AllocationMethod = 'Static'
@@ -221,7 +221,7 @@ New-AzPublicIpAddress @ipv4
221221

222222
# [**IPv6 address**](#tab/ipv6-address)
223223

224-
To create a IPv6 public IP address, enter **IPv6** in the **`-IpAddressVersion`** parameter.
224+
To create a IPv6 public IP address, enter **IPv6** in the `-IpAddressVersion` parameter.
225225
```azurepowershell-interactive
226226
$pf =@{
227227
Name = 'myPublicIpPrefix'
@@ -232,7 +232,7 @@ $prefix = Get-AzPublicIpPrefix @pf
232232
$ipv6 =@{
233233
Name = 'myPublicIpAddress'
234234
ResourceGroupName = 'QuickStartCreateIPPrefix-rg'
235-
Location = 'eastus2'
235+
Location = 'westus2'
236236
Sku = 'Standard'
237237
Tier = 'Regional'
238238
AllocationMethod = 'Static'

0 commit comments

Comments
 (0)