Skip to content

Commit 899248e

Browse files
Merge pull request #307448 from brianlehr/patch-9158
Update CLI command links for custom IP prefix
2 parents ab14556 + 421c9ff commit 899248e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

articles/virtual-network/ip-services/manage-custom-ip-address-prefix.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Use the following CLI and PowerShell commands to create public IP prefixes with
4747

4848
|**Tool**|**Command**|
4949
|---|---|
50-
|CLI|[az network custom-ip prefix update](/cli/azure/network/public-ip/prefix#az-network-public-ip-prefix-create)|
50+
|CLI|[az network custom-ip prefix create](/cli/azure/network/custom-ip/prefix#az-network-custom-ip-prefix-create)|
5151
|PowerShell|[New-AzPublicIpPrefix](/powershell/module/az.network/new-azpublicipprefix)|
5252

5353
> [!NOTE]
@@ -111,7 +111,7 @@ To view a custom IP prefix, the following commands can be used in Azure CLI and
111111

112112
|**Tool**|**Command**|
113113
|---|---|
114-
|CLI|[az network custom-ip prefix list](/cli/azure/network/public-ip/prefix#az-network-custom-ip-prefix-list) to list custom IP prefixes<br>[az network custom-ip prefix show](/cli/azure/network/public-ip/prefix#az-network-custom-ip-prefix-show) to show settings and any derived public IP prefixes<br>
114+
|CLI|[az network custom-ip prefix list](/cli/azure/network/custom-ip/prefix#az-network-custom-ip-prefix-list) to list custom IP prefixes<br>[az network custom-ip prefix show](/cli/azure/network/custom-ip/prefix?view=azure-cli-latest#az-network-custom-ip-prefix-show) to show settings and any derived public IP prefixes<br>
115115
|PowerShell|[Get-AzCustomIpPrefix](/powershell/module/az.network/get-azcustomipprefix) to retrieve a custom IP prefix object and view its settings and any derived public IP prefixes|
116116

117117
## Decommission a custom IP prefix
@@ -128,7 +128,7 @@ The following commands can be used in Azure CLI and Azure PowerShell to begin th
128128
|**Tool**|**Command**|
129129
|---|---|
130130
|Azure portal|Use the **Decommission** option in the Overview section of a Custom IP Prefix |
131-
|CLI|[az network custom-ip prefix update](/cli/azure/network/public-ip/prefix#az-network-custom-ip-prefix-update) with `--state` flag set to decommission |
131+
|CLI|[az network custom-ip prefix update](/cli/azure/network/custom-ip/prefix#az-network-custom-ip-prefix-update) with `--state` flag set to decommission |
132132
|PowerShell|[Update-AzCustomIpPrefix](/powershell/module/az.network/update-azcustomipprefix) with the flag to `-Decommission` |
133133

134134
Alternatively, a custom IP prefix can be decommissioned via the Azure portal using the **Decommission** button in the **Overview** section of the custom IP prefix.
@@ -168,7 +168,7 @@ The following commands can be used in Azure CLI and Azure PowerShell to deprovis
168168
|**Tool**|**Command**|
169169
|---|---|
170170
|Azure portal|Use the **Deprovision** option in the Overview section of a Custom IP Prefix |
171-
|CLI|[az network custom-ip prefix update](/cli/azure/network/public-ip/prefix#az-network-custom-ip-prefix-update) with the `--state` flag set to deprovision <br>[az network custom-ip prefix delete](/cli/azure/network/public-ip/prefix#az-network-custom-ip-prefix-delete) to remove|
171+
|CLI|[az network custom-ip prefix update](/cli/azure/network/custom-ip/prefix#az-network-custom-ip-prefix-update) with the `--state` flag set to deprovision <br>[az network custom-ip prefix delete](/cli/azure/network/custom-ip/prefix#az-network-custom-ip-prefix-delete) to remove|
172172
|PowerShell|[Update-AzCustomIpPrefix](/powershell/module/az.network/update-azcustomipprefix)with the flag to `-Deprovision` <br>[Remove-AzCustomIpPrefix](/powershell/module/az.network/remove-azcustomipprefix) to remove|
173173

174174
Alternatively, a custom IP prefix can be decommissioned via the Azure portal using the **Deprovision** button in the **Overview** section of the custom IP prefix, and then deleted using the **Delete** button in the same section.

0 commit comments

Comments
 (0)