{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-synapse-analytics/json-schema/microsoft-azure-synapse-analytics-managed-identity-sql-control-settings-model-schema.json",
  "title": "Managed Identity Sql Control Settings",
  "description": "Sql Control Settings for workspace managed identity",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-synapse-analytics-subscriptions-api-openapi.yml#/components/schemas/ManagedIdentitySqlControlSettingsModel",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "properties": {
    "properties": {
      "type": "object",
      "title": "Managed Identity Sql Control Settings",
      "description": "Sql Control Settings for workspace managed identity",
      "properties": {
        "grantSqlControlToManagedIdentity": {
          "type": "object",
          "description": "Grant sql control to managed identity",
          "properties": {
            "desiredState": {
              "description": "Desired state",
              "type": "string",
              "enum": [
                "Enabled",
                "Disabled"
              ],
              "x-ms-enum": {
                "name": "DesiredState",
                "modelAsString": false
              }
            },
            "actualState": {
              "description": "Actual state",
              "type": "string",
              "enum": [
                "Enabling",
                "Enabled",
                "Disabling",
                "Disabled",
                "Unknown"
              ],
              "x-ms-enum": {
                "name": "ActualState",
                "modelAsString": false
              },
              "readOnly": true
            }
          }
        }
      },
      "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"
        }
      ]
    },
    "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
    }
  }
}