import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Kusto Database * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.kusto.getDatabase({ * name: "my-kusto-database", * resourceGroupName: "test_resource_group", * clusterName: "test_cluster", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Kusto` - 2024-04-13 */ export declare function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatabase. */ export interface GetDatabaseArgs { /** * The name of the Kusto Cluster this database is added to. */ clusterName: string; /** * The name of the Kusto Database. */ name: string; /** * The Resource Group where the Kusto Database exists. */ resourceGroupName: string; } /** * A collection of values returned by getDatabase. */ export interface GetDatabaseResult { readonly clusterName: string; /** * The time the data that should be kept in cache for fast queries as ISO 8601 timespan. */ readonly hotCachePeriod: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Azure Region in which the managed Kusto Database exists. */ readonly location: string; readonly name: string; readonly resourceGroupName: string; /** * The size of the database in bytes. */ readonly size: number; /** * The time the data should be kept before it stops being accessible to queries as ISO 8601 timespan. */ readonly softDeletePeriod: string; } /** * Use this data source to access information about an existing Kusto Database * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.kusto.getDatabase({ * name: "my-kusto-database", * resourceGroupName: "test_resource_group", * clusterName: "test_cluster", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Kusto` - 2024-04-13 */ export declare function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatabase. */ export interface GetDatabaseOutputArgs { /** * The name of the Kusto Cluster this database is added to. */ clusterName: pulumi.Input; /** * The name of the Kusto Database. */ name: pulumi.Input; /** * The Resource Group where the Kusto Database exists. */ resourceGroupName: pulumi.Input; }