So, I've been trying to build an application for managing VMs with an app I'm developing (as an aside, I think the MSDN tutorial named "Get Started with the Management Libraries for .NET" must be outdated because numerous errors crop up when following it).
I've been racking my head all day against errors and one that I haven't been able to get past is: "The location constraint is not valid", which is shown when I try and create a new service either through the dashboard or with ComputeManagementClient.HostedServices.CreateAsync.
I'm not sure what to do about this and useful google results are baren. On the dashboard I tried creating it with the north central US data center, but was also trying the West US datacenter as the above mentioned tutorial demonstrated. They both get this exact error. This was with using the LocationNames.WestUS field as the tutorial showed.
So my question is: how do I resolve this error and why does it occur?
As a somewhat unrelated problem, in my googling, I found a suggestion to query for the list of locations, for which I managed to findILocationOperations.ListAsync. But for the life of me I cannot figure out how to find concrete implementations from an interface. Googling turned up nothing, there's no relevant links, and when I tried looking into concrete classes with names that might be related, I had no luck. This seems to be a major issue with the documentation.