Share via


RedisResource.ImportDataAsync Method

Definition

Import data into Redis cache.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}/import
  • Operation Id: Redis_ImportData
  • Default Api Version: 2024-03-01
  • Resource: RedisResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> ImportDataAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Redis.Models.ImportRdbContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ImportDataAsync : Azure.WaitUntil * Azure.ResourceManager.Redis.Models.ImportRdbContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.ImportDataAsync : Azure.WaitUntil * Azure.ResourceManager.Redis.Models.ImportRdbContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function ImportDataAsync (waitUntil As WaitUntil, content As ImportRdbContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ImportRdbContent

Parameters for Redis import operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to