Skip to content

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.

FullTextIndexRequired

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.


LogstoreNameRequired

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.


ProjectNameRequired

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.


KeyIndicesOptional

public object KeyIndices { get; set; }
  • Type: object

Property keyIndices: Key index configurations.

Full-text indexing and key indexing must have at least one enabled.


LogReduceOptional

public object LogReduce { get; set; }
  • Type: object

Property logReduce: Whether to enable log reduce.

Default to false.