{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-deployment-logs-request-schema.json",
  "title": "DeploymentLogsRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-onlinedeployments-api-openapi.yml#/components/schemas/DeploymentLogsRequest",
  "type": "object",
  "properties": {
    "containerType": {
      "type": "string",
      "description": "The type of container to retrieve logs from.",
      "default": "InferenceServer",
      "enum": [
        "StorageInitializer",
        "InferenceServer"
      ],
      "x-ms-enum": {
        "name": "ContainerType",
        "modelAsString": true,
        "values": [
          {
            "name": "StorageInitializer",
            "value": "StorageInitializer"
          },
          {
            "name": "InferenceServer",
            "value": "InferenceServer"
          }
        ]
      }
    },
    "tail": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "The maximum number of lines to tail."
    }
  }
}