# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities

__all__ = [
    'GetDatasetKustoClusterResult',
    'AwaitableGetDatasetKustoClusterResult',
    'get_dataset_kusto_cluster',
    'get_dataset_kusto_cluster_output',
]

@pulumi.output_type
class GetDatasetKustoClusterResult:
    """
    A collection of values returned by getDatasetKustoCluster.
    """
    def __init__(__self__, display_name=None, id=None, METHOD_NAME=None, kusto_cluster_location=None, name=None, share_id=None):
        if display_name and not isinstance(display_name, str):
            raise TypeError("Expected argument 'display_name' to be a str")
        pulumi.set(__self__, "display_name", display_name)
        if id and not isinstance(id, str):
            raise TypeError("Expected argument 'id' to be a str")
        pulumi.set(__self__, "id", id)
        if METHOD_NAME and not isinstance(METHOD_NAME, str):
            raise TypeError("Expected argument 'kusto_cluster_id' to be a str")
        pulumi.set(__self__, "kusto_cluster_id", METHOD_NAME)
        if kusto_cluster_location and not isinstance(kusto_cluster_location, str):
            raise TypeError("Expected argument 'kusto_cluster_location' to be a str")
        pulumi.set(__self__, "kusto_cluster_location", kusto_cluster_location)
        if name and not isinstance(name, str):
            raise TypeError("Expected argument 'name' to be a str")
        pulumi.set(__self__, "name", name)
        if share_id and not isinstance(share_id, str):
            raise TypeError("Expected argument 'share_id' to be a str")
        pulumi.set(__self__, "share_id", share_id)

    @property
    @pulumi.getter(name="displayName")
    def display_name(self) -> str:
        """
        The name of the Data Share Dataset.
        """
        return pulumi.get(self, "display_name")

    @property
    @pulumi.getter
    def id(self) -> str:
        """
        The provider-assigned unique ID for this managed resource.
        """
        return pulumi.get(self, "id")

    @property
    @pulumi.getter(name="kustoClusterId")
    def METHOD_NAME(self) -> str:
        """
        The resource ID of the Kusto Cluster to be shared with the receiver.
        """
        return pulumi.get(self, "kusto_cluster_id")

    @property
    @pulumi.getter(name="kustoClusterLocation")
    def kusto_cluster_location(self) -> str:
        """
        The location of the Kusto Cluster.
        """
        return pulumi.get(self, "kusto_cluster_location")

    @property
    @pulumi.getter
    def name(self) -> str:
        return pulumi.get(self, "name")

    @property
    @pulumi.getter(name="shareId")
    def share_id(self) -> str:
        return pulumi.get(self, "share_id")


class AwaitableGetDatasetKustoClusterResult(GetDatasetKustoClusterResult):
    # pylint: disable=using-constant-test
    def __await__(self):
        if False:
            yield self
        return GetDatasetKustoClusterResult(
            display_name=self.display_name,
            id=self.id,
            METHOD_NAME=self.METHOD_NAME,
            kusto_cluster_location=self.kusto_cluster_location,
            name=self.name,
            share_id=self.share_id)


def get_dataset_kusto_cluster(name: Optional[str] = None,
                              share_id: Optional[str] = None,
                              opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatasetKustoClusterResult:
    """
    Use this data source to access information about an existing Data Share Kusto Cluster Dataset.

    ## Example Usage

    ```python
    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)
    ```


    :param str name: The name of this Data Share Kusto Cluster Dataset.
    :param str share_id: The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
    """
    __args__ = dict()
    __args__['name'] = name
    __args__['shareId'] = share_id
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure:datashare/getDatasetKustoCluster:getDatasetKustoCluster', __args__, opts=opts, typ=GetDatasetKustoClusterResult).value

    return AwaitableGetDatasetKustoClusterResult(
        display_name=pulumi.get(__ret__, 'display_name'),
        id=pulumi.get(__ret__, 'id'),
        METHOD_NAME=pulumi.get(__ret__, 'kusto_cluster_id'),
        kusto_cluster_location=pulumi.get(__ret__, 'kusto_cluster_location'),
        name=pulumi.get(__ret__, 'name'),
        share_id=pulumi.get(__ret__, 'share_id'))


@_utilities.lift_output_func(get_dataset_kusto_cluster)
def get_dataset_kusto_cluster_output(name: Optional[pulumi.Input[str]] = None,
                                     share_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetKustoClusterResult]:
    """
    Use this data source to access information about an existing Data Share Kusto Cluster Dataset.

    ## Example Usage

    ```python
    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)
    ```


    :param str name: The name of this Data Share Kusto Cluster Dataset.
    :param str share_id: The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
    """
    ...