/// <summary> /// Get a quota by name. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='location'> /// Location of the resource. /// </param> /// <param name='resourceName'> /// Name of the resource. /// </param> public static Quota Get(this IQuotasOperations operations, string location, string resourceName) { return(operations.GetAsync(location, resourceName).GetAwaiter().GetResult()); }
/// <summary> /// Gets a quota by name. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='location'> /// The AzureStack location. /// </param> /// <param name='quota'> /// Name of the quota. /// </param> public static Quota Get(this IQuotasOperations operations, string location, string quota) { return(operations.GetAsync(location, quota).GetAwaiter().GetResult()); }