/// <summary>
 /// List all quotas.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// Location of the resource.
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 public static IEnumerable <Quota> List(this IQuotasOperations operations, string location, ODataQuery <Quota> odataQuery = default(ODataQuery <Quota>))
 {
     return(operations.ListAsync(location, odataQuery).GetAwaiter().GetResult());
 }
示例#2
0
 /// <summary>
 /// Lists all Compute quotas.
 /// </summary>
 /// <remarks>
 /// Get a list of existing Compute quotas.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// Location of the resource.
 /// </param>
 public static IEnumerable <Quota> List(this IQuotasOperations operations, string location)
 {
     return(operations.ListAsync(location).GetAwaiter().GetResult());
 }
示例#3
0
 /// <summary>
 /// Gets the currently assigned Workspace Quotas based on VMFamily.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// The location for which resource usage is queried.
 /// </param>
 public static IPage <ResourceQuota> List(this IQuotasOperations operations, string location)
 {
     return(operations.ListAsync(location).GetAwaiter().GetResult());
 }
示例#4
0
 /// <summary>
 /// List quotas for the given workspace.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IPage <Quota> List(this IQuotasOperations operations)
 {
     return(operations.ListAsync().GetAwaiter().GetResult());
 }