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