Microsoft.Azure.Commands.RedisCache.RedisCacheClient.ImportToCache C# (CSharp) Method

ImportToCache() public method

public ImportToCache ( string resourceGroupName, string cacheName, string blobUrisWithSasTokens, string format ) : void
resourceGroupName string
cacheName string
blobUrisWithSasTokens string
format string
return void
        public void ImportToCache(string resourceGroupName, string cacheName, string[] blobUrisWithSasTokens, string format)
        {
            ImportRDBParameters parameters = new ImportRDBParameters();
            parameters.Files = blobUrisWithSasTokens;
            if (!string.IsNullOrWhiteSpace(format))
            {
                parameters.Format = format;
            }
            _client.Redis.Import(resourceGroupName: resourceGroupName, name: cacheName, parameters: parameters);
        }