Exemplo n.º 1
0
 /// <summary>
 /// Gets the current usage count and the limit for the resources of the
 /// location under the subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// The resource location without whitespace.
 /// </param>
 public static IEnumerable <Usage> GetUsage(this ILocationsOperations operations, string location)
 {
     return(operations.GetUsageAsync(location).GetAwaiter().GetResult());
 }