Skip to content

Commit 47f516b

Browse files
committed
more updates
1 parent 8b7d41e commit 47f516b

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Create a resource group with [az group create](/cli/azure/group#az-group-create)
4646
4747
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 \
@@ -114,7 +114,7 @@ In this section, you create a non-zonal IP address.
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

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 \

0 commit comments

Comments
 (0)