This is autogenerated. Please review and update as needed.
Describe the bug
Specifying a Resource ID for a virtual machine (sub-resource) of a VMSS performs maintenance on the entire VMSS.
Command Name
az vmss perform-maintenance
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here...
az vmss perform-maintenance --ids {} (for example /subscriptions/{uuid}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myVMSS/virtualMachines/1
Expected Behavior
Either an error, or maintenance is only performed on virtual machine 1
Environment Summary
macOS-13.0.1-arm64-arm-64bit, Darwin 22.1.0
Python 3.10.8
Installer: HOMEBREW
azure-cli 2.42.0
Extensions:
aks-preview 0.5.75
Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1
Additional Context
This was attempted as a workaround to #24791
This is autogenerated. Please review and update as needed.
Describe the bug
Specifying a Resource ID for a virtual machine (sub-resource) of a VMSS performs maintenance on the entire VMSS.
Command Name
az vmss perform-maintenanceErrors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az vmss perform-maintenance --ids {}(for example/subscriptions/{uuid}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myVMSS/virtualMachines/1Expected Behavior
Either an error, or maintenance is only performed on virtual machine
1Environment Summary
Additional Context
This was attempted as a workaround to #24791