Module subscriptions

Module subscriptions 

Source
Expand description

Subscription management for Essentials (Fixed) plans

This module manages Redis Cloud Essentials subscriptions, which provide simplified, fixed-capacity Redis deployments with predictable pricing. Essentials subscriptions are ideal for smaller, stable workloads.

§Overview

Essentials subscriptions offer a streamlined experience with pre-defined plans that include specific memory allocations, regions, and feature sets. Unlike Pro subscriptions, they don’t support auto-scaling or multi-region deployments.

§Key Features

  • Fixed Plans: Pre-defined subscription plans with set resources
  • Simple Management: Create, update, and delete subscriptions
  • Plan Discovery: Browse available plans by region and size
  • Redis Versions: Access supported Redis versions for the subscription
  • Cost Predictability: Fixed monthly pricing based on plan selection

§Plan Structure

Essentials plans are defined by:

  • Memory size (250MB to 12GB)
  • Cloud provider and region
  • Included features and modules
  • Fixed monthly price

§Example Usage

use redis_cloud::{CloudClient, FixedSubscriptionHandler};

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

let handler = FixedSubscriptionHandler::new(client);

// List available plans
let plans = handler.list_plans(None, None).await?;

// Get all fixed subscriptions
let subscriptions = handler.list().await?;

Structs§

FixedSubscription
Redis Essentials Subscription information
FixedSubscriptionCreateRequest
Essentials subscription create request
FixedSubscriptionHandler
Handler for Essentials subscription operations
FixedSubscriptionUpdateRequest
Essentials subscription update request
FixedSubscriptions
Redis list of Essentials subscriptions in current account
FixedSubscriptionsPlan
Redis Essentials subscription plan information
FixedSubscriptionsPlans
Redis list of Essentials subscriptions plans
ProcessorResponse
ProcessorResponse
RedisVersion
RedisVersion
RedisVersions
RedisVersions
TaskStateUpdate
TaskStateUpdate