Skip to content

Commit 99ce975

Browse files
committed
Fix the first nested tabset
1 parent f140532 commit 99ce975

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

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

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,11 @@ Before migrating to the Flex Consumption plan, you should perform these checks t
9797
9898
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.
9999
100-
#### [Azure CLI](#tab/azure-cli)
101-
102100
The way that function app information is maintained depends on whether your app runs on Linux or Windows.
103101
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)
105103
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:
107105
108106
```azurecli
109107
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
115113

116114
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.
117115

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:
119121

120122
```azurecli
121123
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
124126
--query data --output table
125127
```
126128

127-
---
128-
129129
This command generates a table with the app name, location, and resource group for all Consumption apps running on Windows in the current subscription.
130130

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

133-
#### [Azure portal](#tab/azure-portal)
133+
#### [Linux](#tab/linux/azure-portal)
134134

135135
1. Navigate to the [Azure Resource Graph Explorer](https://portal.azure.com/#view/HubsExtension/ArgQueryBlade) in the Azure portal.
136136

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**:
140138

141139
```kusto
142140
resources
@@ -148,6 +146,14 @@ You're promoted to install the [resource-graph extension](/cli/azure/graph), if
148146
| where siteProperties.name=='LinuxFxVersion'
149147
| project name, location, resourceGroup, stack=tostring(siteProperties.value)
150148
```
149+
150+
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**:
151157
152158
##### [Windows](#tab/windows)
153159

0 commit comments

Comments
 (0)