/// <summary> /// Create a redis cache, or replace (overwrite/recreate, with /// potential downtime) an existing cache /// </summary> /// <param name='operations'> /// Reference to the Microsoft.Azure.Management.Redis.IRedisOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the resource group. /// </param> /// <param name='name'> /// Required. The name of the redis cache. /// </param> /// <param name='parameters'> /// Required. Parameters supplied to the CreateOrUpdate redis operation. /// </param> /// <returns> /// The response of CreateOrUpdate redis operation. /// </returns> public static Task <RedisCreateOrUpdateResponse> CreateOrUpdateAsync(this IRedisOperations operations, string resourceGroupName, string name, RedisCreateOrUpdateParameters parameters) { return(operations.CreateOrUpdateAsync(resourceGroupName, name, parameters, CancellationToken.None)); }