Module databases

Module databases 

Source
Expand description

Database management operations for Essentials (Fixed) subscriptions

This module provides database management functionality for Redis Cloud Essentials (formerly Fixed) subscriptions, which offer a simplified, cost-effective option for smaller workloads with predictable capacity requirements.

§Overview

Essentials databases are pre-configured Redis instances with fixed memory allocations and simplified pricing. They’re ideal for development, testing, and production workloads that don’t require auto-scaling or advanced clustering features.

§Key Features

  • Fixed Capacity: Pre-defined memory sizes from 250MB to 12GB
  • Simple Pricing: Predictable monthly costs
  • Essential Features: Replication, persistence, and backup support
  • Module Support: Limited module availability based on plan
  • Quick Setup: Simplified configuration for faster deployment

§Differences from Pro Databases

  • Fixed memory allocations (no auto-scaling)
  • Limited to single-region deployments
  • Simplified module selection
  • No clustering support
  • Predictable pricing model

§Example Usage

use redis_cloud::{CloudClient, FixedDatabaseHandler};

let client = CloudClient::builder()
    .api_key("your-api-key")
    .api_secret("your-api-secret")
    .build()?;

let handler = FixedDatabaseHandler::new(client);

// Example: List databases in a fixed subscription (ID 123)
let databases = handler.list(123, None, None).await?;

Structs§

AccountFixedSubscriptionDatabases
RedisLabs Account Subscription Databases information
CloudTag
Database tag
CloudTags
Redis list of database tags
DatabaseAlertSpec
Optional. Changes Redis database alert details.
DatabaseCertificateSpec
Optional. A list of client TLS/SSL certificates. If specified, mTLS authentication will be required to authenticate user connections. If set to an empty list, TLS client certificates will be removed and mTLS will not be required. TLS connection may still apply, depending on the value of ‘enableTls’.
DatabaseModuleSpec
Optional. Redis advanced capabilities (also known as modules) to be provisioned in the database. Use GET /database-modules to get a list of available advanced capabilities.
DatabaseSlowLogEntries
DatabaseSlowLogEntries
DatabaseSlowLogEntry
Database slowlog entry
DatabaseSyncSourceSpec
Optional. This database will be a replica of the specified Redis databases, provided as a list of objects with endpoint and certificate details.
DatabaseTagCreateRequest
Database tag
DatabaseTagUpdateRequest
Database tag update request message
DatabaseTagsUpdateRequest
Database tags update request message
DynamicEndpoints
DynamicEndpoints
FixedDatabase
FixedDatabase
FixedDatabaseBackupRequest
Essentials database backup request message
FixedDatabaseCreateRequest
Essentials database definition
FixedDatabaseHandler
Handler for Essentials database operations
FixedDatabaseImportRequest
Database import request
FixedDatabaseUpdateRequest
Essentials database update request
ProcessorResponse
ProcessorResponse
ReplicaOfSpec
Optional. Changes Replica Of (also known as Active-Passive) configuration details.
Tag
Database tag
TaskStateUpdate
TaskStateUpdate