AzureBlobStorageApplicationLogsConfig

Application logs azure blob storage configuration.

AzureComputeFaaSFunctionsServerless

Properties

Name Type Description
level string Log level.
retentionInDays integer Retention in days. Remove blobs older than X days. 0 or lower means no retention.
sasUrl string SAS url to a azure blob container with read/write/list/delete permissions.
View JSON Schema on GitHub

JSON Schema

azure-function-apps-azure-blob-storage-application-logs-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-function-apps/refs/heads/main/json-schema/azure-function-apps-azure-blob-storage-application-logs-config-schema.json",
  "title": "AzureBlobStorageApplicationLogsConfig",
  "description": "Application logs azure blob storage configuration.",
  "type": "object",
  "properties": {
    "level": {
      "description": "Log level.",
      "enum": [
        "Off",
        "Verbose",
        "Information",
        "Warning",
        "Error"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": false,
        "name": "LogLevel"
      }
    },
    "retentionInDays": {
      "description": "Retention in days.\nRemove blobs older than X days.\n0 or lower means no retention.",
      "format": "int32",
      "type": "integer"
    },
    "sasUrl": {
      "description": "SAS url to a azure blob container with read/write/list/delete permissions.",
      "type": "string"
    }
  }
}