public final class RedisPropertiesInner extends RedisCreateProperties
| Constructor and Description |
|---|
RedisPropertiesInner() |
| Modifier and Type | Method and Description |
|---|---|
RedisAccessKeysInner |
accessKeys()
Get the accessKeys property: The keys of the Redis cache - not set if this object is not the response to Create
or Update redis cache.
|
String |
hostname()
Get the hostname property: Redis host name.
|
List<RedisInstanceDetails> |
instances()
Get the instances property: List of the Redis instances associated with the cache.
|
List<RedisLinkedServer> |
linkedServers()
Get the linkedServers property: List of the linked servers associated with the cache.
|
Integer |
port()
Get the port property: Redis non-SSL port.
|
List<PrivateEndpointConnectionInner> |
privateEndpointConnections()
Get the privateEndpointConnections property: List of private endpoint connection associated with the specified
redis cache.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: Redis instance provisioning status.
|
String |
redisVersion()
Get the redisVersion property: Redis version.
|
Integer |
sslPort()
Get the sslPort property: Redis SSL port.
|
void |
validate()
Validates the instance.
|
RedisPropertiesInner |
withEnableNonSslPort(Boolean enableNonSslPort)
Set the enableNonSslPort property: Specifies whether the non-ssl Redis server port (6379) is enabled.
|
RedisPropertiesInner |
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').
|
RedisPropertiesInner |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this cache.
|
RedisPropertiesInner |
withRedisConfiguration(Map<String,String> redisConfiguration)
Set the redisConfiguration property: All Redis Settings.
|
RedisPropertiesInner |
withReplicasPerMaster(Integer replicasPerMaster)
Set the replicasPerMaster property: The number of replicas to be created per master.
|
RedisPropertiesInner |
withShardCount(Integer shardCount)
Set the shardCount property: The number of shards to be created on a Premium Cluster Cache.
|
RedisPropertiesInner |
withSku(Sku sku)
Set the sku property: The SKU of the Redis cache to deploy.
|
RedisPropertiesInner |
withStaticIp(String staticIp)
Set the staticIp property: Static IP address.
|
RedisPropertiesInner |
withSubnetId(String subnetId)
Set the subnetId property: The full resource ID of a subnet in a virtual network to deploy the Redis cache in.
|
RedisPropertiesInner |
withTenantSettings(Map<String,String> tenantSettings)
Set the tenantSettings property: A dictionary of tenant settings.
|
sku, staticIp, subnetIdenableNonSslPort, minimumTlsVersion, publicNetworkAccess, redisConfiguration, replicasPerMaster, shardCount, tenantSettingspublic String redisVersion()
public ProvisioningState provisioningState()
public String hostname()
public Integer port()
public Integer sslPort()
public RedisAccessKeysInner accessKeys()
public List<RedisLinkedServer> linkedServers()
public List<RedisInstanceDetails> instances()
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
public RedisPropertiesInner withSku(Sku sku)
withSku in class RedisCreatePropertiessku - the sku value to set.public RedisPropertiesInner withSubnetId(String subnetId)
withSubnetId in class RedisCreatePropertiessubnetId - the subnetId value to set.public RedisPropertiesInner withStaticIp(String staticIp)
withStaticIp in class RedisCreatePropertiesstaticIp - the staticIp value to set.public RedisPropertiesInner withRedisConfiguration(Map<String,String> redisConfiguration)
withRedisConfiguration in class RedisCreatePropertiesredisConfiguration - the redisConfiguration value to set.public RedisPropertiesInner withEnableNonSslPort(Boolean enableNonSslPort)
withEnableNonSslPort in class RedisCreatePropertiesenableNonSslPort - the enableNonSslPort value to set.public RedisPropertiesInner withReplicasPerMaster(Integer replicasPerMaster)
withReplicasPerMaster in class RedisCreatePropertiesreplicasPerMaster - the replicasPerMaster value to set.public RedisPropertiesInner withTenantSettings(Map<String,String> tenantSettings)
withTenantSettings in class RedisCreatePropertiestenantSettings - the tenantSettings value to set.public RedisPropertiesInner withShardCount(Integer shardCount)
withShardCount in class RedisCreatePropertiesshardCount - the shardCount value to set.public RedisPropertiesInner withMinimumTlsVersion(TlsVersion minimumTlsVersion)
withMinimumTlsVersion in class RedisCreatePropertiesminimumTlsVersion - the minimumTlsVersion value to set.public RedisPropertiesInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
withPublicNetworkAccess in class RedisCreatePropertiespublicNetworkAccess - the publicNetworkAccess value to set.public void validate()
validate in class RedisCreatePropertiesIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.