Skip to content

Commit c6eee3b

Browse files
committed
Enforce cli-vscode-portal ordering in Quickstart: Deploy a Python (Django or Flask) web app to Azure App Service
1 parent 2e189c0 commit c6eee3b

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

articles/app-service/quickstart-python.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ Having issues? [Let us know](https://aka.ms/PythonAppServiceQuickstartFeedback).
156156

157157
Azure App service supports multiple methods to deploy your application code to Azure including support for GitHub Actions and all major CI/CD tools. This article focuses on how to deploy your code from your local workstation to Azure.
158158

159-
### [Deploy using VS Code](#tab/vscode-deploy)
160-
161-
[!INCLUDE [Deploy VS Code](./includes/quickstart-python/deploy-visual-studio-code.md)]
162-
163159
### [Deploy using Azure CLI](#tab/azure-cli-deploy)
164160

165161
[!INCLUDE [Deploy Azure CLI](./includes/quickstart-python/deploy-cli.md)]
166162

163+
### [Deploy using VS Code](#tab/vscode-deploy)
164+
165+
[!INCLUDE [Deploy VS Code](./includes/quickstart-python/deploy-visual-studio-code.md)]
166+
167167
### [Deploy using Local Git](#tab/local-git-deploy)
168168

169169
[!INCLUDE [Deploy Local Git](./includes/quickstart-python/deploy-local-git.md)]
@@ -253,15 +253,17 @@ Having issues? Refer first to the [Troubleshooting guide](./configure-language-p
253253

254254
When you're finished with the sample app, you can remove all of the resources for the app from Azure. It will not incur extra charges and keep your Azure subscription uncluttered. Removing the resource group also removes all resources in the resource group and is the fastest way to remove all Azure resources for your app.
255255

256-
### [Azure portal](#tab/azure-portal)
256+
### [Azure CLI](#tab/azure-cli)
257257

258-
Follow these steps while signed-in to the Azure portal to delete a resource group.
258+
Delete the resource group by using the [az group delete](/cli/azure/group#az-group-delete) command.
259259

260-
| Instructions | Screenshot |
261-
|:----------------|-----------:|
262-
| [!INCLUDE [Remove resource group Azure portal 1](./includes/quickstart-python/remove-resource-group-azure-portal-1.md)] | :::image type="content" source="./media/quickstart-python/remove-resource-group-azure-portal-1-240px.png" alt-text="A screenshot of how to search for and navigate to a resource group in the Azure portal." lightbox="./media/quickstart-python/remove-resource-group-azure-portal-1.png"::: |
263-
| [!INCLUDE [Remove resource group Azure portal 2](./includes/quickstart-python/remove-resource-group-azure-portal-2.md)] | :::image type="content" source="./media/quickstart-python/remove-resource-group-azure-portal-2-240px.png" alt-text="A screenshot of the location of the Delete Resource Group button in the Azure portal." lightbox="./media/quickstart-python/remove-resource-group-azure-portal-2.png"::: |
264-
| [!INCLUDE [Remove resource group Azure portal 3](./includes/quickstart-python/remove-resource-group-azure-portal-3.md)] | :::image type="content" source="./media/quickstart-python/remove-resource-group-azure-portal-3-240px.png" alt-text="A screenshot of the confirmation dialog for deleting a resource group in the Azure portal." lightbox="./media/quickstart-python/remove-resource-group-azure-portal-3.png"::: |
260+
```azurecli
261+
az group delete \
262+
--name msdocs-python-webapp-quickstart \
263+
--no-wait
264+
```
265+
266+
The `--no-wait` argument allows the command to return before the operation is complete.
265267

266268
### [VS Code](#tab/vscode-aztools)
267269

@@ -270,17 +272,15 @@ Follow these steps while signed-in to the Azure portal to delete a resource grou
270272
| [!INCLUDE [Remove resource group VS Code 1](./includes/quickstart-python/remove-resource-group-visual-studio-code-1.md)] | :::image type="content" source="./media/quickstart-python/remove-resource-group-visual-studio-code-1-240px.png" alt-text="A screenshot of how to delete a resource group in VS Code using the Azure Tools extension." lightbox="./media/quickstart-python/remove-resource-group-visual-studio-code-1.png"::: |
271273
| [!INCLUDE [Remove resource group VS Code 2](./includes/quickstart-python/remove-resource-group-visual-studio-code-2.md)] | :::image type="content" source="./media/quickstart-python/remove-resource-group-visual-studio-code-2-240px.png" alt-text="A screenshot of the confirmation dialog for deleting a resource group from VS Code." lightbox="./media/quickstart-python/remove-resource-group-visual-studio-code-2.png"::: |
272274

273-
### [Azure CLI](#tab/azure-cli)
274-
275-
Delete the resource group by using the [az group delete](/cli/azure/group#az-group-delete) command.
275+
### [Azure portal](#tab/azure-portal)
276276

277-
```azurecli
278-
az group delete \
279-
--name msdocs-python-webapp-quickstart \
280-
--no-wait
281-
```
277+
Follow these steps while signed-in to the Azure portal to delete a resource group.
282278

283-
The `--no-wait` argument allows the command to return before the operation is complete.
279+
| Instructions | Screenshot |
280+
|:----------------|-----------:|
281+
| [!INCLUDE [Remove resource group Azure portal 1](./includes/quickstart-python/remove-resource-group-azure-portal-1.md)] | :::image type="content" source="./media/quickstart-python/remove-resource-group-azure-portal-1-240px.png" alt-text="A screenshot of how to search for and navigate to a resource group in the Azure portal." lightbox="./media/quickstart-python/remove-resource-group-azure-portal-1.png"::: |
282+
| [!INCLUDE [Remove resource group Azure portal 2](./includes/quickstart-python/remove-resource-group-azure-portal-2.md)] | :::image type="content" source="./media/quickstart-python/remove-resource-group-azure-portal-2-240px.png" alt-text="A screenshot of the location of the Delete Resource Group button in the Azure portal." lightbox="./media/quickstart-python/remove-resource-group-azure-portal-2.png"::: |
283+
| [!INCLUDE [Remove resource group Azure portal 3](./includes/quickstart-python/remove-resource-group-azure-portal-3.md)] | :::image type="content" source="./media/quickstart-python/remove-resource-group-azure-portal-3-240px.png" alt-text="A screenshot of the confirmation dialog for deleting a resource group in the Azure portal." lightbox="./media/quickstart-python/remove-resource-group-azure-portal-3.png"::: |
284284

285285
---
286286

0 commit comments

Comments
 (0)