{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-encryption-protector-list-result-schema.json",
  "title": "EncryptionProtectorListResult",
  "description": "The response of a EncryptionProtector list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-encryptionprotectors-api-openapi.yml#/components/schemas/EncryptionProtectorListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The EncryptionProtector items on this page",
      "items": {
        "$ref": "#/$defs/EncryptionProtector"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "EncryptionProtector": {
      "type": "object",
      "description": "The server encryption protector.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/EncryptionProtectorProperties",
          "description": "Resource properties.",
          "x-ms-client-flatten": true
        },
        "kind": {
          "type": "string",
          "description": "Kind of encryption protector. This is metadata used for the Azure portal experience.",
          "readOnly": true
        },
        "location": {
          "type": "string",
          "description": "Resource location.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "EncryptionProtectorProperties": {
      "type": "object",
      "description": "Properties for an encryption protector execution.",
      "properties": {
        "subregion": {
          "type": "string",
          "description": "Subregion of the encryption protector.",
          "readOnly": true
        },
        "serverKeyName": {
          "type": "string",
          "description": "The name of the server key."
        },
        "serverKeyType": {
          "$ref": "#/$defs/ServerKeyType",
          "description": "The encryption protector type like 'ServiceManaged', 'AzureKeyVault'."
        },
        "uri": {
          "type": "string",
          "description": "The URI of the server key.",
          "readOnly": true
        },
        "thumbprint": {
          "type": "string",
          "description": "Thumbprint of the server key.",
          "readOnly": true
        },
        "autoRotationEnabled": {
          "type": "boolean",
          "description": "Key auto rotation opt-in flag. Either true or false."
        },
        "keyVersion": {
          "type": "string",
          "description": "The version of the server key being used as encryption protector",
          "readOnly": true
        }
      },
      "required": [
        "serverKeyType"
      ]
    },
    "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"
        }
      ]
    },
    "ServerKeyType": {
      "type": "string",
      "description": "The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.",
      "enum": [
        "ServiceManaged",
        "AzureKeyVault"
      ],
      "x-ms-enum": {
        "name": "ServerKeyType",
        "modelAsString": true,
        "values": [
          {
            "name": "ServiceManaged",
            "value": "ServiceManaged",
            "description": "ServiceManaged"
          },
          {
            "name": "AzureKeyVault",
            "value": "AzureKeyVault",
            "description": "AzureKeyVault"
          }
        ]
      }
    }
  }
}