@@ -10,24 +10,53 @@ ms.date: 03/07/2024
10
10
---
11
11
# Delete a network function deployment or ClusterServices in Azure Operator 5G Core Preview
12
12
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.
14
14
15
15
## Azure CLI commands
16
16
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:
18
18
19
- ` $ az resource delete --ids /subscriptions/${SUB}/resourceGroups/${RGName}/providers/Microsoft.MobilePacketCore/amfDeployments/${ResourceName} `
20
19
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}
22
23
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
+ ```
24
26
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}
26
30
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
+ ```
28
33
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}
30
37
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
+ ```
31
60
32
61
## Related content
33
62
0 commit comments