0

I explicitly created an Availability Set via the Azure console. I can launch VM's in successfully by selecting the Availability Set.

When I review the Availability Set in the console, I do not have an option to edit the Fault Domain or Update Domains values.

Are there options to perform this Action?

user1811107
  • 729
  • 3
  • 18
  • 39

1 Answers1

0

Yes, you can use REST api, or resources.azure.com to edit those values. Powershell\Cli have commands to edit those (Update-AzAvailabilitySet).

It appears these values are read only after creating the resource

4c74356b41
  • 69,186
  • 6
  • 100
  • 141
  • Thanks for pointing me in that direction, it looks promising, however. I tried using https://learn.microsoft.com/en-us/powershell/module/az.compute/update-azavailabilityset?view=azps-2.6.0#examples. But could not construct a command that would change this value. This is far as I reached Get-AzAvailabilitySet -ResourceGroupName 'mygroup' -Name 'nameofset' | Update-AzAvailabilitySet -Sku 'Aligned' I don't know how to specify the values to change... – user1811107 Sep 15 '19 at 04:54
  • interesting, it appears changing these values is blocked in the rest api, so I'm afraid you cannot do that. – 4c74356b41 Sep 15 '19 at 06:54