Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.1 published on Wednesday, May 18, 2022 by Pulumi

getDataConnection

Deprecated:

Please use one of the variants: EventGridDataConnection, EventHubDataConnection, IotHubDataConnection.

Class representing an data connection. API Version: 2021-01-01.

Using getDataConnection

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 getDataConnection(args: GetDataConnectionArgs, opts?: InvokeOptions): Promise<GetDataConnectionResult>
function getDataConnectionOutput(args: GetDataConnectionOutputArgs, opts?: InvokeOptions): Output<GetDataConnectionResult>
def get_data_connection(cluster_name: Optional[str] = None,
                        data_connection_name: Optional[str] = None,
                        database_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDataConnectionResult
def get_data_connection_output(cluster_name: Optional[pulumi.Input[str]] = None,
                        data_connection_name: Optional[pulumi.Input[str]] = None,
                        database_name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDataConnectionResult]
func LookupDataConnection(ctx *Context, args *LookupDataConnectionArgs, opts ...InvokeOption) (*LookupDataConnectionResult, error)
func LookupDataConnectionOutput(ctx *Context, args *LookupDataConnectionOutputArgs, opts ...InvokeOption) LookupDataConnectionResultOutput

> Note: This function is named LookupDataConnection in the Go SDK.

public static class GetDataConnection 
{
    public static Task<GetDataConnectionResult> InvokeAsync(GetDataConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetDataConnectionResult> Invoke(GetDataConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDataConnectionResult> getDataConnection(GetDataConnectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure-native:kusto:getDataConnection
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ClusterName string

The name of the Kusto cluster.

DataConnectionName string

The name of the data connection.

DatabaseName string

The name of the database in the Kusto cluster.

ResourceGroupName string

The name of the resource group containing the Kusto cluster.

ClusterName string

The name of the Kusto cluster.

DataConnectionName string

The name of the data connection.

DatabaseName string

The name of the database in the Kusto cluster.

ResourceGroupName string

The name of the resource group containing the Kusto cluster.

clusterName String

The name of the Kusto cluster.

dataConnectionName String

The name of the data connection.

databaseName String

The name of the database in the Kusto cluster.

resourceGroupName String

The name of the resource group containing the Kusto cluster.

clusterName string

The name of the Kusto cluster.

dataConnectionName string

The name of the data connection.

databaseName string

The name of the database in the Kusto cluster.

resourceGroupName string

The name of the resource group containing the Kusto cluster.

cluster_name str

The name of the Kusto cluster.

data_connection_name str

The name of the data connection.

database_name str

The name of the database in the Kusto cluster.

resource_group_name str

The name of the resource group containing the Kusto cluster.

clusterName String

The name of the Kusto cluster.

dataConnectionName String

The name of the data connection.

databaseName String

The name of the database in the Kusto cluster.

resourceGroupName String

The name of the resource group containing the Kusto cluster.

getDataConnection Result

The following output properties are available:

Id string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Kind string

Kind of the endpoint for the data connection

Name string

The name of the resource

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Location string

Resource location.

Id string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Kind string

Kind of the endpoint for the data connection

Name string

The name of the resource

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Location string

Resource location.

id String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind String

Kind of the endpoint for the data connection

name String

The name of the resource

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

location String

Resource location.

id string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind string

Kind of the endpoint for the data connection

name string

The name of the resource

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

location string

Resource location.

id str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind str

Kind of the endpoint for the data connection

name str

The name of the resource

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

location str

Resource location.

id String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind String

Kind of the endpoint for the data connection

name String

The name of the resource

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

location String

Resource location.

Package Details

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