/// <summary> /// Gets the capabilities for the specified location. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='location'> /// The Azure location (region) for which to make the request. /// </param> public static CapabilitiesResult GetCapabilities(this ILocationsOperations operations, string location) { return(operations.GetCapabilitiesAsync(location).GetAwaiter().GetResult()); }