IndexProps
Properties for defining a Index
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-index
Initializer
using AlibabaCloud.SDK.ROS.CDK.Sls;
new IndexProps {
object FullTextIndex,
object LogstoreName,
object ProjectName,
object KeyIndices = null,
object LogReduce = null
};
Properties
Name | Type | Description |
---|---|---|
FullTextIndex |
object |
Property fullTextIndex: Full-text indexing configuration. |
LogstoreName |
object |
Property logstoreName: Logstore name: 1. |
ProjectName |
object |
Property projectName: Project name: 1. |
KeyIndices |
object |
Property keyIndices: Key index configurations. |
LogReduce |
object |
Property logReduce: Whether to enable log reduce. |
FullTextIndex
Required
public object FullTextIndex { get; set; }
- Type: object
Property fullTextIndex: Full-text indexing configuration.
Full-text indexing and key indexing must have at least one enabled.
LogstoreName
Required
public object LogstoreName { get; set; }
- Type: object
Property logstoreName: Logstore name: 1.
Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters.
ProjectName
Required
public object ProjectName { get; set; }
- Type: object
Property projectName: Project name: 1.
Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters.
KeyIndices
Optional
public object KeyIndices { get; set; }
- Type: object
Property keyIndices: Key index configurations.
Full-text indexing and key indexing must have at least one enabled.
LogReduce
Optional
public object LogReduce { get; set; }
- Type: object
Property logReduce: Whether to enable log reduce.
Default to false.