{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-cache-for-redis/json-schema/microsoft-azure-cache-for-redis-redis-firewall-rule-schema.json",
  "title": "RedisFirewallRule",
  "description": "A firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-cache-for-redis-redisfirewallrules-api-openapi.yml#/components/schemas/RedisFirewallRule",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/RedisFirewallRuleProperties",
      "description": "redis cache firewall rule properties",
      "x-ms-client-flatten": true
    }
  },
  "required": [
    "properties"
  ],
  "allOf": [
    {
      "$ref": "../../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource"
    }
  ],
  "$defs": {
    "RedisFirewallRuleProperties": {
      "type": "object",
      "description": "Specifies a range of IP addresses permitted to connect to the cache",
      "properties": {
        "startIP": {
          "type": "string",
          "description": "lowest IP address included in the range"
        },
        "endIP": {
          "type": "string",
          "description": "highest IP address included in the range"
        }
      },
      "required": [
        "startIP",
        "endIP"
      ]
    }
  }
}