{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-factory/json-schema/microsoft-azure-data-factory-update-integration-runtime-request-schema.json",
  "title": "UpdateIntegrationRuntimeRequest",
  "description": "Update integration runtime request.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-data-factory-integrationruntimes-api-openapi.yml#/components/schemas/UpdateIntegrationRuntimeRequest",
  "type": "object",
  "properties": {
    "autoUpdate": {
      "$ref": "#/$defs/IntegrationRuntimeAutoUpdate",
      "description": "Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189."
    },
    "updateDelayOffset": {
      "type": "string",
      "description": "The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time."
    }
  },
  "$defs": {
    "IntegrationRuntimeAutoUpdate": {
      "type": "string",
      "description": "The state of integration runtime auto update.",
      "enum": [
        "On",
        "Off"
      ],
      "x-ms-enum": {
        "name": "IntegrationRuntimeAutoUpdate",
        "modelAsString": true,
        "values": [
          {
            "name": "On",
            "value": "On",
            "description": "On"
          },
          {
            "name": "Off",
            "value": "Off",
            "description": "Off"
          }
        ]
      }
    }
  }
}