{
  "$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-connection-policy-schema.json",
  "title": "SqlPoolConnectionPolicy",
  "description": "A Sql pool connection policy.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-synapse-analytics-sqlpools-connectionpolicies-api-openapi.yml#/components/schemas/SqlPoolConnectionPolicy",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "properties": {
    "kind": {
      "description": "Resource kind.",
      "type": "string",
      "readOnly": true
    },
    "location": {
      "type": "string",
      "readOnly": true,
      "description": "Resource location."
    },
    "properties": {
      "$ref": "#/$defs/SqlPoolConnectionPolicyProperties",
      "description": "Resource properties.",
      "x-ms-client-flatten": 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"
        }
      ]
    },
    "SqlPoolConnectionPolicyProperties": {
      "description": "Properties of a Sql pool connection policy.",
      "type": "object",
      "properties": {
        "securityEnabledAccess": {
          "description": "The state of security access.",
          "type": "string"
        },
        "proxyDnsName": {
          "description": "The fully qualified host name of the auditing proxy.",
          "type": "string"
        },
        "proxyPort": {
          "description": "The port number of the auditing proxy.",
          "type": "string"
        },
        "visibility": {
          "description": "The visibility of the auditing proxy.",
          "type": "string"
        },
        "useServerDefault": {
          "description": "Whether server default is enabled or disabled.",
          "type": "string"
        },
        "redirectionState": {
          "description": "The state of proxy redirection.",
          "type": "string"
        },
        "state": {
          "description": "The connection policy state.",
          "type": "string"
        }
      }
    }
  }
}