Azure Container Instances · Schema
LogAnalytics
Container group log analytics information.
AzureCloudContainer InstancesContainersMicrosoftServerless
Properties
| Name | Type | Description |
|---|---|---|
| logType | string | The log type to be used. |
| metadata | object | Metadata for log analytics. |
| workspaceId | string | The workspace id for log analytics |
| workspaceKey | string | The workspace key for log analytics |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-instances/refs/heads/main/json-schema/azure-container-instances-log-analytics-schema.json",
"title": "LogAnalytics",
"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"
]
}