{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-synapse-analytics/json-schema/microsoft-azure-synapse-analytics-sql-pool-vulnerability-assessment-list-result-schema.json",
  "title": "SqlPoolVulnerabilityAssessmentListResult",
  "description": "A list of the Sql pool's vulnerability assessments.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-synapse-analytics-sqlpools-schemas-api-openapi.yml#/components/schemas/SqlPoolVulnerabilityAssessmentListResult",
  "type": "object",
  "properties": {
    "value": {
      "description": "Array of results.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/SqlPoolVulnerabilityAssessment"
      },
      "readOnly": true
    },
    "nextLink": {
      "description": "Link to retrieve next page of results.",
      "type": "string",
      "readOnly": true
    }
  },
  "$defs": {
    "ProxyResource": {
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "SqlPoolVulnerabilityAssessment": {
      "description": "A Sql pool vulnerability assessment.",
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ],
      "properties": {
        "properties": {
          "$ref": "#/$defs/SqlPoolVulnerabilityAssessmentProperties",
          "description": "Resource properties.",
          "x-ms-client-flatten": true
        }
      }
    },
    "SqlPoolVulnerabilityAssessmentProperties": {
      "description": "Properties of a Sql pool Vulnerability Assessment.",
      "type": "object",
      "properties": {
        "storageContainerPath": {
          "description": "A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).  It is required if server level vulnerability assessment policy doesn't set",
          "type": "string",
          "x-ms-mutability": [
            "create",
            "update",
            "read"
          ]
        },
        "storageContainerSasKey": {
          "description": "A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required.",
          "type": "string",
          "x-ms-mutability": [
            "create",
            "update"
          ]
        },
        "storageAccountAccessKey": {
          "description": "Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.",
          "type": "string",
          "x-ms-mutability": [
            "create",
            "update"
          ]
        },
        "recurringScans": {
          "$ref": "#/$defs/VulnerabilityAssessmentRecurringScansProperties",
          "description": "The recurring scans settings"
        }
      }
    },
    "VulnerabilityAssessmentRecurringScansProperties": {
      "description": "Properties of a Vulnerability Assessment recurring scans.",
      "type": "object",
      "properties": {
        "isEnabled": {
          "description": "Recurring scans state.",
          "type": "boolean",
          "x-ms-mutability": [
            "create",
            "read",
            "update"
          ]
        },
        "emailSubscriptionAdmins": {
          "description": "Specifies that the schedule scan notification will be is sent to the subscription administrators.",
          "default": true,
          "type": "boolean"
        },
        "emails": {
          "description": "Specifies an array of e-mail addresses to which the scan notification is sent.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}