I have a requirement to provision a VM in azure based on selected parameter/variable value.
Consider, if user selected the variable value as 'yes' then VM should get provisioned with availability set. if user selected 'no' then VM should get provisioned without availability set.
May I know, how we can achieve this using single ARM Template?
Thanks in Advance! Regards, Narendran