az functionapp flex-migration
Manage migration of Linux Consumption function apps to the Flex Consumption plan.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az functionapp flex-migration list |
List all Linux Consumption function apps that are eligible for migration to the Flex Consumption plan. |
Core | GA |
| az functionapp flex-migration start |
Create a Flex Consumption app with the same settings as the provided Linux Consumption function app. |
Core | GA |
az functionapp flex-migration list
List all Linux Consumption function apps that are eligible for migration to the Flex Consumption plan.
az functionapp flex-migration list
Examples
List all Linux Consumption function apps that are eligible for migration to the Flex Consumption plan.
az functionapp flex-migration list
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az functionapp flex-migration start
Create a Flex Consumption app with the same settings as the provided Linux Consumption function app.
az functionapp flex-migration start --resource-group
--source-name
--source-resource-group
[--ids]
[--maximum-instance-count]
[--name]
[--sar --skip-access-restrictions {false, true}]
[--sc --skip-cors {false, true}]
[--sh --skip-hostnames {false, true}]
[--skip-managed-identities --smi {false, true}]
[--skip-storage-mount --ssm {false, true}]
[--storage-account]
[--subscription]
Examples
Migrate a Linux Consumption function app to the Flex Consumption plan.
az functionapp flex-migration start --source-name MyLinuxConsumptionApp --source-resource-group MyLinuxConsumptionResourceGroup --name MyFunctionApp --resource-group MyResourceGroup --storage-account MyStorageAccount
Migrate a Linux Consumption function app to the Flex Consumption plan without migrating managed identity configurations.
az functionapp flex-migration start --source-name MyLinuxConsumptionApp --source-resource-group MyLinuxConsumptionResourceGroup --name MyFunctionApp --resource-group MyResourceGroup --storage-account MyStorageAccount --skip-managed-identities
Required Parameters
The resource group of the target function app to migrate to.
The name of the source function app to migrate from.
The resource group of the source function app to migrate from.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
The maximum number of instances.
The name of the target function app to migrate to.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Skip migrating access restrictions.
| Property | Value |
|---|---|
| Default value: | False |
| Accepted values: | false, true |
Skip migrating CORS settings.
| Property | Value |
|---|---|
| Default value: | False |
| Accepted values: | false, true |
Skip migrating hostnames.
| Property | Value |
|---|---|
| Default value: | False |
| Accepted values: | false, true |
Skip migrating managed identities.
| Property | Value |
|---|---|
| Default value: | False |
| Accepted values: | false, true |
Skip migrating storage mounts.
| Property | Value |
|---|---|
| Default value: | False |
| Accepted values: | false, true |
The storage account to use for the target function app. If no storage account is provided, the storage account of the source function app will be used.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |