CmdID / az / az containerapp / az containerapp env / az containerapp env maintenance-config
az containerapp env maintenance-config add
Add Planned Maintenance to a Container App Environment Azure CLI extensions reference
1 example Its page in the Azure CLI extensions reference
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 SundayIdentify--environmentThe environment name.-gName of resource group.--durationThe duration in hours of the maintenance configuration.--start-hour-utcThe hour to start the maintenance configuration.--weekdayThe weekday to schedule the maintenance configuration.