你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithCreate.WithRedisConfiguration 方法

定义

重载

WithRedisConfiguration(IDictionary<String,String>)

所有 Redis 设置。 几个可能的密钥:rdb-backup-enabled、rdb-storage-connection-string、rdb-backup-frequency、maxmemory-delta、maxmemory-policy、 notify-keyspace-events、maxmemory-samples、slowlog-log-slow-slow-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 等。

WithRedisConfiguration(String, String)

指定 Redis 设置。 rdb-backup-enabled、rdb-storage-connection-string、rdb-backup-frequency、maxmemory-delta、maxmemory-policy、 notify-keyspace-events、maxmemory-samples、slowlog-log-slow-slow-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 等。

WithRedisConfiguration(IDictionary<String,String>)

所有 Redis 设置。 几个可能的密钥:rdb-backup-enabled、rdb-storage-connection-string、rdb-backup-frequency、maxmemory-delta、maxmemory-policy、 notify-keyspace-events、maxmemory-samples、slowlog-log-slow-slow-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 等。

public Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate WithRedisConfiguration(System.Collections.Generic.IDictionary<string,string> redisConfiguration);
abstract member WithRedisConfiguration : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate
Public Function WithRedisConfiguration (redisConfiguration As IDictionary(Of String, String)) As IWithCreate

参数

redisConfiguration
IDictionary<String,String>

将 Redis 缓存配置为按配置名称编制索引的映射。

返回

适用于

WithRedisConfiguration(String, String)

指定 Redis 设置。 rdb-backup-enabled、rdb-storage-connection-string、rdb-backup-frequency、maxmemory-delta、maxmemory-policy、 notify-keyspace-events、maxmemory-samples、slowlog-log-slow-slow-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 等。

public Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate WithRedisConfiguration(string key, string value);
abstract member WithRedisConfiguration : string * string -> Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate
Public Function WithRedisConfiguration (key As String, value As String) As IWithCreate

参数

key
String

Redis 配置名称。

value
String

Redis 配置值。

返回

适用于