/// <summary> /// Create or replace (overwrite/recreate, with potential downtime) an existing /// 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 supplied to the Create Redis operation. /// </param> public static RedisResource Create(this IRedisOperations operations, string resourceGroupName, string name, RedisCreateParameters parameters) { return(operations.CreateAsync(resourceGroupName, name, parameters).GetAwaiter().GetResult()); }