@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.96 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get confluent topic by Name
*
* Uses Azure REST API version 2024-07-01.
*
* Other available API versions: 2025-07-17-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native confluent [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getTopic(args: GetTopicArgs, opts?: pulumi.InvokeOptions): Promise<GetTopicResult>;
export interface GetTopicArgs {
/**
* Confluent kafka or schema registry cluster id
*/
clusterId: string;
/**
* Confluent environment id
*/
environmentId: string;
/**
* Organization resource name
*/
organizationName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Confluent kafka or schema registry topic name
*/
topicName: string;
}
/**
* Details of topic record
*/
export interface GetTopicResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Config Specification of the topic
*/
readonly configs?: outputs.confluent.TopicsRelatedLinkResponse;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* Input Config Specification of the topic
*/
readonly inputConfigs?: outputs.confluent.TopicsInputConfigResponse[];
/**
* Type of topic
*/
readonly kind?: string;
/**
* Metadata of the record
*/
readonly metadata?: outputs.confluent.TopicMetadataEntityResponse;
/**
* The name of the resource
*/
readonly name: string;
/**
* Partition Specification of the topic
*/
readonly partitions?: outputs.confluent.TopicsRelatedLinkResponse;
/**
* Partition count of the topic
*/
readonly partitionsCount?: string;
/**
* Partition Reassignment Specification of the topic
*/
readonly partitionsReassignments?: outputs.confluent.TopicsRelatedLinkResponse;
/**
* Replication factor of the topic
*/
readonly replicationFactor?: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.confluent.SystemDataResponse;
/**
* Topic Id returned by Confluent
*/
readonly topicId?: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get confluent topic by Name
*
* Uses Azure REST API version 2024-07-01.
*
* Other available API versions: 2025-07-17-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native confluent [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getTopicOutput(args: GetTopicOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTopicResult>;
export interface GetTopicOutputArgs {
/**
* Confluent kafka or schema registry cluster id
*/
clusterId: pulumi.Input<string>;
/**
* Confluent environment id
*/
environmentId: pulumi.Input<string>;
/**
* Organization resource name
*/
organizationName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Confluent kafka or schema registry topic name
*/
topicName: pulumi.Input<string>;
}