Class TopicState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.AliKafka
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class TopicState : ResourceArgs
Constructors
View SourceTopicState()
Declaration
public TopicState()
Properties
View SourceCompactTopic
Whether the topic is compactTopic or not. Compact topic must be a localTopic.
Declaration
public Input<bool> CompactTopic { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
InstanceId
InstanceId of your Kafka resource, the topic will create in this instance.
Declaration
public Input<string> InstanceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LocalTopic
Whether the topic is localTopic or not.
Declaration
public Input<bool> LocalTopic { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
PartitionNum
The number of partitions of the topic. The number should between 1 and 48.
Declaration
public Input<int> PartitionNum { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Remark
This attribute is a concise description of topic. The length cannot exceed 64.
Declaration
public Input<string> Remark { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
TopicName
Name of the topic. Two topics on a single instance cannot have the same name. The length cannot exceed 64 characters.
Declaration
public Input<string> TopicName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |