az containerapp env maintenance-config
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 env maintenance-config command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Commands to manage Planned Maintenance for Container Apps.
Commands
Name | Description | Type | Status |
---|---|---|---|
az containerapp env maintenance-config add |
Add Planned Maintenance to a Container App Environment. |
Extension | Preview |
az containerapp env maintenance-config list |
List Planned Maintenance in a Container App Environment. |
Extension | Preview |
az containerapp env maintenance-config remove |
Remove Planned Maintenance in a Container App Environment. |
Extension | Preview |
az containerapp env maintenance-config update |
Update Planned Maintenance in a Container App Environment. |
Extension | Preview |
az containerapp env maintenance-config add
Command group 'containerapp env maintenance-config' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Add Planned Maintenance to a Container App Environment.
az containerapp env maintenance-config add --duration
--environment
--resource-group
--start-hour-utc
--weekday {Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
Examples
Configure a Container App Environment to use a Planned Maintenance
az containerapp env maintenance-config add --environment myEnv -g MyResourceGroup \
--duration 10 --start-hour-utc 11 --weekday Sunday
Required Parameters
The duration in hours of the maintenance configuration. Minimum value: 8. Maximum value: 24.
The environment name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The hour to start the maintenance configuration. Valid value from 0 to 23.
The weekday to schedule the maintenance configuration.
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 env maintenance-config list
Command group 'containerapp env maintenance-config' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List Planned Maintenance in a Container App Environment.
az containerapp env maintenance-config list --environment
--resource-group
Examples
List Planned Maintenance
az containerapp env maintenance-config list --environment myEnv -g MyResourceGroup
Required Parameters
The environment name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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 env maintenance-config remove
Command group 'containerapp env maintenance-config' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Remove Planned Maintenance in a Container App Environment.
az containerapp env maintenance-config remove --environment
--resource-group
[--yes]
Examples
Remove Planned Maintenance
az containerapp env maintenance-config remove --environment myEnv -g MyResourceGroup
Required Parameters
The environment name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not prompt for confirmation.
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 env maintenance-config update
Command group 'containerapp env maintenance-config' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update Planned Maintenance in a Container App Environment.
az containerapp env maintenance-config update --environment
--resource-group
[--duration]
[--start-hour-utc]
[--weekday {Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}]
Examples
Update the Planned Maintenance in a Container App Environment
az containerapp env maintenance-config update --environment myEnv -g MyResourceGroup \
--duration 8 --start-hour-utc 12 --weekday Thursday
Required Parameters
The environment name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The duration in hours of the maintenance configuration. Minimum value: 8. Maximum value: 24.
The hour to start the maintenance configuration. Valid value from 0 to 23.
The weekday to schedule the maintenance configuration.
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.