/// <summary>
 /// Gets all redis caches using next link.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the Microsoft.Azure.Management.Redis.IRedisOperations.
 /// </param>
 /// <param name='nextLink'>
 /// Required. NextLink from the previous successful call to List
 /// operation.
 /// </param>
 /// <returns>
 /// The response of list redis operation.
 /// </returns>
 public static Task <RedisListResponse> ListNextAsync(this IRedisOperations operations, string nextLink)
 {
     return(operations.ListNextAsync(nextLink, CancellationToken.None));
 }
Exemple #2
0
 /// <summary>
 /// Gets all Redis caches in the specified subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <RedisResource> ListNext(this IRedisOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }