Class ClusterUpdate
- java.lang.Object
-
- com.azure.resourcemanager.redisenterprise.models.ClusterUpdate
-
public final class ClusterUpdate extends Object
A partial update to the RedisEnterprise cluster.
-
-
Constructor Summary
Constructors Constructor Description ClusterUpdate()
-
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.Sku
sku()
Get the sku property: The SKU to create, which affects price, performance, and features.Map<String,String>
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.ClusterUpdate
withMinimumTlsVersion(TlsVersion minimumTlsVersion)
Set the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g.ClusterUpdate
withSku(Sku sku)
Set the sku property: The SKU to create, which affects price, performance, and features.ClusterUpdate
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
sku
public Sku sku()
Get the sku property: The SKU to create, which affects price, performance, and features.- Returns:
- the sku value.
-
withSku
public ClusterUpdate withSku(Sku sku)
Set the sku property: The SKU to create, which affects price, performance, and features.- Parameters:
sku
- the sku value to set.- Returns:
- the ClusterUpdate object itself.
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public ClusterUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the ClusterUpdate object itself.
-
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 ClusterUpdate 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 ClusterUpdate 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.
-
-