Skip to content

host.json Reference

Quick reference for Java Azure Functions operational workflows.

Topic/Command Groups

flowchart LR
    A[host.json] --> B[extensions.http]
    A --> C[logging]
    A --> D[functionTimeout]

Example baseline:

{
  "version": "2.0",
  "functionTimeout": "00:05:00",
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": true,
        "maxTelemetryItemsPerSecond": 20
      }
    }
  },
  "extensions": {
    "http": {
      "routePrefix": "api"
    }
  }
}

See Also

Sources