Closed GarrettDavis closed 9 years ago
Kay, could you triage this in your team?
Thanks @GarrettDavis, this is on our TO DO list.
Thanks. Do you have an idea when this will be in a released version? We're getting ready to release our "Cloud Migration" tool for migrating servers into Azure and I would like to be able to get the Location from this API rather than also getting and parsing the configuration.
@GarrettDavis Unfortunatley, I don't have a date for you but we're trying to get this scheduled in one of the next few sprints. It's behind other high-pri large work items atm.
Closing as obsolete. Please reopen if this issue recurs
During TechEd (May 12-15) or before, the concept of Regional Virtual Networks was announced. When a new Virtual Network is created in the Portal, we don't even have the option of specifying an Affinity Group for the location, only a Region. Unfortunately, the INetworkOperations.ListAsync() method's response (NetworkListResponse) does not provide the region (VirtualNetworkSite.Location) of the Virtual Network, only a null AffinityGroup. To work around this and obtain the region, I need to also make a call to INetworkOperations.GetConfigurationAsync() and parse the configuration XML. I know that the REST API response has VirtualNetworkSite.Location so the code for NetworkListResponse simply needs to be regenerated with the new schema.
BTW, where are the specifications for the generated files so when I make these requests in the future, I can simply fork a file and add a pull request?
https://github.com/Azure/azure-sdk-for-net/issues/737