コード例 #1
0
 /// <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>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <Share> > ListByAccountAsync(this ISharesOperations operations, string resourceGroupName, string accountName, string skipToken = default(string), string filter = default(string), string orderby = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByAccountWithHttpMessagesAsync(resourceGroupName, accountName, skipToken, filter, orderby, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }