public final class RedisUpdateProperties extends RedisCommonProperties
| Constructor and Description |
|---|
RedisUpdateProperties() |
| Modifier and Type | Method and Description |
|---|---|
Sku |
sku()
Get the sku property: The SKU of the Redis cache to deploy.
|
void |
validate()
Validates the instance.
|
RedisUpdateProperties |
withEnableNonSslPort(Boolean enableNonSslPort)
Set the enableNonSslPort property: Specifies whether the non-ssl Redis server port (6379) is enabled.
|
RedisUpdateProperties |
withMinimumTlsVersion(TlsVersion minimumTlsVersion)
Set the minimumTlsVersion property: Optional: requires clients to use a specified TLS version (or higher) to
connect (e,g, '1.0', '1.1', '1.2').
|
RedisUpdateProperties |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this cache.
|
RedisUpdateProperties |
withRedisConfiguration(Map<String,String> redisConfiguration)
Set the redisConfiguration property: All Redis Settings.
|
RedisUpdateProperties |
withReplicasPerMaster(Integer replicasPerMaster)
Set the replicasPerMaster property: The number of replicas to be created per master.
|
RedisUpdateProperties |
withShardCount(Integer shardCount)
Set the shardCount property: The number of shards to be created on a Premium Cluster Cache.
|
RedisUpdateProperties |
withSku(Sku sku)
Set the sku property: The SKU of the Redis cache to deploy.
|
RedisUpdateProperties |
withTenantSettings(Map<String,String> tenantSettings)
Set the tenantSettings property: A dictionary of tenant settings.
|
enableNonSslPort, minimumTlsVersion, publicNetworkAccess, redisConfiguration, replicasPerMaster, shardCount, tenantSettingspublic Sku sku()
public RedisUpdateProperties withSku(Sku sku)
sku - the sku value to set.public RedisUpdateProperties withRedisConfiguration(Map<String,String> redisConfiguration)
withRedisConfiguration in class RedisCommonPropertiesredisConfiguration - the redisConfiguration value to set.public RedisUpdateProperties withEnableNonSslPort(Boolean enableNonSslPort)
withEnableNonSslPort in class RedisCommonPropertiesenableNonSslPort - the enableNonSslPort value to set.public RedisUpdateProperties withReplicasPerMaster(Integer replicasPerMaster)
withReplicasPerMaster in class RedisCommonPropertiesreplicasPerMaster - the replicasPerMaster value to set.public RedisUpdateProperties withTenantSettings(Map<String,String> tenantSettings)
withTenantSettings in class RedisCommonPropertiestenantSettings - the tenantSettings value to set.public RedisUpdateProperties withShardCount(Integer shardCount)
withShardCount in class RedisCommonPropertiesshardCount - the shardCount value to set.public RedisUpdateProperties withMinimumTlsVersion(TlsVersion minimumTlsVersion)
withMinimumTlsVersion in class RedisCommonPropertiesminimumTlsVersion - the minimumTlsVersion value to set.public RedisUpdateProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
withPublicNetworkAccess in class RedisCommonPropertiespublicNetworkAccess - the publicNetworkAccess value to set.public void validate()
validate in class RedisCommonPropertiesIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.