@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.28 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the kafka configuration for the account
*
* Uses Azure REST API version 2024-04-01-preview.
*
* Other available API versions: 2021-12-01, 2023-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native purview [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getKafkaConfiguration(args: GetKafkaConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetKafkaConfigurationResult>;
export interface GetKafkaConfigurationArgs {
/**
* The name of the account.
*/
accountName: string;
/**
* Name of kafka configuration.
*/
kafkaConfigurationName: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
/**
* The configuration of the event streaming service resource attached to the Purview account for kafka notifications.
*/
export interface GetKafkaConfigurationResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Consumer group for hook event hub.
*/
readonly consumerGroup?: string;
/**
* Credentials to access the event streaming service attached to the purview account.
*/
readonly credentials?: outputs.purview.CredentialsResponse;
/**
* Optional partition Id for notification event hub. If not set, all partitions will be leveraged.
*/
readonly eventHubPartitionId?: string;
readonly eventHubResourceId?: string;
/**
* The event hub type.
*/
readonly eventHubType?: string;
/**
* The state of the event streaming service
*/
readonly eventStreamingState?: string;
/**
* The event streaming service type
*/
readonly eventStreamingType?: string;
/**
* Gets or sets the identifier.
*/
readonly id: string;
/**
* Gets or sets the name.
*/
readonly name: string;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.purview.ProxyResourceResponseSystemData;
/**
* Gets or sets the type.
*/
readonly type: string;
}
/**
* Gets the kafka configuration for the account
*
* Uses Azure REST API version 2024-04-01-preview.
*
* Other available API versions: 2021-12-01, 2023-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native purview [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getKafkaConfigurationOutput(args: GetKafkaConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKafkaConfigurationResult>;
export interface GetKafkaConfigurationOutputArgs {
/**
* The name of the account.
*/
accountName: pulumi.Input<string>;
/**
* Name of kafka configuration.
*/
kafkaConfigurationName: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}