---
version: 1
interactions:
- request:
    body: '{"total_count":1, "versions":[{"version":"7.2.11", "end_of_life_at":"2026-02-28T00:00:00Z",
      "available_settings":[{"name":"tcp-keepalive", "default_value":"300", "type":"INT",
      "description":"The specified value (in seconds) is the period used to send ACKs.",
      "max_value":65536, "min_value":null, "regex":null, "deprecated":false}, {"name":"maxclients",
      "default_value":"10000", "type":"INT", "description":"Set the max number of
      connected clients at the same time.", "max_value":65536, "min_value":100, "regex":null,
      "deprecated":false}, {"name":"maxmemory-policy", "default_value":"noeviction",
      "type":"STRING", "description":"How Redis will select what to remove when maxmemory
      is reached: https://redis.io/topics/lru-cache.", "max_value":null, "min_value":null,
      "regex":"volatile-lru|allkeys-lru|volatile-lfu|allkeys-lfu|volatile-random|allkeys-random|volatile-ttl|noeviction",
      "deprecated":false}, {"name":"databases", "default_value":"16", "type":"INT",
      "description":"Set number of Redis databases", "max_value":128, "min_value":1,
      "regex":null, "deprecated":false}, {"name":"notify-keyspace-events", "default_value":"\"\"",
      "type":"STRING", "description":"Configure the keyspace event notification feature",
      "max_value":null, "min_value":null, "regex":"^(?:([KEg$lshzxetdnm])(?!.*\\1))+$",
      "deprecated":false}, {"name":"disable-save", "default_value":"false", "type":"BOOLEAN",
      "description":"Disable Redis rdb persistence file on disk", "max_value":null,
      "min_value":null, "regex":null, "deprecated":false}, {"name":"slowlog-log-slower-than",
      "default_value":"10000", "type":"INT", "description":"Log queries that exceed
      this duration in microseconds (set to -1 to disable)", "max_value":100000000,
      "min_value":-1, "regex":null, "deprecated":false}, {"name":"slowlog-max-len",
      "default_value":"128", "type":"INT", "description":"Maximum length of the slow
      log", "max_value":10000, "min_value":1, "regex":null, "deprecated":false}],
      "logo_url":"https://s3.fr-par.scw.cloud/scw-rkv-logos/logo.svg", "zone":"fr-par-1"}]}'
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) cli-e2e-test
    url: https://api.scaleway.com/redis/v1/zones/fr-par-1/cluster-versions?include_beta=false&include_deprecated=false&include_disabled=false&version=7.2.11
    method: GET
  response:
    body: '{"total_count":1, "versions":[{"version":"7.2.11", "end_of_life_at":"2026-02-28T00:00:00Z",
      "available_settings":[{"name":"tcp-keepalive", "default_value":"300", "type":"INT",
      "description":"The specified value (in seconds) is the period used to send ACKs.",
      "max_value":65536, "min_value":null, "regex":null, "deprecated":false}, {"name":"maxclients",
      "default_value":"10000", "type":"INT", "description":"Set the max number of
      connected clients at the same time.", "max_value":65536, "min_value":100, "regex":null,
      "deprecated":false}, {"name":"maxmemory-policy", "default_value":"noeviction",
      "type":"STRING", "description":"How Redis will select what to remove when maxmemory
      is reached: https://redis.io/topics/lru-cache.", "max_value":null, "min_value":null,
      "regex":"volatile-lru|allkeys-lru|volatile-lfu|allkeys-lfu|volatile-random|allkeys-random|volatile-ttl|noeviction",
      "deprecated":false}, {"name":"databases", "default_value":"16", "type":"INT",
      "description":"Set number of Redis databases", "max_value":128, "min_value":1,
      "regex":null, "deprecated":false}, {"name":"notify-keyspace-events", "default_value":"\"\"",
      "type":"STRING", "description":"Configure the keyspace event notification feature",
      "max_value":null, "min_value":null, "regex":"^(?:([KEg$lshzxetdnm])(?!.*\\1))+$",
      "deprecated":false}, {"name":"disable-save", "default_value":"false", "type":"BOOLEAN",
      "description":"Disable Redis rdb persistence file on disk", "max_value":null,
      "min_value":null, "regex":null, "deprecated":false}, {"name":"slowlog-log-slower-than",
      "default_value":"10000", "type":"INT", "description":"Log queries that exceed
      this duration in microseconds (set to -1 to disable)", "max_value":100000000,
      "min_value":-1, "regex":null, "deprecated":false}, {"name":"slowlog-max-len",
      "default_value":"128", "type":"INT", "description":"Maximum length of the slow
      log", "max_value":10000, "min_value":1, "regex":null, "deprecated":false}],
      "logo_url":"https://s3.fr-par.scw.cloud/scw-rkv-logos/logo.svg", "zone":"fr-par-1"}]}'
    headers:
      Content-Length:
      - "2025"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Thu, 27 Nov 2025 15:34:55 GMT
      Server:
      - Scaleway API Gateway (fr-par-2;edge02)
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      X-Request-Id:
      - e2b94d11-4e80-4a3a-910f-1d4abd26d3f5
    status: 200 OK
    code: 200
    duration: ""
