You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/migration/migrate-plan-consumption-to-flex.md
+33-33Lines changed: 33 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,21 +116,6 @@ This command generates a table with the app name, location, resource group, and
116
116
117
117
You're promoted to install the [resource-graph extension](/cli/azure/graph), if it isn't already installed.
118
118
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
-
134
119
#### [Linux](#tab/linux/azure-portal)
135
120
136
121
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
150
135
151
136
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.
152
137
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
+
153
153
#### [Windows](#tab/windows/azure-portal)
154
154
155
155
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:
735
735
736
736
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.
737
737
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
+
738
756
#### [Windows](#tab/windows/azure-cli)
739
757
740
758
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:
778
796
779
797
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.
780
798
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
-
799
799
#### [Windows](#tab/windows/azure-portal)
800
800
801
801
1. In the [Azure portal], search for or otherwise navigate to your function app page.
0 commit comments