Class ClusterInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.redisenterprise.fluent.models.ClusterInner
-
public final class ClusterInner extends com.azure.core.management.Resource
Describes the RedisEnterprise cluster.
-
-
Constructor Summary
Constructors Constructor Description ClusterInner()
-
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.void
validate()
Validates the instance.ClusterInner
withLocation(String location)
ClusterInner
withMinimumTlsVersion(TlsVersion minimumTlsVersion)
Set the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g.ClusterInner
withSku(Sku sku)
Set the sku property: The SKU to create, which affects price, performance, and features.ClusterInner
withTags(Map<String,String> tags)
ClusterInner
withZones(List<String> zones)
Set the zones property: The Availability Zones where this cluster will be deployed.List<String>
zones()
Get the zones property: The Availability Zones where this cluster will be deployed.
-
-
-
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 ClusterInner 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 ClusterInner object itself.
-
zones
public List<String> zones()
Get the zones property: The Availability Zones where this cluster will be deployed.- Returns:
- the zones value.
-
withZones
public ClusterInner withZones(List<String> zones)
Set the zones property: The Availability Zones where this cluster will be deployed.- Parameters:
zones
- the zones value to set.- Returns:
- the ClusterInner object itself.
-
withLocation
public ClusterInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public ClusterInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 ClusterInner 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 ClusterInner 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.
-
-