RedisCache.DefinitionStages.WithCreate 接口

public interface WithCreate extends Creatable<RedisCache>,Resource.DefinitionWithTags<WithCreate>

A Redis Cache definition with sufficient inputs to create a new Redis Cache in the cloud, but exposing additional optional inputs to specify.

方法

withNonSslPort()

Enables non-ssl Redis server port (6379).

withRedisConfiguration(Map<String, String> redisConfiguration)

All Redis Settings. Few possible keys: rdb-backup-enabled, rdb-storage-connection-string, rdb-backup-frequency, maxmemory-delta, maxmemory-policy, notify-keyspace-events, maxmemory-samples, slowlog-log-slower-than, slowlog-max-len, list-max-ziplist-entries, list-max-ziplist-value, hash-max-ziplist-entries, hash-max-ziplist-value, set -max-intset-entries, zset-max-ziplist-entries, zset-max-ziplist-value etc.

withRedisConfiguration(String key, String value)

Specifies Redis Setting. rdb-backup-enabled, rdb-storage-connection-string, rdb-backup-frequency, maxmemory-delta, maxmemory-policy, notify-keyspace-events, maxmemory-samples, slowlog-log-slower-than, slowlog-max-len, list-max-ziplist-entries, list-max-ziplist-value, hash-max-ziplist-entries, hash-max-ziplist-value, set -max-intset-entries, zset-max-ziplist-entries, zset-max-ziplist-value etc.

withStaticIP(String staticIP)

Sets Redis Cache static IP. Required when deploying a Redis Cache inside an existing Azure Virtual Network.

withSubnet(HasId network, String subnetName)

Assigns the specified subnet to this instance of Redis Cache.

继承成员

适用于