TopicProps
Properties for defining a Topic.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mns-topic
Initializer
using AlibabaCloud.SDK.ROS.CDK.Mns;
new TopicProps {
object TopicName,
object LoggingEnabled = null,
object MaximumMessageSize = null,
TagsProperty[] Tags = null
};
Properties
| Name | Type | Description |
|---|---|---|
TopicName | object | Property topicName: Topic name. |
LoggingEnabled | object | Property loggingEnabled: Whether to enable log management. |
MaximumMessageSize | object | Property maximumMessageSize: Maximum body length of a message sent to the topic, in the unit of bytes. |
Tags | TagsProperty[] | Property tags: Tags to attach to Topic. |
TopicNameRequired
public object TopicName { get; set; }
- Type: object
Property topicName: Topic name.
LoggingEnabledOptional
public object LoggingEnabled { get; set; }
- Type: object
Property loggingEnabled: Whether to enable log management.
"true" indicates that log management is enabled, whereas "false" indicates that log management is disabled. The default value is false
MaximumMessageSizeOptional
public object MaximumMessageSize { get; set; }
- Type: object
Property maximumMessageSize: Maximum body length of a message sent to the topic, in the unit of bytes.
An integer in the range of 1,024 (1 KB) to 65, 536 (64 KB); default value: 65,536 (64 KB).
TagsOptional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags to attach to Topic.
Max support 20 tags to add during create Topic. Each tag with two properties Key and Value, and Key is required.