az containerapp patch
Note
This reference is part of the containerapp extension for the Azure CLI (version 2.62.0 or higher). The extension will automatically install the first time you run an az containerapp patch command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Patch Azure Container Apps. Patching is only available for the apps built using the source to cloud feature. See https://aka.ms/aca-local-source-to-cloud.
Commands
Name | Description | Type | Status |
---|---|---|---|
az containerapp patch apply |
List and apply container apps to be patched. Patching is only available for the apps built using the source to cloud feature. See https://aka.ms/aca-local-source-to-cloud. |
Extension | Preview |
az containerapp patch interactive |
List and select container apps to be patched in an interactive way. Patching is only available for the apps built using the source to cloud feature. See https://aka.ms/aca-local-source-to-cloud. |
Extension | Preview |
az containerapp patch list |
List container apps that can be patched. Patching is only available for the apps built using the source to cloud feature. See https://aka.ms/aca-local-source-to-cloud. |
Extension | Preview |
az containerapp patch apply
Command group 'containerapp patch' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List and apply container apps to be patched. Patching is only available for the apps built using the source to cloud feature. See https://aka.ms/aca-local-source-to-cloud.
az containerapp patch apply [--environment]
[--resource-group]
[--show-all]
Examples
List patchable container apps in the current subscription and apply patch.
az containerapp patch apply
List patchable container apps by resource group and apply patch.
az containerapp patch apply -g MyResourceGroup
List patchable container apps by managed environment and apply patch.
az containerapp patch apply -g MyResourceGroup --environment MyContainerAppEnv
List patchable and unpatchable container apps by managed environment with the show-all option and apply patch for patchable container apps.
az containerapp patch apply -g MyResourceGroup --environment MyContainerAppEnv --show-all
Optional Parameters
Name or resource id of the Container App environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Show all patchable and unpatchable container apps.
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 containerapp patch interactive
Command group 'containerapp patch' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List and select container apps to be patched in an interactive way. Patching is only available for the apps built using the source to cloud feature. See https://aka.ms/aca-local-source-to-cloud.
az containerapp patch interactive [--environment]
[--resource-group]
[--show-all]
Examples
List patchable container apps in the current subscription and apply patch interactively.
az containerapp patch interactive
List patchable container apps by resource group and apply patch interactively.
az containerapp patch interactive -g MyResourceGroup
List patchable container apps by managed environment and apply patch interactively.
az containerapp patch interactive -g MyResourceGroup --environment MyContainerAppEnv
List patchable and unpatchable container apps by managed environment with the show-all option and apply patch for patchable container apps interactively.
az containerapp patch interactive -g MyResourceGroup --environment MyContainerAppEnv --show-all
Optional Parameters
Name or resource id of the Container App environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Show all patchable and unpatchable container apps.
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 containerapp patch list
Command group 'containerapp patch' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List container apps that can be patched. Patching is only available for the apps built using the source to cloud feature. See https://aka.ms/aca-local-source-to-cloud.
az containerapp patch list [--environment]
[--resource-group]
[--show-all]
Examples
List patchable container apps in the current subscription.
az containerapp patch list
List patchable container apps by resource group.
az containerapp patch list -g MyResourceGroup
List patchable container apps by managed environment.
az containerapp patch list -g MyResourceGroup --environment MyContainerAppEnv
List patchable and unpatchable container apps by managed environment with the show-all option.
az containerapp patch list -g MyResourceGroup --environment MyContainerAppEnv --show-all
Optional Parameters
Name or resource id of the Container App environment.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Show all patchable and unpatchable container apps.
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.