public static interface RedisCache.Update extends Appliable<RedisCache>, Resource.UpdateWithTags<RedisCache.Update>, RedisCache.UpdateStages.WithSku, RedisCache.UpdateStages.WithNonSslPort, RedisCache.UpdateStages.WithRedisConfiguration
Modifier and Type | Method and Description |
---|---|
RedisCache.Update |
withFirewallRule(RedisFirewallRule rule)
Creates or updates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.
|
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.
|
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').
|
RedisCache.Update |
withoutFirewallRule(String name)
Deletes a single firewall rule in the current Redis cache instance.
|
RedisCache.Update |
withoutMinimumTlsVersion()
Removes the requirement for clients minimum TLS version.
|
RedisCache.Update |
withoutPatchSchedule()
Removes all Patch schedules from the current Premium Cluster Cache.
|
RedisCache.Update |
withPatchSchedule(DayOfWeek dayOfWeek,
int startHourUtc)
Adds Patch schedule to the current Premium Cluster Cache.
|
RedisCache.Update |
withPatchSchedule(DayOfWeek dayOfWeek,
int startHourUtc,
org.joda.time.Period maintenanceWindow)
Adds Patch schedule to the current Premium Cluster Cache.
|
RedisCache.Update |
withPatchSchedule(List<ScheduleEntry> scheduleEntry)
Adds Patch schedule to the current Premium Cluster Cache.
|
RedisCache.Update |
withPatchSchedule(ScheduleEntry scheduleEntry)
Adds Patch schedule to the current Premium Cluster Cache.
|
RedisCache.Update |
withShardCount(int shardCount)
The number of shards to be created on a Premium Cluster Cache.
|
apply, applyAsync, applyAsync
key
withoutTag, withTag, withTags
withBasicSku, withPremiumSku, withPremiumSku, withStandardSku, withStandardSku
withNonSslPort, withoutNonSslPort
withoutRedisConfiguration, withoutRedisConfiguration, withRedisConfiguration, withRedisConfiguration
RedisCache.Update withShardCount(int shardCount)
shardCount
- the shard count value to set.RedisCache.Update withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc)
dayOfWeek
- day of week when cache can be patched.startHourUtc
- start hour after which cache patching can start.RedisCache.Update withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc, org.joda.time.Period maintenanceWindow)
dayOfWeek
- day of week when cache can be patched.startHourUtc
- start hour after which cache patching can start.maintenanceWindow
- ISO8601 timespan specifying how much time cache patching can take.RedisCache.Update withPatchSchedule(ScheduleEntry scheduleEntry)
scheduleEntry
- Patch schedule entry for Premium Redis Cache.RedisCache.Update withPatchSchedule(List<ScheduleEntry> scheduleEntry)
scheduleEntry
- List of patch schedule entries for Premium Redis Cache.@Beta(value=V1_12_0) RedisCache.Update withoutPatchSchedule()
@Beta(value=V1_12_0) RedisCache.Update withFirewallRule(String name, String lowestIp, String highestIp)
name
- name of the rule.lowestIp
- lowest IP address included in the range.highestIp
- highest IP address included in the range.@Beta(value=V1_12_0) RedisCache.Update withFirewallRule(RedisFirewallRule rule)
rule
- firewall rule that specifies name, lowest and highest IP address included in the range of permitted IP addresses.@Beta(value=V1_12_0) RedisCache.Update withoutFirewallRule(String name)
name
- name of the rule.@Beta(value=V1_12_0) RedisCache.Update withMinimumTlsVersion(TlsVersion tlsVersion)
tlsVersion
- minimum TLS version.@Beta(value=V1_12_0) RedisCache.Update withoutMinimumTlsVersion()
Copyright © 2019. All rights reserved.