RedisCache Interface
Implements
public interface RedisCache
extends GroupableResource<RedisManager,RedisResourceInner>, Refreshable<RedisCache>, Updatable<Update>, SupportsListingPrivateLinkResource, SupportsListingPrivateEndpointConnection, SupportsUpdatingPrivateEndpointConnection
An immutable client-side representation of an Azure Redis Cache.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Redis |
asPremium() |
abstract
Map<String,Redis |
firewallRules() |
abstract void |
forceReboot(RebootType rebootType)
Reboot specified Redis node(s). |
abstract String | hostname() |
abstract boolean | isPremium() |
abstract
Redis |
keys() |
abstract
Tls |
minimumTlsVersion() |
abstract boolean | nonSslPort() |
abstract
List<Schedule |
patchSchedules() |
abstract int | port() |
abstract String | provisioningState() |
abstract
Public |
publicNetworkAccess()
Whether the redis cache can be accessed from public network. |
abstract Map<String,String> | redisConfiguration() |
abstract 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 String | staticIp() |
abstract 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:
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:
publicNetworkAccess
public abstract PublicNetworkAccess publicNetworkAccess()
Whether the redis cache can be accessed from public network.
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