你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IUpdate 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
Redis 缓存更新操作的模板,包含可修改的所有设置。
public interface IUpdate : Microsoft.Azure.Management.Redis.Fluent.RedisCache.Update.IUpdateBeta, Microsoft.Azure.Management.Redis.Fluent.RedisCache.Update.IWithNonSslPort, Microsoft.Azure.Management.Redis.Fluent.RedisCache.Update.IWithRedisConfiguration, Microsoft.Azure.Management.Redis.Fluent.RedisCache.Update.IWithSku, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Update.IUpdateWithTags<Microsoft.Azure.Management.Redis.Fluent.RedisCache.Update.IUpdate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Redis.Fluent.IRedisCache>
type IUpdate = interface
interface IAppliable<IRedisCache>
interface IIndexable
interface IUpdateWithTags<IUpdate>
interface IWithSku
interface IWithNonSslPort
interface IWithRedisConfiguration
interface IUpdateBeta
interface IBeta
Public Interface IUpdate
Implements IAppliable(Of IRedisCache), IBeta, IUpdateBeta, IUpdateWithTags(Of IUpdate), IWithNonSslPort, IWithRedisConfiguration, IWithSku
- 实现
属性
Key |
Redis 缓存更新操作的模板,包含可修改的所有设置。 (继承自 IIndexable) |
方法
Apply() |
执行更新请求。 (继承自 IAppliable<T>) |
ApplyAsync(CancellationToken, Boolean) |
异步执行更新请求。 (继承自 IAppliable<T>) |
WithBasicSku(Int32) |
使用新容量汇报 Redis 缓存到基本 SKU。 (继承自 IWithSku) |
WithFirewallRule(IRedisFirewallRule) |
创建或更新 Redis 缓存防火墙规则,其中包含允许连接到缓存的 IP 地址范围。 (继承自 IUpdateBeta) |
WithFirewallRule(String, String, String) |
创建或更新 Redis 缓存防火墙规则,其中包含允许连接到缓存的 IP 地址范围。 (继承自 IUpdateBeta) |
WithMinimumTlsVersion(TlsVersion) |
要求客户端使用指定的 TLS 版本 (或更高版本) 来连接 (,例如“1.0”、“1.1”、“1.2”) 。 (继承自 IUpdateBeta) |
WithNonSslPort() |
启用非 ssl Redis 服务器端口 (6379) 。 (继承自 IWithNonSslPort) |
WithoutFirewallRule(String) |
删除当前 Redis 缓存实例中的单个防火墙规则。 (继承自 IUpdateBeta) |
WithoutMinimumTlsVersion() |
删除客户端最低 TLS 版本的要求。 (继承自 IUpdateBeta) |
WithoutNonSslPort() |
禁用非 ssl Redis 服务器端口 (6379) 。 (继承自 IWithNonSslPort) |
WithoutPatchSchedule() |
从当前高级群集缓存中删除所有修补程序计划。 (继承自 IUpdateBeta) |
WithoutRedisConfiguration() |
清理在 Redis 缓存上设置的所有配置设置。 (继承自 IWithRedisConfiguration) |
WithoutRedisConfiguration(String) |
删除指定的 Redis 缓存配置设置。 (继承自 IWithRedisConfiguration) |
WithoutTag(String) |
从资源中删除标记。 (继承自 IUpdateWithTags<T>) |
WithPatchSchedule(DayOfWeek, Int32, TimeSpan) |
将修补计划添加到当前高级群集缓存。 |
WithPatchSchedule(DayOfWeek, Int32) |
将修补计划添加到当前高级群集缓存。 |
WithPatchSchedule(IList<ScheduleEntry>) |
将修补计划添加到当前高级群集缓存。 |
WithPatchSchedule(ScheduleEntry) |
将修补计划添加到当前高级群集缓存。 |
WithPremiumSku() |
汇报 Redis 缓存到高级 SKU。 (继承自 IWithSku) |
WithPremiumSku(Int32) |
使用新容量汇报 Redis 缓存到高级 SKU。 (继承自 IWithSku) |
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 等。 (继承自 IWithRedisConfiguration) |
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 等。 (继承自 IWithRedisConfiguration) |
WithShardCount(Int32) |
要对高级群集缓存创建的分片数。 |
WithStandardSku() |
汇报 Redis 缓存到标准 SKU。 (继承自 IWithSku) |
WithStandardSku(Int32) |
使用新容量汇报 Redis 缓存到标准 SKU。 (继承自 IWithSku) |
WithTag(String, String) |
将标记添加到资源。 (继承自 IUpdateWithTags<T>) |
WithTags(IDictionary<String,String>) |
将资源的标记指定为 {@link Map}。 (继承自 IUpdateWithTags<T>) |