Azure Container Instances · JSON Structure

Azure Container Instances Log Analytics Structure

Container group log analytics information.

Type: object Properties: 4 Required: 2
AzureCloudContainer InstancesContainersMicrosoftServerless

LogAnalytics is a JSON Structure definition published by Azure Container Instances, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

logType metadata workspaceId workspaceKey

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-instances/refs/heads/main/json-structure/azure-container-instances-log-analytics-structure.json",
  "description": "Container group log analytics information.",
  "type": "object",
  "properties": {
    "logType": {
      "description": "The log type to be used.",
      "enum": [
        "ContainerInsights",
        "ContainerInstanceLogs"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "LogAnalyticsLogType"
      }
    },
    "metadata": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Metadata for log analytics.",
      "type": "object"
    },
    "workspaceId": {
      "description": "The workspace id for log analytics",
      "type": "string"
    },
    "workspaceKey": {
      "description": "The workspace key for log analytics",
      "type": "string"
    }
  },
  "required": [
    "workspaceId",
    "workspaceKey"
  ],
  "name": "LogAnalytics"
}