/// <summary> /// Gets subscription-level properties and limits for Data Lake Analytics /// specified by resource location. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='location'> /// The resource location without whitespace. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <CapabilityInformation> GetCapabilityAsync(this ILocationsOperations operations, string location, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetCapabilityWithHttpMessagesAsync(location, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }