ClusterInner Class

public final class ClusterInner
extends Resource

Describes the RedisEnterprise cluster.

Constructor Summary

Constructor Description
ClusterInner()

Creates an instance of ClusterInner class.

Method Summary

Modifier and Type Method and Description
ClusterPropertiesEncryption encryption()

Get the encryption property: Encryption-at-rest configuration for the cluster.

String hostname()

Get the hostname property: DNS name of the cluster endpoint.

ManagedServiceIdentity identity()

Get the identity property: The identity of the resource.

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 withEncryption(ClusterPropertiesEncryption encryption)

Set the encryption property: Encryption-at-rest configuration for the cluster.

ClusterInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of the resource.

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.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ClusterInner

public ClusterInner()

Creates an instance of ClusterInner class.

Method Details

encryption

public ClusterPropertiesEncryption encryption()

Get the encryption property: Encryption-at-rest configuration for the cluster.

Returns:

the encryption value.

hostname

public String hostname()

Get the hostname property: DNS name of the cluster endpoint.

Returns:

the hostname value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The identity of the resource.

Returns:

the identity value.

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.

privateEndpointConnections

public List privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections associated with the specified RedisEnterprise cluster.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Current provisioning status of the cluster.

Returns:

the provisioningState value.

redisVersion

public String redisVersion()

Get the redisVersion property: Version of redis the cluster supports, e.g. '6'.

Returns:

the redisVersion value.

resourceState

public ResourceState resourceState()

Get the resourceState property: Current resource status of the cluster.

Returns:

the resourceState value.

sku

public Sku sku()

Get the sku property: The SKU to create, which affects price, performance, and features.

Returns:

the sku value.

validate

public void validate()

Validates the instance.

withEncryption

public ClusterInner withEncryption(ClusterPropertiesEncryption encryption)

Set the encryption property: Encryption-at-rest configuration for the cluster.

Parameters:

encryption - the encryption value to set.

Returns:

the ClusterInner object itself.

withIdentity

public ClusterInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of the resource.

Parameters:

identity - the identity value to set.

Returns:

the ClusterInner object itself.

withLocation

public ClusterInner withLocation(String location)

Overrides:

ClusterInner.withLocation(String location)

Parameters:

location

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.

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.

withTags

public ClusterInner withTags(Map tags)

Overrides:

ClusterInner.withTags(Map<String,String> tags)

Parameters:

tags

withZones

public ClusterInner withZones(List 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.

zones

public List zones()

Get the zones property: The Availability Zones where this cluster will be deployed.

Returns:

the zones value.

Applies to

Azure SDK for Java

Latest