/// <summary> /// List of available shares under an account. /// </summary> /// <remarks> /// List shares in an account /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> /// <param name='accountName'> /// The name of the share account. /// </param> /// <param name='skipToken'> /// Continuation Token /// </param> /// <param name='filter'> /// Filters the results using OData syntax. /// </param> /// <param name='orderby'> /// Sorts the results using OData syntax. /// </param> public static IPage <Share> ListByAccount(this ISharesOperations operations, string resourceGroupName, string accountName, string skipToken = default(string), string filter = default(string), string orderby = default(string)) { return(operations.ListByAccountAsync(resourceGroupName, accountName, skipToken, filter, orderby).GetAwaiter().GetResult()); }