{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-managed-transparent-data-encryption-schema.json",
  "title": "ManagedTransparentDataEncryption",
  "description": "A managed database transparent data encryption state.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-manageddatabasetransparentdataencryption-api-openapi.yml#/components/schemas/ManagedTransparentDataEncryption",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/ManagedTransparentDataEncryptionProperties",
      "description": "Resource properties.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "ManagedTransparentDataEncryptionProperties": {
      "type": "object",
      "description": "Properties of a transparent data encryption.",
      "properties": {
        "state": {
          "$ref": "#/$defs/TransparentDataEncryptionState",
          "description": "Specifies the state of the transparent data encryption."
        }
      },
      "required": [
        "state"
      ]
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "TransparentDataEncryptionState": {
      "type": "string",
      "description": "Specifies the state of the transparent data encryption.",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "TransparentDataEncryptionState",
        "modelAsString": false,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "Enabled"
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Disabled"
          }
        ]
      }
    }
  }
}