[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-04/schema#","definitions":{"aggregator":{"description":"Configuration settings for the function result aggregator.","type":"object","properties":{"batchSize":{"description":"The maximum batch size for aggregations. If this value is reached before the 'flushTimeout', all values will be flushed.","type":"integer","default":1000},"flushTimeout":{"description":"The aggregation duration. The aggregator will flush periodically based on this value.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:00:30"}},"additionalProperties":false},"functions":{"description":"The list of functions the host should load.","type":"array","uniqueItems":true,"items":{"type":"string"}},"functionTimeout":{"description":"Value indicating the timeout duration for all functions.","oneOf":[{"type":"string","pattern":"^(-1|(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d)$"},{"enum":[null]}]},"watchDirectories":{"description":"Set of shared code directories that should be monitored for changes to ensure that when code in these directories is changed, it is picked up by your functions","type":"array","uniqueItems":true,"items":{"type":"string","minLength":1}},"singleton":{"description":"Configuration settings for Singleton lock behavior.","type":"object","properties":{"lockPeriod":{"description":"The period that function level locks are taken for (they will auto renew).","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:00:15"},"listenerLockPeriod":{"description":"The period that listener locks are taken for.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:01:00"},"listenerLockRecoveryPollingInterval":{"description":"The time interval used for listener lock recovery if a listener lock couldn't be acquired on startup.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:01:00"},"lockAcquisitionTimeout":{"description":"The maximum amount of time the runtime will try to acquire a lock.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:01:00"},"lockAcquisitionPollingInterval":{"description":"The interval between lock acquisition attempts.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"}},"additionalProperties":false},"healthMonitor":{"description":"Configuration settings for the Functions host health monitor","type":"object","properties":{"enabled":{"description":"Specifies whether the feature is enabled.","type":"boolean","default":true},"healthCheckInterval":{"description":"The time interval between the periodic background health checks","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:00:10"},"healthCheckWindow":{"description":"A sliding time window used in conjunction with the healthCheckThreshold setting.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:02:00"},"healthCheckThreshold":{"description":"Maximum number of times the health check can fail before a host recycle is initiated.","type":"integer","default":6},"counterThreshold":{"description":"The threshold at which a performance counter will be considered unhealthy.","type":"number","default":0.8}},"additionalProperties":false},"http-extension":{"type":"object","description":"Configuration settings for 'http' triggers.","required":["routePrefix"],"properties":{"routePrefix":{"description":"Defines the default route prefix that applies to all routes. Use an empty string to remove the prefix.","type":"string","default":"api"},"maxConcurrentRequests":{"description":"Defines the the maximum number of http functions that will execute in parallel.","type":"integer","default":-1},"maxOutstandingRequests":{"description":"Defines the maximum number of outstanding requests that will be held at any given time.","type":"integer","default":-1},"dynamicThrottlesEnabled":{"description":"Indicates whether dynamic host counter checks should be enabled.","type":"boolean","default":false},"hsts":{"description":"Configuration settings for Strict-Transport-Security","type":"object","properties":{"isEnabled":{"description":"Indicates whether the hsts configuration should be applied","type":"boolean"},"excludedHosts":{"description":"Defines the list of host names that will not add the HSTS header.","type":"array","uniqueItems":true,"items":{"type":"string"}},"includeSubDomains":{"description":"Indicates whether the includeSubDomain parameter of the Strict-Transport-Security header should be enabled.","type":"boolean"},"maxAge":{"description":"Defines the max-age parameter of the Strict-Transport-Security header.","type":"string"},"preload":{"description":"Indicates whether the preload parameter of the Strict-Transport-Security header should be enabled.","type":"boolean"}},"additionalProperties":false},"customHeaders":{"description":"Allows you to set custom headers in the HTTP response, ex. X-Content-Type-Options.","type":"object"}},"additionalProperties":false},"queues-extension":{"description":"Configuration settings for 'queue' triggers.","type":"object","properties":{"maxPollingInterval":{"description":"The maximum interval in milliseconds between queue polls.","type":"integer","default":1000},"batchSize":{"description":"The number of queue messages to retrieve and process in parallel (per job function).","type":"integer","maximum":32,"minimum":1,"default":16},"maxDequeueCount":{"description":"The number of times to try processing a message before moving it to the poison queue","type":"integer","default":5},"newBatchThreshold":{"description":"The threshold at which a new batch of messages will be fetched. The default is batchSize/2.","type":"integer"},"visibilityTimeout":{"description":"The visibility timeout that will be applied to messages that fail processing.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:00:00"}},"additionalProperties":false},"queues-extension-v2":{"description":"Configuration settings for 'queue' triggers.","type":"object","properties":{"maxPollingInterval":{"type":"string","pattern":"^[0-9][0-9]:[0-9][0-9]:[0-9][0-9](?:\\.[0-9]+)?$","default":"00:00:02","description":"The maximum interval between queue polls. Minimum is 00:00:00.100 (100 ms)."},"visibilityTimeout":{"type":"string","pattern":"^[0-9][0-9]:[0-9][0-9]:[0-9][0-9](?:\\.[0-9]+)?$","default":"00:00:00","description":"The time interval between retries when processing of a message fails."},"batchSize":{"description":"The number of queue messages that the Functions runtime retrieves simultaneously and processes in parallel. When the number being processed gets down to the `newBatchThreshold`, the runtime gets another batch and starts processing those messages. So the maximum number of concurrent messages being processed per function is `batchSize` plus `newBatchThreshold`. This limit applies separately to each queue-triggered function. ","type":"integer","maximum":32,"minimum":1,"default":16},"maxDequeueCount":{"description":"The number of times to try processing a message before moving it to the poison queue","type":"integer","default":5},"newBatchThreshold":{"description":"The threshold at which a new batch of messages will be fetched. The default is batchSize/2.","type":"integer"},"messageEncoding":{"description":"This setting is only available in extension version 5.0.0 and higher. It represents the encoding format for messages.","type":"string","enum":["base64","none"]}},"additionalProperties":false},"durableTask-extension":{"description":"Configuration settings for 'orchestration'/'activity' triggers.","type":"object","properties":{"hubName":{"description":"Alternate task hub names can be used to isolate multiple Durable Functions applications from each other, even if they're using the same storage backend.","type":"string","default":"DurableFunctionsHub"},"storageProvider":{"type":"object","properties":{"connectionStringName":{"type":"string"},"controlQueueBatchSize":{"description":"The number of messages to pull from the control queue at a time.","type":"integer","default":32},"controlQueueBufferThreshold":{"description":"The number of control queue messages that can be buffered in memory at a time, at which point the dispatcher will wait before dequeuing any additional messages.","type":"integer","default":256},"controlQueueVisibilityTimeout":{"description":"The visibility timeout of dequeued control queue messages.","type":"string","default":"00:05:00"},"maxQueuePollingInterval":{"description":"The maximum control and work-item queue polling interval in the hh:mm:ss format. Higher values can result in higher message processing latencies. Lower values can result in higher storage costs because of increased storage transactions.","type":"string","default":"00:00:30"},"partitionCount":{"description":"The partition count for the control queue. May be a positive integer between 1 and 16.","type":"integer","default":4},"trackingStoreConnectionStringName":{"description":"The name of a connection string to use for the History and Instances tables. If not specified, the azureStorageConnectionStringName connection is used.","type":"string"},"trackingStoreNamePrefix":{"description":"The prefix to use for the History and Instances tables when trackingStoreConnectionStringName is specified. If not set, the default prefix value will be DurableTask. If trackingStoreConnectionStringName is not specified, then the History and Instances tables will use the hubName value as their prefix, and any setting for trackingStoreNamePrefix will be ignored.","type":"string"},"useLegacyPartitionManagement":{"description":"When set to false, uses a partition management algorithm that reduces the possibility of duplicate function execution when scaling out.","type":"boolean","default":false},"workItemQueueVisibilityTimeout":{"description":"The visibility timeout of dequeued work item queue messages.","type":"string","default":"00:05:00"}},"additionalProperties":false},"tracing":{"type":"object","properties":{"traceInputsAndOutputs":{"description":"A value indicating whether to trace the inputs and outputs of function calls. The default behavior when tracing function execution events is to include the number of bytes in the serialized inputs and outputs for function calls. This behavior provides minimal information about what the inputs and outputs look like without bloating the logs or inadvertently exposing sensitive information. Setting this property to true causes the default function logging to log the entire contents of function inputs and outputs.","type":"boolean","default":false},"traceReplayEvents":{"description":"A value indicating whether to write orchestration replay events to Application Insights.","type":"boolean","default":false}},"additionalProperties":false},"notifications":{"type":"object","properties":{"eventGrid":{"type":"object","properties":{"topicEndpoint":{"description":"The URL of an Azure Event Grid custom topic endpoint. When this property is set, orchestration life-cycle notification events are published to this endpoint. This property supports App Settings resolution.","type":"string"},"keySettingName":{"description":"The name of the app setting containing the key used for authenticating with the Azure Event Grid custom topic at EventGridTopicEndpoint.","type":"string"},"publishRetryCount":{"description":"The number of times to retry if publishing to the Event Grid Topic fails.","type":"integer","default":0},"publishRetryInterval":{"description":"The Event Grid publishes retry interval in the hh:mm:ss format.","type":"string","default":"00:05:00"},"publishEventTypes":{"description":"A list of event types to publish to Event Grid. If not specified, all event types will be published.","type":"array","uniqueItems":true,"items":{"type":"string","enum":["Started","Pending","Completed","Failed","Terminated"]}}},"additionalProperties":false}},"additionalProperties":false},"maxConcurrentActivityFunctions":{"description":"The maximum number of activity functions that can be processed concurrently on a single host instance.","type":"integer","default":10},"maxConcurrentOrchestratorFunctions":{"description":"The maximum number of orchestrator functions that can be processed concurrently on a single host instance.","type":"integer","default":10},"extendedSessionsEnabled":{"type":"boolean"},"extendedSessionIdleTimeoutInSeconds":{"type":"integer"},"useAppLease":{"description":"When set to true, apps will require acquiring an app-level blob lease before processing task hub messages.","type":"boolean","default":true},"useGracefulShutdown":{"description":"Enable gracefully shutting down to reduce the chance of host shutdowns failing in-process function executions.","type":"boolean","default":false},"maxEntityOperationBatchSize":{"description":"The maximum number of entity operations that are processed as a batch. If set to 1, batching is disabled, and each operation message is processed by a separate function invocation.","type":"integer","default":50},"useTablePartitionManagement":{"type":"boolean","default":false}},"additionalProperties":false},"cosmosDB-extension":{"description":"Configuration settings for Azure Cosmos DB bindings and triggers.","type":"object","properties":{"connectionMode":{"description":"ConnectionMode to be used on the DocumentClients.","enum":["Gateway","Direct"],"default":"Gateway"},"protocol":{"description":"Protocol to be used on the DocumentClients.","enum":["Https","Tcp"],"default":"Https"}},"additionalProperties":false},"cosmosDB-extension-v2":{"description":"Configuration settings for Azure Cosmos DB bindings and triggers.","type":"object","properties":{"connectionMode":{"description":"ConnectionMode to be used on the DocumentClients.","enum":["Gateway","Direct"],"default":"Gateway"},"protocol":{"description":"Protocol to be used on the DocumentClients.","enum":["Https","Tcp"],"default":"Https"},"leaseOptions":{"type":"object","properties":{"leasePrefix":{"description":"Lease prefix to use across all functions in an app.","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"version-1":{"type":"object","properties":{"aggregator":{"$ref":"#/definitions/aggregator"},"applicationInsights":{"description":"Configuration settings for Application Insights logging.","type":"object","properties":{"sampling":{"description":"Configuration settings for Application Insights client-side adaptive sampling.","type":"object","properties":{"isEnabled":{"description":"If true, client-side adaptive sampling is enabled.","type":"boolean","default":true},"maxTelemetryItemsPerSecond":{"description":"The target rate that the adaptive algorithm aims for on each instance","type":"integer","default":5}}}},"additionalProperties":false},"functions":{"$ref":"#/definitions/functions"},"functionTimeout":{"$ref":"#/definitions/functionTimeout"},"healthMonitor":{"$ref":"#/definitions/healthMonitor"},"id":{"description":"The unique ID for this job host. Can be a lower case GUID with dashes removed","type":"string","minLength":1},"logger":{"description":"Configuration settings for logging.","type":"object","properties":{"defaultLevel":{"description":"The default level for logging. If a category level is not specified, this value is used.","enum":["Critical","Debug","Error","Information","None","Trace","Warning"],"default":"Information"},"categoryLevels":{"description":"Log levels for specific categories.","type":"object","additionalProperties":{"enum":["Critical","Debug","Error","Information","None","Trace","Warning"]}}}},"singleton":{"$ref":"#/definitions/singleton"},"watchDirectories":{"$ref":"#/definitions/watchDirectories"},"tracing":{"description":"Configuration settings for logging/tracing behavior.","type":"object","properties":{"consoleLevel":{"description":"The tracing level used for console logging.","enum":["off","error","warning","info","verbose"],"default":"verbose"},"fileLoggingMode":{"description":"Value determining what level of file logging is enabled.","enum":["never","always","debugOnly"],"default":"debugOnly"}},"additionalProperties":false},"http":{"$ref":"#/definitions/http-extension"},"queues":{"$ref":"#/definitions/queues-extension"},"serviceBus":{"description":"Configuration settings for 'serviceBus' triggers.","type":"object","properties":{"maxConcurrentCalls":{"description":"The maximum number of concurrent calls to the callback the message pump should initiate.","type":"integer","default":16},"prefetchCount":{"description":"The default PrefetchCount that will be used by the underlying MessageReceiver.","type":"integer"},"autoRenewTimeout":{"description":"The maximum duration within which the Service Bus message lock will be renewed automatically.","type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:05:00"},"autoComplete":{"description":"Specifies whether messages should be automatically completed after successful processing.","type":"boolean","default":true}},"additionalProperties":false},"eventHub":{"description":"Configuration settings for 'eventHub' triggers.","type":"object","properties":{"maxBatchSize":{"description":"The maximum event count received per receive loop.","type":"integer"},"prefetchCount":{"description":"The default PrefetchCount that will be used by the underlying EventProcessorHost.","type":"integer"},"batchCheckpointFrequency":{"description":"The number of batches to process before creating an EventHub cursor checkpoint","type":"integer","default":1}},"additionalProperties":false},"durableTask":{"$ref":"#/definitions/durableTask-extension"},"documentDB":{"$ref":"#/definitions/cosmosDB-extension"}},"additionalProperties":false},"version-2":{"type":"object","properties":{"extensionBundle":{"description":"Configuration settings for extension bundle","type":"object","properties":{"id":{"description":"The id of the extension bundle","type":"string","default":"Microsoft.Azure.Functions.ExtensionBundle"},"version":{"description":"The version of the extension bundle.","type":"string","examples":["[1.*, 2.0.0)","[2.*, 3.0.0)"],"default":"[2.*, 3.0.0)"}},"examples":[{"id":"Microsoft.Azure.Functions.ExtensionBundle","version":"[2.*, 3.0.0)"}],"additionalProperties":false},"aggregator":{"$ref":"#/definitions/aggregator"},"functions":{"$ref":"#/definitions/functions"},"functionTimeout":{"$ref":"#/definitions/functionTimeout"},"healthMonitor":{"$ref":"#/definitions/healthMonitor"},"languageWorker":{"description":"Configuration settings for Language Workers.","type":"object","properties":{"workersDirectory":{"description":"Specifies full path of the directory for language workers","type":"string"}},"additionalProperties":false},"logging":{"description":"Configuration settings for logging.","type":"object","properties":{"logLevel":{"description":"Log levels for specific categories.","type":"object","properties":{"default":{"description":"The default level for logging. If a category level is not specified, this value is used.","enum":["Critical","Debug","Error","Information","None","Trace","Warning"],"default":"Information"}},"additionalProperties":{"enum":["Critical","Debug","Error","Information","None","Trace","Warning"]}},"applicationInsights":{"description":"Configuration settings for Application Insights logging.","type":"object","properties":{"samplingSettings":{"description":"Configuration settings for Application Insights client-side adaptive sampling.","type":"object","properties":{"isEnabled":{"description":"If true, client-side adaptive sampling is enabled.","type":"boolean","default":true},"maxTelemetryItemsPerSecond":{"description":"The target rate that the adaptive algorithm aims for on each instance","type":"integer","default":20},"evaluationInterval":{"description":"The interval at which the current rate of telemetry is reevaluated.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"01:00:00"},"initialSamplingPercentage":{"description":"The initial sampling percentage applied at the start of the sampling process to dynamically vary the percentage.","type":"number","default":100},"samplingPercentageIncreaseTimeout":{"description":"When the sampling percentage value changes, this property determines how soon afterwards Application Insights is allowed to raise sampling percentage again to capture more data.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:00:01"},"samplingPercentageDecreaseTimeout":{"description":"When the sampling percentage value changes, this property determines how soon afterwards Application Insights is allowed to lower sampling percentage again to capture less data.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:00:01"},"minSamplingPercentage":{"description":"As sampling percentage varies, this property determines the minimum allowed sampling percentage.","type":"number","default":0.1},"maxSamplingPercentage":{"description":"As sampling percentage varies, this property determines the maximum allowed sampling percentage.","type":"number","default":100},"movingAverageRatio":{"description":"In the calculation of the moving average, the weight assigned to the most recent value. Use a value equal to or less than 1. Smaller values make the algorithm less reactive to sudden changes.","type":"number","default":1},"excludedTypes":{"description":"A semi-colon delimited list of types excluded from sampling. Recognized: Dependency, Event, Exception, PageView, Request, Trace.","type":"string","default":"Request"},"includedTypes":{"description":"A semi-colon delimited list of types that you want to be sampled. Recognized: Dependency, Event, Exception, PageView, Request, and Trace.","type":"string","default":"Request"}}},"enableLiveMetrics":{"description":"Enables live metrics collection.","type":"boolean","default":true},"enableLiveMetricsFilters":{"description":"Enables live metrics filters.","type":"boolean","default":true},"enableDependencyTracking":{"description":"Enables dependency tracking","type":"boolean","default":true},"enablePerformanceCountersCollection":{"description":"Enables Kudu performance counters collection.","type":"boolean","default":true},"enableMetricsCustomDimensionOptimization":{"description":"Enables optimization that bypasses custom dimensions in Metrics telemetry.","type":"boolean","default":false},"httpAutoCollectionOptions":{"type":"object","properties":{"enableHttpTriggerExtendedInfoCollection":{"description":"Enables or disables extended HTTP request information for HTTP triggers.","type":"boolean","default":true},"enableW3CDistributedTracing":{"description":"Enables or disables support of W3C distributed tracing protocol (and turns on legacy correlation schema). Enabled by default if enableHttpTriggerExtendedInfoCollection is true. If enableHttpTriggerExtendedInfoCollection is false, this flag applies to outgoing requests only, not incoming requests","type":"boolean","default":true},"enableResponseHeaderInjection":{"description":"Enables or disables injection of multi-component correlation headers into responses. Enabling injection allows Application Insights to construct an Application Map to when several instrumentation keys are used.","type":"boolean","default":true}},"additionalProperties":false},"snapshotConfiguration":{"type":"object","properties":{"agentEndpoint":{"description":"The endpoint used to connect to the Application Insights Snapshot Debugger service.","oneOf":[{"type":"string"},{"enum":[null]}],"default":null},"captureSnapshotMemoryWeight":{"description":"The weight given to the current process memory size when checking if there's enough memory to take a snapshot.","type":"number","default":0.5},"failedRequestLimit":{"description":"The limit on the number of failed requests to request snapshots before the telemetry processor is disabled.","type":"integer","default":3},"handleUntrackedExceptions":{"description":"Enables or disables tracking of exceptions that aren't tracked by Application Insights telemetry.","type":"boolean","default":true},"isEnabled":{"description":"Enables or disables snapshot collection.","type":"boolean","default":true},"isEnabledInDeveloperMode":{"description":"Enables or disables snapshot collection is enabled in developer mode.","type":"boolean","default":false},"isEnabledWhenProfiling":{"description":"Enables or disables snapshot creation even if the Application Insights Profiler is collecting a detailed profiling session.","type":"boolean","default":true},"isExceptionSnappointsEnabled":{"description":"Enables or disables filtering of exceptions.","type":"boolean","default":false},"isLowPrioritySnapshotUploader":{"description":"Determines whether to run the SnapshotUploader process at below normal priority.","type":"boolean","default":true},"maximumCollectionPlanSize":{"description":"The maximum number of problems that we can track at any time.","type":"integer","default":50,"minimum":1,"maximum":9999},"maximumSnapshotsRequired":{"description":"The maximum number of snapshots collected for a single problem.","type":"integer","default":3,"minimum":1,"maximum":999},"problemCounterResetInterval":{"description":"How often to reset the problem counters in a range from one minute to seven days.","type":"string","pattern":"^(?:[01]\\d|2[0-4]):[0-5]\\d:[0-5]\\d$","default":"24:00:00"},"provideAnonymousTelemetry":{"description":"Determines whether to send anonymous usage and error telemetry to Microsoft. This telemetry may be used if you contact Microsoft to help troubleshoot problems with the Snapshot Debugger","type":"boolean","default":true},"reconnectInterval":{"description":"How often we reconnect to the Snapshot Debugger endpoint. Allowable range is one minute to one day.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:15:00"},"shadowCopyFolder":{"description":"Specifies the folder to use for shadow copying binaries. If not set, the folders specified by the following environment variables are tried in order: Fabric_Folder_App_Temp, LOCALAPPDATA, APPDATA, TEMP.","oneOf":[{"type":"string"},{"enum":[null]}],"default":null},"shareUploaderProcess":{"description":"If true, only one instance of SnapshotUploader will collect and upload snapshots for multiple apps that share the InstrumentationKey. If set to false, the SnapshotUploader will be unique for each (ProcessName, InstrumentationKey) tuple.","type":"boolean","default":true},"snapshotInLowPriorityThread":{"description":"Determines whether or not to process snapshots in a low IO priority thread.","type":"boolean","default":true},"snapshotsPerDayLimit":{"description":"The maximum number of snapshots allowed in one day (24 hours). This limit is also enforced on the Application Insights service side.","type":"integer","default":30},"snapshotsPerTenMinutesLimit":{"description":"The maximum number of snapshots allowed in 10 minutes. Although there is no upper bound on this value, exercise caution increasing it on production workloads because it could impact the performance of your application.","type":"integer","default":1},"tempFolder":{"description":"Specifies the folder to write minidumps and uploader log files. If not set, then %TEMP%\\Dumps is used.","oneOf":[{"type":"string"},{"enum":[null]}],"default":null},"thresholdForSnapshotting":{"description":"How many times Application Insights needs to see an exception before it asks for snapshots.","type":"integer","default":1},"uploaderProxy":{"description":"Overrides the proxy server used in the Snapshot Uploader process. You may need to use this setting if your application connects to the internet via a proxy server. The Snapshot Collector runs within your application's process and will use the same proxy settings.","oneOf":[{"type":"string"},{"enum":[null]}],"default":null}},"additionalProperties":false}},"examples":[{"samplingSettings":{"isEnabled":true,"excludedTypes":"Request"}}],"additionalProperties":false},"fileLoggingMode":{"description":"Value determining what level of file logging is enabled.","enum":["never","always","debugOnly"],"default":"debugOnly"}}},"managedDependency":{"description":"Managed dependency is a feature that is currently only supported with PowerShell based functions. It enables dependencies to be automatically managed by the service.","type":"object","properties":{"enabled":{"description":"If true, the requirements.psd1 file is processed","type":"boolean","default":true}},"additionalProperties":false},"retry":{"description":"Retry policy of function execution failures at the app level. Retry policy applies to all the functions in the function app.","type":"object","properties":{"strategy":{"description":"Retry strategy to use for retrying function executions","enum":["exponentialBackoff","fixedDelay"],"default":"exponentialBackoff"},"maxRetryCount":{"description":"The maximum number of retries allowed per function execution. -1 means to retry indefinitely.","type":"integer"},"delayInterval":{"description":"Value indicating the delayInterval for function execution retries when using FixedDelay strategy.","oneOf":[{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"},{"enum":[null]}]},"minimumInterval":{"description":"Value indicating the minimumInterval for function execution retries when using ExponentialBackoff strategy.","oneOf":[{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"},{"enum":[null]}]},"maximumInterval":{"description":"Value indicating the maximumInterval for function execution retries when using ExponentialBackoff strategy.","oneOf":[{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"},{"enum":[null]}]}}},"customHandler":{"description":"Configuration settings for Custom Handler.","type":"object","properties":{"description":{"description":"Configuration settings for Custom Handler process","type":"object","properties":{"defaultExecutablePath":{"description":"Name or path to the Custom Handler process","type":"string"},"workingDirectory":{"description":"WorkingDirectory to be used by the Custom Handler process. If not set, defaults to function app root folder.","type":"string"},"arguments":{"description":"Arguments to be passed to the Custom Handler process. Can use environment variables following pattern %envVarName%","type":"array","items":{"type":"string"}}}},"enableForwardingHttpRequest":{"description":"Forward HttpTrigger request to the custom handler","type":"boolean","default":false}},"additionalProperties":false},"singleton":{"$ref":"#/definitions/singleton"},"watchDirectories":{"$ref":"#/definitions/watchDirectories"},"watchFiles":{"description":"An array of one or more names of files that are monitored for changes that require your app to restart. This guarantees that when code in these files are changed, the updates are picked up by your functions","type":"array","uniqueItems":true,"items":{"type":"string","minLength":1},"additionalProperties":false},"version":{"description":"The version of the Azure Functions host.json schema. This is NOT the version of the Azure Functions host.","enum":["2.0"]},"extensions":{"type":"object","properties":{"http":{"$ref":"#/definitions/http-extension"},"queues":{"$ref":"#/definitions/queues-extension-v2"},"sendGrid":{"type":"object","properties":{"from":{"description":"The sender's email address across all functions.","type":"string"}},"additionalProperties":false},"serviceBus":{"description":"Configuration settings for 'serviceBus' triggers.","oneOf":[{"type":"object","properties":{"prefetchCount":{"description":"The default PrefetchCount that will be used by the underlying MessageReceiver.","type":"integer"},"messageHandlerOptions":{"description":"The options that will be used for the message handler registered with the MessageReceiver.","type":"object","properties":{"maxConcurrentCalls":{"description":"The maximum number of concurrent calls to the callback the message pump should initiate.","type":"integer","default":32},"maxAutoRenewDuration":{"description":"The maximum duration within which the Service Bus message lock will be renewed automatically.","type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:05:00"},"autoComplete":{"description":"Value determining whether messages will be completed automatically, or whether the function will take responsibility message completion.","type":"boolean","default":true}},"additionalProperties":false},"sessionHandlerOptions":{"type":"object","properties":{"maxAutoRenewDuration":{"description":"The maximum duration within which the Service Bus message lock will be renewed automatically.","type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:55:00"},"autoComplete":{"description":"Value determining whether messages will be completed automatically, or whether the function will take responsibility message completion.","type":"boolean","default":false},"maxConcurrentSessions":{"description":"The maximum number of sessions that can be handled concurrently per scaled instance.","type":"integer","default":16},"messageWaitTimeout":{"type":"string","default":"00:00:30"}},"additionalProperties":false},"batchOptions":{"type":"object","properties":{"maxMessageCount":{"description":"The maximum number of messages sent to the function when triggered.","type":"integer","default":1000},"operationTimeout":{"description":"A time span value expressed in hh:mm:ss.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:01:00"},"autoComplete":{"description":"Whether the trigger should automatically call complete after processing, or if the function code will manually call complete.","type":"boolean","default":true}},"additionalProperties":false}},"additionalProperties":false},{"type":"object","properties":{"clientRetryOptions":{"description":"The clientRetryOptions settings only apply to interactions with the Service Bus service. They don't affect retries of function executions.","type":"object","properties":{"mode":{"description":"The approach to use for calculating retry delays. The default exponential mode retries attempts with a delay based on a back-off strategy where each attempt increases the wait duration before retrying. The Fixed mode retries attempts at fixed intervals with each delay having a consistent duration.","type":"string","enum":["exponential","fixed"],"default":"exponential"},"tryTimeout":{"description":"The maximum duration to wait for an operation per attempt.","type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:01:00"},"delay":{"description":"The delay or back-off factor to apply between retry attempts.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d\\d$","type":"string","default":"00:00:00.80"},"maxDelay":{"description":"The maximum delay to allow between retry attempts.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","type":"string","default":"00:00:01"},"maxRetries":{"description":"The maximum number of retry attempts before considering the associated operation to have failed.","type":"integer","default":3}}},"prefetchCount":{"description":"Gets or sets the number of messages that the message receiver can simultaneously request.","type":"integer","default":0},"transportType":{"description":"The protocol and transport that is used for communicating with Service Bus.","type":"string","enum":["amqpTcp","amqpWebSockets"],"default":"amqpTcp"},"webProxy":{"description":"The proxy to use for communicating with Event Hubs over web sockets. A proxy cannot be used with the amqpTcp transport.","type":"string"},"autoCompleteMessages":{"description":"Determines whether or not to automatically complete messages after successful execution of the function and should be used in place of the autoComplete configuration setting.","type":"boolean","default":true},"maxAutoLockRenewalDuration":{"description":"The maximum duration within which the message lock will be renewed automatically. This setting only applies for functions that receive a single message at a time.","type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:05:00"},"maxConcurrentCalls":{"description":"The maximum number of concurrent calls to the callback that should be initiated per scaled instance. By default, the Functions runtime processes multiple messages concurrently. This setting is used only when the isSessionsEnabled property or attribute on the trigger is set to false. This setting only applies for functions that receive a single message at a time.","type":"integer","default":16},"maxConcurrentSessions":{"description":"The maximum number of sessions that can be handled concurrently per scaled instance. This setting is used only when the isSessionsEnabled property or attribute on the trigger is set to true. This setting only applies for functions that receive a single message at a time.","type":"integer","default":8},"maxMessageBatchSize":{"description":"The maximum number of messages that will be passed to each function call. This setting only applies for functions that receive a batch of messages.","type":"integer","default":1000},"maxBatchWaitTime":{"description":"The maximum interval that the trigger should wait to fill a batch before invoking the function. The wait time is only considered when minMessageBatchSize is larger than 1 and is ignored otherwise. If less than minMessageBatchSize messages were available before the wait time elapses, the function is invoked with a partial batch. The longest allowed wait time is 50% of the entity message lock duration, meaning the maximum allowed is 2 minutes and 30 seconds. Otherwise, you may get lock exceptions. NOTE: This interval is not a strict guarantee for the exact timing on which the function is invoked. There is a small margin of error due to timer precision.","type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","default":"00:00:30"},"sessionIdleTimeout":{"description":"The maximum amount of time to wait for a message to be received for the currently active session. After this time has elapsed, the session will be closed and the function will attempt to process another session.","type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"},"enableCrossEntityTransactions":{"description":"Whether or not to enable transactions that span multiple entities on a Service Bus namespace.","type":"boolean","default":false}},"additionalProperties":false}],"default":null},"eventHubs":{"description":"Configuration settings for 'eventHub' triggers.","oneOf":[{"type":"object","properties":{"targetUnprocessedEventThreshold":{"description":"The target number of unprocessed events per worker for Event Hub-triggered functions. This is used in target-based scaling to override the default scaling threshold inferred from maxEventBatchSize.","type":"integer","minimum":1},"maxEventBatchSize":{"description":"The maximum number of events that will be included in a batch for a single invocation.","type":"integer","default":10,"minimum":1},"batchCheckpointFrequency":{"description":"The number of batches to process before creating a checkpoint for the Event Hub.","type":"integer","default":1},"prefetchCount":{"description":"The number of events that will be eagerly requested from Event Hubs and held in a local cache to allow reads to avoid waiting on a network operation.","type":"integer","default":300},"transportType":{"description":"The protocol and transport that is used for communicating with Event Hubs.","type":"string","enum":["amqpTcp","amqpWebSockets"],"default":"amqpTcp"},"webProxy":{"description":"The proxy to use for communicating with Event Hubs over web sockets. A proxy cannot be used with the amqpTcp transport.","type":"string"},"customEndpointAddress":{"description":"The address to use when establishing a connection to Event Hubs, allowing network requests to be routed through an application gateway or other path needed for the host environment.","type":"string"},"initialOffsetOptions":{"type":"object","properties":{"type":{"description":"The location in the event stream to start processing when a checkpoint does not exist in storage. Applies to all partitions.","type":"string","enum":["fromStart","fromEnd","fromEnqueuedTime"],"default":"fromStart"},"enqueuedTimeUtc":{"description":"Specifies the enqueued time of the event in the stream from which to start processing. When initialOffsetOptions/type is configured as fromEnqueuedTime, this setting is mandatory. Supports time in any format supported by DateTime.Parse(), such as 2020-10-26T20:31Z.","type":"string"}},"additionalProperties":false},"clientRetryOptions":{"type":"object","properties":{"mode":{"description":"The approach to use for calculating retry delays. Exponential mode will retry attempts with a delay based on a back-off strategy where each attempt will increase the duration that it waits before retrying.","type":"string","enum":["exponential","fixed"],"default":"exponential"},"tryTimeout":{"description":"The maximum duration to wait for an Event Hubs operation to complete, per attempt.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","type":"string","default":"00:01:00"},"delay":{"description":"The maximum duration to wait for an Event Hubs operation to complete, per attempt.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d\\d$","type":"string","default":"00:00:00.80"},"maxDelay":{"description":"The maximum delay to allow between retry attempts.","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$","type":"string","default":"00:00:01"},"maxRetries":{"description":"The maximum number of retry attempts before considering the associated operation to have failed.","type":"integer","default":3}},"additionalProperties":false}},"additionalProperties":false},{"type":"object","properties":{"batchCheckpointFrequency":{"description":"The number of batches to process before creating an EventHub cursor checkpoint.","type":"integer","default":1},"eventProcessorOptions":{"type":"object","description":"Configuration on processing event hub events.","properties":{"maxBatchSize":{"description":"The maximum event count received per receive loop.","type":"integer"},"prefetchCount":{"description":"The default PrefetchCount that will be used by the underlying EventProcessorHost.","type":"integer"}},"additionalProperties":false},"initialOffsetOptions":{"type":"object","properties":{"type":{"description":"The location in the event stream from which to start processing when a checkpoint doesn't exist in storage.","type":"string","enum":["fromStart","fromEnd","fromEnqueuedTime"],"default":"fromStart"}},"additionalProperties":false}},"additionalProperties":false},{"type":"object","properties":{"maxBatchSize":{"description":"The maximum event count received per receive loop.","type":"integer","default":64},"prefetchCount":{"description":"The default prefetch that will be used by the underlying EventProcessorHost.","type":"integer","default":255},"batchCheckpointFrequency":{"description":"The number of event batches to process before creating an EventHub cursor checkpoint.","type":"integer","default":1}},"additionalProperties":false}]},"durableTask":{"$ref":"#/definitions/durableTask-extension"},"cosmosDB":{"$ref":"#/definitions/cosmosDB-extension-v2"},"blobs":{"type":"object","properties":{"maxDegreeOfParallelism":{"description":"The number of concurrent invocations allowed for each blob-triggered function.","type":"integer","minimum":1},"poisonBlobThreshold":{"description":"The number of times to try processing a message before moving it to the poison queue.","type":"integer","minimum":1,"default":5}},"additionalProperties":false}},"additionalProperties":false},"concurrency":{"description":"Configuration settings for dynamic concurrency","type":"object","properties":{"dynamicConcurrencyEnabled":{"description":"Enables or disables dynamic concurrency for function apps.","type":"boolean","default":true},"snapshotPersistenceEnabled":{"description":"Enables or disables the learned concurrency values persisting in storage.","type":"boolean","default":true}},"additionalProperties":false},"sendCanceledInvocationsToWorker":{"description":"Where the language worker supports 'Cancellation', send canceled invocations to the worker. If not set, defaults to true.","type":"boolean","default":true},"telemetryMode":{"description":"Used to enable output of logs and traces in an OpenTelemetry output format to one or more endpoints that support OpenTelemetry.","enum":["OpenTelemetry"]}},"required":["version"],"examples":[{"version":"2.0","logging":{"applicationInsights":{"samplingSettings":{"isEnabled":true,"excludedTypes":"Request"}}},"extensionBundle":{"id":"Microsoft.Azure.Functions.ExtensionBundle","version":"[2.*, 3.0.0)"}}],"additionalProperties":false}},"id":"https://json.schemastore.org/host.json","oneOf":[{"$ref":"#/definitions/version-1"},{"$ref":"#/definitions/version-2"}],"title":"JSON schema for Azure Functions host.json files","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "JSON schema for Azure Functions host.json files". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Configuration settings for the function result aggregator.

The maximum batch size for aggregations. If this value is reached before the 'flushTimeout', all values will be flushed.

The aggregation duration. The aggregator will flush periodically based on this value.

The list of functions the host should load.

Value indicating the timeout duration for all functions.

Set of shared code directories that should be monitored for changes to ensure that when code in these directories is changed, it is picked up by your functions

Configuration settings for Singleton lock behavior.

The period that function level locks are taken for (they will auto renew).

The period that listener locks are taken for.

The time interval used for listener lock recovery if a listener lock couldn't be acquired on startup.

The maximum amount of time the runtime will try to acquire a lock.

The interval between lock acquisition attempts.

Configuration settings for the Functions host health monitor

Specifies whether the feature is enabled.

The time interval between the periodic background health checks

A sliding time window used in conjunction with the healthCheckThreshold setting.

Maximum number of times the health check can fail before a host recycle is initiated.

The threshold at which a performance counter will be considered unhealthy.

Configuration settings for 'http' triggers.

Defines the default route prefix that applies to all routes. Use an empty string to remove the prefix.

Defines the the maximum number of http functions that will execute in parallel.

Defines the maximum number of outstanding requests that will be held at any given time.

Indicates whether dynamic host counter checks should be enabled.

Configuration settings for Strict-Transport-Security

Indicates whether the hsts configuration should be applied

Defines the list of host names that will not add the HSTS header.

Indicates whether the includeSubDomain parameter of the Strict-Transport-Security header should be enabled.

Defines the max-age parameter of the Strict-Transport-Security header.

Indicates whether the preload parameter of the Strict-Transport-Security header should be enabled.

Allows you to set custom headers in the HTTP response, ex. X-Content-Type-Options.

Configuration settings for 'queue' triggers.

The maximum interval in milliseconds between queue polls.

The number of queue messages to retrieve and process in parallel (per job function).

The number of times to try processing a message before moving it to the poison queue

The threshold at which a new batch of messages will be fetched. The default is batchSize/2.

The visibility timeout that will be applied to messages that fail processing.

The maximum interval between queue polls. Minimum is 00:00:00.100 (100 ms).

The time interval between retries when processing of a message fails.

The number of queue messages that the Functions runtime retrieves simultaneously and processes in parallel. When the number being processed gets down to the `newBatchThreshold`, the runtime gets another batch and starts processing those messages. So the maximum number of concurrent messages being processed per function is `batchSize` plus `newBatchThreshold`. This limit applies separately to each queue-triggered function.

This setting is only available in extension version 5.0.0 and higher. It represents the encoding format for messages.

Configuration settings for 'orchestration'/'activity' triggers.

Alternate task hub names can be used to isolate multiple Durable Functions applications from each other, even if they're using the same storage backend.

The number of messages to pull from the control queue at a time.

The number of control queue messages that can be buffered in memory at a time, at which point the dispatcher will wait before dequeuing any additional messages.

The visibility timeout of dequeued control queue messages.

The maximum control and work-item queue polling interval in the hh:mm:ss format. Higher values can result in higher message processing latencies. Lower values can result in higher storage costs because of increased storage transactions.

The partition count for the control queue. May be a positive integer between 1 and 16.

The name of a connection string to use for the History and Instances tables. If not specified, the azureStorageConnectionStringName connection is used.

The prefix to use for the History and Instances tables when trackingStoreConnectionStringName is specified. If not set, the default prefix value will be DurableTask. If trackingStoreConnectionStringName is not specified, then the History and Instances tables will use the hubName value as their prefix, and any setting for trackingStoreNamePrefix will be ignored.

When set to false, uses a partition management algorithm that reduces the possibility of duplicate function execution when scaling out.

The visibility timeout of dequeued work item queue messages.

A value indicating whether to trace the inputs and outputs of function calls. The default behavior when tracing function execution events is to include the number of bytes in the serialized inputs and outputs for function calls. This behavior provides minimal information about what the inputs and outputs look like without bloating the logs or inadvertently exposing sensitive information. Setting this property to true causes the default function logging to log the entire contents of function inputs and outputs.

A value indicating whether to write orchestration replay events to Application Insights.

The URL of an Azure Event Grid custom topic endpoint. When this property is set, orchestration life-cycle notification events are published to this endpoint. This property supports App Settings resolution.

The name of the app setting containing the key used for authenticating with the Azure Event Grid custom topic at EventGridTopicEndpoint.

The number of times to retry if publishing to the Event Grid Topic fails.

The Event Grid publishes retry interval in the hh:mm:ss format.

A list of event types to publish to Event Grid. If not specified, all event types will be published.

Started Pending Completed Failed Terminated

The maximum number of activity functions that can be processed concurrently on a single host instance.

The maximum number of orchestrator functions that can be processed concurrently on a single host instance.

When set to true, apps will require acquiring an app-level blob lease before processing task hub messages.

Enable gracefully shutting down to reduce the chance of host shutdowns failing in-process function executions.

The maximum number of entity operations that are processed as a batch. If set to 1, batching is disabled, and each operation message is processed by a separate function invocation.

Configuration settings for Azure Cosmos DB bindings and triggers.

ConnectionMode to be used on the DocumentClients.

Protocol to be used on the DocumentClients.

Lease prefix to use across all functions in an app.

Configuration settings for Application Insights logging.

Configuration settings for Application Insights client-side adaptive sampling.

If true, client-side adaptive sampling is enabled.

The target rate that the adaptive algorithm aims for on each instance

The unique ID for this job host. Can be a lower case GUID with dashes removed

Configuration settings for logging.

The default level for logging. If a category level is not specified, this value is used.

Critical Debug Error Information None Trace Warning

Log levels for specific categories.

Configuration settings for logging/tracing behavior.

The tracing level used for console logging.

Value determining what level of file logging is enabled.

Configuration settings for 'serviceBus' triggers.

The maximum number of concurrent calls to the callback the message pump should initiate.

The default PrefetchCount that will be used by the underlying MessageReceiver.

The maximum duration within which the Service Bus message lock will be renewed automatically.

Specifies whether messages should be automatically completed after successful processing.

Configuration settings for 'eventHub' triggers.

The maximum event count received per receive loop.

The default PrefetchCount that will be used by the underlying EventProcessorHost.

The number of batches to process before creating an EventHub cursor checkpoint

Configuration settings for extension bundle

The id of the extension bundle

The version of the extension bundle.

Configuration settings for Language Workers.

Specifies full path of the directory for language workers

Configuration settings for logging.

Log levels for specific categories.

Configuration settings for Application Insights logging.

Configuration settings for Application Insights client-side adaptive sampling.

If true, client-side adaptive sampling is enabled.

The target rate that the adaptive algorithm aims for on each instance

The interval at which the current rate of telemetry is reevaluated.

The initial sampling percentage applied at the start of the sampling process to dynamically vary the percentage.

When the sampling percentage value changes, this property determines how soon afterwards Application Insights is allowed to raise sampling percentage again to capture more data.

When the sampling percentage value changes, this property determines how soon afterwards Application Insights is allowed to lower sampling percentage again to capture less data.

As sampling percentage varies, this property determines the minimum allowed sampling percentage.

As sampling percentage varies, this property determines the maximum allowed sampling percentage.

In the calculation of the moving average, the weight assigned to the most recent value. Use a value equal to or less than 1. Smaller values make the algorithm less reactive to sudden changes.

A semi-colon delimited list of types excluded from sampling. Recognized: Dependency, Event, Exception, PageView, Request, Trace.

A semi-colon delimited list of types that you want to be sampled. Recognized: Dependency, Event, Exception, PageView, Request, and Trace.

Enables live metrics collection.

Enables live metrics filters.

Enables dependency tracking

Enables Kudu performance counters collection.

Enables optimization that bypasses custom dimensions in Metrics telemetry.

Enables or disables extended HTTP request information for HTTP triggers.

Enables or disables support of W3C distributed tracing protocol (and turns on legacy correlation schema). Enabled by default if enableHttpTriggerExtendedInfoCollection is true. If enableHttpTriggerExtendedInfoCollection is false, this flag applies to outgoing requests only, not incoming requests

Enables or disables injection of multi-component correlation headers into responses. Enabling injection allows Application Insights to construct an Application Map to when several instrumentation keys are used.

The endpoint used to connect to the Application Insights Snapshot Debugger service.

The weight given to the current process memory size when checking if there's enough memory to take a snapshot.

The limit on the number of failed requests to request snapshots before the telemetry processor is disabled.

Enables or disables tracking of exceptions that aren't tracked by Application Insights telemetry.

Enables or disables snapshot collection.

Enables or disables snapshot collection is enabled in developer mode.

Enables or disables snapshot creation even if the Application Insights Profiler is collecting a detailed profiling session.

Enables or disables filtering of exceptions.

Determines whether to run the SnapshotUploader process at below normal priority.

The maximum number of problems that we can track at any time.

The maximum number of snapshots collected for a single problem.

How often to reset the problem counters in a range from one minute to seven days.

Determines whether to send anonymous usage and error telemetry to Microsoft. This telemetry may be used if you contact Microsoft to help troubleshoot problems with the Snapshot Debugger

How often we reconnect to the Snapshot Debugger endpoint. Allowable range is one minute to one day.

Specifies the folder to use for shadow copying binaries. If not set, the folders specified by the following environment variables are tried in order: Fabric_Folder_App_Temp, LOCALAPPDATA, APPDATA, TEMP.

If true, only one instance of SnapshotUploader will collect and upload snapshots for multiple apps that share the InstrumentationKey. If set to false, the SnapshotUploader will be unique for each (ProcessName, InstrumentationKey) tuple.

Determines whether or not to process snapshots in a low IO priority thread.

The maximum number of snapshots allowed in one day (24 hours). This limit is also enforced on the Application Insights service side.

The maximum number of snapshots allowed in 10 minutes. Although there is no upper bound on this value, exercise caution increasing it on production workloads because it could impact the performance of your application.

Specifies the folder to write minidumps and uploader log files. If not set, then %TEMP%\Dumps is used.

How many times Application Insights needs to see an exception before it asks for snapshots.

Overrides the proxy server used in the Snapshot Uploader process. You may need to use this setting if your application connects to the internet via a proxy server. The Snapshot Collector runs within your application's process and will use the same proxy settings.

Value determining what level of file logging is enabled.

Managed dependency is a feature that is currently only supported with PowerShell based functions. It enables dependencies to be automatically managed by the service.

If true, the requirements.psd1 file is processed

Retry policy of function execution failures at the app level. Retry policy applies to all the functions in the function app.

Retry strategy to use for retrying function executions

The maximum number of retries allowed per function execution. -1 means to retry indefinitely.

Value indicating the delayInterval for function execution retries when using FixedDelay strategy.

Value indicating the minimumInterval for function execution retries when using ExponentialBackoff strategy.

Value indicating the maximumInterval for function execution retries when using ExponentialBackoff strategy.

Configuration settings for Custom Handler.

Configuration settings for Custom Handler process

Name or path to the Custom Handler process

WorkingDirectory to be used by the Custom Handler process. If not set, defaults to function app root folder.

Arguments to be passed to the Custom Handler process. Can use environment variables following pattern %envVarName%

Forward HttpTrigger request to the custom handler

An array of one or more names of files that are monitored for changes that require your app to restart. This guarantees that when code in these files are changed, the updates are picked up by your functions

The version of the Azure Functions host.json schema. This is NOT the version of the Azure Functions host.

The sender's email address across all functions.

Configuration settings for 'serviceBus' triggers.

The default PrefetchCount that will be used by the underlying MessageReceiver.

The options that will be used for the message handler registered with the MessageReceiver.

The maximum number of concurrent calls to the callback the message pump should initiate.

The maximum duration within which the Service Bus message lock will be renewed automatically.

Value determining whether messages will be completed automatically, or whether the function will take responsibility message completion.

The maximum number of sessions that can be handled concurrently per scaled instance.

The maximum number of messages sent to the function when triggered.

A time span value expressed in hh:mm:ss.

Whether the trigger should automatically call complete after processing, or if the function code will manually call complete.

The clientRetryOptions settings only apply to interactions with the Service Bus service. They don't affect retries of function executions.

The approach to use for calculating retry delays. The default exponential mode retries attempts with a delay based on a back-off strategy where each attempt increases the wait duration before retrying. The Fixed mode retries attempts at fixed intervals with each delay having a consistent duration.

The maximum duration to wait for an operation per attempt.

The delay or back-off factor to apply between retry attempts.

The maximum delay to allow between retry attempts.

The maximum number of retry attempts before considering the associated operation to have failed.

Gets or sets the number of messages that the message receiver can simultaneously request.

The protocol and transport that is used for communicating with Service Bus.

The proxy to use for communicating with Event Hubs over web sockets. A proxy cannot be used with the amqpTcp transport.

Determines whether or not to automatically complete messages after successful execution of the function and should be used in place of the autoComplete configuration setting.

The maximum duration within which the message lock will be renewed automatically. This setting only applies for functions that receive a single message at a time.

The maximum number of concurrent calls to the callback that should be initiated per scaled instance. By default, the Functions runtime processes multiple messages concurrently. This setting is used only when the isSessionsEnabled property or attribute on the trigger is set to false. This setting only applies for functions that receive a single message at a time.

The maximum number of sessions that can be handled concurrently per scaled instance. This setting is used only when the isSessionsEnabled property or attribute on the trigger is set to true. This setting only applies for functions that receive a single message at a time.

The maximum number of messages that will be passed to each function call. This setting only applies for functions that receive a batch of messages.

The maximum interval that the trigger should wait to fill a batch before invoking the function. The wait time is only considered when minMessageBatchSize is larger than 1 and is ignored otherwise. If less than minMessageBatchSize messages were available before the wait time elapses, the function is invoked with a partial batch. The longest allowed wait time is 50% of the entity message lock duration, meaning the maximum allowed is 2 minutes and 30 seconds. Otherwise, you may get lock exceptions. NOTE: This interval is not a strict guarantee for the exact timing on which the function is invoked. There is a small margin of error due to timer precision.

The maximum amount of time to wait for a message to be received for the currently active session. After this time has elapsed, the session will be closed and the function will attempt to process another session.

Whether or not to enable transactions that span multiple entities on a Service Bus namespace.

Configuration settings for 'eventHub' triggers.

The target number of unprocessed events per worker for Event Hub-triggered functions. This is used in target-based scaling to override the default scaling threshold inferred from maxEventBatchSize.

The maximum number of events that will be included in a batch for a single invocation.

The number of batches to process before creating a checkpoint for the Event Hub.

The number of events that will be eagerly requested from Event Hubs and held in a local cache to allow reads to avoid waiting on a network operation.

The protocol and transport that is used for communicating with Event Hubs.

The address to use when establishing a connection to Event Hubs, allowing network requests to be routed through an application gateway or other path needed for the host environment.

The location in the event stream to start processing when a checkpoint does not exist in storage. Applies to all partitions.

Specifies the enqueued time of the event in the stream from which to start processing. When initialOffsetOptions/type is configured as fromEnqueuedTime, this setting is mandatory. Supports time in any format supported by DateTime.Parse(), such as 2020-10-26T20:31Z.

The approach to use for calculating retry delays. Exponential mode will retry attempts with a delay based on a back-off strategy where each attempt will increase the duration that it waits before retrying.

The maximum duration to wait for an Event Hubs operation to complete, per attempt.

The maximum delay to allow between retry attempts.

The maximum number of retry attempts before considering the associated operation to have failed.

The number of batches to process before creating an EventHub cursor checkpoint.

Configuration on processing event hub events.

The maximum event count received per receive loop.

The default PrefetchCount that will be used by the underlying EventProcessorHost.

The location in the event stream from which to start processing when a checkpoint doesn't exist in storage.

The default prefetch that will be used by the underlying EventProcessorHost.

The number of event batches to process before creating an EventHub cursor checkpoint.

The number of concurrent invocations allowed for each blob-triggered function.

The number of times to try processing a message before moving it to the poison queue.

Configuration settings for dynamic concurrency

Enables or disables dynamic concurrency for function apps.

Enables or disables the learned concurrency values persisting in storage.

Where the language worker supports 'Cancellation', send canceled invocations to the worker. If not set, defaults to true.

Used to enable output of logs and traces in an OpenTelemetry output format to one or more endpoints that support OpenTelemetry.

JSON schema for Azure Functions host.json files

Provide a JSON object that satisfies the schema "JSON schema for Azure Functions host.json files". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

JSON schema for Azure Functions host.json files


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","title":"K9s hotkeys schema","type":"object","additionalProperties":false,"properties":{"hotKeys":{"type":"object","additionalProperties":{"type":"object","properties":{"shortCut":{"type":"string"},"override":{"type":"boolean"},"description":{"type":"string"},"command":{"type":"string"},"keepHistory":{"type":"boolean"}}}}},"required":["hotKeys"]}
</schema>

[User] Provide a JSON object that satisfies the schema "K9s hotkeys schema". Here are the required top‑level fields: hotKeys. Return only the valid JSON object.

K9s hotkeys schema

Provide a JSON object that satisfies the schema "K9s hotkeys schema". Here are the required top‑level fields: hotKeys. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-04/schema#","id":"https://json.schemastore.org/htmlhint.json","properties":{"alt-require":{"description":"Alt of img must be present and alt of area[href] and input[type=image] must be set value.","type":"boolean","default":false},"attr-lowercase":{"description":"Attribute name must be lowercase.","type":"boolean","default":false},"attr-no-duplication":{"description":"The same attribute can't be specified twice.","type":"boolean","default":false},"attr-sorted":{"description":"Attributes should be sorted in an order.","type":"boolean","default":false},"attr-unsafe-chars":{"description":"Attribute value can't not use unsafe chars.","type":"boolean","default":false},"attr-value-double-quotes":{"description":"Attribute value must closed by double quotes.","type":"boolean","default":false},"attr-value-not-empty":{"description":"Attribute must set value.","type":"boolean","default":false},"attr-value-single-quotes":{"description":"Attribute value must closed by single quotes.","type":"boolean","default":false},"attr-whitespace":{"description":"No leading or trailing spaces inside attribute values.","type":"boolean","default":false},"button-type-require":{"description":"The type attribute of a button element must be present with a valid value: button, submit, or reset.","type":"boolean","default":false},"doctype-first":{"description":"Doctype must be first.","type":"boolean","default":false},"doctype-html5":{"description":"Doctype must be HTML5.","type":"boolean","default":false},"h1-require":{"description":"A H1 heading element is required in HTML documents.","type":"boolean","default":false},"head-script-disabled":{"description":"The script tag can not be used in head.","type":"boolean","default":false},"href-abs-or-rel":{"description":"Href must be absolute or relative.","default":false,"enum":[false,"abs","rel"]},"html-lang-require":{"description":"The lang attribute of an <html> element must be present and should be valid.","type":"boolean","default":false},"id-class-ad-disabled":{"description":"Id and class can not use ad keyword, it will blocked by adblock software.","type":"boolean","default":false},"id-class-value":{"description":"Id and class value must meet some rules: underline, dash, hump.","default":false,"enum":[false,"underline","dash","hump"]},"id-unique":{"description":"ID attributes must be unique in the document.","type":"boolean","default":false},"inline-script-disabled":{"description":"Inline script cannot be used.","type":"boolean","default":false},"inline-style-disabled":{"description":"Inline style cannot be used.","type":"boolean","default":false},"main-require":{"description":"A main element is required within the <body> tag.","type":"boolean","default":false},"meta-description-require":{"description":"A meta description is required within the <head> tag.","type":"boolean","default":false},"meta-viewport-require":{"description":"A meta viewport is required within the <head> tag.","type":"boolean","default":false},"space-tab-mixed-disabled":{"description":"Spaces and tabs can not mixed in front of line.","default":false,"enum":[false,"space","tab"]},"spec-char-escape":{"description":"Special characters must be escaped.","type":"boolean","default":false},"src-not-empty":{"description":"Src of img(script,link) must set value. Empty of src will visit current page twice.","type":"boolean","default":false},"style-disabled":{"description":"Style tag can not be used.","type":"boolean","default":false},"tag-pair":{"description":"Tag must be paired.","type":"boolean","default":false},"tag-self-close":{"description":"The empty tag must closed by self.","type":"boolean","default":false},"tagname-lowercase":{"description":"Tagname must be lowercase.","type":"boolean","default":false},"tagname-specialchars":{"description":"Tagname must not contain any characters beside letters, numbers, \u201d-\u201d, \u201d:\u201d or \u201d_\u201d.","type":"boolean","default":false},"tags-check":{"description":"Check if particular tags are self-closing or must include or exclude particular tags.","type":"boolean","default":false},"title-require":{"description":"title must be present in head tag.","type":"boolean","default":false}},"title":"JSON schema for HTMLHint configuration files","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "JSON schema for HTMLHint configuration files". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Alt of img must be present and alt of area[href] and input[type=image] must be set value.

Attribute name must be lowercase.

The same attribute can't be specified twice.

Attributes should be sorted in an order.

Attribute value can't not use unsafe chars.

Attribute value must closed by double quotes.

Attribute must set value.

Attribute value must closed by single quotes.

No leading or trailing spaces inside attribute values.

The type attribute of a button element must be present with a valid value: button, submit, or reset.

Doctype must be first.

Doctype must be HTML5.

A H1 heading element is required in HTML documents.

The script tag can not be used in head.

Href must be absolute or relative.

The lang attribute of an <html> element must be present and should be valid.

Id and class can not use ad keyword, it will blocked by adblock software.

Id and class value must meet some rules: underline, dash, hump.

ID attributes must be unique in the document.

Inline script cannot be used.

Inline style cannot be used.

A main element is required within the <body> tag.

A meta description is required within the <head> tag.

A meta viewport is required within the <head> tag.

Spaces and tabs can not mixed in front of line.

Special characters must be escaped.

Src of img(script,link) must set value. Empty of src will visit current page twice.

Style tag can not be used.

Tag must be paired.

The empty tag must closed by self.

Tagname must be lowercase.

Tagname must not contain any characters beside letters, numbers, ”-”, ”:” or ”_”.

Check if particular tags are self-closing or must include or exclude particular tags.

title must be present in head tag.

Provide a JSON object that satisfies the schema "JSON schema for HTMLHint configuration files". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/httpmockrc.json","description":"A tool for mock local requests or proxy remote requests.","properties":{"mockFileName":{"default":"mocks","type":"string","description":"Root of mock files"},"requestHeaders":{"type":"object","description":"Custom request header"},"responseHeaders":{"type":"object","description":"Custom response header"},"parseBody":{"type":"boolean","description":"Parse post body by express.json()"},"routes":{"type":"object","description":"Rules for proxy and mock","patternProperties":{"^.*$":{"type":"object","description":"Rule of Matching route","properties":{"path":{"type":"string","description":"Where Mock result file located"},"ignore":{"type":"boolean","description":"Whether to ignore this rule, generally used for remote interfaces instead of mock in the local"},"delay":{"type":"number","description":"How many milliseconds are delayed to return a request, general used for control the request sequence"},"validate":{"type":"object","description":"Validate params in body by key and typeof value"}},"required":["path"]}}}},"required":["mockFileName","routes"],"title":"Http-mocker configuration.","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "Http-mocker configuration.". Here are the required top‑level fields: mockFileName, routes. Return only the valid JSON object.

A tool for mock local requests or proxy remote requests.

Root of mock files

Custom request header

Custom response header

Parse post body by express.json()

Rules for proxy and mock

Rule of Matching route

Where Mock result file located

Whether to ignore this rule, generally used for remote interfaces instead of mock in the local

How many milliseconds are delayed to return a request, general used for control the request sequence

Validate params in body by key and typeof value

Http-mocker configuration.

Provide a JSON object that satisfies the schema "Http-mocker configuration.". Here are the required top‑level fields: mockFileName, routes. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/hugo-theme.json","$comment":"https://github.com/gohugoio/hugoThemes#themetoml","additionalProperties":false,"definitions":{"author-data":{"additionalProperties":false,"default":{"name":""},"properties":{"homepage":{"format":"uri","title":"author website","type":"string"},"name":{"title":"author name","type":"string"}},"required":["name"],"type":"object"}},"description":"This file contains metadata about the theme and its creator or creators. Hugo only recognizes theme.toml file, any other files are not accepted. Learn more at https://github.com/gohugoio/hugoThemes#themetoml","properties":{"$schema":{"$comment":"Because the theme config file (`theme.toml`) only works with TOML format, so we don't need to support this property.","description":"Hugo will not recognize the theme config file if it is JSON or YAML format. Please use theme.toml file.","type":"null"},"authors":{"description":"For themes that have multiple authors","items":{"$ref":"#/definitions/author-data"},"minItems":2,"type":"array","title":"theme authors"},"author":{"$ref":"#/definitions/author-data","description":"For themes that have single author","title":"theme author"},"description":{"description":"This info is used by Hugo theme store: https://themes.gohugo.io","title":"theme description","type":"string"},"features":{"items":{"type":"string"},"title":"theme features","type":"array"},"homepage":{"default":"https://","description":"This info is used by Hugo theme store: https://themes.gohugo.io","format":"uri","title":"website of the theme","type":"string"},"license":{"description":"Reference: https://choosealicense.com","title":"Theme License","type":"string"},"licenselink":{"default":"https://","format":"uri","title":"Link to theme's license","type":"string"},"min_version":{"description":"Since the version **0.54.0**, Hugo started using full semver. Therefore, it is required to be `X.Y.Z` format. For instance: `0.54` is incorrect, `0.54.0` is correct.","minLength":5,"pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$","title":"Minimum Hugo Version","type":"string"},"name":{"description":"This info is used by Hugo theme store: https://themes.gohugo.io","title":"Theme Name","type":"string"},"original":{"additionalProperties":false,"default":{"author":"","repo":"https://"},"description":"For themes that port an existing theme","properties":{"author":{"title":"name of original author","type":"string"},"homepage":{"format":"uri","title":"his/her website","type":"string"},"repo":{"description":"Link to source code of original theme","format":"uri","title":"author website","type":"string"}},"required":["author","repo"],"title":"original theme","type":"object"},"tags":{"description":"This info is used by Hugo theme store: https://themes.gohugo.io","items":{"type":"string"},"title":"theme tags","type":"array"}},"required":["name","min_version"],"title":"Hugo theme config file schema","type":"object","x-taplo-info":{"authors":["ngdangtu (https://gitlab.com/ngdangtu)"],"patterns":["^(theme.toml)$"]}}
</schema>

[User] Provide a JSON object that satisfies the schema "Hugo theme config file schema". Here are the required top‑level fields: name, min_version. Return only the valid JSON object.

author website

author name

This file contains metadata about the theme and its creator or creators. Hugo only recognizes theme.toml file, any other files are not accepted. Learn more at https://github.com/gohugoio/hugoThemes#themetoml

Because the theme config file (`theme.toml`) only works with TOML format, so we don't need to support this property.

Hugo will not recognize the theme config file if it is JSON or YAML format. Please use theme.toml file.

For themes that have multiple authors

theme authors

For themes that have single author

theme author

This info is used by Hugo theme store: https://themes.gohugo.io

theme description

theme features

website of the theme

Reference: https://choosealicense.com

Theme License

Link to theme's license

Since the version **0.54.0**, Hugo started using full semver. Therefore, it is required to be `X.Y.Z` format. For instance: `0.54` is incorrect, `0.54.0` is correct.

Minimum Hugo Version

Theme Name

For themes that port an existing theme

name of original author

his/her website

Link to source code of original theme

author website

original theme

theme tags

Hugo theme config file schema

Provide a JSON object that satisfies the schema "Hugo theme config file schema". Here are the required top‑level fields: name, min_version. Return only the valid JSON object.