///GENMHASH:7EA43FE4B5DC6873C3A15AE9AF9FD9A2:DB640B4FFC3846A52E12E749C7AE1E07
 public async Task ImportDataAsync(IList <string> files, CancellationToken cancellationToken = default(CancellationToken))
 {
     var parameters = new ImportRDBParametersInner
     {
         Files = files
     };
     await Manager.Inner.Redis.ImportDataAsync(this.ResourceGroupName, this.Name, parameters, cancellationToken);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Import data into Redis cache.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='name'>
 /// The name of the Redis cache.
 /// </param>
 /// <param name='parameters'>
 /// Parameters for Redis import operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginImportDataAsync(this IRedisOperations operations, string resourceGroupName, string name, ImportRDBParametersInner parameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginImportDataWithHttpMessagesAsync(resourceGroupName, name, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }