RedisCache.DefinitionStages.WithCreate Interface
Implements
public static interface RedisCache.DefinitionStages.WithCreate
extends Creatable<RedisCache>, DefinitionWithTags<WithCreate>
A Redis Cache definition with sufficient inputs to create a new Redis Cache in the cloud, but exposing additional optional inputs to specify.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
disablePublicNetworkAccess()
Disables public network access for the redis cache. |
abstract
With |
withFirewallRule(RedisFirewallRule rule)
Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache. |
abstract
With |
withFirewallRule(String name, String lowestIp, String highestIp)
Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache. |
abstract
With |
withMinimumTlsVersion(TlsVersion tlsVersion)
Requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2'). |
abstract
With |
withNonSslPort()
Enables non-ssl Redis server port (6379). |
abstract
With |
withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc)
Patch schedule on a Premium Cluster Cache. |
abstract
With |
withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc, Duration maintenanceWindow)
Patch schedule on a Premium Cluster Cache. |
abstract
With |
withPatchSchedule(ScheduleEntry scheduleEntry)
Patch schedule on a Premium Cluster Cache. |
abstract
With |
withPatchSchedule(List<ScheduleEntry> scheduleEntry)
Patch schedule on a Premium Cluster Cache. |
abstract
With |
withRedisConfiguration(RedisConfiguration redisConfiguration)
Specifies Redis Setting. |
abstract
With |
withRedisConfiguration(String key, String value)
Specifies Redis Setting. |
abstract
With |
withRedisConfiguration(Map<String,String> redisConfiguration)
All Redis Settings. |
abstract
With |
withRedisVersion(RedisCache.RedisVersion redisVersion)
Explicitly specify the Redis version to create with |
Method Details
disablePublicNetworkAccess
public abstract RedisCache.DefinitionStages.WithCreate disablePublicNetworkAccess()
Disables public network access for the redis cache.
Returns:
withFirewallRule
public abstract RedisCache.DefinitionStages.WithCreate withFirewallRule(RedisFirewallRule rule)
Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.
Parameters:
Returns:
withFirewallRule
public abstract RedisCache.DefinitionStages.WithCreate withFirewallRule(String name, String lowestIp, String highestIp)
Creates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.
Parameters:
Returns:
withMinimumTlsVersion
public abstract RedisCache.DefinitionStages.WithCreate 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:
withNonSslPort
public abstract RedisCache.DefinitionStages.WithCreate withNonSslPort()
Enables non-ssl Redis server port (6379).
Returns:
withPatchSchedule
public abstract RedisCache.DefinitionStages.WithCreate withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc)
Patch schedule on a Premium Cluster Cache.
Parameters:
Returns:
withPatchSchedule
public abstract RedisCache.DefinitionStages.WithCreate withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc, Duration maintenanceWindow)
Patch schedule on a Premium Cluster Cache.
Parameters:
Returns:
withPatchSchedule
public abstract RedisCache.DefinitionStages.WithCreate withPatchSchedule(ScheduleEntry scheduleEntry)
Patch schedule on a Premium Cluster Cache.
Parameters:
Returns:
withPatchSchedule
public abstract RedisCache.DefinitionStages.WithCreate withPatchSchedule(List
Patch schedule on a Premium Cluster Cache.
Parameters:
Returns:
withRedisConfiguration
public abstract RedisCache.DefinitionStages.WithCreate withRedisConfiguration(RedisConfiguration redisConfiguration)
Specifies Redis Setting.
Parameters:
Returns:
withRedisConfiguration
public abstract RedisCache.DefinitionStages.WithCreate withRedisConfiguration(String key, String value)
Specifies Redis Setting. rdb-backup-enabled, rdb-storage-connection-string, rdb-backup-frequency, maxmemory-delta, maxmemory-policy, notify-keyspace-events, maxmemory-samples, slowlog-log-slower-than, slowlog-max-len, list-max-ziplist-entries, list-max-ziplist-value, hash-max-ziplist-entries, hash-max-ziplist-value, set -max-intset-entries, zset-max-ziplist-entries, zset-max-ziplist-value etc.
Parameters:
Returns:
withRedisConfiguration
public abstract RedisCache.DefinitionStages.WithCreate withRedisConfiguration(Map
All Redis Settings. Few possible keys: rdb-backup-enabled, rdb-storage-connection-string, rdb-backup-frequency, maxmemory-delta, maxmemory-policy, notify-keyspace-events, maxmemory-samples, slowlog-log-slower-than, slowlog-max-len, list-max-ziplist-entries, list-max-ziplist-value, hash-max-ziplist-entries, hash-max-ziplist-value, set -max-intset-entries, zset-max-ziplist-entries, zset-max-ziplist-value etc.
Parameters:
Returns:
withRedisVersion
public abstract RedisCache.DefinitionStages.WithCreate withRedisVersion(RedisCache.RedisVersion redisVersion)
Explicitly specify the Redis version to create with
Parameters:
Returns:
Applies to
Azure SDK for Java