Skip to content

az vmss perform-maintenance --ids <VM instance resource ID> performs maintenance on the entire VMSS #24792

@eager-signal

Description

@eager-signal

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

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotact-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions