/// <summary> /// Updates the specified location. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='location'> /// The AzureStack location. /// </param> /// <param name='newLocation'> /// The new location /// </param> public static Location CreateOrUpdate(this ILocationsOperations operations, string location, Location newLocation) { return(operations.CreateOrUpdateAsync(location, newLocation).GetAwaiter().GetResult()); }