{
  "$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-instance-encryption-protector-list-result-schema.json",
  "title": "ManagedInstanceEncryptionProtectorListResult",
  "description": "The response of a ManagedInstanceEncryptionProtector list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-managedinstanceencryptionprotectors-api-openapi.yml#/components/schemas/ManagedInstanceEncryptionProtectorListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ManagedInstanceEncryptionProtector items on this page",
      "items": {
        "$ref": "#/$defs/ManagedInstanceEncryptionProtector"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ManagedInstanceEncryptionProtector": {
      "type": "object",
      "description": "The managed instance encryption protector.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ManagedInstanceEncryptionProtectorProperties",
          "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
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "ManagedInstanceEncryptionProtectorProperties": {
      "type": "object",
      "description": "Properties for an encryption protector execution.",
      "properties": {
        "serverKeyName": {
          "type": "string",
          "description": "The name of the managed instance 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."
        }
      },
      "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"
        }
      ]
    },
    "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
    },
    "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"
          }
        ]
      }
    }
  }
}