/// <summary> /// List of available share subscriptions under an account. /// </summary> /// <remarks> /// List share subscriptions 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='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <ShareSubscription> > ListByAccountAsync(this IShareSubscriptionsOperations operations, string resourceGroupName, string accountName, string skipToken = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListByAccountWithHttpMessagesAsync(resourceGroupName, accountName, skipToken, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }