Class ClusterProperties
- java.lang.Object
-
- com.azure.resourcemanager.redisenterprise.fluent.models.ClusterProperties
-
public final class ClusterProperties extends Object
RedisEnterprise cluster properties Properties of RedisEnterprise clusters, as opposed to general resource properties like location, tags.
-
-
Constructor Summary
Constructors Constructor Description ClusterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
hostname()
Get the hostname property: DNS name of the cluster endpoint.TlsVersion
minimumTlsVersion()
Get the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g.List<PrivateEndpointConnectionInner>
privateEndpointConnections()
Get the privateEndpointConnections property: List of private endpoint connections associated with the specified RedisEnterprise cluster.ProvisioningState
provisioningState()
Get the provisioningState property: Current provisioning status of the cluster.String
redisVersion()
Get the redisVersion property: Version of redis the cluster supports, e.g.ResourceState
resourceState()
Get the resourceState property: Current resource status of the cluster.void
validate()
Validates the instance.ClusterProperties
withMinimumTlsVersion(TlsVersion minimumTlsVersion)
Set the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g.
-
-
-
Method Detail
-
minimumTlsVersion
public TlsVersion minimumTlsVersion()
Get the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.- Returns:
- the minimumTlsVersion value.
-
withMinimumTlsVersion
public ClusterProperties withMinimumTlsVersion(TlsVersion minimumTlsVersion)
Set the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.- Parameters:
minimumTlsVersion
- the minimumTlsVersion value to set.- Returns:
- the ClusterProperties object itself.
-
hostname
public String hostname()
Get the hostname property: DNS name of the cluster endpoint.- Returns:
- the hostname value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Current provisioning status of the cluster.- Returns:
- the provisioningState value.
-
resourceState
public ResourceState resourceState()
Get the resourceState property: Current resource status of the cluster.- Returns:
- the resourceState value.
-
redisVersion
public String redisVersion()
Get the redisVersion property: Version of redis the cluster supports, e.g. '6'.- Returns:
- the redisVersion value.
-
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: List of private endpoint connections associated with the specified RedisEnterprise cluster.- Returns:
- the privateEndpointConnections value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-