Interface RedisCache.Update
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.model.Appliable<RedisCache>,com.microsoft.azure.management.resources.fluentcore.model.Indexable,RedisCache.UpdateStages.WithNonSslPort,RedisCache.UpdateStages.WithRedisConfiguration,RedisCache.UpdateStages.WithSku,com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<RedisCache.Update>
- Enclosing interface:
- RedisCache
public static interface RedisCache.Update extends com.microsoft.azure.management.resources.fluentcore.model.Appliable<RedisCache>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<RedisCache.Update>, RedisCache.UpdateStages.WithSku, RedisCache.UpdateStages.WithNonSslPort, RedisCache.UpdateStages.WithRedisConfiguration
The template for a Redis Cache update operation, containing all the settings that can be modified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RedisCache.UpdatewithFirewallRule(RedisFirewallRule rule)Creates or updates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.RedisCache.UpdatewithFirewallRule(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.UpdatewithMinimumTlsVersion(TlsVersion tlsVersion)Requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2').RedisCache.UpdatewithoutFirewallRule(String name)Deletes a single firewall rule in the current Redis cache instance.RedisCache.UpdatewithoutMinimumTlsVersion()Removes the requirement for clients minimum TLS version.RedisCache.UpdatewithoutPatchSchedule()Removes all Patch schedules from the current Premium Cluster Cache.RedisCache.UpdatewithPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc)Adds Patch schedule to the current Premium Cluster Cache.RedisCache.UpdatewithPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc, org.joda.time.Period maintenanceWindow)Adds Patch schedule to the current Premium Cluster Cache.RedisCache.UpdatewithPatchSchedule(ScheduleEntry scheduleEntry)Adds Patch schedule to the current Premium Cluster Cache.RedisCache.UpdatewithPatchSchedule(List<ScheduleEntry> scheduleEntry)Adds Patch schedule to the current Premium Cluster Cache.RedisCache.UpdatewithShardCount(int shardCount)The number of shards to be created on a Premium Cluster Cache.-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Appliable
apply, applyAsync, applyAsync
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
-
Methods inherited from interface com.microsoft.azure.management.redis.RedisCache.UpdateStages.WithNonSslPort
withNonSslPort, withoutNonSslPort
-
Methods inherited from interface com.microsoft.azure.management.redis.RedisCache.UpdateStages.WithRedisConfiguration
withoutRedisConfiguration, withoutRedisConfiguration, withRedisConfiguration, withRedisConfiguration
-
Methods inherited from interface com.microsoft.azure.management.redis.RedisCache.UpdateStages.WithSku
withBasicSku, withPremiumSku, withPremiumSku, withStandardSku, withStandardSku
-
-
-
-
Method Detail
-
withShardCount
RedisCache.Update withShardCount(int shardCount)
The number of shards to be created on a Premium Cluster Cache.- Parameters:
shardCount- the shard count value to set.- Returns:
- the next stage of Redis Cache update.
-
withPatchSchedule
RedisCache.Update withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc)
Adds Patch schedule to the current Premium Cluster Cache.- Parameters:
dayOfWeek- day of week when cache can be patched.startHourUtc- start hour after which cache patching can start.- Returns:
- the next stage of Redis Cache with Premium SKU definition.
-
withPatchSchedule
RedisCache.Update withPatchSchedule(DayOfWeek dayOfWeek, int startHourUtc, org.joda.time.Period maintenanceWindow)
Adds Patch schedule to the current Premium Cluster Cache.- Parameters:
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.- Returns:
- the next stage of Redis Cache with Premium SKU definition.
-
withPatchSchedule
RedisCache.Update withPatchSchedule(ScheduleEntry scheduleEntry)
Adds Patch schedule to the current Premium Cluster Cache.- Parameters:
scheduleEntry- Patch schedule entry for Premium Redis Cache.- Returns:
- the next stage of Redis Cache with Premium SKU definition.
-
withPatchSchedule
RedisCache.Update withPatchSchedule(List<ScheduleEntry> scheduleEntry)
Adds Patch schedule to the current Premium Cluster Cache.- Parameters:
scheduleEntry- List of patch schedule entries for Premium Redis Cache.- Returns:
- the next stage of Redis Cache with Premium SKU definition.
-
withoutPatchSchedule
@Beta(V1_12_0) RedisCache.Update withoutPatchSchedule()
Removes all Patch schedules from the current Premium Cluster Cache.- Returns:
- the next stage of Redis Cache with Premium SKU definition.
-
withFirewallRule
@Beta(V1_12_0) 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:
name- name of the rule.lowestIp- lowest IP address included in the range.highestIp- highest IP address included in the range.- Returns:
- the next stage of Redis Cache update.
-
withFirewallRule
@Beta(V1_12_0) RedisCache.Update withFirewallRule(RedisFirewallRule rule)
Creates or updates Redis cache firewall rule with range of IP addresses permitted to connect to the cache.- Parameters:
rule- firewall rule that specifies name, lowest and highest IP address included in the range of permitted IP addresses.- Returns:
- the next stage of Redis Cache update.
-
withoutFirewallRule
@Beta(V1_12_0) RedisCache.Update withoutFirewallRule(String name)
Deletes a single firewall rule in the current Redis cache instance.- Parameters:
name- name of the rule.- Returns:
- the next stage of Redis Cache update.
-
withMinimumTlsVersion
@Beta(V1_12_0) 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:
tlsVersion- minimum TLS version.- Returns:
- the next stage of Redis Cache definition.
-
withoutMinimumTlsVersion
@Beta(V1_12_0) RedisCache.Update withoutMinimumTlsVersion()
Removes the requirement for clients minimum TLS version.- Returns:
- the next stage of Redis Cache definition.
-
-