RedisCache Interface
Implements
public interface RedisCache
extends GroupableResource<com.microsoft.azure.management.redis.implementation.RedisManager,com.microsoft.azure.management.redis.implementation.RedisResourceInner>, Refreshable<RedisCache>, Updatable<Update>
An immutable client-side representation of an Azure Redis Cache.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Redis |
asPremium() |
abstract
java.util.Map<java.lang.String,Redis |
firewallRules() |
abstract void |
forceReboot(RebootType rebootType)
Reboot specified Redis node(s). |
abstract
Redis |
getKeys() |
abstract java.lang.String | hostName() |
abstract boolean | isPremium() |
abstract
Redis |
keys() |
abstract
Tls |
minimumTlsVersion() |
abstract boolean | nonSslPort() |
abstract
java.util.List<Schedule |
patchSchedules() |
abstract int | port() |
abstract java.lang.String | provisioningState() |
abstract java.util.Map<java.lang.String,java.lang.String> | redisConfiguration() |
abstract java.lang.String | redisVersion() |
abstract
Redis |
refreshKeys()
Fetch the up-to-date access keys from Azure for this Redis Cache. |
abstract
Redis |
regenerateKey(RedisKeyType keyType)
Regenerates the access keys for this Redis Cache. |
abstract int | shardCount() |
abstract Sku | sku() |
abstract int | sslPort() |
abstract java.lang.String | staticIP() |
abstract java.lang.String | subnetId() |
Method Details
asPremium
public abstract RedisCachePremium asPremium()
Returns:
firewallRules
public abstract Map
Returns:
forceReboot
public abstract void forceReboot(RebootType rebootType)
Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
Parameters:
getKeys
public abstract RedisAccessKeys getKeys()
Returns:
hostName
public abstract String hostName()
Returns:
isPremium
public abstract boolean isPremium()
Returns:
keys
public abstract RedisAccessKeys keys()
Returns:
minimumTlsVersion
public abstract TlsVersion minimumTlsVersion()
Returns:
nonSslPort
public abstract boolean nonSslPort()
Returns:
patchSchedules
public abstract List
Returns:
port
public abstract int port()
Returns:
provisioningState
public abstract String provisioningState()
Returns:
redisConfiguration
public abstract Map
Returns:
redisVersion
public abstract String redisVersion()
Returns:
refreshKeys
public abstract RedisAccessKeys refreshKeys()
Fetch the up-to-date access keys from Azure for this Redis Cache.
Returns:
regenerateKey
public abstract RedisAccessKeys regenerateKey(RedisKeyType keyType)
Regenerates the access keys for this Redis Cache.
Parameters:
Returns:
shardCount
public abstract int shardCount()
Returns:
sku
public abstract Sku sku()
Returns:
sslPort
public abstract int sslPort()
Returns:
staticIP
public abstract String staticIP()
Returns:
subnetId
public abstract String subnetId()
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for