Sdílet prostřednictvím


RedisCache Interface

Implements

GroupableResource<com.microsoft.azure.management.redis.implementation.RedisManager,com.microsoft.azure.management.redis.implementation.RedisResourceInner> Refreshable<RedisCache> Updatable<Update>

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 RedisCachePremium asPremium()
abstract java.util.Map<java.lang.String,RedisFirewallRule> firewallRules()
abstract void forceReboot(RebootType rebootType)

Reboot specified Redis node(s).

abstract RedisAccessKeys getKeys()
abstract java.lang.String hostName()
abstract boolean isPremium()
abstract RedisAccessKeys keys()
abstract TlsVersion minimumTlsVersion()
abstract boolean nonSslPort()
abstract java.util.List<ScheduleEntry> 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 RedisAccessKeys refreshKeys()

Fetch the up-to-date access keys from Azure for this Redis Cache.

abstract RedisAccessKeys 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:

exposes features available only to Premium Sku Redis Cache instances.

firewallRules

public abstract Map firewallRules()

Returns:

Firewall Rules in the Redis Cache, indexed by name

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:

rebootType - specifies which Redis node(s) to reboot. Depending on this value data loss is possible. Possible values include: 'PrimaryNode', 'SecondaryNode', 'AllNodes'.

getKeys

public abstract RedisAccessKeys getKeys()

Returns:

a Redis Cache's access keys. This operation requires write permission to the Cache resource.

hostName

public abstract String hostName()

Returns:

the hostName value

isPremium

public abstract boolean isPremium()

Returns:

returns true if current Redis Cache instance has Premium Sku.

keys

public abstract RedisAccessKeys keys()

Returns:

a Redis Cache's access keys. This operation requires write permission to the Cache resource.

minimumTlsVersion

public abstract TlsVersion minimumTlsVersion()

Returns:

the minimum TLS version (or higher) that clients require to use.

nonSslPort

public abstract boolean nonSslPort()

Returns:

true if non SSL port is enabled, false otherwise

patchSchedules

public abstract List patchSchedules()

Returns:

List of patch schedules for current Redis Cache.

port

public abstract int port()

Returns:

the port value

provisioningState

public abstract String provisioningState()

Returns:

the provisioningState value

redisConfiguration

public abstract Map redisConfiguration()

Returns:

the Redis configuration value

redisVersion

public abstract String redisVersion()

Returns:

the Redis version value

refreshKeys

public abstract RedisAccessKeys refreshKeys()

Fetch the up-to-date access keys from Azure for this Redis Cache.

Returns:

the access keys for this Redis Cache

regenerateKey

public abstract RedisAccessKeys regenerateKey(RedisKeyType keyType)

Regenerates the access keys for this Redis Cache.

Parameters:

keyType - key type to regenerate

Returns:

the generated access keys for this Redis Cache

shardCount

public abstract int shardCount()

Returns:

the shardCount value

sku

public abstract Sku sku()

Returns:

the sku value

sslPort

public abstract int sslPort()

Returns:

the sslPort value

staticIP

public abstract String staticIP()

Returns:

the staticIP value

subnetId

public abstract String subnetId()

Returns:

the subnetId value

Applies to