Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are 'managed' and 'non-managed' availability sets?

I'm trying to provision an Azure VM programmatically and I got this:

An unhandled exception of type 'Microsoft.Rest.Azure.CloudException' occurred in mscorlib.dll Additional information: Addition of a VM with managed disks to non-managed Availability Set or addition of a VM with blob based disks to managed Availability Set is not supported. Please create an Availability Set with 'managed' property set in order to add a VM with managed disks to it.

Unfortunately I don't understand the distinction its talking about with managed and non-managed availability sets. The API I am using for creating availability sets doesn't even obviously have such a flag/property. What conceptual background info am I missing here?

like image 310
Tim Lovell-Smith Avatar asked Dec 13 '16 21:12

Tim Lovell-Smith


1 Answers

I'm afraid it says what it should. And that state is clear.

You can't mix managed and unmanaged resources and availability sets. So if you want to have managed disk, VM it has to be created in managed availability set. Please follow this link to see more descriptive explanation at their help center.

like image 191
Michał Zaborowski Avatar answered Oct 20 '22 18:10

Michał Zaborowski