AdxUtilities 2024.2.6.56

dotnet tool install --global AdxUtilities --version 2024.2.6.56
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local AdxUtilities --version 2024.2.6.56
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AdxUtilities&version=2024.2.6.56
nuke :add-package AdxUtilities --version 2024.2.6.56

Build Status - Publish To Nuget

codecov

Azure Data Explorer Utilities

This is a command line application which is intended to provide a useful set of utilities for working with Azure Data Explorer. Mostly to make things easier where some tasks are not supported by the Azure CLI or are needed to work in a way to support other activities.

Installation

You can install the utility as a dotnet global tool using the published package available at nuget.org.

> dotnet tool install --global AdxUtilities

Authentication

The app can currently use either Client Secret Key authentication, or Azure CLI authentication. Using CLI authentication allows the application to make use of the existing sign-in information from the Azure CLI tool.

Export

This is the first of the utilities developed which automates the generation of a CSL script for a given database. The script contains the commands needed to re-create the tables and functions, along with mapping information. It also supports renaming of tables and the ability to copy data using an .set-or-replace command with datatable operator. The generated output is intended to work with the Azure DevOps Task for Data Explorer where the commands are split based on empty lines and executed individually against the target database. The generated script can just as easily be executed directly by using an .execute database script.

An example usage of the command is

> adxutils -c https://myinstance.region.kusto.windows.net/
           -d my-database
           --ignore Table3
           --function folder3/,function1
           --export Table1,Table2
           --rename Table4=Table5
           --update table=Table1 columnType=Type columnToAdd=Column1 columnToDrop=Column2
           --use-cli
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
2024.2.6.56 249 2/6/2024
2023.8.14.55 514 8/14/2023
2023.8.14.54 216 8/14/2023
2022.11.24.50 737 11/24/2022
2022.10.14.49 414 10/14/2022
2022.10.11.48 366 10/11/2022
2022.10.11.47 381 10/11/2022
2022.9.29.45 371 9/29/2022
2022.9.28.44 439 9/28/2022
2022.9.27.43 369 9/27/2022
2022.9.21.35 361 9/21/2022
2022.9.21.34 391 9/21/2022
2022.9.21.33 398 9/21/2022