@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 5.25 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Details of topic record
*
* Uses Azure REST API version 2024-07-01. In version 2.x of the Azure Native provider, it used API version 2024-07-01.
*
* Other available API versions: 2025-07-17-preview, 2025-08-18-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 class Topic extends pulumi.CustomResource {
/**
* Get an existing Topic resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Topic;
/**
* Returns true if the given object is an instance of Topic. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Topic;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Config Specification of the topic
*/
readonly configs: pulumi.Output<outputs.confluent.TopicsRelatedLinkResponse | undefined>;
/**
* Input Config Specification of the topic
*/
readonly inputConfigs: pulumi.Output<outputs.confluent.TopicsInputConfigResponse[] | undefined>;
/**
* Type of topic
*/
readonly kind: pulumi.Output<string | undefined>;
/**
* Metadata of the record
*/
readonly metadata: pulumi.Output<outputs.confluent.TopicMetadataEntityResponse | undefined>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* Partition Specification of the topic
*/
readonly partitions: pulumi.Output<outputs.confluent.TopicsRelatedLinkResponse | undefined>;
/**
* Partition count of the topic
*/
readonly partitionsCount: pulumi.Output<string | undefined>;
/**
* Partition Reassignment Specification of the topic
*/
readonly partitionsReassignments: pulumi.Output<outputs.confluent.TopicsRelatedLinkResponse | undefined>;
/**
* Replication factor of the topic
*/
readonly replicationFactor: pulumi.Output<string | undefined>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.confluent.SystemDataResponse>;
/**
* Topic Id returned by Confluent
*/
readonly topicId: pulumi.Output<string | undefined>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Create a Topic resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: TopicArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Topic resource.
*/
export interface TopicArgs {
/**
* Confluent kafka or schema registry cluster id
*/
clusterId: pulumi.Input<string>;
/**
* Config Specification of the topic
*/
configs?: pulumi.Input<inputs.confluent.TopicsRelatedLinkArgs>;
/**
* Confluent environment id
*/
environmentId: pulumi.Input<string>;
/**
* Input Config Specification of the topic
*/
inputConfigs?: pulumi.Input<pulumi.Input<inputs.confluent.TopicsInputConfigArgs>[]>;
/**
* Type of topic
*/
kind?: pulumi.Input<string>;
/**
* Metadata of the record
*/
metadata?: pulumi.Input<inputs.confluent.TopicMetadataEntityArgs>;
/**
* Organization resource name
*/
organizationName: pulumi.Input<string>;
/**
* Partition Specification of the topic
*/
partitions?: pulumi.Input<inputs.confluent.TopicsRelatedLinkArgs>;
/**
* Partition count of the topic
*/
partitionsCount?: pulumi.Input<string>;
/**
* Partition Reassignment Specification of the topic
*/
partitionsReassignments?: pulumi.Input<inputs.confluent.TopicsRelatedLinkArgs>;
/**
* Replication factor of the topic
*/
replicationFactor?: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Topic Id returned by Confluent
*/
topicId?: pulumi.Input<string>;
/**
* Confluent kafka or schema registry topic name
*/
topicName?: pulumi.Input<string>;
}