diff --git a/src/azure/cli/commands/vm.py b/src/azure/cli/commands/vm.py index 7b9ca346485..c1d4b0f52f8 100644 --- a/src/azure/cli/commands/vm.py +++ b/src/azure/cli/commands/vm.py @@ -16,6 +16,10 @@ def _compute_client_factory(): return get_service_client(ComputeManagementClient, ComputeManagementClientConfiguration) +# TODO: Remove when [#115382979] has been resolved +from azure.mgmt.compute.models import VirtualMachineExtension # pylint: disable=wrong-import-position +VirtualMachineExtension._validation['location']['required'] = False # pylint: disable=protected-access + # pylint: disable=line-too-long build_operation("vm", "availabilityset",