public ExportToCache ( string resourceGroupName, string cacheName, string containerUrisWithSasTokens, string prefix, string format ) : void | ||
resourceGroupName | string | |
cacheName | string | |
containerUrisWithSasTokens | string | |
prefix | string | |
format | string | |
return | void |
public void ExportToCache(string resourceGroupName, string cacheName, string containerUrisWithSasTokens, string prefix, string format)
{
ExportRDBParameters parameters = new ExportRDBParameters();
parameters.Container = containerUrisWithSasTokens;
parameters.Prefix = prefix;
if (!string.IsNullOrWhiteSpace(format))
{
parameters.Format = format;
}
_client.Redis.Export(resourceGroupName: resourceGroupName, name: cacheName, parameters: parameters);
}