Microsoft.Azure.WebJobs.Extensions.Kusto
1.0.4-Preview
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.Azure.WebJobs.Extensions.Kusto --version 1.0.4-Preview
NuGet\Install-Package Microsoft.Azure.WebJobs.Extensions.Kusto -Version 1.0.4-Preview
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Kusto" Version="1.0.4-Preview" />
paket add Microsoft.Azure.WebJobs.Extensions.Kusto --version 1.0.4-Preview
#r "nuget: Microsoft.Azure.WebJobs.Extensions.Kusto, 1.0.4-Preview"
// Install Microsoft.Azure.WebJobs.Extensions.Kusto as a Cake Addin #addin nuget:?package=Microsoft.Azure.WebJobs.Extensions.Kusto&version=1.0.4-Preview&prerelease // Install Microsoft.Azure.WebJobs.Extensions.Kusto as a Cake Tool #tool nuget:?package=Microsoft.Azure.WebJobs.Extensions.Kusto&version=1.0.4-Preview&prerelease
Kusto bindings for Azure Functions - Preview
Table of Contents
Introduction
This repository contains the Kusto bindings for Azure Functions extension code as well as a quick start tutorial and samples illustrating how to use the binding in different ways. The types of bindings supported are:
Input Binding
Takes a KQL query or KQL function to run (with optional parameters) and returns the output to the function. The input binding takes the following attributes
Database: The database against which the query has to be executed
ManagedServiceIdentity: A managed identity can be used to connect to Kusto. To use a System managed identity, use "system", any other identity names are interpreted as user managed identity
KqlCommand: The KqlQuery that has to be executed. Can be a KQL query or a KQL Function call
KqlParameters: Parameters that act as predicate variables for the KqlCommand. For example "@name={name},@Id={id}" where the parameters {name} and {id} will be substituted at runtime with actual values acting as predicates
Connection: The name of the variable that holds the connection string, resolved through environment variables or through function app settings. Defaults to lookup on the variable KustoConnectionString, at runtime this variable will be looked up against the environment. Documentation on connection string can be found at Kusto connection strings e.g.:
"KustoConnectionString": "Data Source=https://_**cluster**_.kusto.windows.net;Database=_**Database**_;Fed=True;AppClientId=_**AppId**_;AppKey=_**AppKey**_;Authority Id=_**TenantId**_
Note that the application id should atleast have viewer privileges on the table(s)/function(s) being queried in the KqlCommand
Output Binding
Takes row(s) and inserts them into the Kusto table .
Database: The database against which the query has to be executed
TableName: The table to ingest the data into
ManagedServiceIdentity: A managed identity can be used to connect to Kusto. To use a System managed identity, use "system", any other identity names are interpreted as user managed identity
Connection: Refer Connection attribute above.Note that the application id should have ingest privileges on the table being ingested into
MappingRef: Optional attribute to pass a mapping ref that is already defined in the ADX cluster
DataFormat: The default dataformat is
multijson/json
. This can be set to text formats supported in the datasource format enumeration. Samples are validated and provided for csv and JSON formats.
Samples
Samples for C# are available and available at the following. This can run with local functions framework. Setup required for the run is available at the location
Known Issues
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Azure.Kusto.Data (>= 11.2.2)
- Microsoft.Azure.Kusto.Ingest (>= 11.2.2)
- Microsoft.Azure.WebJobs (>= 3.0.36)
- Newtonsoft.Json (>= 13.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.11-Preview | 374 | 9/5/2024 |
1.0.10-Preview | 161 | 7/1/2024 |
1.0.9-Preview | 3,912 | 11/9/2023 |
1.0.8-Preview | 534 | 8/28/2023 |
1.0.7-Preview | 1,232 | 4/24/2023 |
1.0.6-Preview | 125 | 4/19/2023 |
1.0.5-Preview | 137 | 4/11/2023 |
1.0.4-Preview | 111 | 3/1/2023 |
1.0.3-Preview | 107 | 2/22/2023 |
1.0.2-Preview | 106 | 2/14/2023 |
1.0.1-Preview | 103 | 2/6/2023 |
1.0.0-Preview | 200 | 1/25/2023 |