/// <summary> /// The List operation gets information about the vaults associated with the /// subscription. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='top'> /// Maximum number of results to return. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <VaultInner> > ListBySubscriptionAsync(this IVaultsOperations operations, int?top = default(int?), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListBySubscriptionWithHttpMessagesAsync(top, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }