/// <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()); }
/// <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()); }
/// <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()); }
/// <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()); }