Share via


RedisResource.ImportData 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 Azure.ResourceManager.ArmOperation ImportData (Azure.WaitUntil waitUntil, Azure.ResourceManager.Redis.Models.ImportRdbContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ImportData : Azure.WaitUntil * Azure.ResourceManager.Redis.Models.ImportRdbContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.ImportData : Azure.WaitUntil * Azure.ResourceManager.Redis.Models.ImportRdbContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function ImportData (waitUntil As WaitUntil, content As ImportRdbContent, Optional cancellationToken As CancellationToken = Nothing) As 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