Skip to content

Commit 759eb40

Browse files
committed
updated how to delete network function
1 parent a24fed2 commit 759eb40

File tree

1 file changed

+37
-8
lines changed

1 file changed

+37
-8
lines changed

articles/operator-5g-core/how-to-delete-network-function-cluster.md

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,53 @@ ms.date: 03/07/2024
1010
---
1111
# Delete a network function deployment or ClusterServices in Azure Operator 5G Core Preview
1212

13-
This quickstart shows you the Azure CLI commands you can use to delete a network function deployment or ClusterServices.
13+
This article shows you the Azure CLI commands you can use to delete a network function deployment or ClusterServices.
1414

1515
## Azure CLI commands
1616

17-
Use the following Azure CLI commands to delete the Azure Operator 5G Core (preview) resources:
17+
Use the following Azure CLI commands to show and delete the Azure Operator 5G Core (preview) resources:
1818

19-
`$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/amfDeployments/${ResourceName}`
2019

21-
`$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/smfDeployments/${ResourceName}`
20+
**AMF**
21+
```azurecli
22+
$ az resource show --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/amfDeployments/${ResourceName}
2223
23-
`$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/nrfDeployments/${ResourceName}`
24+
$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/amfDeployments/${ResourceName}
25+
```
2426

25-
`$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/upfDeployments/${ResourceName}`
27+
**SMF**
28+
```azurecli
29+
$ az resource show --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/smfDeployments/${ResourceName}
2630
27-
`$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/nssfDeployments/${ResourceName}`
31+
$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/smfDeployments/${ResourceName}
32+
```
2833

29-
`$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/clusterServices/${ResourceName}`
34+
**NRF**
35+
```azurecli
36+
$ az resource show --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/nrfDeployments/${ResourceName}
3037
38+
$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/nrfDeployments/${ResourceName}
39+
```
40+
41+
**UPF**
42+
```azurecli
43+
$ az resource show --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/upfDeployments/${ResourceName}
44+
45+
$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/upfDeployments/${ResourceName}
46+
```
47+
**NSSF**
48+
```azurecli
49+
$ az resource show --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/nssfDeployments/${ResourceName}
50+
51+
$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/nssfDeployments/${ResourceName}
52+
```
53+
54+
**clusterServices**
55+
```azurecli
56+
$ az resource show --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/clusterServices/${ResourceName}
57+
58+
$ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/clusterServices/${ResourceName}
59+
```
3160

3261
## Related content
3362

0 commit comments

Comments
 (0)