public class RedisCreateParameters extends Object
| Constructor and Description |
|---|
RedisCreateParameters() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enableNonSslPort()
Get the enableNonSslPort property: Specifies whether the non-ssl Redis server port (6379) is enabled.
|
String |
location()
Get the location property: The geo-location where the resource lives.
|
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.
|
String |
staticIp()
Get the staticIp property: Static IP address.
|
String |
subnetId()
Get the subnetId property: The full resource ID of a subnet in a virtual network to deploy the Redis cache in.
|
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.
|
RedisCreateParameters |
withEnableNonSslPort(Boolean enableNonSslPort)
Set the enableNonSslPort property: Specifies whether the non-ssl Redis server port (6379) is enabled.
|
RedisCreateParameters |
withLocation(String location)
Set the location property: The geo-location where the resource lives.
|
RedisCreateParameters |
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').
|
RedisCreateParameters |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this cache.
|
RedisCreateParameters |
withRedisConfiguration(Map<String,String> redisConfiguration)
Set the redisConfiguration property: All Redis Settings.
|
RedisCreateParameters |
withReplicasPerMaster(Integer replicasPerMaster)
Set the replicasPerMaster property: The number of replicas to be created per master.
|
RedisCreateParameters |
withShardCount(Integer shardCount)
Set the shardCount property: The number of shards to be created on a Premium Cluster Cache.
|
RedisCreateParameters |
withSku(Sku sku)
Set the sku property: The SKU of the Redis cache to deploy.
|
RedisCreateParameters |
withStaticIp(String staticIp)
Set the staticIp property: Static IP address.
|
RedisCreateParameters |
withSubnetId(String subnetId)
Set the subnetId property: The full resource ID of a subnet in a virtual network to deploy the Redis cache in.
|
RedisCreateParameters |
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
RedisCreateParameters |
withTenantSettings(Map<String,String> tenantSettings)
Set the tenantSettings property: A dictionary of tenant settings.
|
RedisCreateParameters |
withZones(List<String> zones)
Set the zones property: A list of availability zones denoting where the resource needs to come from.
|
List<String> |
zones()
Get the zones property: A list of availability zones denoting where the resource needs to come from.
|
public List<String> zones()
public RedisCreateParameters withZones(List<String> zones)
zones - the zones value to set.public String location()
public RedisCreateParameters withLocation(String location)
location - the location value to set.public Map<String,String> tags()
public RedisCreateParameters withTags(Map<String,String> tags)
tags - the tags value to set.public Map<String,String> redisConfiguration()
public RedisCreateParameters withRedisConfiguration(Map<String,String> redisConfiguration)
redisConfiguration - the redisConfiguration value to set.public Boolean enableNonSslPort()
public RedisCreateParameters withEnableNonSslPort(Boolean enableNonSslPort)
enableNonSslPort - the enableNonSslPort value to set.public Integer replicasPerMaster()
public RedisCreateParameters withReplicasPerMaster(Integer replicasPerMaster)
replicasPerMaster - the replicasPerMaster value to set.public Map<String,String> tenantSettings()
public RedisCreateParameters withTenantSettings(Map<String,String> tenantSettings)
tenantSettings - the tenantSettings value to set.public Integer shardCount()
public RedisCreateParameters withShardCount(Integer shardCount)
shardCount - the shardCount value to set.public TlsVersion minimumTlsVersion()
public RedisCreateParameters withMinimumTlsVersion(TlsVersion minimumTlsVersion)
minimumTlsVersion - the minimumTlsVersion value to set.public PublicNetworkAccess publicNetworkAccess()
public RedisCreateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
publicNetworkAccess - the publicNetworkAccess value to set.public Sku sku()
public RedisCreateParameters withSku(Sku sku)
sku - the sku value to set.public String subnetId()
public RedisCreateParameters withSubnetId(String subnetId)
subnetId - the subnetId value to set.public String staticIp()
public RedisCreateParameters withStaticIp(String staticIp)
staticIp - the staticIp value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.