Skip to content

Commit 5febe1d

Browse files
Merge pull request #269938 from HollyCl/quickstarts321
updated how to deploy network functions article
2 parents b0f4bae + 97d1716 commit 5febe1d

File tree

2 files changed

+63
-22
lines changed

2 files changed

+63
-22
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

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,45 @@
11
---
2-
title: Deploy a network function on Azure Kubernetes Services or Nexus Azure Kubernetes Services
3-
description: Learn the high-level process to deploy a network function on Azure Kubernetes services.
2+
title: Deploy an Azure Operator 5G Core network function
3+
description: Learn the high-level process to deploy an Azure Operator 5G Core network function using Azure CLI commands.
44
author: HollyCl
55
ms.author: HollyCl
66
ms.service: azure-operator-5g-core
77
ms.custom: devx-track-azurecli
88
ms.topic: how-to #required; leave this attribute/value as-is
9-
ms.date: 02/21/2024
9+
ms.date: 03/22/2024
1010

1111
#CustomerIntent: As a < type of user >, I want < what? > so that < why? >.
1212
---
1313

14-
# Deploy a network function on Azure Kubernetes Services (AKS) or Nexus Azure Kubernetes Services (NAKS)
14+
# Deploy a network function using Azure CLI
1515

16-
This article shows you how to deploy various network functions, including SMF, UPF, NRF, NSSF, AMF, MME, and a VNF_Agent in Azure Operator 5G Core Preview.
16+
This article shows you how to deploy various network functions, including Session Management Functions (SMF), User Plane Functions (UPF), Network Repository Functions (NRF), Network Slice Selection Functions (NSSF), and Access and Mobility Functions (AMF) in Azure Operator 5G Core Preview.
1717

18-
## Deploy network function using Azure CLI
18+
## Prerequisites
19+
20+
You must deploy the clusterServices resource before you can deploy any other network function.
21+
22+
See [Quickstart: Deploy Azure Operator 5G Core Preview](quickstart-deploy-5g-core.md) for available network function resources.
23+
24+
## Deploy a network function-Azure CLI
1925

2026
Use the following Azure CLI commands to deploy the network function:
2127

2228
```azurecli
23-
New-AzResourceGroupDeployment `
24-
-Name <DEPLOYMENT NAME> `
25-
-ResourceGroupName <RESOURCE GROUP> `
26-
-TemplateFile ./releases/2311.0-1/AKS/bicep/<NF NAME>Template.bicep `
27-
-TemplateParameterFile ./releases/2311.0-1/AKS/params/<NF NAME>Params.json `
28-
-resourceName <RESOURCE NAME> –Verbose
29+
$ export resourceGroupName <Name of resource group>
30+
$ export templateFile <Path to bicep scripts>
31+
$ export resourceName <Choose name for the AO5GC resource – note the same resourceName should be used for clusterServices and all associated NFs>
32+
$ export location <Azure region where resources are deployed>
33+
$ export templateParamsFile <Path to bicep script parameters file>
34+
35+
$ az deployment group create
36+
--resource-group $resourceGroupName \
37+
--template-file $templateFile \
38+
--parameters resourceName=$resourceName \
39+
--parameters locationName=$location \
40+
--parameters $templateParamsFile
2941
```
3042

31-
## Related content
43+
## Next step
3244

33-
- [Quickstart: Monitor the status of your Azure Operator 5G Core Preview deployment](quickstart-monitor-deployment-status.md)
45+
- [Quickstart: Monitor the status of your Azure Operator 5G Core Preview deployment](quickstart-monitor-deployment-status.md)

0 commit comments

Comments
 (0)