import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::TLS::Index */ export declare function getIndex(args: GetIndexArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIndex. */ export interface GetIndexArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getIndex. */ export interface GetIndexResult { /** * Index creation time. */ readonly createTime: string; /** * Enable automatic index updates? When enabled, the system will automatically add newly detected fields to the key-value index. true: Enable automatic updates. false: Do not enable automatic updates. */ readonly enableAutoIndex: boolean; /** * Full-text index configuration. If this field is null or not configured, full-text indexing is disabled. At least one of full-text index or key-value index must be configured; that is, at least one parameter between FullText and KeyValue must be specified. */ readonly fullText: outputs.tls.GetIndexFullText; /** * Uniquely identifies the resource. */ readonly id: string; /** * Key-value index configuration. If the length of this field array is 0 or not configured, key-value indexing is disabled. At least one of full-text index configuration or key-value index configuration must be set; that is, you must specify at least one parameter between FullText and KeyValue. */ readonly keyValues: outputs.tls.GetIndexKeyValue[]; /** * Set the maximum length for field values. The default is 2048. The valid range is 64–16384 bytes. If a single field value exceeds the specified maximum length, the excess part will be truncated and excluded from analysis. After updating the maximum field length, only incremental data is affected. */ readonly maxTextLen: number; /** * Last modified time of the index. */ readonly modifyTime: string; /** * Log topic ID. */ readonly topicId: string; /** * Reserved field index configuration. If the array length of this field is 0 or not configured, reserved field indexing is disabled. You cannot enable both full-text indexing and key-value indexing for the reserved field **content** at the same time. If you set the **content** index via the UserInnerKeyValue parameter, you cannot also set the FullText parameter. Among reserved fields, only manual indexing for **content** is currently supported. For other reserved field index settings, refer to reserved fields. */ readonly userInnerKeyValues: outputs.tls.GetIndexUserInnerKeyValue[]; } /** * Data Source schema for Volcengine::TLS::Index */ export declare function getIndexOutput(args: GetIndexOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIndex. */ export interface GetIndexOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }