-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Preconditions
- No need to upgrade Python SDK or the Python SDK is ready.
Related command
az vmss create
Resource Provider
Microsoft.Compute/VMSS
Description of Feature or Work Requested
The work requested is around Automatic Instance Repairs feature. The main ask is to support “--enable-automatic-repairs” command on az vmss create.
Additional Context:
“--enable-automatic-repairs” command today is available only in az vmss update, but not in az vmss create. This is interesting because other commands associated with Instance Repairs like “--automatic-repairs-action” and “--automatic-repairs-grace-period” exists in az vmss create. My assumption is that today, without “--enable-automatic-repairs” in az vmss create, Automatic Instance Repairs will be implicitly enabled if customer specifies “--automatic-repairs-action” or “--automatic-repairs-grace-period” in az vmss create.
However, we have a new feature coming up (Auto AZ Balance) that will bundle Automatic Instance Repairs when customers turn on Auto AZ Balance. This means that, when customers turn on Auto AZ Balance, platform will automatically turn on Automatic Instance Repairs on their scale set. However, we want to ensure that customers have the option to opt-out of Automatic Instance Repairs while still keeping Auto AZ balance. So customers will need to have ability to specify az vmss create --enable-automatic-repairs false when creating a VMSS.
- Note: We don't need CLI to turn on Auto Instance Repairs when Auto AZ Balance is enabled. This bundling will be applied automatically from the platform side.
Had a separate sync with @zhoxing-ms May 30th to go over this scenario, and the desired behaviour.
Minimum API Version Required
2021-11-01
Swagger PR link / SDK link
Request Example
Desired behavior (with --enable-auto-repairs on az vmss create):
[NEW] az vmss create --enable-auto-repairs true
[NEW] az vmss create ---enable-automatic-zone-balancing true \ --enable-auto-repairs false
Target Date
2025-06-30
PM Contact
hilarywang
Engineer Contact
raredd
Additional context
No response