We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.datashare.getDatasetKustoCluster
Explore with Pulumi AI
Use this data source to access information about an existing Data Share Kusto Cluster Dataset.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.datashare.getDatasetKustoCluster({
    name: "example-dskc",
    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_cluster(name="example-dskc",
    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.LookupDatasetKustoCluster(ctx, &datashare.LookupDatasetKustoClusterArgs{
			Name:    "example-dskc",
			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.GetDatasetKustoCluster.Invoke(new()
    {
        Name = "example-dskc",
        ShareId = "example-share-id",
    });
    return new Dictionary<string, object?>
    {
        ["id"] = example.Apply(getDatasetKustoClusterResult => getDatasetKustoClusterResult.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.GetDatasetKustoClusterArgs;
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.getDatasetKustoCluster(GetDatasetKustoClusterArgs.builder()
            .name("example-dskc")
            .shareId("example-share-id")
            .build());
        ctx.export("id", example.applyValue(getDatasetKustoClusterResult -> getDatasetKustoClusterResult.id()));
    }
}
variables:
  example:
    fn::invoke:
      function: azure:datashare:getDatasetKustoCluster
      arguments:
        name: example-dskc
        shareId: example-share-id
outputs:
  id: ${example.id}
Using getDatasetKustoCluster
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 getDatasetKustoCluster(args: GetDatasetKustoClusterArgs, opts?: InvokeOptions): Promise<GetDatasetKustoClusterResult>
function getDatasetKustoClusterOutput(args: GetDatasetKustoClusterOutputArgs, opts?: InvokeOptions): Output<GetDatasetKustoClusterResult>def get_dataset_kusto_cluster(name: Optional[str] = None,
                              share_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetDatasetKustoClusterResult
def get_dataset_kusto_cluster_output(name: Optional[pulumi.Input[str]] = None,
                              share_id: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetDatasetKustoClusterResult]func LookupDatasetKustoCluster(ctx *Context, args *LookupDatasetKustoClusterArgs, opts ...InvokeOption) (*LookupDatasetKustoClusterResult, error)
func LookupDatasetKustoClusterOutput(ctx *Context, args *LookupDatasetKustoClusterOutputArgs, opts ...InvokeOption) LookupDatasetKustoClusterResultOutput> Note: This function is named LookupDatasetKustoCluster in the Go SDK.
public static class GetDatasetKustoCluster 
{
    public static Task<GetDatasetKustoClusterResult> InvokeAsync(GetDatasetKustoClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetDatasetKustoClusterResult> Invoke(GetDatasetKustoClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatasetKustoClusterResult> getDatasetKustoCluster(GetDatasetKustoClusterArgs args, InvokeOptions options)
public static Output<GetDatasetKustoClusterResult> getDatasetKustoCluster(GetDatasetKustoClusterArgs args, InvokeOptions options)
fn::invoke:
  function: azure:datashare/getDatasetKustoCluster:getDatasetKustoCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of this Data Share Kusto Cluster Dataset.
- string
- The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
- Name string
- The name of this Data Share Kusto Cluster Dataset.
- string
- The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
- name String
- The name of this Data Share Kusto Cluster Dataset.
- String
- The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
- name string
- The name of this Data Share Kusto Cluster Dataset.
- string
- The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
- name str
- The name of this Data Share Kusto Cluster Dataset.
- str
- The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
- name String
- The name of this Data Share Kusto Cluster Dataset.
- String
- The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
getDatasetKustoCluster 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 stringId 
- The resource ID of the Kusto Cluster to be shared with the receiver.
- KustoCluster stringLocation 
- The location of the Kusto Cluster.
- Name string
- string
- DisplayName string
- The name of the Data Share Dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- KustoCluster stringId 
- The resource ID of the Kusto Cluster to be shared with the receiver.
- KustoCluster stringLocation 
- The location of the Kusto Cluster.
- Name string
- string
- displayName String
- The name of the Data Share Dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- kustoCluster StringId 
- The resource ID of the Kusto Cluster to be shared with the receiver.
- kustoCluster StringLocation 
- The location of the Kusto Cluster.
- name String
- String
- displayName string
- The name of the Data Share Dataset.
- id string
- The provider-assigned unique ID for this managed resource.
- kustoCluster stringId 
- The resource ID of the Kusto Cluster to be shared with the receiver.
- kustoCluster stringLocation 
- The location of the Kusto Cluster.
- 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_ strid 
- The resource ID of the Kusto Cluster to be shared with the receiver.
- kusto_cluster_ strlocation 
- The location of the Kusto Cluster.
- name str
- str
- displayName String
- The name of the Data Share Dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- kustoCluster StringId 
- The resource ID of the Kusto Cluster to be shared with the receiver.
- kustoCluster StringLocation 
- The location of the Kusto Cluster.
- 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.