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()
Gets an instance of the Azure Redis cache with Premium SKU. |
abstract
Map<String,Redis |
firewallRules()
Gets firewall rules in the Redis Cache. |
abstract void |
forceReboot(RebootType rebootType)
Reboot specified Redis node(s). |
abstract String |
hostname()
Gets the host name. |
abstract boolean |
isPremium()
Checks whether current Redis Cache instance has Premium Sku. |
abstract
Redis |
keys()
Gets a Redis Cache's access keys. |
abstract
Tls |
minimumTlsVersion()
Gets the minimum TLS version (or higher) that clients require to use. |
abstract boolean |
nonSslPort()
Checks whether non SSL port is enabled. |
abstract
List<Schedule |
patchSchedules()
Gets list of patch schedules for current Redis Cache. |
abstract int |
port()
Gets the port. |
abstract String |
provisioningState()
Gets the provisioning state. |
abstract
Public |
publicNetworkAccess()
Whether the redis cache can be accessed from public network. |
abstract Map<String,String> |
redisConfiguration()
Gets the redis configuration. |
abstract String |
redisVersion()
Gets the redis version |
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()
Gets count of the shard. |
abstract Sku |
sku()
Gets the SKU. |
abstract int |
sslPort()
Gets SSL port. |
abstract String |
staticIp()
Gets the static IP. |
abstract String |
subnetId()
Gets the resource id of the subnet. |
Method Details
asPremium
public abstract RedisCachePremium asPremium()
Gets an instance of the Azure Redis cache with Premium SKU.
Returns:
firewallRules
public abstract Map
Gets firewall rules in the Redis Cache.
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()
Gets the host name.
Returns:
isPremium
public abstract boolean isPremium()
Checks whether current Redis Cache instance has Premium Sku.
Returns:
keys
public abstract RedisAccessKeys keys()
Gets a Redis Cache's access keys.
Returns:
minimumTlsVersion
public abstract TlsVersion minimumTlsVersion()
Gets the minimum TLS version (or higher) that clients require to use.
Returns:
nonSslPort
public abstract boolean nonSslPort()
Checks whether non SSL port is enabled.
Returns:
patchSchedules
public abstract List
Gets list of patch schedules for current Redis Cache.
Returns:
port
public abstract int port()
Gets the port.
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioning state.
Returns:
publicNetworkAccess
public abstract PublicNetworkAccess publicNetworkAccess()
Whether the redis cache can be accessed from public network.
Returns:
redisConfiguration
public abstract Map
Gets the redis configuration.
Returns:
redisVersion
public abstract String redisVersion()
Gets the redis version
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()
Gets count of the shard.
Returns:
sku
public abstract Sku sku()
Gets the SKU.
Returns:
sslPort
public abstract int sslPort()
Gets SSL port.
Returns:
staticIp
public abstract String staticIp()
Gets the static IP.
Returns:
subnetId
public abstract String subnetId()
Gets the resource id of the subnet.
Returns:
Applies to
Azure SDK for Java