Class TopicState
Inherited Members
Namespace: Pulumi.AliCloud.Datahub
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class TopicState : ResourceArgs
Constructors
View SourceTopicState()
Declaration
public TopicState()
Properties
View SourceComment
Comment of the datahub topic. It cannot be longer than 255 characters.
Declaration
public Input<string> Comment { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CreateTime
Create time of the datahub topic. It is a human-readable string rather than 64-bits UTC.
Declaration
public Input<string> CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LastModifyTime
Last modify time of the datahub topic. It is the same as create_time at the beginning. It is also a human-readable string rather than 64-bits UTC.
Declaration
public Input<string> LastModifyTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LifeCycle
How many days this topic lives. The permitted range of values is [1, 7]. The default value is 3.
Declaration
public Input<int> LifeCycle { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
The name of the datahub topic. Its length is limited to 1-128 and only characters such as letters, digits and '_' are allowed. It is case-insensitive.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ProjectName
The name of the datahub project that this topic belongs to. It is case-insensitive.
Declaration
public Input<string> ProjectName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RecordSchema
Schema of this topic, required only for TUPLE topic. Supported data types (case-insensitive) are:
- BIGINT
- STRING
- BOOLEAN
- DOUBLE
- TIMESTAMP
Declaration
public InputMap<object> RecordSchema { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
RecordType
The type of this topic. Its value must be one of {BLOB, TUPLE}. For BLOB topic, data will be organized as binary and encoded by BASE64. For TUPLE topic, data has fixed schema. The default value is "TUPLE" with a schema {STRING}.
Declaration
public Input<string> RecordType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ShardCount
The number of shards this topic contains. The permitted range of values is [1, 10]. The default value is 1.
Declaration
public Input<int> ShardCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |