CmdID / az / az functionapp
az functionapp create
Create a function app. Azure CLI reference
53 options Its page in the Azure CLI reference
Options
Show its 53 options
--always-ready-instancesspace-separated configuration for the number of pre-allocated instances in the format <name>=<value>--app-insights-keyInstrumentation key of App Insights to be added.--app-insightsName of the existing App Insights project to be added to the same resource group.--configure-networking-later, --cnlUse this option if you want to configure networking later for an app using network-restricted storage.--consumption-plan-location, -cGeographic location where--cpuThe CPU in cores of the container app.--dapr-app-idThe Dapr application identifier.--dapr-app-portThe port Dapr uses to communicate to the application.--dapr-enable-api-logging, --dalEnable/Disable API logging for the Dapr sidecar.--dapr-http-max-request-size, --dhmrsMax size of request body http and grpc servers in MB to handle uploading of large files.--dapr-http-read-buffer-size, --dhrbsMax size of http header read buffer in KB to handle when sending multi-KB headers.--dapr-log-levelThe log level for the Dapr sidecar--deployment-image-auth-type, --diatHow the platform authenticates to the registry: Anonymous (public image), SystemAssignedIdentity, UserAssignedIdentity (requires --deployment-image-identity), or Basic (requires --deployment-image-username-setting and --deployment-image-password-setting).--deployment-image-identity, --diiResource ID of the user-assigned managed identity used to pull the image.--deployment-image-password-setting, --dipsName of the app setting that stores the registry password.--deployment-image-username-setting, --diusName of the app setting that stores the registry username.--deployment-imageContainer image for a Flex Consumption app, specified by tag or digest, e.g. myregistry.azurecr.io/myimage:v1 or myregistry.azurecr.io/myimage@sha256:<digest>.--deployment-local-git, -lenable local git--deployment-source-branch, -bthe branch to deploy--deployment-source-url, -uGit repository URL to link with manual integration--deployment-storage-auth-type, --dsatThe deployment storage account authentication type.--deployment-storage-auth-value, --dsavThe deployment storage account authentication value.--deployment-storage-container-name, --dscnThe deployment storage account container name.--deployment-storage-name, --dsnThe deployment storage account name.--deployment-zip, -zperform deployment using zip file--disable-app-insightsDisable creating application insights resource during functionapp create.--domain-name-scopeSpecify the scope of uniqueness for the default hostname during resource creation.--enable-daprEnable/Disable Dapr for a function app on an Azure Container App environment--environmentName of the container app environment.--flexconsumption-location, -fGeographic location where function app will be hosted.--functions-versionThe functions app version.--https-onlyRedirect all traffic made to an app using HTTP to HTTPS.--image, -iContainer image, e.g. publisher/image-name:tag--instance-memoryThe instance memory size in MB.--max-replicasThe maximum number of replicas when create function app on container app--maximum-instance-countThe maximum number of instances.--memoryThe memory size of the container app.--min-replicasThe minimum number of replicas when create function app on container app--name, -nname of the new--os-typeSet the OS type for the app to be created.--plan, -pname or resource id of the functionapp app service plan.--registry-password, -wThe container registry server password.--registry-serverThe container registry server hostname, e.g. myregistry.azurecr.io.--registry-username, -dThe container registry server username.--runtime-versionThe version of the functions runtime stack.--runtimeThe functions runtime stack.--storage-account, -sProvide a string value of a Storage Account in the provided Resource Group.--subnetName or resource ID of the pre-existing subnet to have the webapp join.--tagsspace-separated tags: key[=value] [key[=value] ...].--vnetName or resource ID of the regional virtual network.--workload-profile-nameThe workload profile name to run the container app on.--workspaceName of an existing log analytics workspace to be used for the application insights component--zone-redundantEnable zone redundancy for high availability.