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
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,13 +97,11 @@ Before migrating to the Flex Consumption plan, you should perform these checks t
97
97
98
98
Use these steps to make a list of the function apps you need to migrate, noting their names, resource groups, locations, and runtime stacks, then follow the rest of this guide for each app you want to migrate.
99
99
100
-
#### [Azure CLI](#tab/azure-cli)
101
-
102
100
The way that function app information is maintained depends on whether your app runs on Linux or Windows.
103
101
104
-
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 on either Linux or Windows:
102
+
#### [Linux](#tab/linux/azure-cli)
105
103
106
-
##### [Linux](#tab/linux)
104
+
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:
107
105
108
106
```azurecli
109
107
az graph query -q "resources | where subscriptionId == '$(az account show --query id -o tsv)' \
@@ -115,7 +113,11 @@ az graph query -q "resources | where subscriptionId == '$(az account show --quer
115
113
116
114
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.
117
115
118
-
##### [Windows](#tab/windows)
116
+
You're promoted to install the [resource-graph extension](/cli/azure/graph), if it isn't already installed.
117
+
118
+
#### [Windows](#tab/windows/azure-cli)
119
+
120
+
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:
119
121
120
122
```azurecli
121
123
az graph query -q "resources | where subscriptionId == '$(az account show --query id -o tsv)' \
@@ -124,19 +126,15 @@ az graph query -q "resources | where subscriptionId == '$(az account show --quer
124
126
--query data --output table
125
127
```
126
128
127
-
---
128
-
129
129
This command generates a table with the app name, location, and resource group for all Consumption apps running on Windows in the current subscription.
130
130
131
131
You're promoted to install the [resource-graph extension](/cli/azure/graph), if it isn't already installed.
132
132
133
-
#### [Azure portal](#tab/azure-portal)
133
+
#### [Linux](#tab/linux/azure-portal)
134
134
135
135
1. Navigate to the [Azure Resource Graph Explorer](https://portal.azure.com/#view/HubsExtension/ArgQueryBlade) in the Azure portal.
136
136
137
-
1. Copy this Kusto query for either Linux or Windows, paste it in the query window, and select **Run query**:
138
-
139
-
##### [Linux](#tab/linux)
137
+
1. Copy this Kusto query, paste it in the query window, and select **Run query**:
140
138
141
139
```kusto
142
140
resources
@@ -148,6 +146,14 @@ You're promoted to install the [resource-graph extension](/cli/azure/graph), if
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.
151
+
152
+
#### [Windows](#tab/windows/azure-portal)
153
+
154
+
1. Navigate to the [Azure Resource Graph Explorer](https://portal.azure.com/#view/HubsExtension/ArgQueryBlade) in the Azure portal.
155
+
156
+
1. Copy this Kusto query, paste it in the query window, and select **Run query**:
0 commit comments