Skip to content

Commit 39235df

Browse files
authored
Merge pull request #258568 from Netyyyy/myao/azcli_restful
Support az cli for restful doc with enterprise plan
2 parents ae23c50 + 796c023 commit 39235df

File tree

6 files changed

+501
-74
lines changed

6 files changed

+501
-74
lines changed

articles/spring-apps/includes/quickstart-deploy-restful-api-app/clean-up-resources.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,46 @@ ms.date: 10/02/2023
77
---
88

99
<!--
10-
For clarity of structure, a separate markdown file is used to describe how to clean up resources using Azure Portal or AZD.
10+
For clarity of structure, a separate markdown file is used to describe how to clean up resources using Azure Portal, AZD, or Azure CLI.
1111
12-
[!INCLUDE [clean-up-resources-portal-or-azd](includes/quickstart-deploy-restful-api-app/clean-up-resources.md)]
12+
[!INCLUDE [clean-up-resources](includes/quickstart-deploy-restful-api-app/clean-up-resources.md)]
1313
1414
-->
1515

1616
## 6. Clean up resources
1717

18-
You can delete the Azure resource group, which includes all the resources in the resource group. Use the following steps to delete the entire resource group, including the newly created service:
18+
You can delete the Azure resource group, which includes all the resources in the resource group.
1919

2020
::: zone pivot="sc-enterprise"
2121

22+
### [Azure portal + Maven plugin](#tab/Azure-portal-maven-plugin-ent)
23+
24+
Use the following steps to delete the entire resource group, including the newly created service:
25+
2226
1. Locate your resource group in the Azure portal.
2327

2428
1. On the navigation menu, select **Resource groups**. Then, select the name of your resource group - for example, **myresourcegroup**.
2529

2630
1. On your resource group page, select **Delete**. Enter the name of your resource group in the text box to confirm deletion - for example, *myresourcegroup*. Then, select **Delete**.
2731

32+
### [Azure CLI](#tab/Azure-CLI)
33+
34+
Use the following command to delete the entire resource group, including the newly created service:
35+
36+
```azurecli
37+
az group delete --name ${RESOURCE_GROUP}
38+
```
39+
40+
---
41+
2842
::: zone-end
2943

3044
::: zone pivot="sc-consumption-plan"
3145

3246
### [Azure portal + Maven plugin](#tab/Azure-portal-maven-plugin)
3347

48+
Use the following steps to delete the entire resource group, including the newly created service:
49+
3450
1. Locate your resource group in the Azure portal.
3551

3652
1. On the navigation menu, select **Resource groups**. Then, select the name of your resource group - for example, **myresourcegroup**.

0 commit comments

Comments
 (0)