Skip to content

Commit 452a8e7

Browse files
committed
switch tab order
1 parent 8f0135f commit 452a8e7

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

articles/azure-functions/migration/migrate-plan-consumption-to-flex.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -116,21 +116,6 @@ This command generates a table with the app name, location, resource group, and
116116

117117
You're promoted to install the [resource-graph extension](/cli/azure/graph), if it isn't already installed.
118118

119-
#### [Windows](#tab/windows/azure-cli)
120-
121-
Use this [`az graph query`](/cli/azure/graph#az-graph-query) command to list all function apps in your subscription that are running in a Consumption plan:
122-
123-
```azurecli
124-
az graph query -q "resources | where subscriptionId == '$(az account show --query id -o tsv)' \
125-
| where type == 'microsoft.web/sites' | where ['kind'] == 'functionapp' | where properties.sku == 'Dynamic' \
126-
| project name, location, resourceGroup" \
127-
--query data --output table
128-
```
129-
130-
This command generates a table with the app name, location, and resource group for all Consumption apps running on Windows in the current subscription.
131-
132-
You're promoted to install the [resource-graph extension](/cli/azure/graph), if it isn't already installed.
133-
134119
#### [Linux](#tab/linux/azure-portal)
135120

136121
1. Navigate to the [Azure Resource Graph Explorer](https://portal.azure.com/#view/HubsExtension/ArgQueryBlade) in the Azure portal.
@@ -150,6 +135,21 @@ You're promoted to install the [resource-graph extension](/cli/azure/graph), if
150135
151136
This command generates a table with the app name, location, resource group, and runtime stack for all Consumption apps running on Linux in the current subscription.
152137
138+
#### [Windows](#tab/windows/azure-cli)
139+
140+
Use this [`az graph query`](/cli/azure/graph#az-graph-query) command to list all function apps in your subscription that are running in a Consumption plan:
141+
142+
```azurecli
143+
az graph query -q "resources | where subscriptionId == '$(az account show --query id -o tsv)' \
144+
| where type == 'microsoft.web/sites' | where ['kind'] == 'functionapp' | where properties.sku == 'Dynamic' \
145+
| project name, location, resourceGroup" \
146+
--query data --output table
147+
```
148+
149+
This command generates a table with the app name, location, and resource group for all Consumption apps running on Windows in the current subscription.
150+
151+
You're promoted to install the [resource-graph extension](/cli/azure/graph), if it isn't already installed.
152+
153153
#### [Windows](#tab/windows/azure-portal)
154154

155155
1. Navigate to the [Azure Resource Graph Explorer](https://portal.azure.com/#view/HubsExtension/ArgQueryBlade) in the Azure portal.
@@ -735,6 +735,24 @@ Use these steps to download the deployment package from your current app:
735735
736736
Again, replace `<RESOURCE_GROUP>` and `<APP_NAME>` with your resource group name and app name. The package .zip file is downloaded to the directory from which you executed the command.
737737
738+
#### [Linux](#tab/linux/azure-portal)
739+
740+
1. In the [Azure portal], search for or otherwise navigate to your function app page.
741+
742+
1. In the left menu, expand **Settings** > **Environment variables** and see if a setting named `WEBSITE_RUN_FROM_PACKAGE` exists.
743+
744+
1. If `WEBSITE_RUN_FROM_PACKAGE` exists, check if it's set to a value of `1` or a URL. If set to a URL, that is the URL of where the zip file for your app content. Download the zip file from that URL location that is owned by you.
745+
746+
1. If the `WEBSITE_RUN_FROM_PACKAGE` setting doesn't exist or is set to `1`, you must download the package from the specific storage account, which depends on whether you are running on Linux or Windows.
747+
748+
1. Get the storage account name from the `AzureWebJobsStorage` or `AzureWebJobsStorage__accountName` application setting. For a connection string, the `AccountName` is the name your storage account.
749+
750+
1. In the portal, search for your storage account name.
751+
752+
1. In the storage account page, locate the deployment package and download it.
753+
754+
1. Expand **Data storage** > **Containers** and select `scm_releases`. Choose the file named `scm-latest-<APP_NAME>.zip` and select **Download**.
755+
738756
#### [Windows](#tab/windows/azure-cli)
739757
740758
1. Use this [`az functionapp config appsettings list`](/cli/azure/functionapp/config/appsettings#az-functionapp-config-appsettings-list) command to get the `WEBSITE_RUN_FROM_PACKAGE` app setting, if present:
@@ -778,24 +796,6 @@ Use these steps to download the deployment package from your current app:
778796
779797
Again, replace `<RESOURCE_GROUP>` and `<APP_NAME>` with your resource group name and app name. The package .zip file is downloaded to the directory from which you executed the command.
780798
781-
#### [Linux](#tab/linux/azure-portal)
782-
783-
1. In the [Azure portal], search for or otherwise navigate to your function app page.
784-
785-
1. In the left menu, expand **Settings** > **Environment variables** and see if a setting named `WEBSITE_RUN_FROM_PACKAGE` exists.
786-
787-
1. If `WEBSITE_RUN_FROM_PACKAGE` exists, check if it's set to a value of `1` or a URL. If set to a URL, that is the URL of where the zip file for your app content. Download the zip file from that URL location that is owned by you.
788-
789-
1. If the `WEBSITE_RUN_FROM_PACKAGE` setting doesn't exist or is set to `1`, you must download the package from the specific storage account, which depends on whether you are running on Linux or Windows.
790-
791-
1. Get the storage account name from the `AzureWebJobsStorage` or `AzureWebJobsStorage__accountName` application setting. For a connection string, the `AccountName` is the name your storage account.
792-
793-
1. In the portal, search for your storage account name.
794-
795-
1. In the storage account page, locate the deployment package and download it.
796-
797-
1. Expand **Data storage** > **Containers** and select `scm_releases`. Choose the file named `scm-latest-<APP_NAME>.zip` and select **Download**.
798-
799799
#### [Windows](#tab/windows/azure-portal)
800800
801801
1. In the [Azure portal], search for or otherwise navigate to your function app page.

0 commit comments

Comments
 (0)