TopicProps
Properties for defining a Topic
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-datahub-topic
Initializer
using AlibabaCloud.SDK.ROS.CDK.Datahub;
new TopicProps {
object Comment,
object ProjectName,
object RecordType,
object TopicName,
object Lifecycle = null,
object RecordSchema = null,
object ShardCount = null
};
Properties
Name | Type | Description |
---|---|---|
Comment |
object |
Property comment: The comment of topic. |
ProjectName |
object |
Property projectName: The name of the project. |
RecordType |
object |
Property recordType: Record type. |
TopicName |
object |
Property topicName: The name of the topic. |
Lifecycle |
object |
Property lifecycle: Data storage life cycle. |
RecordSchema |
object |
Property recordSchema: When creating a TUPLE type topic, you need to specify the schema, but the BLOB type does not pass this parameter. |
ShardCount |
object |
Property shardCount: Initial shard number. |
Comment
Required
public object Comment { get; set; }
- Type: object
Property comment: The comment of topic.
ProjectName
Required
public object ProjectName { get; set; }
- Type: object
Property projectName: The name of the project.
Length [3, 32]. Beginning with characters, only characters, numbers and _ are allowed.
RecordType
Required
public object RecordType { get; set; }
- Type: object
Property recordType: Record type.
TUPLE: structured data, BLOB: unstructured data.
TopicName
Required
public object TopicName { get; set; }
- Type: object
Property topicName: The name of the topic.
Length [3, 64]. Beginning with characters, only characters, numbers and _ are allowed.
Lifecycle
Optional
public object Lifecycle { get; set; }
- Type: object
Property lifecycle: Data storage life cycle.
RecordSchema
Optional
public object RecordSchema { get; set; }
- Type: object
Property recordSchema: When creating a TUPLE type topic, you need to specify the schema, but the BLOB type does not pass this parameter.
ShardCount
Optional
public object ShardCount { get; set; }
- Type: object
Property shardCount: Initial shard number.