SDK reference / Models / Databases
ValkeyClusterStatus
Kind: class
Namespace: Egulu.Sdk.Models.Databases
A cluster: its shards, where to connect, and how to.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
ClientCommand | string? | clientCommand | The command that connects valkey-cli to the cluster, following redirects; the user and password are the owner's. |
Endpoint | string? | endpoint | The cluster endpoint: any address works, a client learns the rest from it. TLS 1.3 only. |
MemoryPerShardMib | int? | memoryPerShardMib | Memory of each shard in MiB. |
ObservedAt | DateTimeOffset? | observedAt | The observedAt property |
Port | int? | port | The port property |
ReplicasPerShard | int? | replicasPerShard | The replicasPerShard property |
Resharding | bool? | resharding | True while a reshard is running, and the count it goes to. |
ShardCount | int? | shardCount | The shardCount property |
Shards | List<Models.Databases.ValkeyShardItem>? | shards | The shards property |
SlotsTotal | int? | slotsTotal | Slots in the cluster, always 16384. |
State | string? | state | ok, degraded (a shard lost its primary and has a replica to promote) or fail. |
TargetShards | int? | targetShards | The targetShards property |