Skip to content

host.json Reference

Quick reference for Java Azure Functions operational workflows.

Topic/Command Groups

flowchart TD
    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"
    }
  }
}

Review Matrix

Review area Page-specific check
Scope Confirm the guidance applies to host.json Reference.
Source basis Validate the recommendation against the Microsoft Learn sources in this page.
Evidence Capture command output, portal state, metrics, logs, or screenshots before treating the result as proven.

See Also

Sources