InstanceReadReplicasMode

enum InstanceReadReplicasMode : Enum<InstanceReadReplicasMode> , ConvertibleToJava<InstanceReadReplicasMode>

Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED.

Entries

Link copied to clipboard

If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.

Link copied to clipboard

If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.

Link copied to clipboard

If enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Not valid for basic tier.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): InstanceReadReplicasMode
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: InstanceReadReplicasMode
Link copied to clipboard
Link copied to clipboard