getDatasetKustoCluster

Use this data source to access information about an existing Data Share Kusto Cluster Dataset.

Example Usage

using System.Collections.Generic;
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 main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/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
	})
}
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()));
    }
}
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)
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);
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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure:datashare/getDatasetKustoCluster:getDatasetKustoCluster
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string

The name of this Data Share Kusto Cluster Dataset.

ShareId 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.

ShareId 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.

shareId 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.

shareId 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.

share_id 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.

shareId 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.

KustoClusterId string

The resource ID of the Kusto Cluster to be shared with the receiver.

KustoClusterLocation string

The location of the Kusto Cluster.

Name string
ShareId string
DisplayName string

The name of the Data Share Dataset.

Id string

The provider-assigned unique ID for this managed resource.

KustoClusterId string

The resource ID of the Kusto Cluster to be shared with the receiver.

KustoClusterLocation string

The location of the Kusto Cluster.

Name string
ShareId string
displayName String

The name of the Data Share Dataset.

id String

The provider-assigned unique ID for this managed resource.

kustoClusterId String

The resource ID of the Kusto Cluster to be shared with the receiver.

kustoClusterLocation String

The location of the Kusto Cluster.

name String
shareId String
displayName string

The name of the Data Share Dataset.

id string

The provider-assigned unique ID for this managed resource.

kustoClusterId string

The resource ID of the Kusto Cluster to be shared with the receiver.

kustoClusterLocation string

The location of the Kusto Cluster.

name string
shareId string
display_name str

The name of the Data Share Dataset.

id str

The provider-assigned unique ID for this managed resource.

kusto_cluster_id str

The resource ID of the Kusto Cluster to be shared with the receiver.

kusto_cluster_location str

The location of the Kusto Cluster.

name str
share_id str
displayName String

The name of the Data Share Dataset.

id String

The provider-assigned unique ID for this managed resource.

kustoClusterId String

The resource ID of the Kusto Cluster to be shared with the receiver.

kustoClusterLocation String

The location of the Kusto Cluster.

name String
shareId String

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.