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