az functionapp config container
Note
This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.
Manage an existing function app's container settings.
Commands
Name | Description | Type | Status |
---|---|---|---|
az functionapp config container delete |
Delete an existing function app's container settings. |
Core | GA |
az functionapp config container set |
Set an existing function app's container settings. |
Core | GA |
az functionapp config container set (appservice-kube extension) |
Set an existing function app's container settings. |
Extension | GA |
az functionapp config container show |
Get details of a function app's container settings. |
Core | GA |
az functionapp config container delete
Delete an existing function app's container settings.
az functionapp config container delete [--ids]
[--name]
[--resource-group]
[--slot]
[--subscription]
Optional Parameters
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.
Name of the function app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the productions slot if not specified.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az functionapp config container set
Set an existing function app's container settings.
az functionapp config container set [--cpu]
[--dal {false, true}]
[--dapr-app-id]
[--dapr-app-port]
[--dapr-http-max-request-size]
[--dapr-http-read-buffer-size]
[--dapr-log-level {debug, error, info, warn}]
[--docker-custom-image-name]
[--docker-registry-server-password]
[--docker-registry-server-url]
[--docker-registry-server-user]
[--enable-dapr {false, true}]
[--ids]
[--image]
[--max-replicas]
[--memory]
[--min-replicas]
[--name]
[--registry-password]
[--registry-server]
[--registry-username]
[--resource-group]
[--slot]
[--subscription]
[--workload-profile-name]
Examples
Set a function app container's settings. (autogenerated)
az functionapp config container set --docker-custom-image-name MyDockerCustomImage --docker-registry-server-password StrongPassword --docker-registry-server-url https://{azure-container-registry-name}.azurecr.io --docker-registry-server-user DockerUserId --name MyFunctionApp --resource-group MyResourceGroup
Optional Parameters
Required CPU in cores from 0.5 to 2.0.
Enable/Disable API logging for the Dapr sidecar.
The Dapr application identifier.
The port Dapr uses to communicate to the application.
Max size of request body http and grpc servers in MB to handle uploading of large files.
Max size of http header read buffer in KB to handle when sending multi-KB headers.
The log level for the Dapr sidecar.
Option '--docker-custom-image-name' has been deprecated and will be removed in a future release. Use '--image' instead.
The container custom image name and optionally the tag name (e.g., /:).
Option '--docker-registry-server-password' has been deprecated and will be removed in a future release. Use '--registry-password' instead.
The container registry server password.
Option '--docker-registry-server-url' has been deprecated and will be removed in a future release. Use '--registry-server' instead.
The container registry server url.
Option '--docker-registry-server-user' has been deprecated and will be removed in a future release. Use '--registry-username' instead.
The container registry server username.
Enable/Disable Dapr for a function app on an Azure Container App environment.
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.
The container custom image name and optionally the tag name (e.g., /:).
The maximum number of replicas when create function app on container app.
Required momory from 1.0 to 4.0 ending with Gi e.g. 1.0Gi,.
The minimum number of replicas when create function app on container app.
Name of the function app.
The container registry server password.
The container registry server url.
The container registry server username.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the productions slot if not specified.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the workload profile to run the app on.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az functionapp config container set (appservice-kube extension)
Set an existing function app's container settings.
az functionapp config container set [--docker-custom-image-name]
[--docker-registry-server-password]
[--docker-registry-server-url]
[--docker-registry-server-user]
[--ids]
[--name]
[--resource-group]
[--slot]
[--subscription]
Examples
Set a function app container's settings. (autogenerated)
az functionapp config container set --docker-custom-image-name MyDockerCustomImage --docker-registry-server-password StrongPassword --docker-registry-server-url https://{azure-container-registry-name}.azurecr.io --docker-registry-server-user DockerUserId --name MyFunctionApp --resource-group MyResourceGroup
Optional Parameters
The container custom image name and optionally the tag name.
The container registry server password.
The container registry server url.
The container registry server username.
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.
Name of the function app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the productions slot if not specified.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
az functionapp config container show
Get details of a function app's container settings.
az functionapp config container show [--ids]
[--name]
[--resource-group]
[--slot]
[--subscription]
Examples
Get details of a function app container's settings. (autogenerated)
az functionapp config container show --name MyFunctionApp --resource-group MyResourceGroup
Optional Parameters
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.
Name of the function app.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the productions slot if not specified.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
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.
Azure CLI