We recommend using Azure Native.
Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi
azure.datashare.getDatasetKustoDatabase
Use this data source to access information about an existing Data Share Kusto Database Dataset.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.datashare.getDatasetKustoDatabase({
    name: "example-dskdds",
    shareId: "example-share-id",
});
export const id = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.datashare.get_dataset_kusto_database(name="example-dskdds",
    share_id="example-share-id")
pulumi.export("id", example.id)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/datashare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := datashare.LookupDatasetKustoDatabase(ctx, &datashare.LookupDatasetKustoDatabaseArgs{
			Name:    "example-dskdds",
			ShareId: "example-share-id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = Azure.DataShare.GetDatasetKustoDatabase.Invoke(new()
    {
        Name = "example-dskdds",
        ShareId = "example-share-id",
    });
    return new Dictionary<string, object?>
    {
        ["id"] = example.Apply(getDatasetKustoDatabaseResult => getDatasetKustoDatabaseResult.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.datashare.DatashareFunctions;
import com.pulumi.azure.datashare.inputs.GetDatasetKustoDatabaseArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = DatashareFunctions.getDatasetKustoDatabase(GetDatasetKustoDatabaseArgs.builder()
            .name("example-dskdds")
            .shareId("example-share-id")
            .build());
        ctx.export("id", example.id());
    }
}
variables:
  example:
    fn::invoke:
      function: azure:datashare:getDatasetKustoDatabase
      arguments:
        name: example-dskdds
        shareId: example-share-id
outputs:
  id: ${example.id}
API Providers
This data source uses the following Azure API Providers:
- Microsoft.DataShare- 2019-11-01
Using getDatasetKustoDatabase
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatasetKustoDatabase(args: GetDatasetKustoDatabaseArgs, opts?: InvokeOptions): Promise<GetDatasetKustoDatabaseResult>
function getDatasetKustoDatabaseOutput(args: GetDatasetKustoDatabaseOutputArgs, opts?: InvokeOptions): Output<GetDatasetKustoDatabaseResult>def get_dataset_kusto_database(name: Optional[str] = None,
                               share_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetDatasetKustoDatabaseResult
def get_dataset_kusto_database_output(name: Optional[pulumi.Input[str]] = None,
                               share_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetDatasetKustoDatabaseResult]func LookupDatasetKustoDatabase(ctx *Context, args *LookupDatasetKustoDatabaseArgs, opts ...InvokeOption) (*LookupDatasetKustoDatabaseResult, error)
func LookupDatasetKustoDatabaseOutput(ctx *Context, args *LookupDatasetKustoDatabaseOutputArgs, opts ...InvokeOption) LookupDatasetKustoDatabaseResultOutput> Note: This function is named LookupDatasetKustoDatabase in the Go SDK.
public static class GetDatasetKustoDatabase 
{
    public static Task<GetDatasetKustoDatabaseResult> InvokeAsync(GetDatasetKustoDatabaseArgs args, InvokeOptions? opts = null)
    public static Output<GetDatasetKustoDatabaseResult> Invoke(GetDatasetKustoDatabaseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatasetKustoDatabaseResult> getDatasetKustoDatabase(GetDatasetKustoDatabaseArgs args, InvokeOptions options)
public static Output<GetDatasetKustoDatabaseResult> getDatasetKustoDatabase(GetDatasetKustoDatabaseArgs args, InvokeOptions options)
fn::invoke:
  function: azure:datashare/getDatasetKustoDatabase:getDatasetKustoDatabase
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of this Data Share Kusto Database Dataset.
- string
- The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created.
- Name string
- The name of this Data Share Kusto Database Dataset.
- string
- The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created.
- name String
- The name of this Data Share Kusto Database Dataset.
- String
- The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created.
- name string
- The name of this Data Share Kusto Database Dataset.
- string
- The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created.
- name str
- The name of this Data Share Kusto Database Dataset.
- str
- The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created.
- name String
- The name of this Data Share Kusto Database Dataset.
- String
- The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created.
getDatasetKustoDatabase Result
The following output properties are available:
- DisplayName string
- The name of the Data Share Dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- KustoCluster stringLocation 
- The location of the Kusto Cluster.
- KustoDatabase stringId 
- The resource ID of the Kusto Cluster Database to be shared with the receiver.
- Name string
- string
- DisplayName string
- The name of the Data Share Dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- KustoCluster stringLocation 
- The location of the Kusto Cluster.
- KustoDatabase stringId 
- The resource ID of the Kusto Cluster Database to be shared with the receiver.
- Name string
- string
- displayName String
- The name of the Data Share Dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- kustoCluster StringLocation 
- The location of the Kusto Cluster.
- kustoDatabase StringId 
- The resource ID of the Kusto Cluster Database to be shared with the receiver.
- name String
- String
- displayName string
- The name of the Data Share Dataset.
- id string
- The provider-assigned unique ID for this managed resource.
- kustoCluster stringLocation 
- The location of the Kusto Cluster.
- kustoDatabase stringId 
- The resource ID of the Kusto Cluster Database to be shared with the receiver.
- name string
- string
- display_name str
- The name of the Data Share Dataset.
- id str
- The provider-assigned unique ID for this managed resource.
- kusto_cluster_ strlocation 
- The location of the Kusto Cluster.
- kusto_database_ strid 
- The resource ID of the Kusto Cluster Database to be shared with the receiver.
- name str
- str
- displayName String
- The name of the Data Share Dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- kustoCluster StringLocation 
- The location of the Kusto Cluster.
- kustoDatabase StringId 
- The resource ID of the Kusto Cluster Database to be shared with the receiver.
- name String
- String
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.
