{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-mysql/json-schema/microsoft-azure-mysql-advanced-threat-protection-list-result-schema.json",
  "title": "AdvancedThreatProtectionListResult",
  "description": "The response of a AdvancedThreatProtection list operation.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-mysql-openapi.yml#/components/schemas/AdvancedThreatProtectionListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The AdvancedThreatProtection items on this page",
      "items": {
        "$ref": "#/$defs/AdvancedThreatProtection"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "$defs": {
    "AdvancedThreatProtection": {
      "type": "object",
      "description": "A server's Advanced Threat Protection.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/AdvancedThreatProtectionProperties"
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "AdvancedThreatProtectionProperties": {
      "type": "object",
      "description": "Properties of an Advanced Threat Protection setting.",
      "properties": {
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "Specifies the UTC creation time of the policy.",
          "readOnly": true
        },
        "state": {
          "$ref": "#/$defs/AdvancedThreatProtectionState"
        },
        "provisioningState": {
          "$ref": "#/$defs/AdvancedThreatProtectionProvisioningState"
        }
      }
    },
    "AdvancedThreatProtectionProvisioningState": {
      "type": "string",
      "description": "The current provisioning state.",
      "enum": [
        "Succeeded",
        "Updating",
        "Canceled",
        "Failed"
      ],
      "x-ms-enum": {
        "name": "AdvancedThreatProtectionProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Updating",
            "value": "Updating"
          },
          {
            "name": "Canceled",
            "value": "Canceled"
          },
          {
            "name": "Failed",
            "value": "Failed"
          }
        ]
      }
    },
    "AdvancedThreatProtectionState": {
      "type": "string",
      "description": "Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled on the server.",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "AdvancedThreatProtectionState",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled"
          },
          {
            "name": "Disabled",
            "value": "Disabled"
          }
        ]
      }
    }
  }
}