UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

95 lines (94 loc) 2.94 kB
import * as pulumi from "@pulumi/pulumi"; /** * Returns an Event Hub connection. * * Uses Azure REST API version 2018-09-07-preview. */ export declare function getEventHubConnection(args: GetEventHubConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetEventHubConnectionResult>; export interface GetEventHubConnectionArgs { /** * The name of the Kusto cluster. */ clusterName: string; /** * The name of the database in the Kusto cluster. */ databaseName: string; /** * The name of the event hub connection. */ eventHubConnectionName: string; /** * The name of the resource group containing the Kusto cluster. */ resourceGroupName: string; } /** * Class representing an event hub connection. */ export interface GetEventHubConnectionResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The event hub consumer group. */ readonly consumerGroup: string; /** * The data format of the message. Optionally the data format can be added to each message. */ readonly dataFormat?: string; /** * The resource ID of the event hub to be used to create a data connection. */ readonly eventHubResourceId: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Resource location. */ readonly location?: string; /** * The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message. */ readonly mappingRuleName?: string; /** * The name of the resource */ readonly name: string; /** * The table where the data should be ingested. Optionally the table information can be added to each message. */ readonly tableName?: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Returns an Event Hub connection. * * Uses Azure REST API version 2018-09-07-preview. */ export declare function getEventHubConnectionOutput(args: GetEventHubConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEventHubConnectionResult>; export interface GetEventHubConnectionOutputArgs { /** * The name of the Kusto cluster. */ clusterName: pulumi.Input<string>; /** * The name of the database in the Kusto cluster. */ databaseName: pulumi.Input<string>; /** * The name of the event hub connection. */ eventHubConnectionName: pulumi.Input<string>; /** * The name of the resource group containing the Kusto cluster. */ resourceGroupName: pulumi.Input<string>; }