Skip to main content
Go to Latest
function loadKustoClient
import { loadKustoClient } from "https://deno.land/x/fathym_everything_as_code@v0.1.47-fluent-builder/src/azure/kusto.ts";

Loads a Kusto client for the given cluster and region.

Parameters

entLookup: string

The enterprise lookup for the Kusto cluster.

cloudLookup: string

The cloud lookup for the Kusto cluster.

resGroupLookup: string

The resource group lookup for the Kusto cluster.

resLookups: string[]

The resource lookups for the Kusto cluster.

loadEaC: (entLookup: string) => Promise<EverythingAsCodeClouds>

The function to load Everything As Code for the Kusto cluster.

optional
svcSuffix: string

(optional) The service suffix for the Kusto cluster.

Returns

Promise<KustoClient>

A Promise that resolves to the Kusto client.

Loads a Kusto client for the given cluster and region.

Parameters

cluster: string

The Kusto cluster.

region: string

The Kusto region.

The authentication credentials to use for the Kusto cluster.

Returns

Promise<KustoClient>

A Promise that resolves to the Kusto client.