RedisCache.Update Interface
Implements
public static interface RedisCache.Update
extends Appliable<RedisCache>, UpdateWithTags<Update>, WithSku, WithNonSslPort, WithRedisConfiguration, WithPublicNetworkAccess
The template for a Redis Cache update operation, containing all the settings that can be modified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withFirewallRule(RedisFirewallRule rule)
Creates or updates Redis cache firewall rule with range of IP addresses permitted to connect to the cache. |
abstract Update |
withFirewallRule(String name, String lowestIp, String highestIp)
Creates or updates Redis cache firewall rule with range of IP addresses permitted to connect to the cache. |
abstract Update |
withMinimumTlsVersion(TlsVersion tlsVersion)
Requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). |
abstract Update |
withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc)
Adds Patch schedule to the current Premium Cluster Cache. |
abstract Update |
withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc, Duration maintenanceWindow)
Adds Patch schedule to the current Premium Cluster Cache. |
abstract Update |
withPatchSchedule(ScheduleEntry scheduleEntry)
Adds Patch schedule to the current Premium Cluster Cache. |
abstract Update |
withPatchSchedule(List<ScheduleEntry> scheduleEntry)
Adds Patch schedule to the current Premium Cluster Cache. |
abstract Update |
withRedisVersion(RedisCache.RedisVersion redisVersion)
Update the Redis version. |
abstract Update |
withShardCount(int shardCount)
The number of shards to be created on a Premium Cluster Cache. |
abstract Update |
withoutFirewallRule(String name)
Deletes a single firewall rule in the current Redis cache instance. |
abstract Update |
withoutMinimumTlsVersion()
Removes the requirement for clients minimum TLS version. |
abstract Update |
withoutPatchSchedule()
Removes all Patch schedules from the current Premium Cluster Cache. |
Method Details
withFirewallRule
public abstract RedisCache.Update withFirewallRule(RedisFirewallRule rule)
Creates or updates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.
Parameters:
Returns:
withFirewallRule
public abstract RedisCache.Update withFirewallRule(String name, String lowestIp, String highestIp)
Creates or updates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.
Parameters:
Returns:
withMinimumTlsVersion
public abstract RedisCache.Update withMinimumTlsVersion(TlsVersion tlsVersion)
Requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2').
Parameters:
Returns:
withPatchSchedule
public abstract RedisCache.Update withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc)
Adds Patch schedule to the current Premium Cluster Cache.
Parameters:
Returns:
withPatchSchedule
public abstract RedisCache.Update withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc, Duration maintenanceWindow)
Adds Patch schedule to the current Premium Cluster Cache.
Parameters:
Returns:
withPatchSchedule
public abstract RedisCache.Update withPatchSchedule(ScheduleEntry scheduleEntry)
Adds Patch schedule to the current Premium Cluster Cache.
Parameters:
Returns:
withPatchSchedule
public abstract RedisCache.Update withPatchSchedule(List
Adds Patch schedule to the current Premium Cluster Cache.
Parameters:
Returns:
withRedisVersion
public abstract RedisCache.Update withRedisVersion(RedisCache.RedisVersion redisVersion)
Update the Redis version.
Parameters:
Returns:
withShardCount
public abstract RedisCache.Update withShardCount(int shardCount)
The number of shards to be created on a Premium Cluster Cache.
Parameters:
Returns:
withoutFirewallRule
public abstract RedisCache.Update withoutFirewallRule(String name)
Deletes a single firewall rule in the current Redis cache instance.
Parameters:
Returns:
withoutMinimumTlsVersion
public abstract RedisCache.Update withoutMinimumTlsVersion()
Removes the requirement for clients minimum TLS version.
Returns:
withoutPatchSchedule
public abstract RedisCache.Update withoutPatchSchedule()
Removes all Patch schedules from the current Premium Cluster Cache.
Returns:
Applies to
Azure SDK for Java