sdk/python/pulumi_azure_nextgen/kusto/latest/list_database_principals.py
def list_database_principals(cluster_name: Optional[str] = None,
                             database_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDatabasePrincipalsResult:
    """
    The list Kusto database principals operation response.
    Latest API Version: 2020-09-18.


    :param str cluster_name: The name of the Kusto cluster.
    :param str database_name: The name of the database in the Kusto cluster.
    :param str resource_group_name: The name of the resource group containing the Kusto cluster.
    """
    pulumi.log.warn("list_database_principals is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:kusto:listDatabasePrincipals'.")
    __args__ = dict()
    __args__['clusterName'] = cluster_name
    __args__['databaseName'] = database_name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:kusto/latest:listDatabasePrincipals', __args__, opts=opts, typ=ListDatabasePrincipalsResult).value

    return AwaitableListDatabasePrincipalsResult(
        value=__ret__.value)

    The list Kusto database principals operation response.
    Latest API Version: 2020-09-18.


    :param str cluster_name: The name of the Kusto cluster.
    :param str database_name: The name of the database in the Kusto cluster.
    :param str resource_group_name: The name of the resource group containing the Kusto cluster.
    
The list Kusto database principals operation response.
The list Kusto database principals operation response .
def list_database_principals(cluster_name: Optional[str] = None,
                             database_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListDatabasePrincipalsResult:
    pulumi.log.warn("list_database_principals is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:kusto:listDatabasePrincipals'.")
    __args__ = dict()
    __args__['clusterName'] = cluster_name
    __args__['databaseName'] = database_name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:kusto/latest:listDatabasePrincipals', __args__, opts=opts, typ=ListDatabasePrincipalsResult).value
    return AwaitableListDatabasePrincipalsResult(
        value=__ret__.value)
def list_database_principals ( cluster_name : Optional [ str ] = None , database_name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListDatabasePrincipalsResult : pulumi . log . warn ( "list_database_principals is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:kusto:listDatabasePrincipals'." ) __args__ = dict ( ) __args__ [ 'clusterName' ] = cluster_name __args__ [ 'databaseName' ] = database_name __args__ [ 'resourceGroupName' ] = resource_group_name if opts is None : opts = pulumi . InvokeOptions ( ) if opts . version is None : opts . version = _utilities . get_version ( ) __ret__ = pulumi . runtime . invoke ( 'azure-nextgen:kusto/latest:listDatabasePrincipals' , __args__ , opts = opts , typ = ListDatabasePrincipalsResult ) . value return AwaitableListDatabasePrincipalsResult ( value = __ret__ . value )
The list Kusto database principals operation response.
The list Kusto database principals operation response .
"""
    The list Kusto database principals operation response.
    Latest API Version: 2020-09-18.


    :param str cluster_name: The name of the Kusto cluster.
    :param str database_name: The name of the database in the Kusto cluster.
    :param str resource_group_name: The name of the resource group containing the Kusto cluster.
    """
cluster_name
Optional[str]
The name of the Kusto cluster.
The name of the Kusto cluster .
database_name
Optional[str]
The name of the database in the Kusto cluster.
The name of the database in the Kusto cluster .
resource_group_name
Optional[str]
The name of the resource group containing the Kusto cluster.
The name of the resource group containing the Kusto cluster .
opts
Optional[pulumi.InvokeOptions]