{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-dbaas-logs-cluster-schema.json",
  "title": "dbaas.logs.Cluster",
  "description": "Cluster",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-dbaas-logs-openapi.yml#/components/schemas/dbaas.logs.Cluster",
  "type": "object",
  "properties": {
    "archiveAllowedNetworks": {
      "type": "array",
      "description": "Allowed networks for ARCHIVE flow type",
      "items": {
        "$ref": "#/$defs/ipBlock"
      },
      "readOnly": true
    },
    "certificationLevel": {
      "allOf": [
        {
          "$ref": "#/$defs/dbaas.logs.CertificationLevelEnum"
        }
      ],
      "description": "Certification level of the given cluster",
      "readOnly": true
    },
    "clusterId": {
      "type": "string",
      "description": "Cluster ID",
      "format": "uuid",
      "readOnly": true
    },
    "clusterType": {
      "allOf": [
        {
          "$ref": "#/$defs/dbaas.logs.ClusterClusterTypeEnum"
        }
      ],
      "description": "Cluster type",
      "readOnly": true
    },
    "dedicatedInputPEM": {
      "type": "string",
      "description": "PEM for dedicated inputs",
      "readOnly": true
    },
    "defaultRetentionId": {
      "type": "string",
      "description": "Retention ID used by default when none is given on new stream",
      "format": "uuid",
      "readOnly": true
    },
    "directInputAllowedNetworks": {
      "type": "array",
      "description": "Allowed networks for DIRECT_INPUT flow type",
      "items": {
        "$ref": "#/$defs/ipBlock"
      },
      "readOnly": true
    },
    "directInputPEM": {
      "type": "string",
      "description": "PEM for direct inputs",
      "readOnly": true
    },
    "hostname": {
      "type": "string",
      "description": "Hostname",
      "readOnly": true
    },
    "isDefault": {
      "type": "boolean",
      "description": "All content generated by given service will be placed on this cluster",
      "readOnly": true
    },
    "isUnlocked": {
      "type": "boolean",
      "description": "Allow given service to perform advanced operations on cluster",
      "readOnly": true
    },
    "queryAllowedNetworks": {
      "type": "array",
      "description": "Allowed networks for QUERY flow type",
      "items": {
        "$ref": "#/$defs/ipBlock"
      },
      "readOnly": true
    },
    "region": {
      "allOf": [
        {
          "$ref": "#/$defs/dbaas.logs.ClusterRegionEnum"
        }
      ],
      "description": "Data center localization",
      "readOnly": true
    }
  },
  "$defs": {
    "dbaas.logs.CertificationLevelEnum": {
      "type": "string",
      "description": "Possible values for CertificationLevelEnum",
      "enum": [
        "HDS",
        "PCI_DSS",
        "SNC",
        "SOC2",
        "STANDARD",
        "TRUSTED_ZONE"
      ]
    },
    "dbaas.logs.ClusterClusterTypeEnum": {
      "type": "string",
      "description": "Possible values for ClusterClusterTypeEnum",
      "enum": [
        "DEDICATED",
        "SHARED"
      ]
    },
    "dbaas.logs.ClusterRegionEnum": {
      "type": "string",
      "description": "Possible values for ClusterRegionEnum",
      "enum": [
        "BHS",
        "GRA",
        "P-19",
        "RBX",
        "SBG"
      ]
    },
    "ipBlock": {
      "type": "string",
      "description": "IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24)",
      "format": "ip-block"
    }
  }
}